polyfillrb 1.1.1 → 1.1.2

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
2
  SHA1:
3
- metadata.gz: edfcba7ec251b2519a9708b364a9cd5ff51546b8
4
- data.tar.gz: 4eead90487c33c0bafb7060e6dfa30b670721c88
3
+ metadata.gz: 42f5a4d590bc49e08e6cf1bc90507695998226b2
4
+ data.tar.gz: 8e722cc77441967c48793a3b8dd7bb8cf071d85f
5
5
  SHA512:
6
- metadata.gz: 7c23aa0a2daeee7b4f2bc92f1e984505fa83c16a6086150bfeb4055caf4cffe419785149a510c9a2ecc0d27aff0dbe6e7c5151ad9a995a0d6c0af84e5743b5e1
7
- data.tar.gz: e08fa060a29457c6d725553cc27d7c5f73d76df6d959bea6fc439845b301bff464cc1cba9b031a24a75f95c1af71a1714896ea66652f529ae0681945bd428580
6
+ metadata.gz: 3cde01caa6e8f5486f4cf2e654c064c9cad6107e9daaed1d94b25f8bb35348e35958c79b280eab5712912480e376284dfdf676887375710e9d76efa13df27f7f
7
+ data.tar.gz: cb6a835c07b9c676b3e01abf2a17ce7f875faee81ced98f8dfa1fe88d23b9500a0205f9bfb671e6dea454d0fe9e496a360992445f37c9b0140a58275bf7fd4b3
@@ -15,16 +15,19 @@ module Polyfillrb
15
15
  config.to_prepare do
16
16
 
17
17
  # clone polyfill
18
- if !::Polyfillrb.has_installed_service?
19
- ::Rails.logger.info "Gathering Polyfill Library..."
20
- %x( cd #{::Polyfillrb::PROJECT_DIRECTORY} && git clone git@github.com:Financial-Times/polyfill-service.git )
21
- end
18
+ Thread.new do
19
+ if !::Polyfillrb.has_installed_service?
20
+ ::Rails.logger.info "Gathering Polyfill Library..."
21
+ %x( cd #{::Polyfillrb::PROJECT_DIRECTORY} && git clone git@github.com:Financial-Times/polyfill-service.git )
22
+ end
22
23
 
23
- if !::Polyfillrb.has_built_sources?
24
- # build the npm locals
25
- ::Rails.logger.info "Buidling Polyfills...\n this may take a minute\n You're server may not respond until this is done"
26
- %x( cd #{::Polyfillrb::PROJECT_DIRECTORY}/polyfill-service && [ -d "node_modules" ] || npm install && grunt buildsources )
27
- ::Rails.logger.info " Done! Polyfills are built. You're server should be back in action"
24
+ if !::Polyfillrb.has_built_sources?
25
+ # build the npm locals
26
+ ::Rails.logger.info "Buidling Polyfills...\n this may take a minute\n You're server may not respond until this is done"
27
+ %x( cd #{::Polyfillrb::PROJECT_DIRECTORY}/polyfill-service && npm install )
28
+ %x( cd #{::Polyfillrb::PROJECT_DIRECTORY}/polyfill-service && grunt buildsources )
29
+ ::Rails.logger.info " Done! Polyfills are built. You're server should be back in action"
30
+ end
28
31
  end
29
32
 
30
33
  end
@@ -1,3 +1,3 @@
1
1
  module Polyfillrb
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyfillrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blaine Kasten