smart_asset 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ class SmartAsset
9
9
  def initialize(stasis)
10
10
  @stasis = stasis
11
11
 
12
- SmartAsset.env = 'production'
12
+ SmartAsset.env = stasis.options[:development] ? 'development' : 'production'
13
13
  SmartAsset.load_config(@stasis.root)
14
14
  end
15
15
 
data/smart_asset.gemspec CHANGED
@@ -6,7 +6,7 @@ $:.unshift lib unless $:.include?(lib)
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "smart_asset"
9
- s.version = '0.5.6'
9
+ s.version = '0.5.7'
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.authors = ["Winton Welsh"]
12
12
  s.email = ["mail@wintoni.us"]
metadata CHANGED
@@ -1,58 +1,76 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: smart_asset
3
- version: !ruby/object:Gem::Version
4
- version: 0.5.6
3
+ version: !ruby/object:Gem::Version
4
+ hash: 5
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 5
9
+ - 7
10
+ version: 0.5.7
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Winton Welsh
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-11-07 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2011-11-21 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: framework_fixture
16
- requirement: &70342656217080 !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
17
24
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 0
31
+ version: "0"
22
32
  type: :development
23
- prerelease: false
24
- version_requirements: *70342656217080
25
- - !ruby/object:Gem::Dependency
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
26
35
  name: rack-test
27
- requirement: &70342656216480 !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
28
38
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ hash: 3
43
+ segments:
44
+ - 0
45
+ version: "0"
33
46
  type: :development
34
- prerelease: false
35
- version_requirements: *70342656216480
36
- - !ruby/object:Gem::Dependency
47
+ version_requirements: *id002
48
+ - !ruby/object:Gem::Dependency
37
49
  name: rspec
38
- requirement: &70342656215780 !ruby/object:Gem::Requirement
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
39
52
  none: false
40
- requirements:
53
+ requirements:
41
54
  - - ~>
42
- - !ruby/object:Gem::Version
43
- version: '1.0'
55
+ - !ruby/object:Gem::Version
56
+ hash: 15
57
+ segments:
58
+ - 1
59
+ - 0
60
+ version: "1.0"
44
61
  type: :development
45
- prerelease: false
46
- version_requirements: *70342656215780
62
+ version_requirements: *id003
47
63
  description: Smart asset packaging for Rails, Sinatra, and Stasis.
48
- email:
64
+ email:
49
65
  - mail@wintoni.us
50
- executables:
66
+ executables:
51
67
  - smart_asset
52
68
  - yuicompressor-2.4.6.jar
53
69
  extensions: []
70
+
54
71
  extra_rdoc_files: []
55
- files:
72
+
73
+ files:
56
74
  - .gitignore
57
75
  - Gemfile
58
76
  - LICENSE
@@ -94,29 +112,38 @@ files:
94
112
  - spec/spec_helper.rb
95
113
  homepage: http://github.com/winton/smart_asset
96
114
  licenses: []
115
+
97
116
  post_install_message:
98
117
  rdoc_options: []
99
- require_paths:
118
+
119
+ require_paths:
100
120
  - lib
101
- required_ruby_version: !ruby/object:Gem::Requirement
121
+ required_ruby_version: !ruby/object:Gem::Requirement
102
122
  none: false
103
- requirements:
104
- - - ! '>='
105
- - !ruby/object:Gem::Version
106
- version: '0'
107
- required_rubygems_version: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ hash: 3
127
+ segments:
128
+ - 0
129
+ version: "0"
130
+ required_rubygems_version: !ruby/object:Gem::Requirement
108
131
  none: false
109
- requirements:
110
- - - ! '>='
111
- - !ruby/object:Gem::Version
112
- version: '0'
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ hash: 3
136
+ segments:
137
+ - 0
138
+ version: "0"
113
139
  requirements: []
140
+
114
141
  rubyforge_project:
115
142
  rubygems_version: 1.8.10
116
143
  signing_key:
117
144
  specification_version: 3
118
145
  summary: Smart asset packaging for Rails, Sinatra, and Stasis
119
- test_files:
146
+ test_files:
120
147
  - spec/fixtures/all_frameworks/assets.yml
121
148
  - spec/fixtures/all_frameworks/test.html.erb
122
149
  - spec/fixtures/assets.yml