crumbs 4.0.0.0 → 4.0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -0
  3. data/lib/crumbs/railtie.rb +8 -6
  4. data/lib/crumbs/version.rb +1 -1
  5. data/lib/generators/crumbs/install/install_generator.rb +1 -1
  6. data/test/dummy/log/test.log +28 -0
  7. metadata +2 -34
  8. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -2
  9. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8e/8eFn-IE_QAK9wkb3vBoqeyKxaN7o1hbJQnrz-uVvvQA.cache +0 -0
  10. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -2
  11. data/test/dummy/tmp/cache/assets/sprockets/v3.0/RP/RPShcX3Jre4zxu1UEaxs1Tw4slXRjICXTyfQvtEWC7M.cache +0 -0
  12. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SG/SGNGr7AZfBE1q7ev2-YM1G-o0XAZ0pKqbsS3NvHtRcA.cache +0 -1
  13. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fG/fG_uaNK13wisQiji91xNsGecGxX9QhMCF2eSX_aR0G0.cache +0 -1
  14. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gb/gbunrAFVOHPwl2npUgKv_C3f_qiJnZDd9zG5-h3jrpo.cache +0 -1
  15. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -2
  16. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mv/mvqN6PphkrOOC8zbUEhpC_9E_4ybdO25MRy_gG6dq3Y.cache +0 -1
  17. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nm/nmcUZlKAIwyJ_35Nm9P8pukLeRX5aApP6NFj5MpNPgc.cache +0 -1
  18. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -2
  19. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sB/sB6xWxBmgzVC0Co9__ANYrE58lr4WPwiwFa9mswooWM.cache +0 -0
  20. data/test/dummy/tmp/cache/assets/sprockets/v3.0/va/vaNrIny9hchHD9eIJxAicyYLC7qeV4PTh4Nh40_Y6Vg.cache +0 -1
  21. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xd/xdBKQyhEAlDIstGvXw945PWJoEWi23rKuY7elOcWqHc.cache +0 -1
  22. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yv/yv8GQNKBriraHQF7esI3Zifw_OgHI0-bFlUD2nbZ3fw.cache +0 -0
  23. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zn/znrkcru9CbH2razkpdTQATvom11yKHllvnOQyyPSJAo.cache +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91cfd4a3627443e9244d089d713946a5e526d9fa
4
- data.tar.gz: 2c519f7541e3ece7b0b0610459f992687cd32759
3
+ metadata.gz: 81bafc1a261e1f1beec5756ae67494c021936a3d
4
+ data.tar.gz: 2c55e539447e8915975ae61c376e5cb6de9b9f96
5
5
  SHA512:
6
- metadata.gz: 7a95f3e6439c69f5bd0315f2ad1141cfc66e95ae9bd8c581fdc407b48260b7fd37b5626edc954dd2c8fb534fb9545775fc79e7d259ef372fadda39bd52cf0b13
7
- data.tar.gz: 34af90429178f5832ef5eaa74531a19a809a353a6eada0e6da695bb1314d182a1b9b83ebf0b6acc897861ee40f2082b6abe6107807a05986328ff1f3d5164480
6
+ metadata.gz: f6bda0f44be1cd28fdeba1046eeac7ef24c64a02a20752e8ee4a2dd8589c62901395f67d19465ecef81d8588e8dc2402a757ffbae0378c32f87068956d9f4ae7
7
+ data.tar.gz: e164929788d37151aabb2e5fec97a06e8168c0820e4f6ec5b0e2632d0a26987649e2c87576b83dcf1e8818eb7eb405f8be38f36fd751324c9d41e9d86fd55a36
data/README.md CHANGED
@@ -92,6 +92,12 @@ Crumbs variable will be available in your views:
92
92
  <% end %>
93
93
  ```
94
94
 
95
+ ## Contributing
96
+
97
+ Any issue, pull request, comment of any kind is more than welcome!
98
+
99
+ I will mainly ensure compatibility to PostgreSQL, AWS, Redis, Elasticsearch, FreeBSD and Memcached. 
100
+
95
101
  ## Credits
96
102
 
97
103
  This gem is maintained and funded by [mmontossi](https://github.com/mmontossi).
@@ -1,14 +1,16 @@
1
1
  module Crumbs
2
2
  class Railtie < Rails::Railtie
3
3
 
4
- initializer 'crumbs.extensions' do
5
- ::ActionController::Base.include(
6
- Crumbs::Extensions::ActionController::Base
7
- )
4
+ config.before_initialize do
5
+ load Rails.root.join('config/crumbs.rb')
8
6
  end
9
7
 
10
- config.after_initialize do
11
- load Rails.root.join('config/crumbs.rb')
8
+ initializer 'crumbs.action_controller' do
9
+ ActiveSupport.on_load :action_controller do
10
+ ::ActionController::Base.include(
11
+ Crumbs::Extensions::ActionController::Base
12
+ )
13
+ end
12
14
  end
13
15
 
14
16
  end
@@ -1,5 +1,5 @@
1
1
  module Crumbs
2
2
 
3
- VERSION = '4.0.0.0'
3
+ VERSION = '4.0.0.1'
4
4
 
5
5
  end
@@ -2,7 +2,7 @@ require 'rails/generators'
2
2
 
3
3
  module Crumbs
4
4
  module Generators
5
- class InstallGenerator < ::Rails::Generators::Base
5
+ class InstallGenerator < Rails::Generators::Base
6
6
 
7
7
  source_root File.expand_path('../templates', __FILE__)
8
8
 
@@ -1048,3 +1048,31 @@ Processing by Admin::Reports::DeliveriesController#index as HTML
1048
1048
  Rendered application/_crumbs.html.erb (0.1ms)
1049
1049
  Rendered application/index.html.erb within layouts/application (0.7ms)
1050
1050
  Completed 200 OK in 4ms (Views: 3.7ms)
1051
+ --------------------
1052
+ ViewTest: test_links
1053
+ --------------------
1054
+ Started GET "/" for 127.0.0.1 at 2016-12-13 14:50:49 -0300
1055
+ Processing by PagesController#index as HTML
1056
+ Rendered application/_crumbs.html.erb (0.4ms)
1057
+ Rendered application/index.html.erb within layouts/application (5.4ms)
1058
+ Completed 200 OK in 132ms (Views: 124.8ms)
1059
+ Started GET "/admin/users?query=" for 127.0.0.1 at 2016-12-13 14:50:49 -0300
1060
+ Processing by Admin::UsersController#index as HTML
1061
+ Parameters: {"query"=>""}
1062
+ Rendered application/_crumbs.html.erb (0.1ms)
1063
+ Rendered application/index.html.erb within layouts/application (0.7ms)
1064
+ Completed 200 OK in 4ms (Views: 3.5ms)
1065
+ Started GET "/admin/users/7" for 127.0.0.1 at 2016-12-13 14:50:49 -0300
1066
+ Processing by Admin::UsersController#show as HTML
1067
+ Parameters: {"id"=>"7"}
1068
+ Rendered application/_crumbs.html.erb (0.1ms)
1069
+ Rendered application/show.html.erb within layouts/application (0.5ms)
1070
+ Completed 200 OK in 3ms (Views: 2.6ms)
1071
+ Started GET "/admin/reports/deliveries" for 127.0.0.1 at 2016-12-13 14:50:49 -0300
1072
+ Processing by Admin::Reports::DeliveriesController#index as HTML
1073
+ Rendered application/_crumbs.html.erb (0.1ms)
1074
+ Rendered application/index.html.erb within layouts/application (0.7ms)
1075
+ Completed 200 OK in 4ms (Views: 3.3ms)
1076
+ ---------------------------
1077
+ GeneratorTest: test_install
1078
+ ---------------------------
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crumbs
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.0
4
+ version: 4.0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmontossi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-06 00:00:00.000000000 Z
11
+ date: 2016-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -105,22 +105,6 @@ files:
105
105
  - test/dummy/public/422.html
106
106
  - test/dummy/public/500.html
107
107
  - test/dummy/public/favicon.ico
108
- - test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
109
- - test/dummy/tmp/cache/assets/sprockets/v3.0/8e/8eFn-IE_QAK9wkb3vBoqeyKxaN7o1hbJQnrz-uVvvQA.cache
110
- - test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
111
- - test/dummy/tmp/cache/assets/sprockets/v3.0/RP/RPShcX3Jre4zxu1UEaxs1Tw4slXRjICXTyfQvtEWC7M.cache
112
- - test/dummy/tmp/cache/assets/sprockets/v3.0/SG/SGNGr7AZfBE1q7ev2-YM1G-o0XAZ0pKqbsS3NvHtRcA.cache
113
- - test/dummy/tmp/cache/assets/sprockets/v3.0/fG/fG_uaNK13wisQiji91xNsGecGxX9QhMCF2eSX_aR0G0.cache
114
- - test/dummy/tmp/cache/assets/sprockets/v3.0/gb/gbunrAFVOHPwl2npUgKv_C3f_qiJnZDd9zG5-h3jrpo.cache
115
- - test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
116
- - test/dummy/tmp/cache/assets/sprockets/v3.0/mv/mvqN6PphkrOOC8zbUEhpC_9E_4ybdO25MRy_gG6dq3Y.cache
117
- - test/dummy/tmp/cache/assets/sprockets/v3.0/nm/nmcUZlKAIwyJ_35Nm9P8pukLeRX5aApP6NFj5MpNPgc.cache
118
- - test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
119
- - test/dummy/tmp/cache/assets/sprockets/v3.0/sB/sB6xWxBmgzVC0Co9__ANYrE58lr4WPwiwFa9mswooWM.cache
120
- - test/dummy/tmp/cache/assets/sprockets/v3.0/va/vaNrIny9hchHD9eIJxAicyYLC7qeV4PTh4Nh40_Y6Vg.cache
121
- - test/dummy/tmp/cache/assets/sprockets/v3.0/xd/xdBKQyhEAlDIstGvXw945PWJoEWi23rKuY7elOcWqHc.cache
122
- - test/dummy/tmp/cache/assets/sprockets/v3.0/yv/yv8GQNKBriraHQF7esI3Zifw_OgHI0-bFlUD2nbZ3fw.cache
123
- - test/dummy/tmp/cache/assets/sprockets/v3.0/zn/znrkcru9CbH2razkpdTQATvom11yKHllvnOQyyPSJAo.cache
124
108
  - test/generator_test.rb
125
109
  - test/test_helper.rb
126
110
  - test/view_test.rb
@@ -190,22 +174,6 @@ test_files:
190
174
  - test/dummy/public/500.html
191
175
  - test/dummy/public/favicon.ico
192
176
  - test/dummy/Rakefile
193
- - test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
194
- - test/dummy/tmp/cache/assets/sprockets/v3.0/8e/8eFn-IE_QAK9wkb3vBoqeyKxaN7o1hbJQnrz-uVvvQA.cache
195
- - test/dummy/tmp/cache/assets/sprockets/v3.0/fG/fG_uaNK13wisQiji91xNsGecGxX9QhMCF2eSX_aR0G0.cache
196
- - test/dummy/tmp/cache/assets/sprockets/v3.0/gb/gbunrAFVOHPwl2npUgKv_C3f_qiJnZDd9zG5-h3jrpo.cache
197
- - test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
198
- - test/dummy/tmp/cache/assets/sprockets/v3.0/mv/mvqN6PphkrOOC8zbUEhpC_9E_4ybdO25MRy_gG6dq3Y.cache
199
- - test/dummy/tmp/cache/assets/sprockets/v3.0/nm/nmcUZlKAIwyJ_35Nm9P8pukLeRX5aApP6NFj5MpNPgc.cache
200
- - test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
201
- - test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
202
- - test/dummy/tmp/cache/assets/sprockets/v3.0/RP/RPShcX3Jre4zxu1UEaxs1Tw4slXRjICXTyfQvtEWC7M.cache
203
- - test/dummy/tmp/cache/assets/sprockets/v3.0/sB/sB6xWxBmgzVC0Co9__ANYrE58lr4WPwiwFa9mswooWM.cache
204
- - test/dummy/tmp/cache/assets/sprockets/v3.0/SG/SGNGr7AZfBE1q7ev2-YM1G-o0XAZ0pKqbsS3NvHtRcA.cache
205
- - test/dummy/tmp/cache/assets/sprockets/v3.0/va/vaNrIny9hchHD9eIJxAicyYLC7qeV4PTh4Nh40_Y6Vg.cache
206
- - test/dummy/tmp/cache/assets/sprockets/v3.0/xd/xdBKQyhEAlDIstGvXw945PWJoEWi23rKuY7elOcWqHc.cache
207
- - test/dummy/tmp/cache/assets/sprockets/v3.0/yv/yv8GQNKBriraHQF7esI3Zifw_OgHI0-bFlUD2nbZ3fw.cache
208
- - test/dummy/tmp/cache/assets/sprockets/v3.0/zn/znrkcru9CbH2razkpdTQATvom11yKHllvnOQyyPSJAo.cache
209
177
  - test/generator_test.rb
210
178
  - test/test_helper.rb
211
179
  - test/view_test.rb
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TTF
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"9file-digest://app/assets/stylesheets/application.css;TTI")file-digest://app/assets/stylesheets;TTF
@@ -1 +0,0 @@
1
- "%�W\�yho9S���ƫ˥��)|�~���(���
@@ -1 +0,0 @@
1
- "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -1 +0,0 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=fb7406a6607c83aae25b06556676bd04bcbc56484336094d8bb7eace900b1350:ET
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"8file-digest://app/assets/javascripts/application.js;TTI")file-digest://app/assets/javascripts;TTF
@@ -1 +0,0 @@
1
- I"}app/assets/stylesheets/application.css?type=text/css&id=70dbcfc6f7c2b9187e8392ac663ebe5754af5695030a4ce72c19f91b1502fb0a:ET
@@ -1 +0,0 @@
1
- I"�app/assets/javascripts/application.js?type=application/javascript&id=98cdceca1eacb830cbb8f7e6969cfded0fd87dc691192e679aec2d5b03611230:ET
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI")file-digest://app/assets/javascripts;TTF
@@ -1 +0,0 @@
1
- "%Ѱč@�����6H�uZoX�Z�gbh0W��V
@@ -1 +0,0 @@
1
- I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=5d6b959450d8bfaa315369603197bf83d82e5fe61784f51e0da0d5a26eebf3c8:ET