defra_ruby_features 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +8 -0
- data/README.md +92 -0
- data/Rakefile +40 -0
- data/app/controllers/defra_ruby_features/application_controller.rb +7 -0
- data/app/controllers/defra_ruby_features/feature_toggles_controller.rb +58 -0
- data/app/helpers/defra_ruby_features/application_helper.rb +6 -0
- data/app/helpers/delete_link_helper.rb +16 -0
- data/app/views/defra_ruby_features/feature_toggles/index.html.erb +48 -0
- data/app/views/defra_ruby_features/feature_toggles/new.html.erb +35 -0
- data/app/views/shared/_back.html.erb +1 -0
- data/config/locales/defra_ruby_features.en.yml +24 -0
- data/config/routes.rb +5 -0
- data/lib/defra_ruby_features.rb +26 -0
- data/lib/defra_ruby_features/configuration.rb +7 -0
- data/lib/defra_ruby_features/engine.rb +13 -0
- data/lib/defra_ruby_features/version.rb +5 -0
- data/lib/tasks/changelog.rake +8 -0
- data/spec/dummy/Rakefile +8 -0
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +6 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +6 -0
- data/spec/dummy/app/controllers/application_controller.rb +4 -0
- data/spec/dummy/app/controllers/test_controller.rb +7 -0
- data/spec/dummy/app/helpers/application_helper.rb +4 -0
- data/spec/dummy/app/javascript/packs/application.js +14 -0
- data/spec/dummy/app/jobs/application_job.rb +9 -0
- data/spec/dummy/app/models/ability.rb +9 -0
- data/spec/dummy/app/models/application_record.rb +5 -0
- data/spec/dummy/app/models/feature_toggle.rb +4 -0
- data/spec/dummy/app/models/user.rb +8 -0
- data/spec/dummy/app/views/layouts/application.html.erb +12 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +25 -0
- data/spec/dummy/config.ru +7 -0
- data/spec/dummy/config/application.rb +29 -0
- data/spec/dummy/config/boot.rb +7 -0
- data/spec/dummy/config/database.yml +21 -0
- data/spec/dummy/config/environment.rb +7 -0
- data/spec/dummy/config/environments/development.rb +50 -0
- data/spec/dummy/config/environments/test.rb +41 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +10 -0
- data/spec/dummy/config/initializers/assets.rb +14 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +9 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +30 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +7 -0
- data/spec/dummy/config/initializers/defra_ruby_features.rb +7 -0
- data/spec/dummy/config/initializers/devise.rb +311 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +6 -0
- data/spec/dummy/config/initializers/inflections.rb +18 -0
- data/spec/dummy/config/initializers/mime_types.rb +6 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +11 -0
- data/spec/dummy/config/locales/devise.en.yml +65 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/routes.rb +7 -0
- data/spec/dummy/db/migrate/20200623125321_create_feature_toggles.rb +12 -0
- data/spec/dummy/db/migrate/20200624115316_devise_create_users.rb +44 -0
- data/spec/dummy/db/schema.rb +34 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +4579 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/development_secret.txt +1 -0
- data/spec/examples.txt +13 -0
- data/spec/factories/feature_toggle.rb +8 -0
- data/spec/factories/user.rb +11 -0
- data/spec/lib/defra_ruby_mocks/configuration_spec.rb +13 -0
- data/spec/rails_helper.rb +54 -0
- data/spec/requests/defra_ruby_features/feature_toggles_spec.rb +145 -0
- data/spec/spec_helper.rb +83 -0
- data/spec/support/database_cleaner.rb +19 -0
- data/spec/support/devise.rb +5 -0
- data/spec/support/factory_bot.rb +8 -0
- data/spec/support/migrations.rb +10 -0
- data/spec/support/pry.rb +7 -0
- data/spec/support/rails_controller_testing.rb +5 -0
- data/spec/support/simplecov.rb +17 -0
- metadata +364 -0
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.