generated-assets 1.0.1 → 1.1.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
2
  SHA1:
3
- metadata.gz: 405d6ba959709da431d05d1b728ce41781fe040b
4
- data.tar.gz: 664e4dcfbe17aa271443fb3f7ed6cb43f44321f0
3
+ metadata.gz: a4cf81eebd83b1acc69275bd1fe965a32898c536
4
+ data.tar.gz: 51fdabfa4a74c4a655af7065cb6b7d0f4198422a
5
5
  SHA512:
6
- metadata.gz: bb51616ee582a829adfaf20d90beb4159d4b2352e038042b43a67f0dda82b195c4ee9f6869c84313cbc85f576bf339e7175395634e998e24233877fa9ab1a8a8
7
- data.tar.gz: 8c929f21c6fbd985542384bf0c718a332761af992c32595b4ec5fcd5366d69686183e98ade7abaeb07b622499fe39da99d267e2625fd7b3fe7139992d22dadaa
6
+ metadata.gz: 3909ae41e89c248431a372d19ccc8e7208cf05180423a75f141af0859d42e3935fc0d75fdd1841d8671bf6b5b1bd1888af6fb68121db9e3552a62e6b69322254
7
+ data.tar.gz: 664275e1ea404113a537dcff559b430943664171f415c6be11c49d398f4986c91e694c927274c012851f0936a03c34a5fcd0c63b6e4d0aa71a595a93041d0476
@@ -9,17 +9,13 @@ module GeneratedAssets
9
9
  end
10
10
 
11
11
  config.after_initialize do |app|
12
- if app.config.assets.compile
13
- app.config.assets.generated.apply!
14
- end
12
+ app.config.assets.generated.apply!
15
13
  end
16
14
 
17
15
  initializer :i18n_js_assets, group: :all do |app|
18
- if app.config.assets.compile
19
- app.config.assets.paths << File.join(
20
- GeneratedAssets.asset_dir, app.class.parent_name
21
- )
22
- end
16
+ app.config.assets.paths << File.join(
17
+ GeneratedAssets.asset_dir, app.class.parent_name
18
+ )
23
19
  end
24
20
  end
25
21
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module GeneratedAssets
4
- VERSION = '1.0.1'
4
+ VERSION = '1.1.0'
5
5
  end
data/spec/log/test.log CHANGED
@@ -72,3 +72,6 @@ Compiled application.js (0ms) (pid 47455)
72
72
  Compiled application.js (0ms) (pid 48909)
73
73
  Compiled application.js (0ms) (pid 48915)
74
74
  Compiled application.js (0ms) (pid 48920)
75
+ Compiled application.js (0ms) (pid 68040)
76
+ Compiled application.js (0ms) (pid 68194)
77
+ Compiled application.js (0ms) (pid 68208)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: generated-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Dutro