preloadables 1.0.5 → 2.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c404aaac432e2ca8e623b9e429becd8eb0a65c95
4
- data.tar.gz: 38f524ad666120a4660c9058df67908e0ca0b077
2
+ SHA256:
3
+ metadata.gz: 8f01a04dfe28a9993139a61d5994e197b560eea7a48575796156061b6381094c
4
+ data.tar.gz: ea0b31cfd92b6ee80c4abbc09d4473e0756738a2d5a82d4c02cd1bfb8a5ffbe1
5
5
  SHA512:
6
- metadata.gz: 11d6d13e15d17c4f2431322fc1c3e6f4c4dd992a6ae8bf297f1406034b141a69ac812cbe17714b2e1a420156345d0eaaae341de88abd5f25b3bea0492ad2524e
7
- data.tar.gz: 0156d1549a1c185ab90c36b974f7ba7e74d61e06b32d8c34399fe8f09bc6b854750b6473bf0515ef3766c39e4fc182e5f516bb905e0eb5d601cac0554f3482f9
6
+ metadata.gz: '0757833bba8cbe279ad8245f1a070c4a45774c727f04b3ece424376607697e3bbcf1bba831160c8e0af26f2e34de57308760701e69b36eb6c96c2c22aec6e6d9'
7
+ data.tar.gz: e75dbca4134f42bd59d2f59b58584acd0c9c64fa17c3b9a2c48ae6ec60e618c6ecfb5e05a8072de00505d2903f5d1beef9e0b92055f7a8a6942f7f6c14015377
@@ -1,3 +1,3 @@
1
1
  module Preloadables
2
- VERSION = "1.0.5"
2
+ VERSION = "2.0.0"
3
3
  end
Binary file
@@ -2612,3 +2612,63 @@ AllPreloadablesTest: test_it_renders_all_prefetching/preloading_meta
2612
2612
  AllPreloadablesTest: test_it_renders_nothing_when_passed_an_empty_hash
2613
2613
  ----------------------------------------------------------------------
2614
2614
   (0.0ms) rollback transaction
2615
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2616
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2617
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2618
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2619
+  (0.1ms) SELECT version FROM "schema_migrations"
2620
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
2621
+  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2622
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2623
+  (0.0ms) begin transaction
2624
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-07-08 20:13:32.084845"], ["updated_at", "2018-07-08 20:13:32.084845"]]
2625
+  (0.9ms) commit transaction
2626
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
2627
+  (0.0ms) begin transaction
2628
+  (0.0ms) commit transaction
2629
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2630
+  (0.1ms) begin transaction
2631
+ ------------------------------------------------------------
2632
+ PreloadableAssetsTest: test_it_renders_asset_preloading_meta
2633
+ ------------------------------------------------------------
2634
+  (0.0ms) rollback transaction
2635
+  (0.0ms) begin transaction
2636
+ -------------------------------------------------------------------------
2637
+ PreloadableAssetsTest: test_it_renders_nothing_when_passed_an_empty_array
2638
+ -------------------------------------------------------------------------
2639
+  (0.0ms) rollback transaction
2640
+  (0.0ms) begin transaction
2641
+ --------------------------------------------------------------------
2642
+ AllPreloadablesTest: test_it_renders_all_prefetching/preloading_meta
2643
+ --------------------------------------------------------------------
2644
+  (0.0ms) rollback transaction
2645
+  (0.0ms) begin transaction
2646
+ ----------------------------------------------------------------------
2647
+ AllPreloadablesTest: test_it_renders_nothing_when_passed_an_empty_hash
2648
+ ----------------------------------------------------------------------
2649
+  (0.0ms) rollback transaction
2650
+  (0.0ms) begin transaction
2651
+ ---------------------------------------------------
2652
+ PreloadablesTest: test_the_module_should_be_defined
2653
+ ---------------------------------------------------
2654
+  (0.0ms) rollback transaction
2655
+  (0.0ms) begin transaction
2656
+ ------------------------------------------------------------
2657
+ PrerenderablePagesTest: test_it_renders_dns_prefetching_meta
2658
+ ------------------------------------------------------------
2659
+  (0.0ms) rollback transaction
2660
+  (0.0ms) begin transaction
2661
+ --------------------------------------------------------------------------
2662
+ PrerenderablePagesTest: test_it_renders_nothing_when_passed_an_empty_array
2663
+ --------------------------------------------------------------------------
2664
+  (0.0ms) rollback transaction
2665
+  (0.0ms) begin transaction
2666
+ ------------------------------------------------------------
2667
+ PreloadableDomainsTest: test_it_renders_dns_prefetching_meta
2668
+ ------------------------------------------------------------
2669
+  (0.0ms) rollback transaction
2670
+  (0.0ms) begin transaction
2671
+ --------------------------------------------------------------------------
2672
+ PreloadableDomainsTest: test_it_renders_nothing_when_passed_an_empty_array
2673
+ --------------------------------------------------------------------------
2674
+  (0.0ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: preloadables
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-14 00:00:00.000000000 Z
11
+ date: 2018-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
19
+ version: 5.0.0
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 4.0.0
22
+ version: 5.0.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '4.0'
29
+ version: 5.0.0
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 4.0.0
32
+ version: 5.0.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: sqlite3
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -150,48 +150,48 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  requirements: []
152
152
  rubyforge_project:
153
- rubygems_version: 2.4.2
153
+ rubygems_version: 2.7.6
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: A Rails view helper that outputs HTML meta tags for preloading and precacheing.
157
157
  test_files:
158
+ - test/dummy/app/controllers/application_controller.rb
159
+ - test/dummy/app/views/layouts/application.html.erb
158
160
  - test/dummy/app/assets/javascripts/application.js
159
161
  - test/dummy/app/assets/stylesheets/application.css
160
- - test/dummy/app/controllers/application_controller.rb
161
162
  - test/dummy/app/helpers/application_helper.rb
162
- - test/dummy/app/views/layouts/application.html.erb
163
+ - test/dummy/bin/rake
163
164
  - test/dummy/bin/bundle
164
165
  - test/dummy/bin/rails
165
- - test/dummy/bin/rake
166
- - test/dummy/config/application.rb
167
- - test/dummy/config/boot.rb
168
- - test/dummy/config/database.yml
169
- - test/dummy/config/environment.rb
170
- - test/dummy/config/environments/development.rb
166
+ - test/dummy/config/secrets.yml
167
+ - test/dummy/config/routes.rb
168
+ - test/dummy/config/locales/en.yml
171
169
  - test/dummy/config/environments/production.rb
170
+ - test/dummy/config/environments/development.rb
172
171
  - test/dummy/config/environments/test.rb
173
- - test/dummy/config/initializers/assets.rb
172
+ - test/dummy/config/environment.rb
173
+ - test/dummy/config/application.rb
174
+ - test/dummy/config/database.yml
175
+ - test/dummy/config/boot.rb
174
176
  - test/dummy/config/initializers/backtrace_silencers.rb
175
- - test/dummy/config/initializers/cookies_serializer.rb
176
- - test/dummy/config/initializers/filter_parameter_logging.rb
177
- - test/dummy/config/initializers/inflections.rb
178
177
  - test/dummy/config/initializers/mime_types.rb
178
+ - test/dummy/config/initializers/filter_parameter_logging.rb
179
179
  - test/dummy/config/initializers/session_store.rb
180
180
  - test/dummy/config/initializers/wrap_parameters.rb
181
- - test/dummy/config/locales/en.yml
182
- - test/dummy/config/routes.rb
183
- - test/dummy/config/secrets.yml
181
+ - test/dummy/config/initializers/assets.rb
182
+ - test/dummy/config/initializers/cookies_serializer.rb
183
+ - test/dummy/config/initializers/inflections.rb
184
184
  - test/dummy/config.ru
185
- - test/dummy/db/development.sqlite3
185
+ - test/dummy/Rakefile
186
+ - test/dummy/public/favicon.ico
187
+ - test/dummy/public/422.html
188
+ - test/dummy/public/500.html
189
+ - test/dummy/public/404.html
186
190
  - test/dummy/db/schema.rb
187
191
  - test/dummy/db/test.sqlite3
188
- - test/dummy/log/development.log
192
+ - test/dummy/db/development.sqlite3
189
193
  - test/dummy/log/test.log
190
- - test/dummy/public/404.html
191
- - test/dummy/public/422.html
192
- - test/dummy/public/500.html
193
- - test/dummy/public/favicon.ico
194
- - test/dummy/Rakefile
194
+ - test/dummy/log/development.log
195
195
  - test/dummy/README.rdoc
196
196
  - test/preloadables_test.rb
197
197
  - test/test_helper.rb