lockup 1.3.2.1 → 1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +5 -13
  2. data/README.md +12 -2
  3. data/app/controllers/lockup/lockup_controller.rb +9 -3
  4. data/lib/lockup.rb +7 -8
  5. data/lib/lockup/version.rb +1 -1
  6. data/spec/controllers/lockup/lockup_controller_spec.rb +6 -3
  7. data/spec/dummy/app/views/posts/index.html.erb +1 -1
  8. data/spec/dummy/config/application.rb +1 -0
  9. data/spec/dummy/config/environments/test.rb +2 -2
  10. data/spec/dummy/log/test.log +4901 -0
  11. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1T/1T-a1hn7TPU4VqYN1_WMFcWXOJr7VHGalLxVInuxckM.cache +1 -0
  12. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2s/2s3YUjKGbnsy4nqjtt3_bLi2-n7vURwbi1N4I3efe3M.cache +1 -0
  13. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/54/54JuizNobIWGWy1THHxcQSq9oLjimE6qRyKaKuNrnuA.cache +0 -0
  14. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/B3/B33FTX989v8LP64xdx3RQwjUBAenWdgN6qT8sRqdw0U.cache +0 -0
  15. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GA/GASYa5vOdbDTxwlNjrbfSeP0VqSsLpI1WPJOL-DlpX8.cache +1 -0
  16. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JT/JT67EmzctkGMcnuWGu3PGVl4VdsixOmCeTj1iN8XqFU.cache +0 -0
  17. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ng/NgxbVmfEhJPMVKKQOWa0nwrHB7PcQjSyU8CLLguWYlo.cache +0 -0
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PE/PE4qT2vBxYzDt9ccdMf4qpdTP7dOm-R5cLIBQibKwRQ.cache +0 -0
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/WC/WCPElyBEHMaQVSX5y9b3OeK62YirmwoDyI47yFYx5GQ.cache +1 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gO/gO-rpB7IiDeyguj60kVlTKZVtRC2P1B99AOB14IdvVI.cache +0 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +2 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jB/jBSZ526UktWa5tR11UzXAqsEYE1Uf1yI6odiAdWnvmA.cache +1 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +2 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/o_/o_N92h27J6XZ47drVHd36L-LHb1TeVSJOP8GCoR6rfc.cache +0 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +2 -0
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +2 -0
  27. data/spec/spec_helper.rb +3 -1
  28. metadata +71 -23
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=84d0e13726fa85d1762abfb51dcc8f7ed4cf5af3494c6c9b7d659c3249e763d7:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=810745ae5f6c62d61c0359a926a2affcd3870b0ee985c108257b1d054b7459ca:ET
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=159d78f03516b099581068548ef1ed980b15f259998d4fb00c738844a16b87f5:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"8file-digest://app/assets/javascripts/application.js;TTI")file-digest://app/assets/javascripts;TTF
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=1e6b80f86e7aa8bdd166a3e0f99135a0a3f2b24701bfc9842bb201f304150c74:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI")file-digest://app/assets/javascripts;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"9file-digest://app/assets/stylesheets/application.css;TTI")file-digest://app/assets/stylesheets;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TTF
data/spec/spec_helper.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  ENV['RAILS_ENV'] ||= 'test'
2
2
  require File.expand_path("../dummy/config/environment.rb", __FILE__)
3
+ require 'byebug'
3
4
  require 'rspec/rails'
4
- require 'rspec/autorun'
5
5
 
6
6
  Rails.backtrace_cleaner.remove_silencers!
7
7
 
@@ -13,4 +13,6 @@ RSpec.configure do |config|
13
13
  config.infer_base_class_for_anonymous_controllers = false
14
14
  config.order = "random"
15
15
  config.include UserAgentHelper, type: :feature
16
+ config.infer_spec_type_from_file_location!
17
+ config.expect_with(:rspec) { |c| c.syntax = :should }
16
18
  end
metadata CHANGED
@@ -1,77 +1,91 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lockup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2.1
4
+ version: '1.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - gb Studio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-14 00:00:00.000000000 Z
11
+ date: 2016-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3'
20
- - - <
20
+ - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5'
22
+ version: '6'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ! '>='
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '3'
30
- - - <
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5'
32
+ version: '6'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rspec-rails
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ! '>='
37
+ - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0'
39
+ version: '3.5'
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - ! '>='
44
+ - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '0'
46
+ version: '3.5'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: capybara
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ! '>='
51
+ - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0'
53
+ version: '2.9'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ! '>='
58
+ - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '0'
60
+ version: '2.9'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: launchy
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - ! '>='
65
+ - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '0'
67
+ version: '2.4'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ! '>='
72
+ - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: '0'
74
+ version: '2.4'
75
+ - !ruby/object:Gem::Dependency
76
+ name: byebug
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '9.0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: '9.0'
75
89
  description: A simple gem to more elegantly place a staging server or other in-progress
76
90
  application behind a basic codeword. It’s easy to implement, share with clients/collaborators,
77
91
  and more beautiful than the typical password-protection sheet.
@@ -128,10 +142,27 @@ files:
128
142
  - spec/dummy/config/initializers/wrap_parameters.rb
129
143
  - spec/dummy/config/locales/en.yml
130
144
  - spec/dummy/config/routes.rb
145
+ - spec/dummy/log/test.log
131
146
  - spec/dummy/public/404.html
132
147
  - spec/dummy/public/422.html
133
148
  - spec/dummy/public/500.html
134
149
  - spec/dummy/public/favicon.ico
150
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/1T/1T-a1hn7TPU4VqYN1_WMFcWXOJr7VHGalLxVInuxckM.cache
151
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/2s/2s3YUjKGbnsy4nqjtt3_bLi2-n7vURwbi1N4I3efe3M.cache
152
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/54/54JuizNobIWGWy1THHxcQSq9oLjimE6qRyKaKuNrnuA.cache
153
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/B3/B33FTX989v8LP64xdx3RQwjUBAenWdgN6qT8sRqdw0U.cache
154
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/GA/GASYa5vOdbDTxwlNjrbfSeP0VqSsLpI1WPJOL-DlpX8.cache
155
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/JT/JT67EmzctkGMcnuWGu3PGVl4VdsixOmCeTj1iN8XqFU.cache
156
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ng/NgxbVmfEhJPMVKKQOWa0nwrHB7PcQjSyU8CLLguWYlo.cache
157
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/PE/PE4qT2vBxYzDt9ccdMf4qpdTP7dOm-R5cLIBQibKwRQ.cache
158
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/WC/WCPElyBEHMaQVSX5y9b3OeK62YirmwoDyI47yFYx5GQ.cache
159
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/gO/gO-rpB7IiDeyguj60kVlTKZVtRC2P1B99AOB14IdvVI.cache
160
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
161
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/jB/jBSZ526UktWa5tR11UzXAqsEYE1Uf1yI6odiAdWnvmA.cache
162
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache
163
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/o_/o_N92h27J6XZ47drVHd36L-LHb1TeVSJOP8GCoR6rfc.cache
164
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
165
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
135
166
  - spec/features/access_restricted_spec.rb
136
167
  - spec/spec_helper.rb
137
168
  - spec/support/features/user_agent_helper.rb
@@ -145,17 +176,17 @@ require_paths:
145
176
  - lib
146
177
  required_ruby_version: !ruby/object:Gem::Requirement
147
178
  requirements:
148
- - - ! '>='
179
+ - - ">="
149
180
  - !ruby/object:Gem::Version
150
181
  version: '0'
151
182
  required_rubygems_version: !ruby/object:Gem::Requirement
152
183
  requirements:
153
- - - ! '>='
184
+ - - ">="
154
185
  - !ruby/object:Gem::Version
155
186
  version: '0'
156
187
  requirements: []
157
188
  rubyforge_project:
158
- rubygems_version: 2.4.3
189
+ rubygems_version: 2.5.1
159
190
  signing_key:
160
191
  specification_version: 4
161
192
  summary: Lock staging servers from search engines and prying eyes.
@@ -190,11 +221,28 @@ test_files:
190
221
  - spec/dummy/config/locales/en.yml
191
222
  - spec/dummy/config/routes.rb
192
223
  - spec/dummy/config.ru
224
+ - spec/dummy/log/test.log
193
225
  - spec/dummy/public/404.html
194
226
  - spec/dummy/public/422.html
195
227
  - spec/dummy/public/500.html
196
228
  - spec/dummy/public/favicon.ico
197
229
  - spec/dummy/Rakefile
230
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/1T/1T-a1hn7TPU4VqYN1_WMFcWXOJr7VHGalLxVInuxckM.cache
231
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/2s/2s3YUjKGbnsy4nqjtt3_bLi2-n7vURwbi1N4I3efe3M.cache
232
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/54/54JuizNobIWGWy1THHxcQSq9oLjimE6qRyKaKuNrnuA.cache
233
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/B3/B33FTX989v8LP64xdx3RQwjUBAenWdgN6qT8sRqdw0U.cache
234
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/GA/GASYa5vOdbDTxwlNjrbfSeP0VqSsLpI1WPJOL-DlpX8.cache
235
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/gO/gO-rpB7IiDeyguj60kVlTKZVtRC2P1B99AOB14IdvVI.cache
236
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
237
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/jB/jBSZ526UktWa5tR11UzXAqsEYE1Uf1yI6odiAdWnvmA.cache
238
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/JT/JT67EmzctkGMcnuWGu3PGVl4VdsixOmCeTj1iN8XqFU.cache
239
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ng/NgxbVmfEhJPMVKKQOWa0nwrHB7PcQjSyU8CLLguWYlo.cache
240
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/o_/o_N92h27J6XZ47drVHd36L-LHb1TeVSJOP8GCoR6rfc.cache
241
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache
242
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/PE/PE4qT2vBxYzDt9ccdMf4qpdTP7dOm-R5cLIBQibKwRQ.cache
243
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache
244
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/WC/WCPElyBEHMaQVSX5y9b3OeK62YirmwoDyI47yFYx5GQ.cache
245
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache
198
246
  - spec/features/access_restricted_spec.rb
199
247
  - spec/spec_helper.rb
200
248
  - spec/support/features/user_agent_helper.rb