sprockets-plugin 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/lib/sprockets/plugin.rb +3 -1
- data/lib/sprockets/plugin/version.rb +1 -1
- data/spec/sprockets-plugin_spec.rb +1 -1
- metadata +37 -16
- data/gemfiles/sprockets-2.0.gemfile.lock +0 -40
- data/gemfiles/sprockets-2.1.gemfile.lock +0 -40
- data/gemfiles/sprockets-2.2.gemfile.lock +0 -42
data/.gitignore
CHANGED
data/lib/sprockets/plugin.rb
CHANGED
@@ -49,12 +49,14 @@ module Sprockets
|
|
49
49
|
protected
|
50
50
|
|
51
51
|
def normalize_paths(paths)
|
52
|
-
|
52
|
+
normalized_paths = []
|
53
|
+
paths.each do |path|
|
53
54
|
path = Pathname.new(path)
|
54
55
|
path = root.join(path) if root && path.relative?
|
55
56
|
path = path.expand_path
|
56
57
|
normalized_paths.push(path.to_s) if path.exist?
|
57
58
|
end
|
59
|
+
normalized_paths
|
58
60
|
end
|
59
61
|
end
|
60
62
|
end
|
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprockets-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 25
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- Pete Browne
|
@@ -10,51 +15,70 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2012-01-
|
18
|
+
date: 2012-01-03 00:00:00 Z
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
|
-
|
21
|
+
type: :runtime
|
17
22
|
requirement: &id001 !ruby/object:Gem::Requirement
|
18
23
|
none: false
|
19
24
|
requirements:
|
20
25
|
- - ~>
|
21
26
|
- !ruby/object:Gem::Version
|
27
|
+
hash: 3
|
28
|
+
segments:
|
29
|
+
- 2
|
30
|
+
- 0
|
22
31
|
version: "2.0"
|
23
|
-
type: :runtime
|
24
32
|
prerelease: false
|
33
|
+
name: sprockets
|
25
34
|
version_requirements: *id001
|
26
35
|
- !ruby/object:Gem::Dependency
|
27
|
-
|
36
|
+
type: :development
|
28
37
|
requirement: &id002 !ruby/object:Gem::Requirement
|
29
38
|
none: false
|
30
39
|
requirements:
|
31
40
|
- - ~>
|
32
41
|
- !ruby/object:Gem::Version
|
42
|
+
hash: 15
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
- 4
|
46
|
+
- 0
|
33
47
|
version: 0.4.0
|
34
|
-
type: :development
|
35
48
|
prerelease: false
|
49
|
+
name: appraisal
|
36
50
|
version_requirements: *id002
|
37
51
|
- !ruby/object:Gem::Dependency
|
38
|
-
|
52
|
+
type: :development
|
39
53
|
requirement: &id003 !ruby/object:Gem::Requirement
|
40
54
|
none: false
|
41
55
|
requirements:
|
42
56
|
- - ~>
|
43
57
|
- !ruby/object:Gem::Version
|
58
|
+
hash: 23
|
59
|
+
segments:
|
60
|
+
- 2
|
61
|
+
- 6
|
62
|
+
- 0
|
44
63
|
version: 2.6.0
|
45
|
-
type: :development
|
46
64
|
prerelease: false
|
65
|
+
name: rspec
|
47
66
|
version_requirements: *id003
|
48
67
|
- !ruby/object:Gem::Dependency
|
49
|
-
|
68
|
+
type: :development
|
50
69
|
requirement: &id004 !ruby/object:Gem::Requirement
|
51
70
|
none: false
|
52
71
|
requirements:
|
53
72
|
- - ~>
|
54
73
|
- !ruby/object:Gem::Version
|
74
|
+
hash: 31
|
75
|
+
segments:
|
76
|
+
- 1
|
77
|
+
- 2
|
78
|
+
- 0
|
55
79
|
version: 1.2.0
|
56
|
-
type: :development
|
57
80
|
prerelease: false
|
81
|
+
name: test-construct
|
58
82
|
version_requirements: *id004
|
59
83
|
description: Package assets into gems for non-Rails applications.
|
60
84
|
email:
|
@@ -73,11 +97,8 @@ files:
|
|
73
97
|
- README.md
|
74
98
|
- Rakefile
|
75
99
|
- gemfiles/sprockets-2.0.gemfile
|
76
|
-
- gemfiles/sprockets-2.0.gemfile.lock
|
77
100
|
- gemfiles/sprockets-2.1.gemfile
|
78
|
-
- gemfiles/sprockets-2.1.gemfile.lock
|
79
101
|
- gemfiles/sprockets-2.2.gemfile
|
80
|
-
- gemfiles/sprockets-2.2.gemfile.lock
|
81
102
|
- lib/sprockets-plugin.rb
|
82
103
|
- lib/sprockets/plugin.rb
|
83
104
|
- lib/sprockets/plugin/aware.rb
|
@@ -98,7 +119,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
119
|
requirements:
|
99
120
|
- - ">="
|
100
121
|
- !ruby/object:Gem::Version
|
101
|
-
hash:
|
122
|
+
hash: 3
|
102
123
|
segments:
|
103
124
|
- 0
|
104
125
|
version: "0"
|
@@ -107,14 +128,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
128
|
requirements:
|
108
129
|
- - ">="
|
109
130
|
- !ruby/object:Gem::Version
|
110
|
-
hash:
|
131
|
+
hash: 3
|
111
132
|
segments:
|
112
133
|
- 0
|
113
134
|
version: "0"
|
114
135
|
requirements: []
|
115
136
|
|
116
137
|
rubyforge_project: sprockets-plugin
|
117
|
-
rubygems_version: 1.8.
|
138
|
+
rubygems_version: 1.8.11
|
118
139
|
signing_key:
|
119
140
|
specification_version: 3
|
120
141
|
summary: Package assets into gems for non-Rails applications.
|
@@ -1,40 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: /Users/Pete/Code/sprockets-plugin
|
3
|
-
specs:
|
4
|
-
sprockets-plugin (0.0.1)
|
5
|
-
sprockets (~> 2.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: http://rubygems.org/
|
9
|
-
specs:
|
10
|
-
appraisal (0.4.0)
|
11
|
-
bundler
|
12
|
-
rake
|
13
|
-
diff-lcs (1.1.3)
|
14
|
-
hike (1.2.1)
|
15
|
-
rack (1.4.0)
|
16
|
-
rake (0.9.2.2)
|
17
|
-
rspec (2.6.0)
|
18
|
-
rspec-core (~> 2.6.0)
|
19
|
-
rspec-expectations (~> 2.6.0)
|
20
|
-
rspec-mocks (~> 2.6.0)
|
21
|
-
rspec-core (2.6.4)
|
22
|
-
rspec-expectations (2.6.0)
|
23
|
-
diff-lcs (~> 1.1.2)
|
24
|
-
rspec-mocks (2.6.0)
|
25
|
-
sprockets (2.0.3)
|
26
|
-
hike (~> 1.2)
|
27
|
-
rack (~> 1.0)
|
28
|
-
tilt (!= 1.3.0, ~> 1.1)
|
29
|
-
test-construct (1.2.0)
|
30
|
-
tilt (1.3.3)
|
31
|
-
|
32
|
-
PLATFORMS
|
33
|
-
ruby
|
34
|
-
|
35
|
-
DEPENDENCIES
|
36
|
-
appraisal (~> 0.4.0)
|
37
|
-
rspec (~> 2.6.0)
|
38
|
-
sprockets (~> 2.0.0)
|
39
|
-
sprockets-plugin!
|
40
|
-
test-construct (~> 1.2.0)
|
@@ -1,40 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: /Users/Pete/Code/sprockets-plugin
|
3
|
-
specs:
|
4
|
-
sprockets-plugin (0.0.1)
|
5
|
-
sprockets (~> 2.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: http://rubygems.org/
|
9
|
-
specs:
|
10
|
-
appraisal (0.4.0)
|
11
|
-
bundler
|
12
|
-
rake
|
13
|
-
diff-lcs (1.1.3)
|
14
|
-
hike (1.2.1)
|
15
|
-
rack (1.4.0)
|
16
|
-
rake (0.9.2.2)
|
17
|
-
rspec (2.6.0)
|
18
|
-
rspec-core (~> 2.6.0)
|
19
|
-
rspec-expectations (~> 2.6.0)
|
20
|
-
rspec-mocks (~> 2.6.0)
|
21
|
-
rspec-core (2.6.4)
|
22
|
-
rspec-expectations (2.6.0)
|
23
|
-
diff-lcs (~> 1.1.2)
|
24
|
-
rspec-mocks (2.6.0)
|
25
|
-
sprockets (2.1.2)
|
26
|
-
hike (~> 1.2)
|
27
|
-
rack (~> 1.0)
|
28
|
-
tilt (!= 1.3.0, ~> 1.1)
|
29
|
-
test-construct (1.2.0)
|
30
|
-
tilt (1.3.3)
|
31
|
-
|
32
|
-
PLATFORMS
|
33
|
-
ruby
|
34
|
-
|
35
|
-
DEPENDENCIES
|
36
|
-
appraisal (~> 0.4.0)
|
37
|
-
rspec (~> 2.6.0)
|
38
|
-
sprockets (~> 2.1.0)
|
39
|
-
sprockets-plugin!
|
40
|
-
test-construct (~> 1.2.0)
|
@@ -1,42 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: /Users/Pete/Code/sprockets-plugin
|
3
|
-
specs:
|
4
|
-
sprockets-plugin (0.0.1)
|
5
|
-
sprockets (~> 2.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: http://rubygems.org/
|
9
|
-
specs:
|
10
|
-
appraisal (0.4.0)
|
11
|
-
bundler
|
12
|
-
rake
|
13
|
-
diff-lcs (1.1.3)
|
14
|
-
hike (1.2.1)
|
15
|
-
multi_json (1.0.4)
|
16
|
-
rack (1.4.0)
|
17
|
-
rake (0.9.2.2)
|
18
|
-
rspec (2.6.0)
|
19
|
-
rspec-core (~> 2.6.0)
|
20
|
-
rspec-expectations (~> 2.6.0)
|
21
|
-
rspec-mocks (~> 2.6.0)
|
22
|
-
rspec-core (2.6.4)
|
23
|
-
rspec-expectations (2.6.0)
|
24
|
-
diff-lcs (~> 1.1.2)
|
25
|
-
rspec-mocks (2.6.0)
|
26
|
-
sprockets (2.2.0.beta)
|
27
|
-
hike (~> 1.2)
|
28
|
-
multi_json (~> 1.0)
|
29
|
-
rack (~> 1.0)
|
30
|
-
tilt (~> 1.1, != 1.3.0)
|
31
|
-
test-construct (1.2.0)
|
32
|
-
tilt (1.3.3)
|
33
|
-
|
34
|
-
PLATFORMS
|
35
|
-
ruby
|
36
|
-
|
37
|
-
DEPENDENCIES
|
38
|
-
appraisal (~> 0.4.0)
|
39
|
-
rspec (~> 2.6.0)
|
40
|
-
sprockets (>= 2.2.0.beta)
|
41
|
-
sprockets-plugin!
|
42
|
-
test-construct (~> 1.2.0)
|