buoys 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97ccbfd2f85553dc5bda98c988308808b62c822b
4
- data.tar.gz: 23c895177daf452393d88e549d25c1c3cdf67d92
3
+ metadata.gz: 670b1f473d174ae3df8d3282ca8a3ff93708d97d
4
+ data.tar.gz: 73ddc4931941e3ad1dc0e69012d5f8417e3135e2
5
5
  SHA512:
6
- metadata.gz: a677c4c0d1ca840b5893674efa83f4b66af0ccd8f178e353c9a017f91a82e3a523a4296282477f7dc1cefdd20267ba8c5d72e5521873fc6d106f2e04b6fe9b12
7
- data.tar.gz: f6682ff57a57fce2d8b716185c3889003477e82718446419f8d7083cb6347f23dd3fedfc16cd221c978749644498d1dc67795d58d55b2ead86b9082edf558a2d
6
+ metadata.gz: 89bbf4990d63ae7731ad8449bd4835d06013c250016b791a9d11064c6d62a8277f821ac1ba1ec53175cdec5923abc2ababa5cf0903b2ae71eec6ed3d949ed814
7
+ data.tar.gz: 56b67fb8fe20754a00f8bf4ea257ba7c69bf85e33e47a7d0b665eb7b2b29aa49473881e739104e8026a6caca52019fb0f3c1aef5b9702f40948a844a6e2ba0e6
data/lib/buoys/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Buoys
2
- VERSION = '0.4.0'.freeze
2
+ VERSION = '0.5.0'.freeze
3
3
  end
@@ -21,7 +21,7 @@ module Dummy
21
21
  config.i18n.default_locale = :en
22
22
 
23
23
  # Do not swallow errors in after_commit/after_rollback callbacks.
24
- if Gem::Version.new(Rails.version) >= Gem::Version.new("4.2.0")
24
+ if Gem::Version.new(Rails.version) >= Gem::Version.new("4.2.0") && Gem::Version.new(Rails.version) <= Gem::Version.new("5.0.0")
25
25
  config.active_record.raise_in_transactional_callbacks = true
26
26
  end
27
27
  end
@@ -13,8 +13,13 @@ Rails.application.configure do
13
13
  config.eager_load = false
14
14
 
15
15
  # Configure static file server for tests with Cache-Control for performance.
16
- config.serve_static_files = true
17
- config.static_cache_control = 'public, max-age=3600'
16
+ if Gem::Version.new(Rails.version) >= Gem::Version.new('5.0.0')
17
+ config.public_file_server.enabled = true
18
+ config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
19
+ else
20
+ config.serve_static_files = true
21
+ config.static_cache_control = 'public, max-age=3600'
22
+ end
18
23
 
19
24
  # Show full error reports and disable caching.
20
25
  config.consider_all_requests_local = true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buoys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - muryoimpl
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-02 00:00:00.000000000 Z
11
+ date: 2016-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -131,13 +131,9 @@ files:
131
131
  - test/dummy/config/locales/en.yml
132
132
  - test/dummy/config/routes.rb
133
133
  - test/dummy/config/secrets.yml
134
- - test/dummy/db/development.sqlite3
135
134
  - test/dummy/db/migrate/20160602144150_create_items.rb
136
135
  - test/dummy/db/migrate/20160602144324_create_users.rb
137
136
  - test/dummy/db/schema.rb
138
- - test/dummy/db/test.sqlite3
139
- - test/dummy/log/development.log
140
- - test/dummy/log/test.log
141
137
  - test/dummy/public/404.html
142
138
  - test/dummy/public/422.html
143
139
  - test/dummy/public/500.html
@@ -169,54 +165,50 @@ specification_version: 4
169
165
  summary: A Ruby on Rails breadcrumbs plugin.
170
166
  test_files:
171
167
  - test/buoys_buoy_test.rb
172
- - test/test_helper.rb
173
- - test/buoys_helper_test.rb
174
168
  - test/buoys_test.rb
175
169
  - test/buoys_loader_test.rb
176
- - test/dummy/Rakefile
170
+ - test/buoys_helper_test.rb
171
+ - test/test_helper.rb
177
172
  - test/dummy/app/assets/javascripts/application.js
178
173
  - test/dummy/app/assets/stylesheets/application.css
179
- - test/dummy/app/controllers/application_controller.rb
180
- - test/dummy/app/controllers/items_controller.rb
181
- - test/dummy/app/models/user.rb
182
174
  - test/dummy/app/models/item.rb
183
- - test/dummy/app/views/layouts/application.html.erb
175
+ - test/dummy/app/models/user.rb
184
176
  - test/dummy/app/views/breadcrumbs/_buoys.erb
177
+ - test/dummy/app/views/layouts/application.html.erb
178
+ - test/dummy/app/controllers/application_controller.rb
179
+ - test/dummy/app/controllers/items_controller.rb
185
180
  - test/dummy/app/helpers/application_helper.rb
186
- - test/dummy/db/migrate/20160602144150_create_items.rb
181
+ - test/dummy/bin/setup
182
+ - test/dummy/bin/rails
183
+ - test/dummy/bin/rake
184
+ - test/dummy/bin/bundle
187
185
  - test/dummy/db/migrate/20160602144324_create_users.rb
188
- - test/dummy/db/test.sqlite3
186
+ - test/dummy/db/migrate/20160602144150_create_items.rb
189
187
  - test/dummy/db/schema.rb
190
- - test/dummy/db/development.sqlite3
191
188
  - test/dummy/public/422.html
192
- - test/dummy/public/favicon.ico
193
- - test/dummy/public/500.html
194
189
  - test/dummy/public/404.html
195
- - test/dummy/log/test.log
196
- - test/dummy/log/development.log
197
- - test/dummy/config/environment.rb
198
- - test/dummy/config/locales/en.yml
199
- - test/dummy/config/environments/development.rb
200
- - test/dummy/config/environments/production.rb
201
- - test/dummy/config/environments/test.rb
202
- - test/dummy/config/secrets.yml
203
- - test/dummy/config/buoys/buoys.rb
204
- - test/dummy/config/buoys/breadcrumb.rb
190
+ - test/dummy/public/500.html
191
+ - test/dummy/public/favicon.ico
192
+ - test/dummy/Rakefile
193
+ - test/dummy/config/database.yml
194
+ - test/dummy/config/initializers/assets.rb
205
195
  - test/dummy/config/initializers/cookies_serializer.rb
206
- - test/dummy/config/initializers/filter_parameter_logging.rb
207
196
  - test/dummy/config/initializers/inflections.rb
197
+ - test/dummy/config/initializers/session_store.rb
208
198
  - test/dummy/config/initializers/backtrace_silencers.rb
199
+ - test/dummy/config/initializers/filter_parameter_logging.rb
209
200
  - test/dummy/config/initializers/mime_types.rb
210
- - test/dummy/config/initializers/assets.rb
211
- - test/dummy/config/initializers/session_store.rb
212
201
  - test/dummy/config/initializers/wrap_parameters.rb
202
+ - test/dummy/config/secrets.yml
213
203
  - test/dummy/config/application.rb
214
204
  - test/dummy/config/boot.rb
205
+ - test/dummy/config/buoys/breadcrumb.rb
206
+ - test/dummy/config/buoys/buoys.rb
215
207
  - test/dummy/config/routes.rb
216
- - test/dummy/config/database.yml
208
+ - test/dummy/config/locales/en.yml
209
+ - test/dummy/config/environments/test.rb
210
+ - test/dummy/config/environments/development.rb
211
+ - test/dummy/config/environments/production.rb
212
+ - test/dummy/config/environment.rb
217
213
  - test/dummy/README.rdoc
218
- - test/dummy/bin/rails
219
- - test/dummy/bin/bundle
220
- - test/dummy/bin/rake
221
- - test/dummy/bin/setup
222
214
  - test/dummy/config.ru
Binary file
Binary file
@@ -1,10 +0,0 @@
1
-  (4.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
-  (0.1ms) select sqlite_version(*)
3
-  (4.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
-  (5.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
6
-  (0.1ms) select sqlite_version(*)
7
-  (4.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8
-  (0.1ms) SELECT version FROM "schema_migrations"
9
-  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
10
- User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1