tension 0.9.7 → 0.9.8

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: 70f844b39b70dbb832b7fab485dd3ba68c78b47d
4
- data.tar.gz: 2218f86c6c040096a8a3edf54ca27a9649edcd85
3
+ metadata.gz: cc906aa325cb6c6e63d2fbcdb44a1e2be3a18e0a
4
+ data.tar.gz: fa098e09cf55ac5c4152583859cf1d38343d96ad
5
5
  SHA512:
6
- metadata.gz: 8a3f4ffeb35d744926a6abaa84e7cf665d45541a3ee89f8ddee0f25bec926f329fd808fb41f95bbb3812f711c4db0b941637240e9d7165a9655b9beefb8903d6
7
- data.tar.gz: 601ea0b79175f0a3826460f6bec883bdf46ca1adf3ece0ca834b90e17e4244bbb824c20e49c001e92031861b6f32dfe44208ddfe9fcb371c19ec9e29c372de8d
6
+ metadata.gz: 049abb4b1527302a0aa56c4e3b6fe83835485e31335f3ea1bbc093a4cfb1f2d1a4bcce739d5f133832477ce3f74d281f8b3cd82911a6c4b87319a402b70a0f3c
7
+ data.tar.gz: e122f1f04e4f63ab065537f4f5df25c4004203d242eaba6d7b26b767c887fa2177b12b0dc4ff1dbc1154e69538bf55abe7b1c3f91043afad28e3ca1064c1e20b
@@ -4,20 +4,15 @@ module Tension
4
4
  require 'rails'
5
5
 
6
6
  class Railtie < Rails::Railtie
7
- initializer "tension.add_assets_to_precompile_list" do |app|
8
-
9
- if app.config.cache_classes
10
- app.reload_routes!
11
- Tension::Environment.eager_load!
12
- end
13
7
 
8
+ initializer "tension.add_assets_to_precompile_list" do |app|
14
9
  ActionView::Base.send(:include, Tension::Helper)
15
10
  ActionController::Base.send(:include, Tension::Controller)
16
11
 
17
12
  Rails.application.config.assets.precompile << lambda do |path, filename|
18
13
  Tension::Environment.precompilation_needed?(path)
19
14
  end
20
-
21
15
  end
16
+
22
17
  end
23
18
  end
@@ -1,3 +1,3 @@
1
1
  module Tension
2
- VERSION = "0.9.7".freeze
2
+ VERSION = "0.9.8".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tension
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piers Mainwaring