# \[ANN\] LoginEngine 1.0.1

**URL:** <https://www.ruby-forum.com/t/ann-loginengine-1-0-1/57395>\
**Category:** Engines\
**Created:** [April 10, 2006, 5:10pm UTC](https://www.ruby-forum.com/t/ann-loginengine-1-0-1/57395 "2006-04-10T17:10:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![turnip](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b77776/32.png) [@turnip](https://www.ruby-forum.com/u/turnip)\
**Post date:** [April 10, 2006, 5:10pm UTC](https://www.ruby-forum.com/t/ann-loginengine-1-0-1/57395/1 "2006-04-10T17:10:28Z")

</div>

Hi,

The LoginEngine has been updated to 1.0.1.

Notable changes:

- User model now does very basic email validation
- All tests now pass on both Rails 1.0 and 1.1
- Many bugs fixed!

Please refer to the Engines documentation for how to update.  
[http://www.rails-engines.org/download](http://www.rails-engines.org/download)

The subversion URL for the tag is:  
[http://svn.rails-engines.org/login\_engine/tags/rel\_1.0.1](http://svn.rails-engines.org/login_engine/tags/rel_1.0.1)

= v1.0.1

- Added CHANGELOG
- Changed wording for when password forgotten to ‘reset’, rather than  
‘retrieve’. (removed\_email\_address@domain.invalid)
- Fixed new location of engines testing extensions.  
(removed\_email\_address@domain.invalid)
- Removed schema.db from Login Engine; migrations should be used  
instead. (removed\_email\_address@domain.invalid)
- Updated User Controller tests to parse the user\_id and email out of  
the URL in the email body. (removed\_email\_address@domain.invalid)
- Ticket #89 (removed\_email\_address@domain.invalid) User creation halts the after\_save  
callback chain.
- Ticket #97 (removed\_email\_address@domain.invalid) The forgotten\_password view  
generates invalid HTML
- Ticket #112 (removed\_email\_address@domain.invalid) Authentication system will break  
even on successful login
- Added simple email validation to the User model.  
(removed\_email\_address@domain.invalid)  
This should also take care of the unit test failures detailed in  
Ticket #114 (removed\_email\_address@domain.invalid)
- Ticket #118 (removed\_email\_address@domain.invalid) SVN source for login\_engine not  
found
- Ticket #119 (Goynang) Unit tests for engines fail after default  
install
- Ticket #126 (removed\_email\_address@domain.invalid) Add install.rb to login engine

## Regards, Jon

> **[snowblink](https://snowblink.co.uk/)**
>
> snowblink.co.uk : Homepage

---

<div class="post-metadata">

**Author:** ![turnip](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b77776/32.png) [@turnip](https://www.ruby-forum.com/u/turnip)\
**Post date:** [April 10, 2006, 6:46pm UTC](https://www.ruby-forum.com/t/ann-loginengine-1-0-1/57395/2 "2006-04-10T18:46:23Z")

</div>

On 4/10/06, Jon L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [http://www.rails-engines.org/download](http://www.rails-engines.org/download)  
> instead. (removed\_email\_address@domain.invalid)  
> Ticket #114 (removed\_email\_address@domain.invalid)
> 
> - Ticket #118 (removed\_email\_address@domain.invalid) SVN source for login\_engine not found
> - Ticket #119 (Goynang) Unit tests for engines fail after default install
> - Ticket #126 (removed\_email\_address@domain.invalid) Add install.rb to login engine
> 
> ## Regards, Jon
> 
> [http://www.snowblink.co.uk/](http://www.snowblink.co.uk/)

For those that follow, the upgrade instructions are not the most  
obvious.

I did the following which I hope was right.

cd vendor/plugins/  
svn co [http://svn.rails-engines.org/login\_engine/tags/rel\_1.0.1](http://svn.rails-engines.org/login_engine/tags/rel_1.0.1)  
mv login\_engine login\_engine\_1.0 # rename my previous version as  
a backup  
ln -s rel\_1.0.1/ login\_engine

The last step created a symbolic link that I will recreate with  
subsequent releases. Assuming they are released the same way.

## HTH Greg

Greg F.  
The Norcross Group  
Forensics for the 21st Century

---

<div class="post-metadata">

**Author:** ![turnip](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b77776/32.png) [@turnip](https://www.ruby-forum.com/u/turnip)\
**Post date:** [April 10, 2006, 6:52pm UTC](https://www.ruby-forum.com/t/ann-loginengine-1-0-1/57395/3 "2006-04-10T18:52:30Z")

</div>

A better way would be to use svn:externals to automatically do the  
updating for you.

- james

On 4/10/06, Greg F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > Please refer to the Engines documentation for how to update.
> > 
> > - Removed schema.db from Login Engine; migrations should be used  
> > This should also take care of the unit test failures detailed in  
> > For those that follow, the upgrade instructions are not the most obvious.

–

- J \*  
~

---

<div class="post-metadata">

**Author:** ![turnip](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b77776/32.png) [@turnip](https://www.ruby-forum.com/u/turnip)\
**Post date:** [April 10, 2006, 8:06pm UTC](https://www.ruby-forum.com/t/ann-loginengine-1-0-1/57395/4 "2006-04-10T20:06:12Z")

</div>

On 4/10/06, Jon L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 1. svn:externals  
> $ svn propedit svn:externals vendor/plugins  
> login\_engine [http://svn.rails-engines.org/login\_engine/tags/rel\_1.0.1](http://svn.rails-engines.org/login_engine/tags/rel_1.0.1)

Okay, I’m trying this approach.

I’ve moved all of my old login\_engine dirs into an old\_stuff directory  
so it should not be interfering.

Then from the app directory I try (as a single line command)

svn propedit svn:externals vendor/plugins login\_engine  
[http://svn.rails-engines.org/login\_engine/tags/rel\_1.0.1](http://svn.rails-engines.org/login_engine/tags/rel_1.0.1)

And I get:

svn: ‘vendor/plugins’ is not a working copy

I tried to install the engines plugin itself via svn:externals the  
other day and had the same problem. I assume I need to run some sort  
of preliminary command to set things up?

Any help would be appreciated.

Thanks  
Greg

---

<div class="post-metadata">

**Author:** ![turnip](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b77776/32.png) [@turnip](https://www.ruby-forum.com/u/turnip)\
**Post date:** [April 10, 2006, 6:58pm UTC](https://www.ruby-forum.com/t/ann-loginengine-1-0-1/57395/5 "2006-04-10T18:58:33Z")

</div>

In future, I will not listen to James and will include upgrade  
instructions. 😉

Depending on how you have installed your engines:

1. script/plugin install login\_engine  
$ script/plugin upgrade

2. script/plugin install -x login\_engine  
$ svn up

3. svn co [http://svn.rails-engines.org/plugins/login\_engine](http://svn.rails-engines.org/plugins/login_engine)  
vendor/plugins  
(which should have the same result as script/plugin install -x  
login\_engine)  
$ svn up

4. svn:externals  
$ svn propedit svn:externals vendor/plugins  
login\_engine [http://svn.rails-engines.org/login\_engine/tags/rel\_1.0.1](http://svn.rails-engines.org/login_engine/tags/rel_1.0.1)

I would not recommend checking out a tagged release.

## Regards, Jon

> **[snowblink](https://snowblink.co.uk/)**
>
> snowblink.co.uk : Homepage

---

<div class="post-metadata">

**Author:** ![turnip](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b77776/32.png) [@turnip](https://www.ruby-forum.com/u/turnip)\
**Post date:** [April 11, 2006, 1:55am UTC](https://www.ruby-forum.com/t/ann-loginengine-1-0-1/57395/6 "2006-04-11T01:55:26Z")

</div>

Thanks,

It is past time I put this little project in svn, so I will set that  
up in a couple days.

Greg

On 4/10/06, Jon L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Off to bed now.
> 
> > Okay, I’m trying this approach.
> > 
> > * * *
> 
> removed\_email\_address@domain.invalid  
> [http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org](http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org)

–  
Greg F.  
The Norcross Group  
Forensics for the 21st Century

---

<div class="post-metadata">

**Author:** ![turnip](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b77776/32.png) [@turnip](https://www.ruby-forum.com/u/turnip)\
**Post date:** [April 11, 2006, 12:36am UTC](https://www.ruby-forum.com/t/ann-loginengine-1-0-1/57395/7 "2006-04-11T00:36:19Z")

</div>

Hi Greg,

Using approaches 2, 3, or 4 assumes that your application is already  
subversioned, and you are using a working copy.

Here are some links which may help:  
[http://svnbook.red-bean.com/](http://svnbook.red-bean.com/)  
[http://wiki.rubyonrails.org/rails/pages/HowtoUseRailsWithSubversion](http://wiki.rubyonrails.org/rails/pages/HowtoUseRailsWithSubversion)

If you still need help, then post again. 🙂  
Off to bed now.

Regards,  
Jon

On 10/04/06, Greg F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Then from the app directory I try (as a single line command)  
> of preliminary command to set things up?
> 
> Any help would be appreciated.
> 
> Thanks  
> Greg
> 
> * * *
> 
> engine-users mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org](http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org)

–

> **[snowblink](https://snowblink.co.uk/)**
>
> snowblink.co.uk : Homepage
