homeostasis 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,7 @@ class Homeostasis::Asset < Stasis::Plugin
10
10
  @@matcher = /\.(jpg|png|gif|css|js)/i
11
11
  @@mapping = {}
12
12
  @@concats = {}
13
+ @@concats_pre = {}
13
14
  end
14
15
 
15
16
  def before_all
@@ -22,7 +23,7 @@ class Homeostasis::Asset < Stasis::Plugin
22
23
  @@mapping[relative] = dest
23
24
  end
24
25
  imapping = @@mapping.invert
25
- @@concats.each do |dest, files|
26
+ @@concats_pre.each do |dest, files|
26
27
  full_origs = files.map do |file|
27
28
  orig = imapping[file]
28
29
  raise "Asset not found #{file}" if orig.nil?
@@ -97,7 +98,7 @@ class Homeostasis::Asset < Stasis::Plugin
97
98
  end
98
99
 
99
100
  def self.concat(dest, files)
100
- @@concats[dest] = files
101
+ @@concats_pre[dest] = files
101
102
  end
102
103
 
103
104
  def self.concats
data/lib/homeostasis.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Homeostasis
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homeostasis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-18 00:00:00.000000000 Z
12
+ date: 2012-02-25 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Provides asset stamping using git revisions, environments, and a few
15
15
  view helpers.