defra_ruby_features 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +8 -0
  3. data/README.md +92 -0
  4. data/Rakefile +40 -0
  5. data/app/controllers/defra_ruby_features/application_controller.rb +7 -0
  6. data/app/controllers/defra_ruby_features/feature_toggles_controller.rb +58 -0
  7. data/app/helpers/defra_ruby_features/application_helper.rb +6 -0
  8. data/app/helpers/delete_link_helper.rb +16 -0
  9. data/app/views/defra_ruby_features/feature_toggles/index.html.erb +48 -0
  10. data/app/views/defra_ruby_features/feature_toggles/new.html.erb +35 -0
  11. data/app/views/shared/_back.html.erb +1 -0
  12. data/config/locales/defra_ruby_features.en.yml +24 -0
  13. data/config/routes.rb +5 -0
  14. data/lib/defra_ruby_features.rb +26 -0
  15. data/lib/defra_ruby_features/configuration.rb +7 -0
  16. data/lib/defra_ruby_features/engine.rb +13 -0
  17. data/lib/defra_ruby_features/version.rb +5 -0
  18. data/lib/tasks/changelog.rake +8 -0
  19. data/spec/dummy/Rakefile +8 -0
  20. data/spec/dummy/app/assets/config/manifest.js +3 -0
  21. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  22. data/spec/dummy/app/channels/application_cable/channel.rb +6 -0
  23. data/spec/dummy/app/channels/application_cable/connection.rb +6 -0
  24. data/spec/dummy/app/controllers/application_controller.rb +4 -0
  25. data/spec/dummy/app/controllers/test_controller.rb +7 -0
  26. data/spec/dummy/app/helpers/application_helper.rb +4 -0
  27. data/spec/dummy/app/javascript/packs/application.js +14 -0
  28. data/spec/dummy/app/jobs/application_job.rb +9 -0
  29. data/spec/dummy/app/models/ability.rb +9 -0
  30. data/spec/dummy/app/models/application_record.rb +5 -0
  31. data/spec/dummy/app/models/feature_toggle.rb +4 -0
  32. data/spec/dummy/app/models/user.rb +8 -0
  33. data/spec/dummy/app/views/layouts/application.html.erb +12 -0
  34. data/spec/dummy/bin/rails +4 -0
  35. data/spec/dummy/bin/rake +4 -0
  36. data/spec/dummy/bin/setup +25 -0
  37. data/spec/dummy/config.ru +7 -0
  38. data/spec/dummy/config/application.rb +29 -0
  39. data/spec/dummy/config/boot.rb +7 -0
  40. data/spec/dummy/config/database.yml +21 -0
  41. data/spec/dummy/config/environment.rb +7 -0
  42. data/spec/dummy/config/environments/development.rb +50 -0
  43. data/spec/dummy/config/environments/test.rb +41 -0
  44. data/spec/dummy/config/initializers/application_controller_renderer.rb +10 -0
  45. data/spec/dummy/config/initializers/assets.rb +14 -0
  46. data/spec/dummy/config/initializers/backtrace_silencers.rb +9 -0
  47. data/spec/dummy/config/initializers/content_security_policy.rb +30 -0
  48. data/spec/dummy/config/initializers/cookies_serializer.rb +7 -0
  49. data/spec/dummy/config/initializers/defra_ruby_features.rb +7 -0
  50. data/spec/dummy/config/initializers/devise.rb +311 -0
  51. data/spec/dummy/config/initializers/filter_parameter_logging.rb +6 -0
  52. data/spec/dummy/config/initializers/inflections.rb +18 -0
  53. data/spec/dummy/config/initializers/mime_types.rb +6 -0
  54. data/spec/dummy/config/initializers/wrap_parameters.rb +11 -0
  55. data/spec/dummy/config/locales/devise.en.yml +65 -0
  56. data/spec/dummy/config/locales/en.yml +33 -0
  57. data/spec/dummy/config/routes.rb +7 -0
  58. data/spec/dummy/db/migrate/20200623125321_create_feature_toggles.rb +12 -0
  59. data/spec/dummy/db/migrate/20200624115316_devise_create_users.rb +44 -0
  60. data/spec/dummy/db/schema.rb +34 -0
  61. data/spec/dummy/db/test.sqlite3 +0 -0
  62. data/spec/dummy/log/test.log +4579 -0
  63. data/spec/dummy/public/404.html +67 -0
  64. data/spec/dummy/public/422.html +67 -0
  65. data/spec/dummy/public/500.html +66 -0
  66. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  67. data/spec/dummy/public/apple-touch-icon.png +0 -0
  68. data/spec/dummy/public/favicon.ico +0 -0
  69. data/spec/dummy/tmp/development_secret.txt +1 -0
  70. data/spec/examples.txt +13 -0
  71. data/spec/factories/feature_toggle.rb +8 -0
  72. data/spec/factories/user.rb +11 -0
  73. data/spec/lib/defra_ruby_mocks/configuration_spec.rb +13 -0
  74. data/spec/rails_helper.rb +54 -0
  75. data/spec/requests/defra_ruby_features/feature_toggles_spec.rb +145 -0
  76. data/spec/spec_helper.rb +83 -0
  77. data/spec/support/database_cleaner.rb +19 -0
  78. data/spec/support/devise.rb +5 -0
  79. data/spec/support/factory_bot.rb +8 -0
  80. data/spec/support/migrations.rb +10 -0
  81. data/spec/support/pry.rb +7 -0
  82. data/spec/support/rails_controller_testing.rb +5 -0
  83. data/spec/support/simplecov.rb +17 -0
  84. metadata +364 -0
@@ -0,0 +1,83 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Require and run our simplecov initializer as the very first thing we do.
4
+ # This is as per its docs https://github.com/colszowka/simplecov#getting-started
5
+ require "./spec/support/simplecov"
6
+
7
+ # This file was generated by the `rspec --init` command. Conventionally, all
8
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
9
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
10
+ # this file to always be loaded, without a need to explicitly require it in any
11
+ # files.
12
+ #
13
+ # Given that it is always loaded, you are encouraged to keep this file as
14
+ # light-weight as possible. Requiring heavyweight dependencies from this file
15
+ # will add to the boot time of your test suite on EVERY test run, even for an
16
+ # individual file that may not need all of that loaded. Instead, consider making
17
+ # a separate helper file that requires the additional dependencies and performs
18
+ # the additional setup, and require it from the spec files that actually need
19
+ # it.
20
+ #
21
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
22
+ RSpec.configure do |config|
23
+ # rspec-expectations config goes here. You can use an alternate
24
+ # assertion/expectation library such as wrong or the stdlib/minitest
25
+ # assertions if you prefer.
26
+ config.expect_with :rspec do |expectations|
27
+ # This option will default to `true` in RSpec 4. It makes the `description`
28
+ # and `failure_message` of custom matchers include text for helper methods
29
+ # defined using `chain`, e.g.:
30
+ # be_bigger_than(2).and_smaller_than(4).description
31
+ # # => "be bigger than 2 and smaller than 4"
32
+ # ...rather than:
33
+ # # => "be bigger than 2"
34
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
35
+ end
36
+
37
+ # rspec-mocks config goes here. You can use an alternate test double
38
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
39
+ config.mock_with :rspec do |mocks|
40
+ # Prevents you from mocking or stubbing a method that does not exist on
41
+ # a real object. This is generally recommended, and will default to
42
+ # `true` in RSpec 4.
43
+ mocks.verify_partial_doubles = true
44
+ end
45
+
46
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
47
+ # have no way to turn it off -- the option exists only for backwards
48
+ # compatibility in RSpec 3). It causes shared context metadata to be
49
+ # inherited by the metadata hash of host groups and examples, rather than
50
+ # triggering implicit auto-inclusion in groups with matching metadata.
51
+ config.shared_context_metadata_behavior = :apply_to_host_groups
52
+
53
+ # This allows you to limit a spec run to individual examples or groups
54
+ # you care about by tagging them with `:focus` metadata. When nothing
55
+ # is tagged with `:focus`, all examples get run. RSpec also provides
56
+ # aliases for `it`, `describe`, and `context` that include `:focus`
57
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
58
+ config.filter_run_when_matching :focus
59
+
60
+ # Allows RSpec to persist some state between runs in order to support
61
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
62
+ # you configure your source control system to ignore this file.
63
+ config.example_status_persistence_file_path = "spec/examples.txt"
64
+
65
+ # Limits the available syntax to the non-monkey patched syntax that is
66
+ # recommended. For more details, see:
67
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
68
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
69
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
70
+ config.disable_monkey_patching!
71
+
72
+ # Run specs in random order to surface order dependencies. If you find an
73
+ # order dependency and want to debug it, you can fix the order by providing
74
+ # the seed, which is printed after each run.
75
+ # --seed 1234
76
+ config.order = :random
77
+
78
+ # Seed global randomization in this process using the `--seed` CLI option.
79
+ # Setting this allows you to use `--seed` to deterministically reproduce
80
+ # test failures related to randomization by passing the same `--seed` value
81
+ # as the one that triggered the failure.
82
+ Kernel.srand config.seed
83
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Require this to support automatically cleaning the database when testing
4
+ require "database_cleaner"
5
+
6
+ RSpec.configure do |config|
7
+ # Clean the database before running tests. Setup as per
8
+ # https://github.com/DatabaseCleaner/database_cleaner#rspec-example
9
+ config.before(:suite) do
10
+ DatabaseCleaner.strategy = :transaction
11
+ DatabaseCleaner.clean_with(:truncation)
12
+ end
13
+
14
+ config.around(:each) do |example|
15
+ DatabaseCleaner.cleaning do
16
+ example.run
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ RSpec.configure do |config|
4
+ config.include Devise::Test::IntegrationHelpers, type: :request
5
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Require this here to get factories to play nice with engine
4
+ require "factory_bot_rails"
5
+
6
+ RSpec.configure do |config|
7
+ config.include FactoryBot::Syntax::Methods
8
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Checks for pending migrations and applies them before tests are run.
4
+ # If you are not using ActiveRecord, you can remove these lines.
5
+ begin
6
+ ActiveRecord::Migration.maintain_test_schema!
7
+ rescue ActiveRecord::PendingMigrationError => e
8
+ puts e.to_s.strip
9
+ exit 1
10
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Support debugging in the tests. Add `binding.pry` wherever you want execution
4
+ # to stop and the debugger to kick in.
5
+ # Details on the debugging commands can be found here
6
+ # https://github.com/deivid-rodriguez/pry-byebug#commands
7
+ require "pry-byebug"
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rails-controller-testing"
4
+
5
+ Rails::Controller::Testing.install
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "simplecov"
4
+
5
+ # We start it with the rails param to ensure it includes coverage for all code
6
+ # started by the rails app, and not just the files touched by our unit tests.
7
+ # This gives us the most accurate assessment of our unit test coverage
8
+ # https://github.com/colszowka/simplecov#getting-started
9
+ SimpleCov.start do
10
+ # We filter the spec folder, mainly to ensure that any dummy apps don't get
11
+ # included in the coverage report. However our intent is that nothing in the
12
+ # spec folder should be included
13
+ add_filter "/spec/"
14
+ # The version file is simply just that, so we do not feel the need to ensure
15
+ # we have a test for it
16
+ add_filter "lib/defra_ruby_features/version"
17
+ end
metadata ADDED
@@ -0,0 +1,364 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: defra_ruby_features
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Defra
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-07-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 6.0.3
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 6.0.3.2
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: 6.0.3
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 6.0.3.2
33
+ - !ruby/object:Gem::Dependency
34
+ name: cancancan
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.10'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.10'
47
+ - !ruby/object:Gem::Dependency
48
+ name: devise
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 4.4.3
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 4.4.3
61
+ - !ruby/object:Gem::Dependency
62
+ name: github_changelog_generator
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: database_cleaner
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: defra_ruby_style
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: factory_bot_rails
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: pry-byebug
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: rails-controller-testing
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ - !ruby/object:Gem::Dependency
146
+ name: rspec-rails
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ type: :development
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ - !ruby/object:Gem::Dependency
160
+ name: simplecov
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - "~>"
164
+ - !ruby/object:Gem::Version
165
+ version: 0.17.1
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - "~>"
171
+ - !ruby/object:Gem::Version
172
+ version: 0.17.1
173
+ - !ruby/object:Gem::Dependency
174
+ name: sqlite3
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ type: :development
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ description: A Rails engine which can be used to activate and deactivate feature toggles
188
+ email:
189
+ - alan.cruikshanks@environment-agency.gov.uk
190
+ executables: []
191
+ extensions: []
192
+ extra_rdoc_files: []
193
+ files:
194
+ - LICENSE
195
+ - README.md
196
+ - Rakefile
197
+ - app/controllers/defra_ruby_features/application_controller.rb
198
+ - app/controllers/defra_ruby_features/feature_toggles_controller.rb
199
+ - app/helpers/defra_ruby_features/application_helper.rb
200
+ - app/helpers/delete_link_helper.rb
201
+ - app/views/defra_ruby_features/feature_toggles/index.html.erb
202
+ - app/views/defra_ruby_features/feature_toggles/new.html.erb
203
+ - app/views/shared/_back.html.erb
204
+ - config/locales/defra_ruby_features.en.yml
205
+ - config/routes.rb
206
+ - lib/defra_ruby_features.rb
207
+ - lib/defra_ruby_features/configuration.rb
208
+ - lib/defra_ruby_features/engine.rb
209
+ - lib/defra_ruby_features/version.rb
210
+ - lib/tasks/changelog.rake
211
+ - spec/dummy/Rakefile
212
+ - spec/dummy/app/assets/config/manifest.js
213
+ - spec/dummy/app/assets/stylesheets/application.css
214
+ - spec/dummy/app/channels/application_cable/channel.rb
215
+ - spec/dummy/app/channels/application_cable/connection.rb
216
+ - spec/dummy/app/controllers/application_controller.rb
217
+ - spec/dummy/app/controllers/test_controller.rb
218
+ - spec/dummy/app/helpers/application_helper.rb
219
+ - spec/dummy/app/javascript/packs/application.js
220
+ - spec/dummy/app/jobs/application_job.rb
221
+ - spec/dummy/app/models/ability.rb
222
+ - spec/dummy/app/models/application_record.rb
223
+ - spec/dummy/app/models/feature_toggle.rb
224
+ - spec/dummy/app/models/user.rb
225
+ - spec/dummy/app/views/layouts/application.html.erb
226
+ - spec/dummy/bin/rails
227
+ - spec/dummy/bin/rake
228
+ - spec/dummy/bin/setup
229
+ - spec/dummy/config.ru
230
+ - spec/dummy/config/application.rb
231
+ - spec/dummy/config/boot.rb
232
+ - spec/dummy/config/database.yml
233
+ - spec/dummy/config/environment.rb
234
+ - spec/dummy/config/environments/development.rb
235
+ - spec/dummy/config/environments/test.rb
236
+ - spec/dummy/config/initializers/application_controller_renderer.rb
237
+ - spec/dummy/config/initializers/assets.rb
238
+ - spec/dummy/config/initializers/backtrace_silencers.rb
239
+ - spec/dummy/config/initializers/content_security_policy.rb
240
+ - spec/dummy/config/initializers/cookies_serializer.rb
241
+ - spec/dummy/config/initializers/defra_ruby_features.rb
242
+ - spec/dummy/config/initializers/devise.rb
243
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
244
+ - spec/dummy/config/initializers/inflections.rb
245
+ - spec/dummy/config/initializers/mime_types.rb
246
+ - spec/dummy/config/initializers/wrap_parameters.rb
247
+ - spec/dummy/config/locales/devise.en.yml
248
+ - spec/dummy/config/locales/en.yml
249
+ - spec/dummy/config/routes.rb
250
+ - spec/dummy/db/migrate/20200623125321_create_feature_toggles.rb
251
+ - spec/dummy/db/migrate/20200624115316_devise_create_users.rb
252
+ - spec/dummy/db/schema.rb
253
+ - spec/dummy/db/test.sqlite3
254
+ - spec/dummy/log/test.log
255
+ - spec/dummy/public/404.html
256
+ - spec/dummy/public/422.html
257
+ - spec/dummy/public/500.html
258
+ - spec/dummy/public/apple-touch-icon-precomposed.png
259
+ - spec/dummy/public/apple-touch-icon.png
260
+ - spec/dummy/public/favicon.ico
261
+ - spec/dummy/tmp/development_secret.txt
262
+ - spec/examples.txt
263
+ - spec/factories/feature_toggle.rb
264
+ - spec/factories/user.rb
265
+ - spec/lib/defra_ruby_mocks/configuration_spec.rb
266
+ - spec/rails_helper.rb
267
+ - spec/requests/defra_ruby_features/feature_toggles_spec.rb
268
+ - spec/spec_helper.rb
269
+ - spec/support/database_cleaner.rb
270
+ - spec/support/devise.rb
271
+ - spec/support/factory_bot.rb
272
+ - spec/support/migrations.rb
273
+ - spec/support/pry.rb
274
+ - spec/support/rails_controller_testing.rb
275
+ - spec/support/simplecov.rb
276
+ homepage: https://github.com/DEFRA/defra-ruby-features
277
+ licenses:
278
+ - The Open Government Licence (OGL) Version 3
279
+ metadata: {}
280
+ post_install_message:
281
+ rdoc_options: []
282
+ require_paths:
283
+ - lib
284
+ required_ruby_version: !ruby/object:Gem::Requirement
285
+ requirements:
286
+ - - ">="
287
+ - !ruby/object:Gem::Version
288
+ version: '0'
289
+ required_rubygems_version: !ruby/object:Gem::Requirement
290
+ requirements:
291
+ - - ">="
292
+ - !ruby/object:Gem::Version
293
+ version: '0'
294
+ requirements: []
295
+ rubygems_version: 3.1.2
296
+ signing_key:
297
+ specification_version: 4
298
+ summary: Defra Ruby on Rails features manager engine
299
+ test_files:
300
+ - spec/spec_helper.rb
301
+ - spec/dummy/app/models/feature_toggle.rb
302
+ - spec/dummy/app/models/ability.rb
303
+ - spec/dummy/app/models/application_record.rb
304
+ - spec/dummy/app/models/user.rb
305
+ - spec/dummy/app/javascript/packs/application.js
306
+ - spec/dummy/app/jobs/application_job.rb
307
+ - spec/dummy/app/controllers/application_controller.rb
308
+ - spec/dummy/app/controllers/test_controller.rb
309
+ - spec/dummy/app/views/layouts/application.html.erb
310
+ - spec/dummy/app/assets/config/manifest.js
311
+ - spec/dummy/app/assets/stylesheets/application.css
312
+ - spec/dummy/app/helpers/application_helper.rb
313
+ - spec/dummy/app/channels/application_cable/connection.rb
314
+ - spec/dummy/app/channels/application_cable/channel.rb
315
+ - spec/dummy/bin/rake
316
+ - spec/dummy/bin/setup
317
+ - spec/dummy/bin/rails
318
+ - spec/dummy/config/routes.rb
319
+ - spec/dummy/config/locales/en.yml
320
+ - spec/dummy/config/locales/devise.en.yml
321
+ - spec/dummy/config/environments/development.rb
322
+ - spec/dummy/config/environments/test.rb
323
+ - spec/dummy/config/environment.rb
324
+ - spec/dummy/config/application.rb
325
+ - spec/dummy/config/database.yml
326
+ - spec/dummy/config/boot.rb
327
+ - spec/dummy/config/initializers/application_controller_renderer.rb
328
+ - spec/dummy/config/initializers/backtrace_silencers.rb
329
+ - spec/dummy/config/initializers/mime_types.rb
330
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
331
+ - spec/dummy/config/initializers/wrap_parameters.rb
332
+ - spec/dummy/config/initializers/assets.rb
333
+ - spec/dummy/config/initializers/cookies_serializer.rb
334
+ - spec/dummy/config/initializers/defra_ruby_features.rb
335
+ - spec/dummy/config/initializers/devise.rb
336
+ - spec/dummy/config/initializers/content_security_policy.rb
337
+ - spec/dummy/config/initializers/inflections.rb
338
+ - spec/dummy/config.ru
339
+ - spec/dummy/Rakefile
340
+ - spec/dummy/public/favicon.ico
341
+ - spec/dummy/public/422.html
342
+ - spec/dummy/public/apple-touch-icon.png
343
+ - spec/dummy/public/500.html
344
+ - spec/dummy/public/404.html
345
+ - spec/dummy/public/apple-touch-icon-precomposed.png
346
+ - spec/dummy/db/schema.rb
347
+ - spec/dummy/db/test.sqlite3
348
+ - spec/dummy/db/migrate/20200623125321_create_feature_toggles.rb
349
+ - spec/dummy/db/migrate/20200624115316_devise_create_users.rb
350
+ - spec/dummy/log/test.log
351
+ - spec/dummy/tmp/development_secret.txt
352
+ - spec/examples.txt
353
+ - spec/requests/defra_ruby_features/feature_toggles_spec.rb
354
+ - spec/support/factory_bot.rb
355
+ - spec/support/simplecov.rb
356
+ - spec/support/migrations.rb
357
+ - spec/support/pry.rb
358
+ - spec/support/devise.rb
359
+ - spec/support/database_cleaner.rb
360
+ - spec/support/rails_controller_testing.rb
361
+ - spec/factories/feature_toggle.rb
362
+ - spec/factories/user.rb
363
+ - spec/lib/defra_ruby_mocks/configuration_spec.rb
364
+ - spec/rails_helper.rb