assets_live_compile 0.1.0 → 0.1.1
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 +4 -4
- data/assets_live_compile.gemspec +1 -1
- data/lib/assets_live_compile.rb +18 -1
- metadata +1 -2
- data/lib/active_support/cache.rb +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e28304f4e98f4ac5c3d2c8bd04c3db958f637e6
|
4
|
+
data.tar.gz: e01de37fc935f169875d647c999fe4e83af321bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31566574ba107908e7a9af8479a56aa52c71fc1148535b94f6f2872f223b66f3f3d219fdf7ef5432c7782e682f5c0ab6021b024e00283c71db71dc695626fdf5
|
7
|
+
data.tar.gz: c2ef3ab7b274e0d87ce0018cfe9047b68f2a2a69dccf0c445ff7ec694598fff84ee7fb304a90a0b74df2a309e7a69cbd9e07017c60552e81df76eed1fb2a0e3a
|
data/assets_live_compile.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "assets_live_compile"
|
5
5
|
s.license = "LGPL-3.0"
|
6
|
-
s.version = '0.1.
|
6
|
+
s.version = '0.1.1'
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
8
|
s.authors = ["Braulio Bhavamitra"]
|
9
9
|
s.email = ["brauliobo@gmail.com"]
|
data/lib/assets_live_compile.rb
CHANGED
@@ -1 +1,18 @@
|
|
1
|
-
|
1
|
+
require 'active_support/cache'
|
2
|
+
|
3
|
+
module ActiveSupport
|
4
|
+
module Cache
|
5
|
+
autoload :AssetsLiveCompileStore, 'active_support/cache/assets_live_compile_store'
|
6
|
+
|
7
|
+
class Entry
|
8
|
+
attr_accessor :original_value
|
9
|
+
|
10
|
+
def initialize_with_original_value value, options = {}
|
11
|
+
@original_value = value
|
12
|
+
initialize_without_original_value value, options
|
13
|
+
end
|
14
|
+
alias_method_chain :initialize, :original_value
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: assets_live_compile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Braulio Bhavamitra
|
@@ -61,7 +61,6 @@ files:
|
|
61
61
|
- LICENSE
|
62
62
|
- README.md
|
63
63
|
- assets_live_compile.gemspec
|
64
|
-
- lib/active_support/cache.rb
|
65
64
|
- lib/active_support/cache/assets_live_compile_store.rb
|
66
65
|
- lib/assets_live_compile.rb
|
67
66
|
homepage: http://github.com/coletivoEITA/assets_live_compile
|
data/lib/active_support/cache.rb
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
require 'active_support/cache'
|
2
|
-
|
3
|
-
module ActiveSupport
|
4
|
-
module Cache
|
5
|
-
autoload :AssetsLiveCompileStore, 'active_support/cache/assets_live_compile_store'
|
6
|
-
|
7
|
-
class Entry
|
8
|
-
attr_accessor :original_value
|
9
|
-
|
10
|
-
def initialize_with_original_value value, options = {}
|
11
|
-
@original_value = value
|
12
|
-
initialize_without_original_value value, options
|
13
|
-
end
|
14
|
-
alias_method_chain :initialize, :original_value
|
15
|
-
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|