devise 1.1.3 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. data/.gitignore +10 -0
  2. data/.travis.yml +1 -0
  3. data/CHANGELOG.rdoc +94 -0
  4. data/Gemfile +24 -13
  5. data/Gemfile.lock +119 -75
  6. data/MIT-LICENSE +1 -1
  7. data/README.rdoc +144 -101
  8. data/Rakefile +3 -24
  9. data/app/controllers/devise/confirmations_controller.rb +1 -1
  10. data/app/controllers/devise/omniauth_callbacks_controller.rb +26 -0
  11. data/app/controllers/devise/passwords_controller.rb +1 -1
  12. data/app/controllers/devise/registrations_controller.rb +60 -7
  13. data/app/controllers/devise/sessions_controller.rb +6 -4
  14. data/app/controllers/devise/unlocks_controller.rb +1 -1
  15. data/app/helpers/devise_helper.rb +10 -2
  16. data/app/mailers/devise/mailer.rb +27 -10
  17. data/app/views/devise/confirmations/new.html.erb +1 -1
  18. data/app/views/devise/passwords/edit.html.erb +2 -2
  19. data/app/views/devise/passwords/new.html.erb +1 -1
  20. data/app/views/devise/registrations/edit.html.erb +1 -1
  21. data/app/views/devise/registrations/new.html.erb +1 -1
  22. data/app/views/devise/sessions/new.html.erb +1 -1
  23. data/app/views/devise/shared/_links.erb +6 -0
  24. data/app/views/devise/unlocks/new.html.erb +1 -1
  25. data/config/locales/en.yml +11 -2
  26. data/devise.gemspec +25 -0
  27. data/lib/devise/controllers/helpers.rb +119 -116
  28. data/lib/devise/controllers/internal_helpers.rb +29 -8
  29. data/lib/devise/controllers/rememberable.rb +52 -0
  30. data/lib/devise/controllers/scoped_views.rb +4 -6
  31. data/lib/devise/controllers/url_helpers.rb +3 -5
  32. data/lib/devise/encryptors/authlogic_sha512.rb +1 -1
  33. data/lib/devise/encryptors/base.rb +1 -1
  34. data/lib/devise/encryptors/restful_authentication_sha1.rb +4 -4
  35. data/lib/devise/failure_app.rb +46 -10
  36. data/lib/devise/hooks/activatable.rb +2 -2
  37. data/lib/devise/hooks/forgetable.rb +1 -3
  38. data/lib/devise/hooks/rememberable.rb +5 -42
  39. data/lib/devise/hooks/timeoutable.rb +1 -1
  40. data/lib/devise/mapping.rb +18 -7
  41. data/lib/devise/models/authenticatable.rb +73 -31
  42. data/lib/devise/models/confirmable.rb +16 -20
  43. data/lib/devise/models/database_authenticatable.rb +27 -37
  44. data/lib/devise/models/encryptable.rb +72 -0
  45. data/lib/devise/models/lockable.rb +27 -21
  46. data/lib/devise/models/omniauthable.rb +23 -0
  47. data/lib/devise/models/recoverable.rb +13 -3
  48. data/lib/devise/models/registerable.rb +13 -0
  49. data/lib/devise/models/rememberable.rb +39 -34
  50. data/lib/devise/models/timeoutable.rb +20 -3
  51. data/lib/devise/models/token_authenticatable.rb +22 -10
  52. data/lib/devise/models/validatable.rb +16 -4
  53. data/lib/devise/models.rb +4 -16
  54. data/lib/devise/modules.rb +15 -8
  55. data/lib/devise/omniauth/config.rb +18 -0
  56. data/lib/devise/omniauth/url_helpers.rb +33 -0
  57. data/lib/devise/omniauth.rb +32 -0
  58. data/lib/devise/orm/active_record.rb +2 -0
  59. data/lib/devise/orm/mongoid.rb +4 -2
  60. data/lib/devise/rails/routes.rb +67 -20
  61. data/lib/devise/rails/warden_compat.rb +101 -15
  62. data/lib/devise/rails.rb +33 -44
  63. data/lib/devise/schema.rb +16 -16
  64. data/lib/devise/strategies/authenticatable.rb +48 -7
  65. data/lib/devise/strategies/database_authenticatable.rb +1 -1
  66. data/lib/devise/strategies/rememberable.rb +6 -5
  67. data/lib/devise/strategies/token_authenticatable.rb +6 -2
  68. data/lib/devise/test_helpers.rb +13 -3
  69. data/lib/devise/version.rb +1 -1
  70. data/lib/devise.rb +162 -50
  71. data/lib/generators/active_record/devise_generator.rb +2 -2
  72. data/lib/generators/active_record/templates/migration.rb +2 -0
  73. data/lib/generators/devise/devise_generator.rb +3 -1
  74. data/lib/generators/devise/orm_helpers.rb +1 -1
  75. data/lib/generators/devise/views_generator.rb +8 -45
  76. data/lib/generators/mongoid/devise_generator.rb +2 -2
  77. data/lib/generators/templates/devise.rb +82 -39
  78. data/test/controllers/helpers_test.rb +78 -72
  79. data/test/controllers/internal_helpers_test.rb +29 -8
  80. data/test/controllers/url_helpers_test.rb +2 -1
  81. data/test/devise_test.rb +10 -0
  82. data/test/failure_app_test.rb +86 -22
  83. data/test/generators/active_record_generator_test.rb +24 -0
  84. data/test/generators/devise_generator_test.rb +33 -0
  85. data/test/generators/install_generator_test.rb +13 -0
  86. data/test/generators/mongoid_generator_test.rb +22 -0
  87. data/test/generators/views_generator_test.rb +35 -0
  88. data/test/indifferent_hash.rb +33 -0
  89. data/test/integration/authenticatable_test.rb +165 -62
  90. data/test/integration/database_authenticatable_test.rb +22 -0
  91. data/test/integration/http_authenticatable_test.rb +12 -2
  92. data/test/integration/omniauthable_test.rb +138 -0
  93. data/test/integration/recoverable_test.rb +39 -20
  94. data/test/integration/registerable_test.rb +60 -4
  95. data/test/integration/rememberable_test.rb +72 -29
  96. data/test/integration/timeoutable_test.rb +10 -1
  97. data/test/integration/token_authenticatable_test.rb +55 -6
  98. data/test/mailers/confirmation_instructions_test.rb +4 -0
  99. data/test/mailers/reset_password_instructions_test.rb +4 -0
  100. data/test/mailers/unlock_instructions_test.rb +4 -0
  101. data/test/mapping_test.rb +37 -3
  102. data/test/models/confirmable_test.rb +32 -15
  103. data/test/models/database_authenticatable_test.rb +14 -71
  104. data/test/models/encryptable_test.rb +65 -0
  105. data/test/models/lockable_test.rb +48 -11
  106. data/test/models/recoverable_test.rb +28 -2
  107. data/test/models/rememberable_test.rb +186 -125
  108. data/test/models/token_authenticatable_test.rb +19 -1
  109. data/test/models_test.rb +12 -5
  110. data/test/omniauth/url_helpers_test.rb +54 -0
  111. data/test/orm/mongoid.rb +3 -2
  112. data/test/rails_app/Rakefile +10 -0
  113. data/test/rails_app/app/active_record/admin.rb +4 -1
  114. data/test/rails_app/app/active_record/user.rb +5 -4
  115. data/test/rails_app/app/controllers/{sessions_controller.rb → admins/sessions_controller.rb} +1 -1
  116. data/test/rails_app/app/controllers/application_controller.rb +0 -1
  117. data/test/rails_app/app/controllers/home_controller.rb +9 -0
  118. data/test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb +14 -0
  119. data/test/rails_app/app/mongoid/admin.rb +4 -1
  120. data/test/rails_app/app/mongoid/shim.rb +16 -3
  121. data/test/rails_app/app/mongoid/user.rb +5 -5
  122. data/test/rails_app/app/views/admins/index.html.erb +1 -0
  123. data/test/rails_app/app/views/admins/sessions/new.html.erb +2 -0
  124. data/test/rails_app/app/views/home/index.html.erb +1 -0
  125. data/test/rails_app/app/views/home/private.html.erb +1 -0
  126. data/test/rails_app/app/views/layouts/application.html.erb +24 -0
  127. data/test/rails_app/app/views/users/index.html.erb +1 -0
  128. data/test/rails_app/app/views/users/mailer/confirmation_instructions.erb +1 -0
  129. data/test/rails_app/app/views/users/sessions/new.html.erb +1 -0
  130. data/test/rails_app/config/application.rb +5 -0
  131. data/test/rails_app/config/boot.rb +2 -2
  132. data/test/rails_app/config/database.yml +18 -0
  133. data/test/rails_app/config/initializers/devise.rb +71 -31
  134. data/test/rails_app/config/routes.rb +14 -6
  135. data/test/rails_app/config.ru +4 -0
  136. data/test/rails_app/db/migrate/20100401102949_create_tables.rb +21 -17
  137. data/test/rails_app/db/schema.rb +17 -51
  138. data/test/rails_app/lib/shared_admin.rb +9 -0
  139. data/test/rails_app/lib/shared_user.rb +23 -0
  140. data/test/rails_app/public/404.html +26 -0
  141. data/test/rails_app/public/422.html +26 -0
  142. data/test/rails_app/public/500.html +26 -0
  143. data/test/rails_app/public/favicon.ico +0 -0
  144. data/test/rails_app/script/rails +10 -0
  145. data/test/routes_test.rb +42 -9
  146. data/test/schema_test.rb +33 -0
  147. data/test/support/integration.rb +4 -4
  148. data/test/support/locale/en.yml +4 -0
  149. data/test/support/webrat/integrations/rails.rb +11 -19
  150. data/test/test_helper.rb +8 -2
  151. data/test/test_helpers_test.rb +64 -2
  152. metadata +106 -30
  153. data/TODO +0 -3
  154. data/lib/devise/encryptors/bcrypt.rb +0 -19
  155. data/lib/generators/devise_install_generator.rb +0 -4
  156. data/lib/generators/devise_views_generator.rb +0 -4
  157. data/test/support/test_silencer.rb +0 -5
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ **/*/log/*
2
+ **/*/tmp/*
3
+ *~
4
+ coverage/*
5
+ *.sqlite3
6
+ .bundle
7
+ rdoc/*
8
+ pkg
9
+ log
10
+ test/tmp/*
data/.travis.yml ADDED
@@ -0,0 +1 @@
1
+ script: "rake test"
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,97 @@
1
+ == 1.2.0
2
+
3
+ * bug fix
4
+ * Properly ignore path prefix on omniauthable
5
+ * Faster uniqueness queries
6
+ * Rename active? to active_for_authentication? to avoid conflicts
7
+
8
+ == 1.2.rc2
9
+
10
+ * enhancements
11
+ * Make friendly_token 20 chars long
12
+ * Use secure_compare
13
+
14
+ * bug fix
15
+ * Fix an issue causing infinite redirects in production
16
+ * rails g destroy works properly with devise generators (by github.com/andmej)
17
+ * before_failure callbacks should work on test helpers (by github.com/twinge)
18
+ * rememberable cookie now is httponly by default (by github.com/JamesFerguson)
19
+ * Add missing confirmation_keys (by github.com/JohnPlummer)
20
+ * Ensure after_* hooks are called on RegistrationsController
21
+ * When using database_authenticatable Devise will now only create an email field when appropriate (if using default authentication_keys or custom authentication_keys with email included)
22
+ * Ensure stateless token does not trigger timeout (by github.com/pixelauthority)
23
+ * Implement handle_unverified_request for Rails 3.0.4 compatibility and improve FailureApp reliance on symbols
24
+ * Consider namespaces while generating routes
25
+ * Custom failure apps no longer ignored in test mode (by github.com/jaghion)
26
+ * Do not depend on ActiveModel::Dirty
27
+ * Manual sign_in now triggers remember token
28
+ * Be sure to halt strategies on failures
29
+ * Consider SCRIPT_NAME on Omniauth paths
30
+ * Reset failed attempts when lock is expired
31
+ * Ensure there is no Mongoid injection
32
+
33
+ * deprecations
34
+ * Deprecated anybody_signed_in? in favor of signed_in? (by github.com/gavinhughes)
35
+ * Removed --haml and --slim view templates
36
+ * Devise::OmniAuth helpers were deprecated and removed in favor of Omniauth.config.test_mode
37
+
38
+ == 1.2.rc
39
+
40
+ * deprecations
41
+ * cookie_domain is deprecated in favor of cookie_options
42
+ * after_update_path_for can no longer be defined in ApplicationController
43
+
44
+ * enhancements
45
+ * Added OmniAuth support
46
+ * Added ORM adapter to abstract ORM iteraction
47
+ * sign_out_via is available in the router to configure the method used for sign out (by github.com/martinrehfeld)
48
+ * Improved Ajax requests handling in failure app (by github.com/spastorino)
49
+ * Added request_keys to easily use request specific values (like subdomain) in authentication
50
+ * Increased the size of friendly_token to 60 characters (reduces the chances of a successful brute attack)
51
+ * Ensure the friendly token does not include "_" or "-" since some e-mails may not autolink it properly (by github.com/rymai)
52
+ * Extracted encryptors into :encryptable for better bcrypt support
53
+ * :rememberable is now able to use salt as token if no remember_token is provided
54
+ * Store the salt in session and expire the session if the user changes his password
55
+ * Allow :stateless_token to be set to true avoiding users to be stored in session through token authentication
56
+ * cookie_options uses session_options values by default
57
+ * Sign up now check if the user is active or not and redirect him accordingly setting the inactive_signed_up message
58
+ * Use ActiveModel#to_key instead of #id
59
+ * sign_out_all_scopes now destroys the whole session
60
+ * Added case_insensitive_keys that automatically downcases the given keys, by default downcases only e-mail (by github.com/adahl)
61
+
62
+ * default behavior changes
63
+ * sign_out_all_scopes defaults to true as security measure
64
+ * http authenticatable is disabled by default
65
+ * Devise does not intercept 401 returned from applications
66
+
67
+ * bugfix
68
+ * after_sign_in_path_for always receives a resource
69
+ * Do not execute Warden::Callbacks on Devise::TestHelpers (by github.com/sgronblo)
70
+ * Allow password recovery and account unlocking to change used keys (by github.com/RStankov)
71
+ * FailureApp now properly handles nil request.format
72
+ * Fix a bug causing FailureApp to return with HTTP Auth Headers for IE7
73
+ * Ensure namespaces has proper scoped views
74
+ * Ensure Devise does not set empty flash messages (by github.com/sxross)
75
+
76
+ == 1.1.6
77
+
78
+ * Use a more secure e-mail regexp
79
+ * Implement Rails 3.0.4 handle unverified request
80
+ * Use secure_compare to compare passwords
81
+
82
+ == 1.1.5
83
+
84
+ * bugfix
85
+ * Ensure to convert keys on indifferent hash
86
+
87
+ * defaults
88
+ * Set config.http_authenticatable to false to avoid confusion
89
+
90
+ == 1.1.4
91
+
92
+ * bugfix
93
+ * Avoid session fixation attacks
94
+
1
95
  == 1.1.3
2
96
 
3
97
  * bugfix
data/Gemfile CHANGED
@@ -1,18 +1,29 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "rails", "3.0.0"
4
- gem "warden", "0.10.7"
5
- gem "sqlite3-ruby"
6
- gem "webrat", "0.7.0"
7
- gem "mocha", :require => false
8
- gem "bcrypt-ruby", :require => "bcrypt"
3
+ gemspec
9
4
 
10
- if RUBY_VERSION < '1.9'
11
- gem "ruby-debug", ">= 0.10.3"
5
+ gem "rails", "~> 3.0.4"
6
+ gem "oa-oauth", '~> 0.2.0', :require => "omniauth/oauth"
7
+ gem "oa-openid", '~> 0.2.0', :require => "omniauth/openid"
8
+
9
+ group :test do
10
+ gem "webrat", "0.7.2", :require => false
11
+ gem "mocha", :require => false
12
+ end
13
+
14
+ platforms :jruby do
15
+ gem 'activerecord-jdbcsqlite3-adapter'
12
16
  end
13
17
 
14
- group :mongoid do
15
- gem "mongo"
16
- gem "mongoid", :git => "git://github.com/mongoid/mongoid.git"
17
- gem "bson_ext"
18
- end
18
+ platforms :ruby do
19
+ group :test do
20
+ gem "sqlite3-ruby"
21
+ gem "ruby-debug", ">= 0.10.3" if RUBY_VERSION < '1.9'
22
+ end
23
+
24
+ group :mongoid do
25
+ gem "mongo", "1.1.2"
26
+ gem "mongoid", "2.0.0.beta.20"
27
+ gem "bson_ext", "1.2.1"
28
+ end
29
+ end
data/Gemfile.lock CHANGED
@@ -1,114 +1,158 @@
1
- GIT
2
- remote: git://github.com/mongoid/mongoid.git
3
- revision: f38e3ef
1
+ PATH
2
+ remote: .
4
3
  specs:
5
- mongoid (2.0.0.beta.16)
6
- activemodel (~> 3.0.0)
7
- bson (= 1.0.4)
8
- mongo (= 1.0.7)
9
- tzinfo (~> 0.3.22)
10
- will_paginate (~> 3.0.pre)
4
+ devise (1.2.rc2)
5
+ bcrypt-ruby (~> 2.1.2)
6
+ orm_adapter (~> 0.0.3)
7
+ warden (~> 1.0.3)
11
8
 
12
9
  GEM
13
10
  remote: http://rubygems.org/
14
11
  specs:
15
12
  abstract (1.0.0)
16
- actionmailer (3.0.0)
17
- actionpack (= 3.0.0)
18
- mail (~> 2.2.5)
19
- actionpack (3.0.0)
20
- activemodel (= 3.0.0)
21
- activesupport (= 3.0.0)
13
+ actionmailer (3.0.4)
14
+ actionpack (= 3.0.4)
15
+ mail (~> 2.2.15)
16
+ actionpack (3.0.4)
17
+ activemodel (= 3.0.4)
18
+ activesupport (= 3.0.4)
22
19
  builder (~> 2.1.2)
23
20
  erubis (~> 2.6.6)
24
- i18n (~> 0.4.1)
21
+ i18n (~> 0.4)
25
22
  rack (~> 1.2.1)
26
- rack-mount (~> 0.6.12)
27
- rack-test (~> 0.5.4)
23
+ rack-mount (~> 0.6.13)
24
+ rack-test (~> 0.5.7)
28
25
  tzinfo (~> 0.3.23)
29
- activemodel (3.0.0)
30
- activesupport (= 3.0.0)
26
+ activemodel (3.0.4)
27
+ activesupport (= 3.0.4)
31
28
  builder (~> 2.1.2)
32
- i18n (~> 0.4.1)
33
- activerecord (3.0.0)
34
- activemodel (= 3.0.0)
35
- activesupport (= 3.0.0)
36
- arel (~> 1.0.0)
29
+ i18n (~> 0.4)
30
+ activerecord (3.0.4)
31
+ activemodel (= 3.0.4)
32
+ activesupport (= 3.0.4)
33
+ arel (~> 2.0.2)
37
34
  tzinfo (~> 0.3.23)
38
- activeresource (3.0.0)
39
- activemodel (= 3.0.0)
40
- activesupport (= 3.0.0)
41
- activesupport (3.0.0)
42
- arel (1.0.1)
43
- activesupport (~> 3.0.0)
44
- bcrypt-ruby (2.1.2)
45
- bson (1.0.4)
46
- bson_ext (1.0.7)
35
+ activerecord-jdbc-adapter (1.1.1)
36
+ activerecord-jdbcsqlite3-adapter (1.1.1)
37
+ activerecord-jdbc-adapter (= 1.1.1)
38
+ jdbc-sqlite3 (~> 3.6.0)
39
+ activeresource (3.0.4)
40
+ activemodel (= 3.0.4)
41
+ activesupport (= 3.0.4)
42
+ activesupport (3.0.4)
43
+ addressable (2.2.4)
44
+ arel (2.0.8)
45
+ bcrypt-ruby (2.1.4)
46
+ bson (1.2.1)
47
+ bson_ext (1.2.1)
47
48
  builder (2.1.2)
48
- columnize (0.3.1)
49
+ columnize (0.3.2)
49
50
  erubis (2.6.6)
50
51
  abstract (>= 1.0.0)
51
- i18n (0.4.1)
52
+ faraday (0.5.7)
53
+ addressable (~> 2.2.4)
54
+ multipart-post (~> 1.1.0)
55
+ rack (>= 1.1.0, < 2)
56
+ i18n (0.5.0)
57
+ jdbc-sqlite3 (3.6.14.2.056-java)
52
58
  linecache (0.43)
53
- mail (2.2.5)
59
+ mail (2.2.15)
54
60
  activesupport (>= 2.3.6)
55
- mime-types
56
- treetop (>= 1.4.5)
61
+ i18n (>= 0.4.0)
62
+ mime-types (~> 1.16)
63
+ treetop (~> 1.4.8)
57
64
  mime-types (1.16)
58
- mocha (0.9.8)
59
- rake
60
- mongo (1.0.7)
61
- bson (>= 1.0.4)
62
- nokogiri (1.4.3.1)
65
+ mocha (0.9.12)
66
+ mongo (1.1.2)
67
+ bson (>= 1.1.1)
68
+ mongoid (2.0.0.beta.20)
69
+ activemodel (~> 3.0)
70
+ mongo (~> 1.1)
71
+ tzinfo (~> 0.3.22)
72
+ will_paginate (~> 3.0.pre)
73
+ multi_json (0.0.5)
74
+ multipart-post (1.1.0)
75
+ nokogiri (1.4.4)
76
+ nokogiri (1.4.4-java)
77
+ weakling (>= 0.0.3)
78
+ oa-core (0.2.0)
79
+ rack (~> 1.1)
80
+ oa-oauth (0.2.0)
81
+ multi_json (~> 0.0.2)
82
+ nokogiri (~> 1.4.2)
83
+ oa-core (= 0.2.0)
84
+ oauth (~> 0.4.0)
85
+ oauth2 (~> 0.1.1)
86
+ oa-openid (0.2.0)
87
+ oa-core (= 0.2.0)
88
+ rack-openid (~> 1.2.0)
89
+ ruby-openid-apps-discovery
90
+ oauth (0.4.4)
91
+ oauth2 (0.1.1)
92
+ faraday (~> 0.5.0)
93
+ multi_json (~> 0.0.4)
94
+ orm_adapter (0.0.4)
63
95
  polyglot (0.3.1)
64
96
  rack (1.2.1)
65
- rack-mount (0.6.12)
97
+ rack-mount (0.6.13)
66
98
  rack (>= 1.0.0)
67
- rack-test (0.5.4)
99
+ rack-openid (1.2.0)
100
+ rack (>= 1.1.0)
101
+ ruby-openid (>= 2.1.8)
102
+ rack-test (0.5.7)
68
103
  rack (>= 1.0)
69
- rails (3.0.0)
70
- actionmailer (= 3.0.0)
71
- actionpack (= 3.0.0)
72
- activerecord (= 3.0.0)
73
- activeresource (= 3.0.0)
74
- activesupport (= 3.0.0)
75
- bundler (~> 1.0.0)
76
- railties (= 3.0.0)
77
- railties (3.0.0)
78
- actionpack (= 3.0.0)
79
- activesupport (= 3.0.0)
80
- rake (>= 0.8.4)
81
- thor (~> 0.14.0)
104
+ rails (3.0.4)
105
+ actionmailer (= 3.0.4)
106
+ actionpack (= 3.0.4)
107
+ activerecord (= 3.0.4)
108
+ activeresource (= 3.0.4)
109
+ activesupport (= 3.0.4)
110
+ bundler (~> 1.0)
111
+ railties (= 3.0.4)
112
+ railties (3.0.4)
113
+ actionpack (= 3.0.4)
114
+ activesupport (= 3.0.4)
115
+ rake (>= 0.8.7)
116
+ thor (~> 0.14.4)
82
117
  rake (0.8.7)
83
- ruby-debug (0.10.3)
118
+ ruby-debug (0.10.4)
84
119
  columnize (>= 0.1)
85
- ruby-debug-base (~> 0.10.3.0)
86
- ruby-debug-base (0.10.3)
120
+ ruby-debug-base (~> 0.10.4.0)
121
+ ruby-debug-base (0.10.4)
87
122
  linecache (>= 0.3)
88
- sqlite3-ruby (1.3.1)
89
- thor (0.14.0)
90
- treetop (1.4.8)
123
+ ruby-openid (2.1.8)
124
+ ruby-openid-apps-discovery (1.2.0)
125
+ ruby-openid (>= 2.1.7)
126
+ sqlite3 (1.3.3)
127
+ sqlite3-ruby (1.3.3)
128
+ sqlite3 (>= 1.3.3)
129
+ thor (0.14.6)
130
+ treetop (1.4.9)
91
131
  polyglot (>= 0.3.1)
92
- tzinfo (0.3.23)
93
- warden (0.10.7)
132
+ tzinfo (0.3.24)
133
+ warden (1.0.3)
94
134
  rack (>= 1.0.0)
95
- webrat (0.7.0)
135
+ weakling (0.0.4-java)
136
+ webrat (0.7.2)
96
137
  nokogiri (>= 1.2.0)
97
138
  rack (>= 1.0)
98
139
  rack-test (>= 0.5.3)
99
140
  will_paginate (3.0.pre2)
100
141
 
101
142
  PLATFORMS
143
+ java
102
144
  ruby
103
145
 
104
146
  DEPENDENCIES
105
- bcrypt-ruby
106
- bson_ext
147
+ activerecord-jdbcsqlite3-adapter
148
+ bson_ext (= 1.2.1)
149
+ devise!
107
150
  mocha
108
- mongo
109
- mongoid!
110
- rails (= 3.0.0)
151
+ mongo (= 1.1.2)
152
+ mongoid (= 2.0.0.beta.20)
153
+ oa-oauth (~> 0.2.0)
154
+ oa-openid (~> 0.2.0)
155
+ rails (~> 3.0.4)
111
156
  ruby-debug (>= 0.10.3)
112
157
  sqlite3-ruby
113
- warden (= 0.10.7)
114
- webrat (= 0.7.0)
158
+ webrat (= 0.7.2)
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2009 Plataforma Tecnologia. http://blog.plataformatec.com.br
1
+ Copyright 2009-2011 Plataforma Tecnologia. http://blog.plataformatec.com.br
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the