quo_vadis 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # CHANGELOG
2
2
 
3
3
 
4
+ ## 1.1.2 (7 February 2012)
5
+
6
+ * Replace ActiveSupport::SecureRandom with SecureRandom.
7
+
8
+
4
9
  ## 1.1.1 (18 October 2011)
5
10
 
6
11
  * Only change password when a non-blank value is given.
@@ -96,7 +96,7 @@ module ModelMixin
96
96
  private
97
97
 
98
98
  def url_friendly_token # :nodoc:
99
- ActiveSupport::SecureRandom.base64(10).tr('+/=', 'xyz')
99
+ SecureRandom.base64(10).tr('+/=', 'xyz')
100
100
  end
101
101
  end
102
102
 
@@ -1,3 +1,3 @@
1
1
  module QuoVadis
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
data/quo_vadis.gemspec CHANGED
@@ -22,8 +22,9 @@ Gem::Specification.new do |s|
22
22
  s.add_dependency 'rails', '~>3.0'
23
23
  s.add_dependency 'bcrypt-ruby', '~> 3.0.0'
24
24
 
25
- s.add_development_dependency 'rails', '>=3.0.4' # so we can test CSRF protection
25
+ s.add_development_dependency 'rails', '~>3.0.4' # so we can test CSRF protection
26
26
  s.add_development_dependency 'sqlite3-ruby'
27
- s.add_development_dependency 'capybara', '>= 0.4.0'
27
+ s.add_development_dependency 'capybara', '~>1.1'
28
28
  s.add_development_dependency 'launchy'
29
+ s.add_development_dependency 'rake'
29
30
  end
@@ -1,6 +1,6 @@
1
1
  # Define a bare test case to use with Capybara
2
2
  class ActiveSupport::IntegrationCase < ActiveSupport::TestCase
3
- include Capybara
3
+ include Capybara::DSL
4
4
  include Rails.application.routes.url_helpers
5
5
 
6
6
  teardown do
data/test/test_helper.rb CHANGED
@@ -79,7 +79,7 @@ def get_cookie(cookie_name)
79
79
  end
80
80
 
81
81
  def cookie_jar
82
- Capybara.current_session.driver.current_session.instance_variable_get(:@rack_mock_session).cookie_jar
82
+ Capybara.current_session.driver.browser.current_session.instance_variable_get(:@rack_mock_session).cookie_jar
83
83
  end
84
84
 
85
85
  def close_browser
metadata CHANGED
@@ -1,124 +1,100 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: quo_vadis
3
- version: !ruby/object:Gem::Version
4
- hash: 17
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.2
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 1
9
- - 1
10
- version: 1.1.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Andy Stewart
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-10-18 00:00:00 +02:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-02-07 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: rails
23
- prerelease: false
24
- version_requirements: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2157988380 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
18
+ requirements:
27
19
  - - ~>
28
- - !ruby/object:Gem::Version
29
- hash: 7
30
- segments:
31
- - 3
32
- - 0
33
- version: "3.0"
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
34
22
  type: :runtime
35
- requirement: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: bcrypt-ruby
38
23
  prerelease: false
39
- version_requirements: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2157988380
25
+ - !ruby/object:Gem::Dependency
26
+ name: bcrypt-ruby
27
+ requirement: &2157987500 !ruby/object:Gem::Requirement
40
28
  none: false
41
- requirements:
29
+ requirements:
42
30
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 7
45
- segments:
46
- - 3
47
- - 0
48
- - 0
31
+ - !ruby/object:Gem::Version
49
32
  version: 3.0.0
50
33
  type: :runtime
51
- requirement: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: rails
54
34
  prerelease: false
55
- version_requirements: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2157987500
36
+ - !ruby/object:Gem::Dependency
37
+ name: rails
38
+ requirement: &2157986780 !ruby/object:Gem::Requirement
56
39
  none: false
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- hash: 15
61
- segments:
62
- - 3
63
- - 0
64
- - 4
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
65
43
  version: 3.0.4
66
44
  type: :development
67
- requirement: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: sqlite3-ruby
70
45
  prerelease: false
71
- version_requirements: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2157986780
47
+ - !ruby/object:Gem::Dependency
48
+ name: sqlite3-ruby
49
+ requirement: &2157986100 !ruby/object:Gem::Requirement
72
50
  none: false
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- hash: 3
77
- segments:
78
- - 0
79
- version: "0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
80
55
  type: :development
81
- requirement: *id004
82
- - !ruby/object:Gem::Dependency
83
- name: capybara
84
56
  prerelease: false
85
- version_requirements: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *2157986100
58
+ - !ruby/object:Gem::Dependency
59
+ name: capybara
60
+ requirement: &2157967940 !ruby/object:Gem::Requirement
86
61
  none: false
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- hash: 15
91
- segments:
92
- - 0
93
- - 4
94
- - 0
95
- version: 0.4.0
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: '1.1'
96
66
  type: :development
97
- requirement: *id005
98
- - !ruby/object:Gem::Dependency
67
+ prerelease: false
68
+ version_requirements: *2157967940
69
+ - !ruby/object:Gem::Dependency
99
70
  name: launchy
71
+ requirement: &2157967080 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
100
78
  prerelease: false
101
- version_requirements: &id006 !ruby/object:Gem::Requirement
79
+ version_requirements: *2157967080
80
+ - !ruby/object:Gem::Dependency
81
+ name: rake
82
+ requirement: &2157965940 !ruby/object:Gem::Requirement
102
83
  none: false
103
- requirements:
104
- - - ">="
105
- - !ruby/object:Gem::Version
106
- hash: 3
107
- segments:
108
- - 0
109
- version: "0"
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
110
88
  type: :development
111
- requirement: *id006
89
+ prerelease: false
90
+ version_requirements: *2157965940
112
91
  description: Simple username/password authentication for Rails 3.
113
- email:
92
+ email:
114
93
  - boss@airbladesoftware.com
115
94
  executables: []
116
-
117
95
  extensions: []
118
-
119
96
  extra_rdoc_files: []
120
-
121
- files:
97
+ files:
122
98
  - .gitignore
123
99
  - CHANGELOG.md
124
100
  - Gemfile
@@ -208,41 +184,37 @@ files:
208
184
  - test/support/integration_case.rb
209
185
  - test/test_helper.rb
210
186
  - test/unit/user_test.rb
211
- has_rdoc: true
212
187
  homepage: https://github.com/airblade/quo_vadis
213
188
  licenses: []
214
-
215
189
  post_install_message:
216
190
  rdoc_options: []
217
-
218
- require_paths:
191
+ require_paths:
219
192
  - lib
220
- required_ruby_version: !ruby/object:Gem::Requirement
193
+ required_ruby_version: !ruby/object:Gem::Requirement
221
194
  none: false
222
- requirements:
223
- - - ">="
224
- - !ruby/object:Gem::Version
225
- hash: 3
226
- segments:
195
+ requirements:
196
+ - - ! '>='
197
+ - !ruby/object:Gem::Version
198
+ version: '0'
199
+ segments:
227
200
  - 0
228
- version: "0"
229
- required_rubygems_version: !ruby/object:Gem::Requirement
201
+ hash: 4176509777758211908
202
+ required_rubygems_version: !ruby/object:Gem::Requirement
230
203
  none: false
231
- requirements:
232
- - - ">="
233
- - !ruby/object:Gem::Version
234
- hash: 3
235
- segments:
204
+ requirements:
205
+ - - ! '>='
206
+ - !ruby/object:Gem::Version
207
+ version: '0'
208
+ segments:
236
209
  - 0
237
- version: "0"
210
+ hash: 4176509777758211908
238
211
  requirements: []
239
-
240
212
  rubyforge_project: quo_vadis
241
- rubygems_version: 1.6.2
213
+ rubygems_version: 1.8.11
242
214
  signing_key:
243
215
  specification_version: 3
244
216
  summary: Simple username/password authentication for Rails 3.
245
- test_files:
217
+ test_files:
246
218
  - test/dummy/.gitignore
247
219
  - test/dummy/Rakefile
248
220
  - test/dummy/app/controllers/application_controller.rb