requirejs_optimizer 0.4.1 → 0.4.2

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: a4a1a1a3e6cd182cb16095a5eb99f4217562c1d6
4
- data.tar.gz: a976e2d233833842712c96fcd484c1179fb75ac5
3
+ metadata.gz: 80d00a618ff1356cdfcf62b906ddb27314d2ad72
4
+ data.tar.gz: 36ab5cc192239917ae11d24f1dfdb8ebc96640dc
5
5
  SHA512:
6
- metadata.gz: 4231d43399c67ce921cfbc4e9fdf408ec78e066ae7148e0ae5a140433dc6213aa30311954dd10970b8a75504911f54d7876d18af227f4542781cdb52d821d62b
7
- data.tar.gz: b95983edcf3685ebf9d690be8bda25c63deecaa99645be8ad347e76dd919fb3803eab780504c4fd181b7213fe8bc56f60e313a004dffad8d8e64edeb72644c87
6
+ metadata.gz: 694679efcf300301c89e39a50ffa1016a3705c3a2da6d48d560917e297f37662635e0f45a3581d10861922e16ff077c7f81958d642790df97e47d3c8c5607769
7
+ data.tar.gz: 781b01375b6d1eca9d1439582c5ecca0f8259597b48f1659dc0a3688a01c4b024655f162c63ef6823debd8b7c6391fc0591bbfedeb22e769975f2587c458777b
@@ -11,9 +11,7 @@ class RequirejsOptimizerRailtie < Rails::Railtie
11
11
 
12
12
  config.before_initialize do
13
13
  Rails.application.config.assets.compress = false
14
- end
15
14
 
16
- config.after_initialize do
17
15
  javascripts_root_path = Rails.root.join(*%w(app/assets/javascripts/))
18
16
  modules_path = javascripts_root_path.join(RequirejsOptimizer.base_folder, '**', '*.{coffee,js}')
19
17
 
@@ -1,3 +1,3 @@
1
1
  module RequirejsOptimizer
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
@@ -55,5 +55,6 @@ module RailsApp
55
55
 
56
56
  # Version of your assets, change this if you want to expire all your assets
57
57
  config.assets.version = '1.0'
58
+ config.assets.initialize_on_precompile = false
58
59
  end
59
60
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: requirejs_optimizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Trimble
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-13 00:00:00.000000000 Z
11
+ date: 2013-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails