rails_web_cache 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +2 -0
  3. data/.gitignore +21 -0
  4. data/.rspec +3 -0
  5. data/.rubocop.yml +11 -0
  6. data/Gemfile +15 -0
  7. data/Gemfile.lock +178 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +43 -0
  10. data/Rakefile +28 -0
  11. data/app/assets/config/rails_web_cache_manifest.js +2 -0
  12. data/app/assets/images/rails_web_cache/.keep +0 -0
  13. data/app/assets/javascripts/rails_web_cache/application.js +17 -0
  14. data/app/assets/javascripts/rails_web_cache/bootstrap.js +6 -0
  15. data/app/assets/javascripts/rails_web_cache/jquery.js +2 -0
  16. data/app/assets/javascripts/rails_web_cache/keys.js +22 -0
  17. data/app/assets/javascripts/rails_web_cache/popper.js +5 -0
  18. data/app/assets/stylesheets/rails_web_cache/application.css +14 -0
  19. data/app/assets/stylesheets/rails_web_cache/bootstrap.css +7 -0
  20. data/app/controllers/rails_web_cache/application_controller.rb +7 -0
  21. data/app/controllers/rails_web_cache/keys_controller.rb +84 -0
  22. data/app/helpers/rails_web_cache/keys_helper.rb +18 -0
  23. data/app/views/layouts/rails_web_cache/application.html.erb +16 -0
  24. data/app/views/rails_web_cache/keys/index.html.erb +95 -0
  25. data/app/views/rails_web_cache/keys/show.html.erb +26 -0
  26. data/app/views/rails_web_cache/shared/_header.html.erb +17 -0
  27. data/bin/rails +20 -0
  28. data/config/routes.rb +11 -0
  29. data/lib/rails_web_cache/base.rb +44 -0
  30. data/lib/rails_web_cache/engine.rb +21 -0
  31. data/lib/rails_web_cache/entry.rb +19 -0
  32. data/lib/rails_web_cache/file_store.rb +9 -0
  33. data/lib/rails_web_cache/memory_store.rb +9 -0
  34. data/lib/rails_web_cache/redis_cache_store.rb +23 -0
  35. data/lib/rails_web_cache/version.rb +5 -0
  36. data/lib/rails_web_cache.rb +46 -0
  37. data/rails_web_cache.gemspec +39 -0
  38. data/spec/controllers/keys_controller_spec.rb +41 -0
  39. data/spec/dummy/Rakefile +6 -0
  40. data/spec/dummy/app/assets/config/manifest.js +3 -0
  41. data/spec/dummy/app/assets/javascripts/application.js +14 -0
  42. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  43. data/spec/dummy/app/controllers/application_controller.rb +4 -0
  44. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  45. data/spec/dummy/bin/bundle +5 -0
  46. data/spec/dummy/bin/rails +6 -0
  47. data/spec/dummy/bin/rake +6 -0
  48. data/spec/dummy/bin/setup +38 -0
  49. data/spec/dummy/bin/update +33 -0
  50. data/spec/dummy/bin/yarn +13 -0
  51. data/spec/dummy/config/application.rb +23 -0
  52. data/spec/dummy/config/boot.rb +7 -0
  53. data/spec/dummy/config/environment.rb +7 -0
  54. data/spec/dummy/config/environments/development.rb +47 -0
  55. data/spec/dummy/config/environments/production.rb +74 -0
  56. data/spec/dummy/config/environments/test.rb +40 -0
  57. data/spec/dummy/config/initializers/application_controller_renderer.rb +10 -0
  58. data/spec/dummy/config/initializers/assets.rb +14 -0
  59. data/spec/dummy/config/initializers/backtrace_silencers.rb +8 -0
  60. data/spec/dummy/config/initializers/content_security_policy.rb +26 -0
  61. data/spec/dummy/config/initializers/cookies_serializer.rb +7 -0
  62. data/spec/dummy/config/initializers/filter_parameter_logging.rb +6 -0
  63. data/spec/dummy/config/initializers/inflections.rb +18 -0
  64. data/spec/dummy/config/initializers/mime_types.rb +6 -0
  65. data/spec/dummy/config/initializers/wrap_parameters.rb +11 -0
  66. data/spec/dummy/config/locales/en.yml +33 -0
  67. data/spec/dummy/config/puma.rb +39 -0
  68. data/spec/dummy/config/routes.rb +5 -0
  69. data/spec/dummy/config/spring.rb +8 -0
  70. data/spec/dummy/config.ru +7 -0
  71. data/spec/dummy/log/development.log +630 -0
  72. data/spec/dummy/log/test.log +1791 -0
  73. data/spec/dummy/public/404.html +67 -0
  74. data/spec/dummy/public/422.html +67 -0
  75. data/spec/dummy/public/500.html +66 -0
  76. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  77. data/spec/dummy/public/apple-touch-icon.png +0 -0
  78. data/spec/dummy/public/favicon.ico +0 -0
  79. data/spec/dummy/tmp/development_secret.txt +1 -0
  80. data/spec/helpers/keys_helper_spec.rb +28 -0
  81. data/spec/rails_helper.rb +50 -0
  82. data/spec/rails_web_cache_spec.rb +37 -0
  83. data/spec/routing/keys_controller_spec.rb +31 -0
  84. data/spec/spec_helper.rb +101 -0
  85. metadata +237 -0
metadata ADDED
@@ -0,0 +1,237 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_web_cache
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Boris BRESCIANI
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-12-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: coveralls
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.8'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.8'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 4.0.0.beta3
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 4.0.0.beta3
41
+ - !ruby/object:Gem::Dependency
42
+ name: simplecov
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.16'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.16'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '5.2'
62
+ - - "<"
63
+ - !ruby/object:Gem::Version
64
+ version: '7.0'
65
+ type: :runtime
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '5.2'
72
+ - - "<"
73
+ - !ruby/object:Gem::Version
74
+ version: '7.0'
75
+ description: Manage rails cache by Web UI (Redis, Memory, etc...)
76
+ email:
77
+ - boris2bresciani@gmail.com
78
+ executables: []
79
+ extensions: []
80
+ extra_rdoc_files: []
81
+ files:
82
+ - ".coveralls.yml"
83
+ - ".gitignore"
84
+ - ".rspec"
85
+ - ".rubocop.yml"
86
+ - Gemfile
87
+ - Gemfile.lock
88
+ - LICENSE.txt
89
+ - README.md
90
+ - Rakefile
91
+ - app/assets/config/rails_web_cache_manifest.js
92
+ - app/assets/images/rails_web_cache/.keep
93
+ - app/assets/javascripts/rails_web_cache/application.js
94
+ - app/assets/javascripts/rails_web_cache/bootstrap.js
95
+ - app/assets/javascripts/rails_web_cache/jquery.js
96
+ - app/assets/javascripts/rails_web_cache/keys.js
97
+ - app/assets/javascripts/rails_web_cache/popper.js
98
+ - app/assets/stylesheets/rails_web_cache/application.css
99
+ - app/assets/stylesheets/rails_web_cache/bootstrap.css
100
+ - app/controllers/rails_web_cache/application_controller.rb
101
+ - app/controllers/rails_web_cache/keys_controller.rb
102
+ - app/helpers/rails_web_cache/keys_helper.rb
103
+ - app/views/layouts/rails_web_cache/application.html.erb
104
+ - app/views/rails_web_cache/keys/index.html.erb
105
+ - app/views/rails_web_cache/keys/show.html.erb
106
+ - app/views/rails_web_cache/shared/_header.html.erb
107
+ - bin/rails
108
+ - config/routes.rb
109
+ - lib/rails_web_cache.rb
110
+ - lib/rails_web_cache/base.rb
111
+ - lib/rails_web_cache/engine.rb
112
+ - lib/rails_web_cache/entry.rb
113
+ - lib/rails_web_cache/file_store.rb
114
+ - lib/rails_web_cache/memory_store.rb
115
+ - lib/rails_web_cache/redis_cache_store.rb
116
+ - lib/rails_web_cache/version.rb
117
+ - rails_web_cache.gemspec
118
+ - spec/controllers/keys_controller_spec.rb
119
+ - spec/dummy/Rakefile
120
+ - spec/dummy/app/assets/config/manifest.js
121
+ - spec/dummy/app/assets/javascripts/application.js
122
+ - spec/dummy/app/assets/stylesheets/application.css
123
+ - spec/dummy/app/controllers/application_controller.rb
124
+ - spec/dummy/app/views/layouts/application.html.erb
125
+ - spec/dummy/bin/bundle
126
+ - spec/dummy/bin/rails
127
+ - spec/dummy/bin/rake
128
+ - spec/dummy/bin/setup
129
+ - spec/dummy/bin/update
130
+ - spec/dummy/bin/yarn
131
+ - spec/dummy/config.ru
132
+ - spec/dummy/config/application.rb
133
+ - spec/dummy/config/boot.rb
134
+ - spec/dummy/config/environment.rb
135
+ - spec/dummy/config/environments/development.rb
136
+ - spec/dummy/config/environments/production.rb
137
+ - spec/dummy/config/environments/test.rb
138
+ - spec/dummy/config/initializers/application_controller_renderer.rb
139
+ - spec/dummy/config/initializers/assets.rb
140
+ - spec/dummy/config/initializers/backtrace_silencers.rb
141
+ - spec/dummy/config/initializers/content_security_policy.rb
142
+ - spec/dummy/config/initializers/cookies_serializer.rb
143
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
144
+ - spec/dummy/config/initializers/inflections.rb
145
+ - spec/dummy/config/initializers/mime_types.rb
146
+ - spec/dummy/config/initializers/wrap_parameters.rb
147
+ - spec/dummy/config/locales/en.yml
148
+ - spec/dummy/config/puma.rb
149
+ - spec/dummy/config/routes.rb
150
+ - spec/dummy/config/spring.rb
151
+ - spec/dummy/log/development.log
152
+ - spec/dummy/log/test.log
153
+ - spec/dummy/public/404.html
154
+ - spec/dummy/public/422.html
155
+ - spec/dummy/public/500.html
156
+ - spec/dummy/public/apple-touch-icon-precomposed.png
157
+ - spec/dummy/public/apple-touch-icon.png
158
+ - spec/dummy/public/favicon.ico
159
+ - spec/dummy/tmp/development_secret.txt
160
+ - spec/helpers/keys_helper_spec.rb
161
+ - spec/rails_helper.rb
162
+ - spec/rails_web_cache_spec.rb
163
+ - spec/routing/keys_controller_spec.rb
164
+ - spec/spec_helper.rb
165
+ homepage: https://github.com/BorisBresciani/rails_web_cache
166
+ licenses:
167
+ - MIT
168
+ metadata:
169
+ homepage_uri: https://github.com/BorisBresciani/rails_web_cache
170
+ source_code_uri: https://github.com/BorisBresciani/rails_web_cache
171
+ post_install_message:
172
+ rdoc_options: []
173
+ require_paths:
174
+ - lib
175
+ required_ruby_version: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ required_rubygems_version: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ version: '0'
185
+ requirements: []
186
+ rubygems_version: 3.0.4
187
+ signing_key:
188
+ specification_version: 4
189
+ summary: Manage rails cache by Web UI
190
+ test_files:
191
+ - spec/spec_helper.rb
192
+ - spec/dummy/app/controllers/application_controller.rb
193
+ - spec/dummy/app/views/layouts/application.html.erb
194
+ - spec/dummy/app/assets/config/manifest.js
195
+ - spec/dummy/app/assets/javascripts/application.js
196
+ - spec/dummy/app/assets/stylesheets/application.css
197
+ - spec/dummy/bin/update
198
+ - spec/dummy/bin/rake
199
+ - spec/dummy/bin/setup
200
+ - spec/dummy/bin/bundle
201
+ - spec/dummy/bin/yarn
202
+ - spec/dummy/bin/rails
203
+ - spec/dummy/config/routes.rb
204
+ - spec/dummy/config/locales/en.yml
205
+ - spec/dummy/config/environments/production.rb
206
+ - spec/dummy/config/environments/development.rb
207
+ - spec/dummy/config/environments/test.rb
208
+ - spec/dummy/config/spring.rb
209
+ - spec/dummy/config/environment.rb
210
+ - spec/dummy/config/application.rb
211
+ - spec/dummy/config/puma.rb
212
+ - spec/dummy/config/boot.rb
213
+ - spec/dummy/config/initializers/application_controller_renderer.rb
214
+ - spec/dummy/config/initializers/backtrace_silencers.rb
215
+ - spec/dummy/config/initializers/mime_types.rb
216
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
217
+ - spec/dummy/config/initializers/wrap_parameters.rb
218
+ - spec/dummy/config/initializers/assets.rb
219
+ - spec/dummy/config/initializers/cookies_serializer.rb
220
+ - spec/dummy/config/initializers/content_security_policy.rb
221
+ - spec/dummy/config/initializers/inflections.rb
222
+ - spec/dummy/config.ru
223
+ - spec/dummy/Rakefile
224
+ - spec/dummy/public/favicon.ico
225
+ - spec/dummy/public/422.html
226
+ - spec/dummy/public/apple-touch-icon.png
227
+ - spec/dummy/public/500.html
228
+ - spec/dummy/public/404.html
229
+ - spec/dummy/public/apple-touch-icon-precomposed.png
230
+ - spec/dummy/log/test.log
231
+ - spec/dummy/log/development.log
232
+ - spec/dummy/tmp/development_secret.txt
233
+ - spec/rails_web_cache_spec.rb
234
+ - spec/routing/keys_controller_spec.rb
235
+ - spec/controllers/keys_controller_spec.rb
236
+ - spec/rails_helper.rb
237
+ - spec/helpers/keys_helper_spec.rb