devise 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of devise might be problematic. Click here for more details.

@@ -1,3 +1,8 @@
1
+ == 1.2.1
2
+
3
+ * enhancements
4
+ * better upgrade steps
5
+
1
6
  == 1.2.0
2
7
 
3
8
  * bug fix
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- devise (1.2.rc2)
4
+ devise (1.2.0)
5
5
  bcrypt-ruby (~> 2.1.2)
6
6
  orm_adapter (~> 0.0.3)
7
7
  warden (~> 1.0.3)
@@ -42,16 +42,18 @@ module Devise
42
42
  when :bcrypt
43
43
  puts "[DEVISE] From version 1.2, there is no need to set your encryptor to bcrypt " \
44
44
  "since encryptors are only enabled if you include :encryptable in your models. " \
45
- "With this change, we can integrate better with bcrypt and get rid of the " \
46
- "password_salt column (since bcrypt stores the salt with password). " \
47
- "Please comment config.encryptor in your initializer to get rid of this warning."
45
+ "To update your app, please:\n\n" \
46
+ "1) Remove config.encryptor from your initializer;\n" \
47
+ "2) Add t.encryptable to your old migrations;\n" \
48
+ "3) [Optional] Remove password_salt in a new recent migration. Bcrypt does not require it anymore.\n"
48
49
  when nil
49
50
  # Nothing to say
50
51
  else
51
52
  puts "[DEVISE] You are using #{Devise.encryptor} as encryptor. From version 1.2, " \
52
- "you need to explicitly add `devise :encryptable, :encryptor => :#{Devise.encryptor}` " \
53
- "to your models and comment the current value in the config/initializers/devise.rb. " \
54
- "You must also add t.encryptable to your existing migrations."
53
+ "you need to explicitly add encryptable as dependency. To update your app, please:\n\n" \
54
+ "1) Remove config.encryptor from your initializer;\n" \
55
+ "2) Add t.encryptable to your old migrations;\n" \
56
+ "3) Add `devise :encryptable, :encryptor => :#{Devise.encryptor}` to your models.\n"
55
57
  end
56
58
  end
57
59
  end
@@ -1,3 +1,3 @@
1
1
  module Devise
2
- VERSION = "1.2.0".freeze
2
+ VERSION = "1.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devise
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 0
10
- version: 1.2.0
9
+ - 1
10
+ version: 1.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Jos\xC3\xA9 Valim"
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-03-25 00:00:00 +01:00
19
+ date: 2011-03-28 00:00:00 +02:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency