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 +4 -4
- data/lib/buoys/version.rb +1 -1
- data/test/dummy/config/application.rb +1 -1
- data/test/dummy/config/environments/test.rb +7 -2
- metadata +28 -36
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -10
- data/test/dummy/log/test.log +0 -7064
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 670b1f473d174ae3df8d3282ca8a3ff93708d97d
|
4
|
+
data.tar.gz: 73ddc4931941e3ad1dc0e69012d5f8417e3135e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89bbf4990d63ae7731ad8449bd4835d06013c250016b791a9d11064c6d62a8277f821ac1ba1ec53175cdec5923abc2ababa5cf0903b2ae71eec6ed3d949ed814
|
7
|
+
data.tar.gz: 56b67fb8fe20754a00f8bf4ea257ba7c69bf85e33e47a7d0b665eb7b2b29aa49473881e739104e8026a6caca52019fb0f3c1aef5b9702f40948a844a6e2ba0e6
|
data/lib/buoys/version.rb
CHANGED
@@ -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
|
-
|
17
|
-
|
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
|
+
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-
|
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/
|
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/
|
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/
|
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/
|
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/
|
196
|
-
- test/dummy/
|
197
|
-
- test/dummy/
|
198
|
-
- test/dummy/config/
|
199
|
-
- test/dummy/config/
|
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/
|
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
|
data/test/dummy/db/test.sqlite3
DELETED
Binary file
|
@@ -1,10 +0,0 @@
|
|
1
|
-
[1m[36m (4.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
-
[1m[36m (4.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
-
[1m[36m (5.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
6
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
7
|
-
[1m[36m (4.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
8
|
-
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
9
|
-
[1m[36m (3.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
10
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1[0m
|