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 +5 -0
- data/app/models/model_mixin.rb +1 -1
- data/lib/quo_vadis/version.rb +1 -1
- data/quo_vadis.gemspec +3 -2
- data/test/support/integration_case.rb +1 -1
- data/test/test_helper.rb +1 -1
- metadata +79 -107
data/CHANGELOG.md
CHANGED
data/app/models/model_mixin.rb
CHANGED
data/lib/quo_vadis/version.rb
CHANGED
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', '
|
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', '
|
27
|
+
s.add_development_dependency 'capybara', '~>1.1'
|
28
28
|
s.add_development_dependency 'launchy'
|
29
|
+
s.add_development_dependency 'rake'
|
29
30
|
end
|
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
|
-
|
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
|
-
|
19
|
-
|
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
|
-
|
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
|
-
|
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:
|
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:
|
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:
|
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
|
-
|
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:
|
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
|
-
|
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
|
-
|
98
|
-
|
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:
|
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
|
-
|
107
|
-
segments:
|
108
|
-
- 0
|
109
|
-
version: "0"
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
110
88
|
type: :development
|
111
|
-
|
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
|
-
|
226
|
-
segments:
|
195
|
+
requirements:
|
196
|
+
- - ! '>='
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '0'
|
199
|
+
segments:
|
227
200
|
- 0
|
228
|
-
|
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
|
-
|
235
|
-
segments:
|
204
|
+
requirements:
|
205
|
+
- - ! '>='
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '0'
|
208
|
+
segments:
|
236
209
|
- 0
|
237
|
-
|
210
|
+
hash: 4176509777758211908
|
238
211
|
requirements: []
|
239
|
-
|
240
212
|
rubyforge_project: quo_vadis
|
241
|
-
rubygems_version: 1.
|
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
|