skyrocket 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +1 -1
- data/lib/skyrocket/asset.rb +1 -7
- data/lib/skyrocket/asset_locator.rb +1 -8
- data/lib/skyrocket/version.rb +1 -1
- metadata +21 -35
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c0b703d47992ac09ed51f3a506db71e0710905b9
|
4
|
+
data.tar.gz: e8073d6fab799766e84ee8b49bf72caeaf99d31e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: def7b6949c1f612438f67889befe6c17dd0dcbef5a5c231bafe3357f0f715b4ac1ffc8f5aca601efc9ed5b5d046b5358d0435c78faaaca98c6dd00739f4da1b7
|
7
|
+
data.tar.gz: 59ec8cf66ea4923e9302ad3a72939d20afe0d0ddcd12c0bce4aa01c8d158f87097154c6db751f646d94ecc8beeb57f053b9386db2f5751920512e1b0652b0df8
|
data/README.md
CHANGED
data/lib/skyrocket/asset.rb
CHANGED
@@ -29,16 +29,10 @@ module Skyrocket
|
|
29
29
|
ppn = @processor.post_process_name(@filename)
|
30
30
|
ext = File.extname(ppn)
|
31
31
|
"#{ppn.chomp(ext)}_#{digest}#{ext}"
|
32
|
-
"#{ppn.chomp(ext)}#{ext}"
|
33
32
|
end
|
34
33
|
|
35
34
|
def content
|
36
|
-
|
37
|
-
return @content ||= @processor.process(raw, name)
|
38
|
-
rescue Exception => e
|
39
|
-
puts "Error processing: #{name}"
|
40
|
-
raise
|
41
|
-
end
|
35
|
+
return @content ||= @processor.process(raw, name)
|
42
36
|
end
|
43
37
|
|
44
38
|
def raw
|
@@ -12,14 +12,7 @@ module Skyrocket
|
|
12
12
|
dirs.each do |dir|
|
13
13
|
paths += Dir.glob_files(dir + "/**/*")
|
14
14
|
end
|
15
|
-
paths.map
|
16
|
-
begin
|
17
|
-
@af.build_asset(p)
|
18
|
-
rescue Exception => e
|
19
|
-
puts "Error parsing: #{p}"
|
20
|
-
raise
|
21
|
-
end
|
22
|
-
end
|
15
|
+
paths.map{ |p| @af.build_asset(p) }
|
23
16
|
end
|
24
17
|
|
25
18
|
def missing_asset_paths
|
data/lib/skyrocket/version.rb
CHANGED
metadata
CHANGED
@@ -1,84 +1,74 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skyrocket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Michael Wasser
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-11-11 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: therubyracer
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: less
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: coffee-script
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: rack-test
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: rspec
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -94,30 +83,30 @@ dependencies:
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: rake
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- -
|
87
|
+
- - '>='
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: '0'
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- -
|
94
|
+
- - '>='
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: '0'
|
110
97
|
description: An alternative and opinionated static content/ asset management tool
|
111
98
|
that will concatenate/ render javascript, coffeescript, css, less, erb and html
|
112
99
|
email:
|
113
|
-
-
|
100
|
+
- untoldone@users.noreply.github.com
|
114
101
|
executables:
|
115
102
|
- skyrocket
|
116
103
|
extensions: []
|
117
104
|
extra_rdoc_files: []
|
118
105
|
files:
|
119
|
-
- README.md
|
120
106
|
- LICENSE
|
107
|
+
- README.md
|
108
|
+
- bin/skyrocket
|
109
|
+
- lib/skyrocket.rb
|
121
110
|
- lib/skyrocket/asset.rb
|
122
111
|
- lib/skyrocket/asset_dependency.rb
|
123
112
|
- lib/skyrocket/asset_factory.rb
|
@@ -139,30 +128,27 @@ files:
|
|
139
128
|
- lib/skyrocket/processor.rb
|
140
129
|
- lib/skyrocket/processor_factory.rb
|
141
130
|
- lib/skyrocket/version.rb
|
142
|
-
- lib/skyrocket.rb
|
143
|
-
- bin/skyrocket
|
144
131
|
homepage: http://www.mikewasser.com/
|
145
132
|
licenses: []
|
133
|
+
metadata: {}
|
146
134
|
post_install_message:
|
147
135
|
rdoc_options: []
|
148
136
|
require_paths:
|
149
137
|
- lib
|
150
138
|
required_ruby_version: !ruby/object:Gem::Requirement
|
151
|
-
none: false
|
152
139
|
requirements:
|
153
|
-
- -
|
140
|
+
- - '>='
|
154
141
|
- !ruby/object:Gem::Version
|
155
142
|
version: '0'
|
156
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
|
-
none: false
|
158
144
|
requirements:
|
159
|
-
- -
|
145
|
+
- - '>='
|
160
146
|
- !ruby/object:Gem::Version
|
161
147
|
version: '0'
|
162
148
|
requirements: []
|
163
149
|
rubyforge_project:
|
164
|
-
rubygems_version:
|
150
|
+
rubygems_version: 2.2.2
|
165
151
|
signing_key:
|
166
|
-
specification_version:
|
152
|
+
specification_version: 4
|
167
153
|
summary: Yet another opinionated static content/ web asset generation system
|
168
154
|
test_files: []
|