jim 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +28 -0
- data/README.rdoc +1 -1
- data/Rakefile +2 -1
- data/jim.gemspec +67 -9
- data/lib/jim/bundler.rb +14 -11
- data/lib/jim/cli.rb +51 -9
- data/lib/jim/index.rb +3 -7
- data/lib/jim/installer.rb +140 -22
- data/lib/jim/templates/commands +21 -6
- data/lib/jim/version_parser.rb +2 -3
- data/lib/jim.rb +19 -2
- data/test/fixtures/jimfile +3 -3
- data/test/fixtures/sammy-0.5.0/HISTORY.md +135 -0
- data/test/fixtures/sammy-0.5.0/LICENSE +22 -0
- data/test/fixtures/sammy-0.5.0/README.md +81 -0
- data/test/fixtures/sammy-0.5.0/Rakefile +174 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/README.md +23 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/Rakefile +15 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/app.rb +17 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/app.ru +3 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/app.js +106 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/jquery.cloudkit.js +840 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/jquery.js +19 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/sammy.js +1013 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/public/templates/index.html.erb +11 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/public/templates/task.html.erb +4 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/public/templates/task_details.html.erb +4 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/views/app.sass +63 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/views/index.haml +18 -0
- data/test/fixtures/sammy-0.5.0/examples/form_handling/files/form.html +12 -0
- data/test/fixtures/sammy-0.5.0/examples/form_handling/index.html +65 -0
- data/test/fixtures/sammy-0.5.0/examples/hello_world/index.html +50 -0
- data/test/fixtures/sammy-0.5.0/examples/location_override/README.md +15 -0
- data/test/fixtures/sammy-0.5.0/examples/location_override/data.html +110 -0
- data/test/fixtures/sammy-0.5.0/examples/location_override/index.html +79 -0
- data/test/fixtures/sammy-0.5.0/examples/location_override/test.html +121 -0
- data/test/fixtures/sammy-0.5.0/lib/min/sammy-0.5.0.min.js +5 -0
- data/test/fixtures/sammy-0.5.0/lib/min/sammy-lastest.min.js +5 -0
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.cache.js +117 -0
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.haml.js +539 -0
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.json.js +362 -0
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.mustache.js +415 -0
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.nested_params.js +118 -0
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.storage.js +515 -0
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.template.js +117 -0
- data/test/fixtures/sammy-0.5.0/lib/sammy.js +1367 -0
- data/test/fixtures/sammy-0.5.0/test/fixtures/partial +1 -0
- data/test/fixtures/sammy-0.5.0/test/fixtures/partial.html +1 -0
- data/test/fixtures/sammy-0.5.0/test/fixtures/partial.noengine +1 -0
- data/test/fixtures/sammy-0.5.0/test/fixtures/partial.template +1 -0
- data/test/fixtures/sammy-0.5.0/test/index.html +84 -0
- data/test/fixtures/sammy-0.5.0/test/test_sammy_application.js +953 -0
- data/test/fixtures/sammy-0.5.0/test/test_sammy_event_context.js +252 -0
- data/test/fixtures/sammy-0.5.0/test/test_sammy_location_proxy.js +91 -0
- data/test/fixtures/sammy-0.5.0/test/test_sammy_plugins.js +296 -0
- data/test/fixtures/sammy-0.5.0/test/test_sammy_storage.js +175 -0
- data/test/fixtures/sammy-0.5.0/test/test_server +27 -0
- data/test/fixtures/sammy-0.5.0/vendor/jquery-1.4.1.js +6078 -0
- data/test/fixtures/sammy-0.5.0/vendor/jquery-1.4.1.min.js +152 -0
- data/test/fixtures/sammy-0.5.0/vendor/jsdoc/doc.haml +58 -0
- data/test/fixtures/sammy-0.5.0/vendor/jsdoc/jsdoc.rb +143 -0
- data/test/fixtures/sammy-0.5.0/vendor/jslitmus.js +670 -0
- data/test/fixtures/sammy-0.5.0/vendor/qunit/qunit.css +119 -0
- data/test/fixtures/sammy-0.5.0/vendor/qunit/qunit.js +1043 -0
- data/test/fixtures/sammy-0.5.0/vendor/qunit-spec.js +127 -0
- data/test/helper.rb +23 -3
- data/test/test_jim_bundler.rb +9 -8
- data/test/test_jim_cli.rb +21 -12
- data/test/test_jim_installer.rb +152 -35
- data/test/test_jim_version_parser.rb +4 -0
- metadata +117 -27
- data/.document +0 -5
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jim
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 2
|
8
|
+
- 0
|
9
|
+
version: 0.2.0
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Aaron Quint
|
@@ -9,59 +14,87 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-03-16 00:00:00 -04:00
|
13
18
|
default_executable: jim
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: downlow
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
23
|
-
|
24
|
-
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 1
|
30
|
+
- 3
|
31
|
+
version: 0.1.3
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
25
34
|
- !ruby/object:Gem::Dependency
|
26
35
|
name: yajl-ruby
|
27
|
-
|
28
|
-
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
38
|
requirements:
|
31
39
|
- - ">="
|
32
40
|
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
33
43
|
version: "0"
|
34
|
-
|
44
|
+
type: :runtime
|
45
|
+
version_requirements: *id002
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: version_sorter
|
48
|
+
prerelease: false
|
49
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
segments:
|
54
|
+
- 1
|
55
|
+
- 1
|
56
|
+
- 0
|
57
|
+
version: 1.1.0
|
58
|
+
type: :runtime
|
59
|
+
version_requirements: *id003
|
35
60
|
- !ruby/object:Gem::Dependency
|
36
61
|
name: shoulda
|
37
|
-
|
38
|
-
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
62
|
+
prerelease: false
|
63
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
40
64
|
requirements:
|
41
65
|
- - ">="
|
42
66
|
- !ruby/object:Gem::Version
|
67
|
+
segments:
|
68
|
+
- 0
|
43
69
|
version: "0"
|
44
|
-
|
70
|
+
type: :development
|
71
|
+
version_requirements: *id004
|
45
72
|
- !ruby/object:Gem::Dependency
|
46
73
|
name: fakeweb
|
47
|
-
|
48
|
-
|
49
|
-
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
prerelease: false
|
75
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
50
76
|
requirements:
|
51
77
|
- - ">="
|
52
78
|
- !ruby/object:Gem::Version
|
79
|
+
segments:
|
80
|
+
- 1
|
81
|
+
- 2
|
82
|
+
- 8
|
53
83
|
version: 1.2.8
|
54
|
-
|
84
|
+
type: :development
|
85
|
+
version_requirements: *id005
|
55
86
|
- !ruby/object:Gem::Dependency
|
56
87
|
name: mocha
|
57
|
-
|
58
|
-
|
59
|
-
version_requirements: !ruby/object:Gem::Requirement
|
88
|
+
prerelease: false
|
89
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
60
90
|
requirements:
|
61
91
|
- - ">="
|
62
92
|
- !ruby/object:Gem::Version
|
93
|
+
segments:
|
94
|
+
- 0
|
63
95
|
version: "0"
|
64
|
-
|
96
|
+
type: :development
|
97
|
+
version_requirements: *id006
|
65
98
|
description: jim is your friendly javascript library manager. He downloads, stores, bundles, vendors and compresses.
|
66
99
|
email: aaron@quirkey.com
|
67
100
|
executables:
|
@@ -72,8 +105,8 @@ extra_rdoc_files:
|
|
72
105
|
- LICENSE
|
73
106
|
- README.rdoc
|
74
107
|
files:
|
75
|
-
- .document
|
76
108
|
- .gitignore
|
109
|
+
- HISTORY
|
77
110
|
- LICENSE
|
78
111
|
- README.rdoc
|
79
112
|
- Rakefile
|
@@ -96,6 +129,59 @@ files:
|
|
96
129
|
- test/fixtures/mustache.js/mustache.js
|
97
130
|
- test/fixtures/mustache.js/package.json
|
98
131
|
- test/fixtures/noversion.js
|
132
|
+
- test/fixtures/sammy-0.5.0/HISTORY.md
|
133
|
+
- test/fixtures/sammy-0.5.0/LICENSE
|
134
|
+
- test/fixtures/sammy-0.5.0/README.md
|
135
|
+
- test/fixtures/sammy-0.5.0/Rakefile
|
136
|
+
- test/fixtures/sammy-0.5.0/examples/backend/README.md
|
137
|
+
- test/fixtures/sammy-0.5.0/examples/backend/Rakefile
|
138
|
+
- test/fixtures/sammy-0.5.0/examples/backend/app.rb
|
139
|
+
- test/fixtures/sammy-0.5.0/examples/backend/app.ru
|
140
|
+
- test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/app.js
|
141
|
+
- test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/jquery.cloudkit.js
|
142
|
+
- test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/jquery.js
|
143
|
+
- test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/sammy.js
|
144
|
+
- test/fixtures/sammy-0.5.0/examples/backend/public/templates/index.html.erb
|
145
|
+
- test/fixtures/sammy-0.5.0/examples/backend/public/templates/task.html.erb
|
146
|
+
- test/fixtures/sammy-0.5.0/examples/backend/public/templates/task_details.html.erb
|
147
|
+
- test/fixtures/sammy-0.5.0/examples/backend/views/app.sass
|
148
|
+
- test/fixtures/sammy-0.5.0/examples/backend/views/index.haml
|
149
|
+
- test/fixtures/sammy-0.5.0/examples/form_handling/files/form.html
|
150
|
+
- test/fixtures/sammy-0.5.0/examples/form_handling/index.html
|
151
|
+
- test/fixtures/sammy-0.5.0/examples/hello_world/index.html
|
152
|
+
- test/fixtures/sammy-0.5.0/examples/location_override/README.md
|
153
|
+
- test/fixtures/sammy-0.5.0/examples/location_override/data.html
|
154
|
+
- test/fixtures/sammy-0.5.0/examples/location_override/index.html
|
155
|
+
- test/fixtures/sammy-0.5.0/examples/location_override/test.html
|
156
|
+
- test/fixtures/sammy-0.5.0/lib/min/sammy-0.5.0.min.js
|
157
|
+
- test/fixtures/sammy-0.5.0/lib/min/sammy-lastest.min.js
|
158
|
+
- test/fixtures/sammy-0.5.0/lib/plugins/sammy.cache.js
|
159
|
+
- test/fixtures/sammy-0.5.0/lib/plugins/sammy.haml.js
|
160
|
+
- test/fixtures/sammy-0.5.0/lib/plugins/sammy.json.js
|
161
|
+
- test/fixtures/sammy-0.5.0/lib/plugins/sammy.mustache.js
|
162
|
+
- test/fixtures/sammy-0.5.0/lib/plugins/sammy.nested_params.js
|
163
|
+
- test/fixtures/sammy-0.5.0/lib/plugins/sammy.storage.js
|
164
|
+
- test/fixtures/sammy-0.5.0/lib/plugins/sammy.template.js
|
165
|
+
- test/fixtures/sammy-0.5.0/lib/sammy.js
|
166
|
+
- test/fixtures/sammy-0.5.0/test/fixtures/partial
|
167
|
+
- test/fixtures/sammy-0.5.0/test/fixtures/partial.html
|
168
|
+
- test/fixtures/sammy-0.5.0/test/fixtures/partial.noengine
|
169
|
+
- test/fixtures/sammy-0.5.0/test/fixtures/partial.template
|
170
|
+
- test/fixtures/sammy-0.5.0/test/index.html
|
171
|
+
- test/fixtures/sammy-0.5.0/test/test_sammy_application.js
|
172
|
+
- test/fixtures/sammy-0.5.0/test/test_sammy_event_context.js
|
173
|
+
- test/fixtures/sammy-0.5.0/test/test_sammy_location_proxy.js
|
174
|
+
- test/fixtures/sammy-0.5.0/test/test_sammy_plugins.js
|
175
|
+
- test/fixtures/sammy-0.5.0/test/test_sammy_storage.js
|
176
|
+
- test/fixtures/sammy-0.5.0/test/test_server
|
177
|
+
- test/fixtures/sammy-0.5.0/vendor/jquery-1.4.1.js
|
178
|
+
- test/fixtures/sammy-0.5.0/vendor/jquery-1.4.1.min.js
|
179
|
+
- test/fixtures/sammy-0.5.0/vendor/jsdoc/doc.haml
|
180
|
+
- test/fixtures/sammy-0.5.0/vendor/jsdoc/jsdoc.rb
|
181
|
+
- test/fixtures/sammy-0.5.0/vendor/jslitmus.js
|
182
|
+
- test/fixtures/sammy-0.5.0/vendor/qunit-spec.js
|
183
|
+
- test/fixtures/sammy-0.5.0/vendor/qunit/qunit.css
|
184
|
+
- test/fixtures/sammy-0.5.0/vendor/qunit/qunit.js
|
99
185
|
- test/helper.rb
|
100
186
|
- test/test_jim_bundler.rb
|
101
187
|
- test/test_jim_cli.rb
|
@@ -115,22 +201,26 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
115
201
|
requirements:
|
116
202
|
- - ">="
|
117
203
|
- !ruby/object:Gem::Version
|
204
|
+
segments:
|
205
|
+
- 0
|
118
206
|
version: "0"
|
119
|
-
version:
|
120
207
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
208
|
requirements:
|
122
209
|
- - ">="
|
123
210
|
- !ruby/object:Gem::Version
|
211
|
+
segments:
|
212
|
+
- 0
|
124
213
|
version: "0"
|
125
|
-
version:
|
126
214
|
requirements: []
|
127
215
|
|
128
216
|
rubyforge_project:
|
129
|
-
rubygems_version: 1.3.
|
217
|
+
rubygems_version: 1.3.6
|
130
218
|
signing_key:
|
131
219
|
specification_version: 3
|
132
220
|
summary: jim is your friendly javascript library manager
|
133
221
|
test_files:
|
222
|
+
- test/fixtures/sammy-0.5.0/examples/backend/app.rb
|
223
|
+
- test/fixtures/sammy-0.5.0/vendor/jsdoc/jsdoc.rb
|
134
224
|
- test/helper.rb
|
135
225
|
- test/test_jim_bundler.rb
|
136
226
|
- test/test_jim_cli.rb
|