jammit-core 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +22 -0
- data/README +24 -0
- data/README.rdoc +17 -0
- data/Rakefile +59 -0
- data/VERSION +1 -0
- data/bin/jammit +13 -0
- data/lib/assets.example.yml +14 -0
- data/lib/jammit-core.rb +219 -0
- data/lib/jammit-core/cli.rb +87 -0
- data/lib/jammit-core/command_line.rb +79 -0
- data/lib/jammit-core/compressor.rb +214 -0
- data/lib/jammit-core/config.rb +82 -0
- data/lib/jammit-core/dependencies.rb +23 -0
- data/lib/jammit-core/helper.rb +77 -0
- data/lib/jammit-core/jst.js +1 -0
- data/lib/jammit-core/packager.rb +163 -0
- data/lib/jammit-core/routes.rb +16 -0
- data/lib/jammit-core/ui.rb +55 -0
- data/test/config/assets-broken.yml +16 -0
- data/test/config/assets-closure.yml +16 -0
- data/test/config/assets-compression-disabled.yml +16 -0
- data/test/config/assets-css.yml +6 -0
- data/test/config/assets-erb.yml +13 -0
- data/test/config/assets-no-java.yml +16 -0
- data/test/config/assets.yml +13 -0
- data/test/fixtures/jammed/test-closure.js +1 -0
- data/test/fixtures/jammed/test-datauri.css +1 -0
- data/test/fixtures/jammed/test-line-break.css +8 -0
- data/test/fixtures/jammed/test-mhtml.css +17 -0
- data/test/fixtures/jammed/test-uncompressed.css +36 -0
- data/test/fixtures/jammed/test-uncompressed.js +13 -0
- data/test/fixtures/jammed/test.css +1 -0
- data/test/fixtures/jammed/test.js +1 -0
- data/test/fixtures/jammed/test.jst +6 -0
- data/test/fixtures/jammed/test2.jst +6 -0
- data/test/fixtures/src/test1.css +11 -0
- data/test/fixtures/src/test1.js +8 -0
- data/test/fixtures/src/test1.jst +1 -0
- data/test/fixtures/src/test2.css +20 -0
- data/test/fixtures/src/test2.js +5 -0
- data/test/fixtures/src/test2.jst +5 -0
- data/test/fixtures/src/test_fonts.css +5 -0
- data/test/fixtures/tags/css_includes.html +6 -0
- data/test/fixtures/tags/css_individual_includes.html +3 -0
- data/test/fixtures/tags/css_plain_includes.html +1 -0
- data/test/fixtures/tags/css_print.html +6 -0
- data/test/public/embed/DroidSansMono.eot +0 -0
- data/test/public/embed/DroidSansMono.ttf +0 -0
- data/test/public/embed/asterisk_orange.png +0 -0
- data/test/public/embed/asterisk_yellow.png +0 -0
- data/test/test_helper.rb +44 -0
- data/test/unit/command_line_test.rb +28 -0
- data/test/unit/test_closure_compressor.rb +24 -0
- data/test/unit/test_compressor.rb +24 -0
- data/test/unit/test_configuration.rb +71 -0
- data/test/unit/test_in_the_wrong_directory.rb +40 -0
- data/test/unit/test_jammit_helpers.rb +44 -0
- data/test/unit/test_packager.rb +77 -0
- metadata +187 -0
metadata
ADDED
@@ -0,0 +1,187 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jammit-core
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
version: 0.1.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Christocracy
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-03-08 00:00:00 -05:00
|
18
|
+
default_executable: jammit
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: thoughtbot-shoulda
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
version: "0"
|
30
|
+
type: :development
|
31
|
+
version_requirements: *id001
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: yui-compressor
|
34
|
+
prerelease: false
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
segments:
|
40
|
+
- 0
|
41
|
+
version: "0"
|
42
|
+
type: :runtime
|
43
|
+
version_requirements: *id002
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: closure-compiler
|
46
|
+
prerelease: false
|
47
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ">="
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
segments:
|
52
|
+
- 0
|
53
|
+
version: "0"
|
54
|
+
type: :runtime
|
55
|
+
version_requirements: *id003
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: extlib
|
58
|
+
prerelease: false
|
59
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
segments:
|
64
|
+
- 0
|
65
|
+
version: "0"
|
66
|
+
type: :runtime
|
67
|
+
version_requirements: *id004
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: json
|
70
|
+
prerelease: false
|
71
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
segments:
|
76
|
+
- 0
|
77
|
+
version: "0"
|
78
|
+
type: :runtime
|
79
|
+
version_requirements: *id005
|
80
|
+
description: A non-Rails fork of the Jammit asset-packager for use with any Ruby framework
|
81
|
+
email: christocracy@gmail.com
|
82
|
+
executables:
|
83
|
+
- jammit
|
84
|
+
extensions: []
|
85
|
+
|
86
|
+
extra_rdoc_files:
|
87
|
+
- LICENSE
|
88
|
+
- README
|
89
|
+
- README.rdoc
|
90
|
+
files:
|
91
|
+
- LICENSE
|
92
|
+
- README
|
93
|
+
- README.rdoc
|
94
|
+
- Rakefile
|
95
|
+
- VERSION
|
96
|
+
- bin/jammit
|
97
|
+
- lib/assets.example.yml
|
98
|
+
- lib/jammit-core.rb
|
99
|
+
- lib/jammit-core/cli.rb
|
100
|
+
- lib/jammit-core/command_line.rb
|
101
|
+
- lib/jammit-core/compressor.rb
|
102
|
+
- lib/jammit-core/config.rb
|
103
|
+
- lib/jammit-core/dependencies.rb
|
104
|
+
- lib/jammit-core/helper.rb
|
105
|
+
- lib/jammit-core/jst.js
|
106
|
+
- lib/jammit-core/packager.rb
|
107
|
+
- lib/jammit-core/routes.rb
|
108
|
+
- lib/jammit-core/ui.rb
|
109
|
+
- test/config/assets-broken.yml
|
110
|
+
- test/config/assets-closure.yml
|
111
|
+
- test/config/assets-compression-disabled.yml
|
112
|
+
- test/config/assets-css.yml
|
113
|
+
- test/config/assets-erb.yml
|
114
|
+
- test/config/assets-no-java.yml
|
115
|
+
- test/config/assets.yml
|
116
|
+
- test/fixtures/jammed/test-closure.js
|
117
|
+
- test/fixtures/jammed/test-datauri.css
|
118
|
+
- test/fixtures/jammed/test-line-break.css
|
119
|
+
- test/fixtures/jammed/test-mhtml.css
|
120
|
+
- test/fixtures/jammed/test-uncompressed.css
|
121
|
+
- test/fixtures/jammed/test-uncompressed.js
|
122
|
+
- test/fixtures/jammed/test.css
|
123
|
+
- test/fixtures/jammed/test.js
|
124
|
+
- test/fixtures/jammed/test.jst
|
125
|
+
- test/fixtures/jammed/test2.jst
|
126
|
+
- test/fixtures/src/test1.css
|
127
|
+
- test/fixtures/src/test1.js
|
128
|
+
- test/fixtures/src/test1.jst
|
129
|
+
- test/fixtures/src/test2.css
|
130
|
+
- test/fixtures/src/test2.js
|
131
|
+
- test/fixtures/src/test2.jst
|
132
|
+
- test/fixtures/src/test_fonts.css
|
133
|
+
- test/fixtures/tags/css_includes.html
|
134
|
+
- test/fixtures/tags/css_individual_includes.html
|
135
|
+
- test/fixtures/tags/css_plain_includes.html
|
136
|
+
- test/fixtures/tags/css_print.html
|
137
|
+
- test/public/embed/DroidSansMono.eot
|
138
|
+
- test/public/embed/DroidSansMono.ttf
|
139
|
+
- test/public/embed/asterisk_orange.png
|
140
|
+
- test/public/embed/asterisk_yellow.png
|
141
|
+
- test/test_helper.rb
|
142
|
+
- test/unit/command_line_test.rb
|
143
|
+
- test/unit/test_closure_compressor.rb
|
144
|
+
- test/unit/test_compressor.rb
|
145
|
+
- test/unit/test_configuration.rb
|
146
|
+
- test/unit/test_in_the_wrong_directory.rb
|
147
|
+
- test/unit/test_jammit_helpers.rb
|
148
|
+
- test/unit/test_packager.rb
|
149
|
+
has_rdoc: true
|
150
|
+
homepage: http://github.com/christocracy/jammit-core
|
151
|
+
licenses: []
|
152
|
+
|
153
|
+
post_install_message:
|
154
|
+
rdoc_options:
|
155
|
+
- --charset=UTF-8
|
156
|
+
require_paths:
|
157
|
+
- lib
|
158
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
segments:
|
163
|
+
- 0
|
164
|
+
version: "0"
|
165
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
segments:
|
170
|
+
- 0
|
171
|
+
version: "0"
|
172
|
+
requirements: []
|
173
|
+
|
174
|
+
rubyforge_project:
|
175
|
+
rubygems_version: 1.3.6
|
176
|
+
signing_key:
|
177
|
+
specification_version: 3
|
178
|
+
summary: A non-Rails fork of the Jammit asset-packager
|
179
|
+
test_files:
|
180
|
+
- test/test_helper.rb
|
181
|
+
- test/unit/command_line_test.rb
|
182
|
+
- test/unit/test_closure_compressor.rb
|
183
|
+
- test/unit/test_compressor.rb
|
184
|
+
- test/unit/test_configuration.rb
|
185
|
+
- test/unit/test_in_the_wrong_directory.rb
|
186
|
+
- test/unit/test_jammit_helpers.rb
|
187
|
+
- test/unit/test_packager.rb
|