crumbs 4.0.0.1 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +1 -1
  4. data/Rakefile +1 -3
  5. data/lib/crumbs/dsl/controller.rb +1 -1
  6. data/lib/crumbs/dsl/namespace.rb +1 -1
  7. data/lib/crumbs/proxy.rb +3 -3
  8. data/lib/crumbs/version.rb +1 -1
  9. data/lib/crumbs.rb +1 -1
  10. metadata +12 -106
  11. data/test/dummy/Rakefile +0 -5
  12. data/test/dummy/app/assets/javascripts/application.js +0 -13
  13. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  14. data/test/dummy/app/controllers/admin/reports/deliveries_controller.rb +0 -6
  15. data/test/dummy/app/controllers/admin/users_controller.rb +0 -9
  16. data/test/dummy/app/controllers/application_controller.rb +0 -5
  17. data/test/dummy/app/controllers/pages_controller.rb +0 -6
  18. data/test/dummy/app/helpers/application_helper.rb +0 -2
  19. data/test/dummy/app/views/application/_crumbs.html.erb +0 -3
  20. data/test/dummy/app/views/application/index.html.erb +0 -1
  21. data/test/dummy/app/views/application/show.html.erb +0 -1
  22. data/test/dummy/app/views/layouts/application.html.erb +0 -12
  23. data/test/dummy/bin/bundle +0 -4
  24. data/test/dummy/bin/rails +0 -5
  25. data/test/dummy/bin/rake +0 -5
  26. data/test/dummy/bin/setup +0 -30
  27. data/test/dummy/config/application.rb +0 -27
  28. data/test/dummy/config/boot.rb +0 -5
  29. data/test/dummy/config/crumbs.rb +0 -24
  30. data/test/dummy/config/environment.rb +0 -5
  31. data/test/dummy/config/environments/development.rb +0 -38
  32. data/test/dummy/config/environments/production.rb +0 -76
  33. data/test/dummy/config/environments/test.rb +0 -42
  34. data/test/dummy/config/initializers/assets.rb +0 -11
  35. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  36. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  37. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  38. data/test/dummy/config/initializers/inflections.rb +0 -16
  39. data/test/dummy/config/initializers/mime_types.rb +0 -4
  40. data/test/dummy/config/initializers/session_store.rb +0 -3
  41. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  42. data/test/dummy/config/locales/en.yml +0 -3
  43. data/test/dummy/config/routes.rb +0 -13
  44. data/test/dummy/config/secrets.yml +0 -22
  45. data/test/dummy/config.ru +0 -4
  46. data/test/dummy/log/development.log +0 -0
  47. data/test/dummy/log/test.log +0 -1078
  48. data/test/dummy/public/404.html +0 -61
  49. data/test/dummy/public/422.html +0 -61
  50. data/test/dummy/public/500.html +0 -60
  51. data/test/dummy/public/favicon.ico +0 -0
  52. data/test/generator_test.rb +0 -18
  53. data/test/test_helper.rb +0 -12
  54. data/test/view_test.rb +0 -40
@@ -1,11 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Version of your assets, change this if you want to expire all your assets.
4
- Rails.application.config.assets.version = '1.0'
5
-
6
- # Add additional assets to the asset load path
7
- # Rails.application.config.assets.paths << Emoji.images_path
8
-
9
- # Precompile additional assets.
10
- # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
- # Rails.application.config.assets.precompile += %w( search.js )
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
- # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
-
6
- # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
- # Rails.backtrace_cleaner.remove_silencers!
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Configure sensitive parameters which will be filtered from the log file.
4
- Rails.application.config.filter_parameters += [:password]
@@ -1,16 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format. Inflections
4
- # are locale specific, and you may define rules for as many different
5
- # locales as you wish. All of these examples are active by default:
6
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
- # inflect.plural /^(ox)$/i, '\1en'
8
- # inflect.singular /^(ox)en/i, '\1'
9
- # inflect.irregular 'person', 'people'
10
- # inflect.uncountable %w( fish sheep )
11
- # end
12
-
13
- # These inflection rules are supported but not enabled by default:
14
- # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
- # inflect.acronym 'RESTful'
16
- # end
@@ -1,4 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register 'text/richtext', :rtf
@@ -1,3 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -1,14 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # This file contains settings for ActionController::ParamsWrapper which
4
- # is enabled by default.
5
-
6
- # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
- ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
- end
10
-
11
- # To enable root element in JSON for ActiveRecord objects.
12
- # ActiveSupport.on_load(:active_record) do
13
- # self.include_root_in_json = true
14
- # end
@@ -1,3 +0,0 @@
1
- en:
2
- crumbs:
3
- home: "home"
@@ -1,13 +0,0 @@
1
- Rails.application.routes.draw do
2
-
3
- namespace :admin do
4
- namespace :reports do
5
- get 'deliveries' => 'deliveries#index'
6
- end
7
- get 'users' => 'users#index'
8
- get 'users/:id' => 'users#show'
9
- end
10
-
11
- root to: 'pages#index'
12
-
13
- end
@@ -1,22 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key is used for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
-
6
- # Make sure the secret is at least 30 characters and all random,
7
- # no regular words or you'll be exposed to dictionary attacks.
8
- # You can use `rake secret` to generate a secure secret key.
9
-
10
- # Make sure the secrets in this file are kept private
11
- # if you're sharing your code publicly.
12
-
13
- development:
14
- secret_key_base: 2c1c8d4cbaa726b21aa6483b7d556125f4897508e2b94f8b3ddaec675168382c9b3b6eb5a9359d2fade03f539c16ac1ef905891c2410f2fd00b83b76c1666feb
15
-
16
- test:
17
- secret_key_base: 9dd531171128e7c3d11dd2c5c18c84ba43d29b677043002634a6f4d58bf2687a283b7b6dc6af741d63c3824f11fa1f858010d7c2509a932023f2ece0d3bfe6cf
18
-
19
- # Do not keep production secrets in the repository,
20
- # instead read values from the environment.
21
- production:
22
- secret_key_base: <%= ENV['SECRET_KEY_BASE'] %>
data/test/dummy/config.ru DELETED
@@ -1,4 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require ::File.expand_path('../config/environment', __FILE__)
4
- run Rails.application
File without changes