user_impersonate2 0.10.2 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/user_impersonate/impersonate_controller.rb +2 -0
  3. data/app/views/user_impersonate/_header.html.erb +4 -4
  4. data/lib/generators/user_impersonate/templates/app/views/user_impersonate/_header.html.erb +4 -4
  5. data/lib/user_impersonate/version.rb +1 -2
  6. data/test/dummy-rails4/db/test.sqlite3 +0 -0
  7. data/test/dummy-rails4/log/test.log +19 -912
  8. metadata +190 -242
  9. data/test/dummy-rails4/db/development.sqlite3 +0 -0
  10. data/test/dummy-rails4/log/development.log +0 -18
  11. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/0cc1c92437f1c4975bb5abbbd424a275 +0 -0
  12. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  13. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/1c9faaf28d05409b88ad3113374d613c +0 -0
  14. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/2625847957ecb8614efc9b58b07cabdf +0 -0
  15. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  16. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  17. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/35f33ae400a6b0b5bf527436a68133b5 +0 -0
  18. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/40fc2f3d2a468a00e463f1d313cb1683 +0 -0
  19. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/5f1c168e97e274509aa4673eab0d86f6 +0 -0
  20. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/681d1010f98d5ed273e67645c7cb454d +0 -0
  21. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/70f1b4a1d50faffb0516da04ecf73bd0 +0 -0
  22. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/7411b44628aea038332f13f5ed73e073 +0 -0
  23. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/7f14251885cab31b58c878119cbdc199 +0 -0
  24. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/8483b329d12e7e986bc5a2204bbcb4f8 +0 -0
  25. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/8ff157af159f38d424ce1367e29760a2 +0 -0
  26. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/b6f020b01a84691088a0c459a18f9c7e +0 -0
  27. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/b878faf942403e313a5b103e5d80488e +0 -0
  28. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/bbbc0acfefa636c66069f61f74e4f175 +0 -0
  29. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/c87b21c4aa04f8dcc3ae32da29c99d97 +0 -0
  30. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  31. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/d0cde4ef34755468270bb49c4a3689f1 +0 -0
  32. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  33. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/edbef6e0d0a4742346cf479f2c522eb0 +0 -0
  34. data/test/dummy-rails4/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_impersonate2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Cook
@@ -10,104 +10,104 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-07-29 00:00:00.000000000 Z
13
+ date: 2016-07-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - '>='
19
+ - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: 3.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - '>='
26
+ - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  version: 3.2.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: sqlite3
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - '>='
33
+ - - ">="
34
34
  - !ruby/object:Gem::Version
35
35
  version: '0'
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - '>='
40
+ - - ">="
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: cucumber-rails
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - '>='
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
49
  version: '0'
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - '>='
54
+ - - ">="
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: database_cleaner
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - '>='
61
+ - - ">="
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - '>='
68
+ - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: guard
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - '>='
75
+ - - ">="
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - '>='
82
+ - - ">="
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: guard-cucumber
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - '>='
89
+ - - ">="
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - '>='
96
+ - - ">="
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: launchy
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - '>='
103
+ - - ">="
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
- - - '>='
110
+ - - ">="
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  description: Allow staff users to pretend to be your customers; to impersonate their
@@ -117,152 +117,126 @@ executables: []
117
117
  extensions: []
118
118
  extra_rdoc_files: []
119
119
  files:
120
- - app/views/layouts/user_impersonate/application.html.erb
121
- - app/views/user_impersonate/_header.html.erb
122
- - app/views/user_impersonate/impersonate/index.html.erb
123
- - app/assets/javascripts/user_impersonate/impersonate.js
120
+ - MIT-LICENSE
121
+ - README.md
122
+ - Rakefile
124
123
  - app/assets/javascripts/user_impersonate/application.js
125
- - app/assets/stylesheets/user_impersonate/impersonate.css
124
+ - app/assets/javascripts/user_impersonate/impersonate.js
126
125
  - app/assets/stylesheets/user_impersonate/application.css
126
+ - app/assets/stylesheets/user_impersonate/impersonate.css
127
127
  - app/controllers/user_impersonate/application_controller.rb
128
128
  - app/controllers/user_impersonate/impersonate_controller.rb
129
129
  - app/helpers/user_impersonate/application_helper.rb
130
+ - app/views/layouts/user_impersonate/application.html.erb
131
+ - app/views/user_impersonate/_header.html.erb
132
+ - app/views/user_impersonate/impersonate/index.html.erb
130
133
  - config/cucumber.yml
131
134
  - config/routes.rb
132
- - lib/user_impersonate/version.rb
133
- - lib/user_impersonate/devise_helpers.rb
134
- - lib/user_impersonate/engine.rb
135
- - lib/user_impersonate.rb
136
- - lib/generators/user_impersonate/templates/config/initializers/user_impersonate.rb
137
- - lib/generators/user_impersonate/templates/app/views/user_impersonate/_header.html.erb
138
135
  - lib/generators/user_impersonate/USAGE
136
+ - lib/generators/user_impersonate/templates/app/views/user_impersonate/_header.html.erb
137
+ - lib/generators/user_impersonate/templates/config/initializers/user_impersonate.rb
139
138
  - lib/generators/user_impersonate/user_impersonate_generator.rb
140
139
  - lib/tasks/user_impersonate_tasks.rake
141
- - MIT-LICENSE
142
- - Rakefile
143
- - README.md
144
- - test/test_helper.rb
145
- - test/test_utils.rb
146
- - test/dummy-rails4/public/500.html
147
- - test/dummy-rails4/public/404.html
148
- - test/dummy-rails4/public/422.html
149
- - test/dummy-rails4/public/favicon.ico
150
- - test/dummy-rails4/lib/tasks/cucumber.rake
140
+ - lib/user_impersonate.rb
141
+ - lib/user_impersonate/devise_helpers.rb
142
+ - lib/user_impersonate/engine.rb
143
+ - lib/user_impersonate/version.rb
144
+ - test/dummy-rails3/README.rdoc
145
+ - test/dummy-rails3/Rakefile
146
+ - test/dummy-rails3/app/assets/javascripts/application.js
147
+ - test/dummy-rails3/app/assets/javascripts/home.js
148
+ - test/dummy-rails3/app/assets/stylesheets/application.css
149
+ - test/dummy-rails3/app/assets/stylesheets/home.css
150
+ - test/dummy-rails3/app/controllers/application_controller.rb
151
+ - test/dummy-rails3/app/controllers/home_controller.rb
152
+ - test/dummy-rails3/app/helpers/application_helper.rb
153
+ - test/dummy-rails3/app/helpers/home_helper.rb
154
+ - test/dummy-rails3/app/models/user.rb
155
+ - test/dummy-rails3/app/views/home/index.html.erb
156
+ - test/dummy-rails3/app/views/layouts/application.html.erb
157
+ - test/dummy-rails3/app/views/user_impersonate/_header.html.erb
158
+ - test/dummy-rails3/config.ru
159
+ - test/dummy-rails3/config/application.rb
160
+ - test/dummy-rails3/config/boot.rb
161
+ - test/dummy-rails3/config/database.yml
162
+ - test/dummy-rails3/config/environment.rb
163
+ - test/dummy-rails3/config/environments/development.rb
164
+ - test/dummy-rails3/config/environments/production.rb
165
+ - test/dummy-rails3/config/environments/test.rb
166
+ - test/dummy-rails3/config/initializers/backtrace_silencers.rb
167
+ - test/dummy-rails3/config/initializers/devise.rb
168
+ - test/dummy-rails3/config/initializers/mime_types.rb
169
+ - test/dummy-rails3/config/initializers/secret_token.rb
170
+ - test/dummy-rails3/config/initializers/session_store.rb
171
+ - test/dummy-rails3/config/initializers/user_impersonate.rb
172
+ - test/dummy-rails3/config/initializers/wrap_parameters.rb
173
+ - test/dummy-rails3/config/locales/devise.en.yml
174
+ - test/dummy-rails3/config/locales/en.yml
175
+ - test/dummy-rails3/config/routes.rb
176
+ - test/dummy-rails3/db/migrate/20120914174453_devise_create_users.rb
177
+ - test/dummy-rails3/db/migrate/20120914184123_add_staff_flag_to_users.rb
178
+ - test/dummy-rails3/db/schema.rb
179
+ - test/dummy-rails3/lib/tasks/cucumber.rake
180
+ - test/dummy-rails3/public/404.html
181
+ - test/dummy-rails3/public/422.html
182
+ - test/dummy-rails3/public/500.html
183
+ - test/dummy-rails3/public/favicon.ico
184
+ - test/dummy-rails3/script/rails
185
+ - test/dummy-rails3/test/fixtures/users.yml
186
+ - test/dummy-rails3/test/unit/helpers/home_helper_test.rb
187
+ - test/dummy-rails3/test/unit/user_test.rb
151
188
  - test/dummy-rails4/README.rdoc
152
- - test/dummy-rails4/script/rails
153
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/d0cde4ef34755468270bb49c4a3689f1
154
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/8483b329d12e7e986bc5a2204bbcb4f8
155
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/5f1c168e97e274509aa4673eab0d86f6
156
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/b878faf942403e313a5b103e5d80488e
157
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/681d1010f98d5ed273e67645c7cb454d
158
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
159
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/b6f020b01a84691088a0c459a18f9c7e
160
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/70f1b4a1d50faffb0516da04ecf73bd0
161
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/40fc2f3d2a468a00e463f1d313cb1683
162
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/8ff157af159f38d424ce1367e29760a2
163
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/bbbc0acfefa636c66069f61f74e4f175
164
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
165
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/2625847957ecb8614efc9b58b07cabdf
166
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/7411b44628aea038332f13f5ed73e073
167
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
168
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
169
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
170
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/35f33ae400a6b0b5bf527436a68133b5
171
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
172
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/c87b21c4aa04f8dcc3ae32da29c99d97
173
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/7f14251885cab31b58c878119cbdc199
174
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/0cc1c92437f1c4975bb5abbbd424a275
175
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/edbef6e0d0a4742346cf479f2c522eb0
176
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/1c9faaf28d05409b88ad3113374d613c
177
- - test/dummy-rails4/config/locales/en.yml
178
- - test/dummy-rails4/config/locales/devise.en.yml
179
- - test/dummy-rails4/config/environment.rb
180
- - test/dummy-rails4/config/environments/development.rb
181
- - test/dummy-rails4/config/environments/production.rb
182
- - test/dummy-rails4/config/environments/test.rb
183
- - test/dummy-rails4/config/routes.rb
184
- - test/dummy-rails4/config/initializers/user_impersonate.rb
185
- - test/dummy-rails4/config/initializers/wrap_parameters.rb
186
- - test/dummy-rails4/config/initializers/mime_types.rb
187
- - test/dummy-rails4/config/initializers/secret_token.rb
188
- - test/dummy-rails4/config/initializers/session_store.rb
189
- - test/dummy-rails4/config/initializers/devise.rb
190
- - test/dummy-rails4/config/initializers/backtrace_silencers.rb
191
- - test/dummy-rails4/config/database.yml
192
- - test/dummy-rails4/config/boot.rb
193
- - test/dummy-rails4/config/application.rb
194
- - test/dummy-rails4/app/views/layouts/application.html.erb
195
- - test/dummy-rails4/app/views/user_impersonate/_header.html.erb
196
- - test/dummy-rails4/app/views/home/index.html.erb
189
+ - test/dummy-rails4/Rakefile
197
190
  - test/dummy-rails4/app/assets/javascripts/application.js
198
191
  - test/dummy-rails4/app/assets/javascripts/home.js
199
- - test/dummy-rails4/app/assets/stylesheets/home.css
200
192
  - test/dummy-rails4/app/assets/stylesheets/application.css
193
+ - test/dummy-rails4/app/assets/stylesheets/home.css
201
194
  - test/dummy-rails4/app/controllers/application_controller.rb
202
195
  - test/dummy-rails4/app/controllers/home_controller.rb
203
- - test/dummy-rails4/app/models/user.rb
204
196
  - test/dummy-rails4/app/helpers/application_helper.rb
205
197
  - test/dummy-rails4/app/helpers/home_helper.rb
206
- - test/dummy-rails4/test/unit/user_test.rb
207
- - test/dummy-rails4/test/unit/helpers/home_helper_test.rb
208
- - test/dummy-rails4/test/fixtures/users.yml
198
+ - test/dummy-rails4/app/models/user.rb
199
+ - test/dummy-rails4/app/views/home/index.html.erb
200
+ - test/dummy-rails4/app/views/layouts/application.html.erb
201
+ - test/dummy-rails4/app/views/user_impersonate/_header.html.erb
209
202
  - test/dummy-rails4/config.ru
210
- - test/dummy-rails4/log/development.log
211
- - test/dummy-rails4/log/test.log
212
- - test/dummy-rails4/Rakefile
213
- - test/dummy-rails4/db/development.sqlite3
214
- - test/dummy-rails4/db/schema.rb
215
- - test/dummy-rails4/db/migrate/20120914184123_add_staff_flag_to_users.rb
203
+ - test/dummy-rails4/config/application.rb
204
+ - test/dummy-rails4/config/boot.rb
205
+ - test/dummy-rails4/config/database.yml
206
+ - test/dummy-rails4/config/environment.rb
207
+ - test/dummy-rails4/config/environments/development.rb
208
+ - test/dummy-rails4/config/environments/production.rb
209
+ - test/dummy-rails4/config/environments/test.rb
210
+ - test/dummy-rails4/config/initializers/backtrace_silencers.rb
211
+ - test/dummy-rails4/config/initializers/devise.rb
212
+ - test/dummy-rails4/config/initializers/mime_types.rb
213
+ - test/dummy-rails4/config/initializers/secret_token.rb
214
+ - test/dummy-rails4/config/initializers/session_store.rb
215
+ - test/dummy-rails4/config/initializers/user_impersonate.rb
216
+ - test/dummy-rails4/config/initializers/wrap_parameters.rb
217
+ - test/dummy-rails4/config/locales/devise.en.yml
218
+ - test/dummy-rails4/config/locales/en.yml
219
+ - test/dummy-rails4/config/routes.rb
216
220
  - test/dummy-rails4/db/migrate/20120914174453_devise_create_users.rb
221
+ - test/dummy-rails4/db/migrate/20120914184123_add_staff_flag_to_users.rb
222
+ - test/dummy-rails4/db/schema.rb
217
223
  - test/dummy-rails4/db/test.sqlite3
224
+ - test/dummy-rails4/lib/tasks/cucumber.rake
225
+ - test/dummy-rails4/log/test.log
226
+ - test/dummy-rails4/public/404.html
227
+ - test/dummy-rails4/public/422.html
228
+ - test/dummy-rails4/public/500.html
229
+ - test/dummy-rails4/public/favicon.ico
230
+ - test/dummy-rails4/script/rails
231
+ - test/dummy-rails4/test/fixtures/users.yml
232
+ - test/dummy-rails4/test/unit/helpers/home_helper_test.rb
233
+ - test/dummy-rails4/test/unit/user_test.rb
218
234
  - test/functional/impersonate_controller_test.rb
219
- - test/unit/helpers/user_impersonate/impersonate_helper_test.rb
220
- - test/unit/helpers/user_impersonate/devise_helpers_test.rb
221
- - test/dummy-rails3/public/500.html
222
- - test/dummy-rails3/public/404.html
223
- - test/dummy-rails3/public/422.html
224
- - test/dummy-rails3/public/favicon.ico
225
- - test/dummy-rails3/lib/tasks/cucumber.rake
226
- - test/dummy-rails3/README.rdoc
227
- - test/dummy-rails3/script/rails
228
- - test/dummy-rails3/config/locales/en.yml
229
- - test/dummy-rails3/config/locales/devise.en.yml
230
- - test/dummy-rails3/config/environment.rb
231
- - test/dummy-rails3/config/environments/development.rb
232
- - test/dummy-rails3/config/environments/production.rb
233
- - test/dummy-rails3/config/environments/test.rb
234
- - test/dummy-rails3/config/routes.rb
235
- - test/dummy-rails3/config/initializers/user_impersonate.rb
236
- - test/dummy-rails3/config/initializers/wrap_parameters.rb
237
- - test/dummy-rails3/config/initializers/mime_types.rb
238
- - test/dummy-rails3/config/initializers/secret_token.rb
239
- - test/dummy-rails3/config/initializers/session_store.rb
240
- - test/dummy-rails3/config/initializers/devise.rb
241
- - test/dummy-rails3/config/initializers/backtrace_silencers.rb
242
- - test/dummy-rails3/config/database.yml
243
- - test/dummy-rails3/config/boot.rb
244
- - test/dummy-rails3/config/application.rb
245
- - test/dummy-rails3/app/views/layouts/application.html.erb
246
- - test/dummy-rails3/app/views/user_impersonate/_header.html.erb
247
- - test/dummy-rails3/app/views/home/index.html.erb
248
- - test/dummy-rails3/app/assets/javascripts/application.js
249
- - test/dummy-rails3/app/assets/javascripts/home.js
250
- - test/dummy-rails3/app/assets/stylesheets/home.css
251
- - test/dummy-rails3/app/assets/stylesheets/application.css
252
- - test/dummy-rails3/app/controllers/application_controller.rb
253
- - test/dummy-rails3/app/controllers/home_controller.rb
254
- - test/dummy-rails3/app/models/user.rb
255
- - test/dummy-rails3/app/helpers/application_helper.rb
256
- - test/dummy-rails3/app/helpers/home_helper.rb
257
- - test/dummy-rails3/test/unit/user_test.rb
258
- - test/dummy-rails3/test/unit/helpers/home_helper_test.rb
259
- - test/dummy-rails3/test/fixtures/users.yml
260
- - test/dummy-rails3/config.ru
261
- - test/dummy-rails3/Rakefile
262
- - test/dummy-rails3/db/schema.rb
263
- - test/dummy-rails3/db/migrate/20120914184123_add_staff_flag_to_users.rb
264
- - test/dummy-rails3/db/migrate/20120914174453_devise_create_users.rb
265
235
  - test/integration/navigation_test.rb
236
+ - test/test_helper.rb
237
+ - test/test_utils.rb
238
+ - test/unit/helpers/user_impersonate/devise_helpers_test.rb
239
+ - test/unit/helpers/user_impersonate/impersonate_helper_test.rb
266
240
  - test/user_impersonate_test.rb
267
241
  homepage: https://github.com/rcook/user_impersonate2
268
242
  licenses:
@@ -274,141 +248,115 @@ require_paths:
274
248
  - lib
275
249
  required_ruby_version: !ruby/object:Gem::Requirement
276
250
  requirements:
277
- - - '>='
251
+ - - ">="
278
252
  - !ruby/object:Gem::Version
279
253
  version: '0'
280
254
  required_rubygems_version: !ruby/object:Gem::Requirement
281
255
  requirements:
282
- - - '>='
256
+ - - ">="
283
257
  - !ruby/object:Gem::Version
284
258
  version: '0'
285
259
  requirements: []
286
260
  rubyforge_project:
287
- rubygems_version: 2.0.14
261
+ rubygems_version: 2.2.5
288
262
  signing_key:
289
263
  specification_version: 4
290
264
  summary: Allow staff users to pretend to be your customers
291
265
  test_files:
266
+ - test/unit/helpers/user_impersonate/devise_helpers_test.rb
267
+ - test/unit/helpers/user_impersonate/impersonate_helper_test.rb
268
+ - test/integration/navigation_test.rb
292
269
  - test/test_helper.rb
293
- - test/test_utils.rb
294
- - test/dummy-rails4/public/500.html
295
- - test/dummy-rails4/public/404.html
296
- - test/dummy-rails4/public/422.html
297
- - test/dummy-rails4/public/favicon.ico
298
- - test/dummy-rails4/lib/tasks/cucumber.rake
299
- - test/dummy-rails4/README.rdoc
300
- - test/dummy-rails4/script/rails
301
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/d0cde4ef34755468270bb49c4a3689f1
302
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/8483b329d12e7e986bc5a2204bbcb4f8
303
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/5f1c168e97e274509aa4673eab0d86f6
304
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/b878faf942403e313a5b103e5d80488e
305
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/681d1010f98d5ed273e67645c7cb454d
306
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
307
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/b6f020b01a84691088a0c459a18f9c7e
308
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/70f1b4a1d50faffb0516da04ecf73bd0
309
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/40fc2f3d2a468a00e463f1d313cb1683
310
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/8ff157af159f38d424ce1367e29760a2
311
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/bbbc0acfefa636c66069f61f74e4f175
312
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
313
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/2625847957ecb8614efc9b58b07cabdf
314
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/7411b44628aea038332f13f5ed73e073
315
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
316
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
317
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
318
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/35f33ae400a6b0b5bf527436a68133b5
319
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
320
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/c87b21c4aa04f8dcc3ae32da29c99d97
321
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/7f14251885cab31b58c878119cbdc199
322
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/0cc1c92437f1c4975bb5abbbd424a275
323
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/edbef6e0d0a4742346cf479f2c522eb0
324
- - test/dummy-rails4/tmp/cache/assets/test/sprockets/1c9faaf28d05409b88ad3113374d613c
325
- - test/dummy-rails4/config/locales/en.yml
326
- - test/dummy-rails4/config/locales/devise.en.yml
327
- - test/dummy-rails4/config/environment.rb
328
- - test/dummy-rails4/config/environments/development.rb
270
+ - test/dummy-rails4/config/database.yml
271
+ - test/dummy-rails4/config/routes.rb
272
+ - test/dummy-rails4/config/boot.rb
329
273
  - test/dummy-rails4/config/environments/production.rb
330
274
  - test/dummy-rails4/config/environments/test.rb
331
- - test/dummy-rails4/config/routes.rb
332
- - test/dummy-rails4/config/initializers/user_impersonate.rb
333
- - test/dummy-rails4/config/initializers/wrap_parameters.rb
275
+ - test/dummy-rails4/config/environments/development.rb
276
+ - test/dummy-rails4/config/environment.rb
277
+ - test/dummy-rails4/config/application.rb
278
+ - test/dummy-rails4/config/locales/devise.en.yml
279
+ - test/dummy-rails4/config/locales/en.yml
334
280
  - test/dummy-rails4/config/initializers/mime_types.rb
335
- - test/dummy-rails4/config/initializers/secret_token.rb
281
+ - test/dummy-rails4/config/initializers/wrap_parameters.rb
282
+ - test/dummy-rails4/config/initializers/user_impersonate.rb
336
283
  - test/dummy-rails4/config/initializers/session_store.rb
337
284
  - test/dummy-rails4/config/initializers/devise.rb
338
285
  - test/dummy-rails4/config/initializers/backtrace_silencers.rb
339
- - test/dummy-rails4/config/database.yml
340
- - test/dummy-rails4/config/boot.rb
341
- - test/dummy-rails4/config/application.rb
286
+ - test/dummy-rails4/config/initializers/secret_token.rb
287
+ - test/dummy-rails4/README.rdoc
288
+ - test/dummy-rails4/db/migrate/20120914184123_add_staff_flag_to_users.rb
289
+ - test/dummy-rails4/db/migrate/20120914174453_devise_create_users.rb
290
+ - test/dummy-rails4/db/schema.rb
291
+ - test/dummy-rails4/db/test.sqlite3
292
+ - test/dummy-rails4/log/test.log
293
+ - test/dummy-rails4/lib/tasks/cucumber.rake
294
+ - test/dummy-rails4/public/422.html
295
+ - test/dummy-rails4/public/favicon.ico
296
+ - test/dummy-rails4/public/404.html
297
+ - test/dummy-rails4/public/500.html
298
+ - test/dummy-rails4/test/fixtures/users.yml
299
+ - test/dummy-rails4/test/unit/helpers/home_helper_test.rb
300
+ - test/dummy-rails4/test/unit/user_test.rb
301
+ - test/dummy-rails4/script/rails
302
+ - test/dummy-rails4/Rakefile
303
+ - test/dummy-rails4/config.ru
304
+ - test/dummy-rails4/app/controllers/application_controller.rb
305
+ - test/dummy-rails4/app/controllers/home_controller.rb
306
+ - test/dummy-rails4/app/helpers/home_helper.rb
307
+ - test/dummy-rails4/app/helpers/application_helper.rb
342
308
  - test/dummy-rails4/app/views/layouts/application.html.erb
343
309
  - test/dummy-rails4/app/views/user_impersonate/_header.html.erb
344
310
  - test/dummy-rails4/app/views/home/index.html.erb
345
- - test/dummy-rails4/app/assets/javascripts/application.js
346
- - test/dummy-rails4/app/assets/javascripts/home.js
311
+ - test/dummy-rails4/app/models/user.rb
347
312
  - test/dummy-rails4/app/assets/stylesheets/home.css
348
313
  - test/dummy-rails4/app/assets/stylesheets/application.css
349
- - test/dummy-rails4/app/controllers/application_controller.rb
350
- - test/dummy-rails4/app/controllers/home_controller.rb
351
- - test/dummy-rails4/app/models/user.rb
352
- - test/dummy-rails4/app/helpers/application_helper.rb
353
- - test/dummy-rails4/app/helpers/home_helper.rb
354
- - test/dummy-rails4/test/unit/user_test.rb
355
- - test/dummy-rails4/test/unit/helpers/home_helper_test.rb
356
- - test/dummy-rails4/test/fixtures/users.yml
357
- - test/dummy-rails4/config.ru
358
- - test/dummy-rails4/log/development.log
359
- - test/dummy-rails4/log/test.log
360
- - test/dummy-rails4/Rakefile
361
- - test/dummy-rails4/db/development.sqlite3
362
- - test/dummy-rails4/db/schema.rb
363
- - test/dummy-rails4/db/migrate/20120914184123_add_staff_flag_to_users.rb
364
- - test/dummy-rails4/db/migrate/20120914174453_devise_create_users.rb
365
- - test/dummy-rails4/db/test.sqlite3
366
- - test/functional/impersonate_controller_test.rb
367
- - test/unit/helpers/user_impersonate/impersonate_helper_test.rb
368
- - test/unit/helpers/user_impersonate/devise_helpers_test.rb
369
- - test/dummy-rails3/public/500.html
370
- - test/dummy-rails3/public/404.html
371
- - test/dummy-rails3/public/422.html
372
- - test/dummy-rails3/public/favicon.ico
373
- - test/dummy-rails3/lib/tasks/cucumber.rake
374
- - test/dummy-rails3/README.rdoc
375
- - test/dummy-rails3/script/rails
376
- - test/dummy-rails3/config/locales/en.yml
377
- - test/dummy-rails3/config/locales/devise.en.yml
378
- - test/dummy-rails3/config/environment.rb
379
- - test/dummy-rails3/config/environments/development.rb
314
+ - test/dummy-rails4/app/assets/javascripts/home.js
315
+ - test/dummy-rails4/app/assets/javascripts/application.js
316
+ - test/user_impersonate_test.rb
317
+ - test/test_utils.rb
318
+ - test/dummy-rails3/config/database.yml
319
+ - test/dummy-rails3/config/routes.rb
320
+ - test/dummy-rails3/config/boot.rb
380
321
  - test/dummy-rails3/config/environments/production.rb
381
322
  - test/dummy-rails3/config/environments/test.rb
382
- - test/dummy-rails3/config/routes.rb
383
- - test/dummy-rails3/config/initializers/user_impersonate.rb
384
- - test/dummy-rails3/config/initializers/wrap_parameters.rb
323
+ - test/dummy-rails3/config/environments/development.rb
324
+ - test/dummy-rails3/config/environment.rb
325
+ - test/dummy-rails3/config/application.rb
326
+ - test/dummy-rails3/config/locales/devise.en.yml
327
+ - test/dummy-rails3/config/locales/en.yml
385
328
  - test/dummy-rails3/config/initializers/mime_types.rb
386
- - test/dummy-rails3/config/initializers/secret_token.rb
329
+ - test/dummy-rails3/config/initializers/wrap_parameters.rb
330
+ - test/dummy-rails3/config/initializers/user_impersonate.rb
387
331
  - test/dummy-rails3/config/initializers/session_store.rb
388
332
  - test/dummy-rails3/config/initializers/devise.rb
389
333
  - test/dummy-rails3/config/initializers/backtrace_silencers.rb
390
- - test/dummy-rails3/config/database.yml
391
- - test/dummy-rails3/config/boot.rb
392
- - test/dummy-rails3/config/application.rb
334
+ - test/dummy-rails3/config/initializers/secret_token.rb
335
+ - test/dummy-rails3/README.rdoc
336
+ - test/dummy-rails3/db/migrate/20120914184123_add_staff_flag_to_users.rb
337
+ - test/dummy-rails3/db/migrate/20120914174453_devise_create_users.rb
338
+ - test/dummy-rails3/db/schema.rb
339
+ - test/dummy-rails3/lib/tasks/cucumber.rake
340
+ - test/dummy-rails3/public/422.html
341
+ - test/dummy-rails3/public/favicon.ico
342
+ - test/dummy-rails3/public/404.html
343
+ - test/dummy-rails3/public/500.html
344
+ - test/dummy-rails3/test/fixtures/users.yml
345
+ - test/dummy-rails3/test/unit/helpers/home_helper_test.rb
346
+ - test/dummy-rails3/test/unit/user_test.rb
347
+ - test/dummy-rails3/script/rails
348
+ - test/dummy-rails3/Rakefile
349
+ - test/dummy-rails3/config.ru
350
+ - test/dummy-rails3/app/controllers/application_controller.rb
351
+ - test/dummy-rails3/app/controllers/home_controller.rb
352
+ - test/dummy-rails3/app/helpers/home_helper.rb
353
+ - test/dummy-rails3/app/helpers/application_helper.rb
393
354
  - test/dummy-rails3/app/views/layouts/application.html.erb
394
355
  - test/dummy-rails3/app/views/user_impersonate/_header.html.erb
395
356
  - test/dummy-rails3/app/views/home/index.html.erb
396
- - test/dummy-rails3/app/assets/javascripts/application.js
397
- - test/dummy-rails3/app/assets/javascripts/home.js
357
+ - test/dummy-rails3/app/models/user.rb
398
358
  - test/dummy-rails3/app/assets/stylesheets/home.css
399
359
  - test/dummy-rails3/app/assets/stylesheets/application.css
400
- - test/dummy-rails3/app/controllers/application_controller.rb
401
- - test/dummy-rails3/app/controllers/home_controller.rb
402
- - test/dummy-rails3/app/models/user.rb
403
- - test/dummy-rails3/app/helpers/application_helper.rb
404
- - test/dummy-rails3/app/helpers/home_helper.rb
405
- - test/dummy-rails3/test/unit/user_test.rb
406
- - test/dummy-rails3/test/unit/helpers/home_helper_test.rb
407
- - test/dummy-rails3/test/fixtures/users.yml
408
- - test/dummy-rails3/config.ru
409
- - test/dummy-rails3/Rakefile
410
- - test/dummy-rails3/db/schema.rb
411
- - test/dummy-rails3/db/migrate/20120914184123_add_staff_flag_to_users.rb
412
- - test/dummy-rails3/db/migrate/20120914174453_devise_create_users.rb
413
- - test/integration/navigation_test.rb
414
- - test/user_impersonate_test.rb
360
+ - test/dummy-rails3/app/assets/javascripts/home.js
361
+ - test/dummy-rails3/app/assets/javascripts/application.js
362
+ - test/functional/impersonate_controller_test.rb