gusto 1.0.0.beta6 → 1.0.0.beta7
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/lib/gusto/configuration.rb +4 -0
- data/lib/gusto/sprockets.rb +9 -0
- data/lib/gusto/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cb89e7f84fe3fb0a47e43723a10af344c7ca402
|
4
|
+
data.tar.gz: 8074d16248b2502e1e9956075e96bae3f627d8c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4fd7211078f026578acd2e6ad06e9bd05bf81bdc324ef92485ba130e75b619ef9885de44b0eaafea3f4ee473101381aea9ca915a6db2667061188d0245ce1ad
|
7
|
+
data.tar.gz: 60a926b02d75a4027b3215323ad51ccd18f926c0bd5956e6a45354f67160c35a7cd6931db782d1be9d4497cb28da488c01f1a96754cab28387a86f33e6ec477d
|
data/lib/gusto/configuration.rb
CHANGED
data/lib/gusto/sprockets.rb
CHANGED
@@ -5,6 +5,7 @@ module Gusto
|
|
5
5
|
def environment
|
6
6
|
@environment ||= ::Sprockets::Environment.new.tap do |environment|
|
7
7
|
configure_environment(environment)
|
8
|
+
load_sprockets_extensions(environment)
|
8
9
|
end
|
9
10
|
end
|
10
11
|
|
@@ -17,6 +18,14 @@ module Gusto
|
|
17
18
|
all_paths.each{ |path| environment.append_path(path) }
|
18
19
|
end
|
19
20
|
|
21
|
+
def load_sprockets_extensions(environment)
|
22
|
+
if Configuration.sprockets_extensions
|
23
|
+
puts "Loading sprockets extensions from #{Configuration.sprockets_extensions}"
|
24
|
+
extensions = File.read(Configuration.sprockets_extensions)
|
25
|
+
environment.instance_eval extensions
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
20
29
|
def all_paths
|
21
30
|
Configuration.lib_paths + Configuration.spec_paths
|
22
31
|
end
|
data/lib/gusto/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gusto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.beta7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Cohen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-06-
|
11
|
+
date: 2013-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coffee-script
|
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
version: 1.3.1
|
194
194
|
requirements: []
|
195
195
|
rubyforge_project:
|
196
|
-
rubygems_version: 2.0.
|
196
|
+
rubygems_version: 2.0.0
|
197
197
|
signing_key:
|
198
198
|
specification_version: 4
|
199
199
|
summary: Coffeescript testing framework
|