webmate-sprockets 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/webmate/sprockets.rb +8 -8
- data/lib/webmate/sprockets/version.rb +1 -1
- data/webmate-sprockets.gemspec +1 -1
- metadata +4 -4
data/lib/webmate/sprockets.rb
CHANGED
@@ -16,14 +16,14 @@ module Webmate
|
|
16
16
|
environment.append_path(File.join(config.app.root, path))
|
17
17
|
end
|
18
18
|
|
19
|
-
# require
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
19
|
+
# require assets from other gems
|
20
|
+
Gem::Specification.to_a.each do |gem_spec|
|
21
|
+
['stylesheets', 'javascripts', 'images'].each do |dir|
|
22
|
+
assets_path = File.join(gem_spec.full_gem_path, 'vendor', 'assets', dir)
|
23
|
+
if Dir.exists?(assets_path)
|
24
|
+
environment.append_path(assets_path)
|
25
|
+
end
|
26
|
+
end
|
27
27
|
end
|
28
28
|
|
29
29
|
if config.compress_assets?
|
data/webmate-sprockets.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webmate-sprockets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-07-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sprockets
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '2.
|
22
|
+
version: '2.10'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,7 +27,7 @@ dependencies:
|
|
27
27
|
requirements:
|
28
28
|
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: '2.
|
30
|
+
version: '2.10'
|
31
31
|
description: Use Sprockets effectively with Webmate.
|
32
32
|
email:
|
33
33
|
- jessereiss@gmail.com
|