rails_web_cache 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -1
- data/Gemfile.lock +1 -1
- data/app/controllers/rails_web_cache/keys_controller.rb +5 -2
- data/app/views/rails_web_cache/keys/index.html.erb +2 -2
- data/app/views/rails_web_cache/keys/show.html.erb +4 -4
- data/app/views/rails_web_cache/shared/_header.html.erb +1 -1
- data/config/routes.rb +3 -5
- data/lib/rails_web_cache/version.rb +1 -1
- data/lib/rails_web_cache.rb +4 -4
- data/spec/dummy/log/development.log +630 -0
- data/spec/dummy/log/test.log +2519 -0
- data/spec/dummy/tmp/development_secret.txt +1 -0
- data/spec/rails_web_cache_spec.rb +1 -1
- data/spec/routing/keys_controller_spec.rb +8 -6
- metadata +8 -2
@@ -0,0 +1 @@
|
|
1
|
+
283c214ebcbecf419d2492e919bec2c3bbe610c393708fa0aea613af7945b3de1ae3b942c8ed3aa7a1cf9e56760f44b21dbd6a0466d171a036784b4df5df9c3d
|
@@ -3,27 +3,29 @@
|
|
3
3
|
require 'rails_helper'
|
4
4
|
|
5
5
|
RSpec.describe RailsWebCache::KeysController, type: :routing do
|
6
|
+
routes { RailsWebCache::Engine.routes }
|
7
|
+
|
6
8
|
describe 'routing' do
|
7
9
|
it 'routes to #index' do
|
8
|
-
expect(get: '/
|
10
|
+
expect(get: '/').to(
|
9
11
|
route_to('rails_web_cache/keys#index')
|
10
12
|
)
|
11
13
|
end
|
12
14
|
|
13
15
|
it 'routes to #show' do
|
14
|
-
expect(get: '/
|
15
|
-
route_to('rails_web_cache/keys#show'
|
16
|
+
expect(get: '/keys').to(
|
17
|
+
route_to('rails_web_cache/keys#show')
|
16
18
|
)
|
17
19
|
end
|
18
20
|
|
19
21
|
it 'routes to #destroy' do
|
20
|
-
expect(delete: '
|
21
|
-
route_to('rails_web_cache/keys#destroy'
|
22
|
+
expect(delete: 'keys').to(
|
23
|
+
route_to('rails_web_cache/keys#destroy')
|
22
24
|
)
|
23
25
|
end
|
24
26
|
|
25
27
|
it 'routes to #destroy_all' do
|
26
|
-
expect(delete: '
|
28
|
+
expect(delete: 'keys/destroy_all').to(
|
27
29
|
route_to('rails_web_cache/keys#destroy_all')
|
28
30
|
)
|
29
31
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_web_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boris BRESCIANI
|
@@ -152,12 +152,15 @@ files:
|
|
152
152
|
- spec/dummy/config/puma.rb
|
153
153
|
- spec/dummy/config/routes.rb
|
154
154
|
- spec/dummy/config/spring.rb
|
155
|
+
- spec/dummy/log/development.log
|
156
|
+
- spec/dummy/log/test.log
|
155
157
|
- spec/dummy/public/404.html
|
156
158
|
- spec/dummy/public/422.html
|
157
159
|
- spec/dummy/public/500.html
|
158
160
|
- spec/dummy/public/apple-touch-icon-precomposed.png
|
159
161
|
- spec/dummy/public/apple-touch-icon.png
|
160
162
|
- spec/dummy/public/favicon.ico
|
163
|
+
- spec/dummy/tmp/development_secret.txt
|
161
164
|
- spec/helpers/keys_helper_spec.rb
|
162
165
|
- spec/rails_helper.rb
|
163
166
|
- spec/rails_web_cache_spec.rb
|
@@ -184,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
187
|
- !ruby/object:Gem::Version
|
185
188
|
version: '0'
|
186
189
|
requirements: []
|
187
|
-
rubygems_version: 3.
|
190
|
+
rubygems_version: 3.0.4
|
188
191
|
signing_key:
|
189
192
|
specification_version: 4
|
190
193
|
summary: Manage rails cache by Web UI
|
@@ -228,6 +231,9 @@ test_files:
|
|
228
231
|
- spec/dummy/public/500.html
|
229
232
|
- spec/dummy/public/404.html
|
230
233
|
- spec/dummy/public/apple-touch-icon-precomposed.png
|
234
|
+
- spec/dummy/log/test.log
|
235
|
+
- spec/dummy/log/development.log
|
236
|
+
- spec/dummy/tmp/development_secret.txt
|
231
237
|
- spec/rails_web_cache_spec.rb
|
232
238
|
- spec/routing/keys_controller_spec.rb
|
233
239
|
- spec/controllers/keys_controller_spec.rb
|