jim 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. data/HISTORY +28 -0
  2. data/README.rdoc +1 -1
  3. data/Rakefile +2 -1
  4. data/jim.gemspec +67 -9
  5. data/lib/jim/bundler.rb +14 -11
  6. data/lib/jim/cli.rb +51 -9
  7. data/lib/jim/index.rb +3 -7
  8. data/lib/jim/installer.rb +140 -22
  9. data/lib/jim/templates/commands +21 -6
  10. data/lib/jim/version_parser.rb +2 -3
  11. data/lib/jim.rb +19 -2
  12. data/test/fixtures/jimfile +3 -3
  13. data/test/fixtures/sammy-0.5.0/HISTORY.md +135 -0
  14. data/test/fixtures/sammy-0.5.0/LICENSE +22 -0
  15. data/test/fixtures/sammy-0.5.0/README.md +81 -0
  16. data/test/fixtures/sammy-0.5.0/Rakefile +174 -0
  17. data/test/fixtures/sammy-0.5.0/examples/backend/README.md +23 -0
  18. data/test/fixtures/sammy-0.5.0/examples/backend/Rakefile +15 -0
  19. data/test/fixtures/sammy-0.5.0/examples/backend/app.rb +17 -0
  20. data/test/fixtures/sammy-0.5.0/examples/backend/app.ru +3 -0
  21. data/test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/app.js +106 -0
  22. data/test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/jquery.cloudkit.js +840 -0
  23. data/test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/jquery.js +19 -0
  24. data/test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/sammy.js +1013 -0
  25. data/test/fixtures/sammy-0.5.0/examples/backend/public/templates/index.html.erb +11 -0
  26. data/test/fixtures/sammy-0.5.0/examples/backend/public/templates/task.html.erb +4 -0
  27. data/test/fixtures/sammy-0.5.0/examples/backend/public/templates/task_details.html.erb +4 -0
  28. data/test/fixtures/sammy-0.5.0/examples/backend/views/app.sass +63 -0
  29. data/test/fixtures/sammy-0.5.0/examples/backend/views/index.haml +18 -0
  30. data/test/fixtures/sammy-0.5.0/examples/form_handling/files/form.html +12 -0
  31. data/test/fixtures/sammy-0.5.0/examples/form_handling/index.html +65 -0
  32. data/test/fixtures/sammy-0.5.0/examples/hello_world/index.html +50 -0
  33. data/test/fixtures/sammy-0.5.0/examples/location_override/README.md +15 -0
  34. data/test/fixtures/sammy-0.5.0/examples/location_override/data.html +110 -0
  35. data/test/fixtures/sammy-0.5.0/examples/location_override/index.html +79 -0
  36. data/test/fixtures/sammy-0.5.0/examples/location_override/test.html +121 -0
  37. data/test/fixtures/sammy-0.5.0/lib/min/sammy-0.5.0.min.js +5 -0
  38. data/test/fixtures/sammy-0.5.0/lib/min/sammy-lastest.min.js +5 -0
  39. data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.cache.js +117 -0
  40. data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.haml.js +539 -0
  41. data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.json.js +362 -0
  42. data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.mustache.js +415 -0
  43. data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.nested_params.js +118 -0
  44. data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.storage.js +515 -0
  45. data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.template.js +117 -0
  46. data/test/fixtures/sammy-0.5.0/lib/sammy.js +1367 -0
  47. data/test/fixtures/sammy-0.5.0/test/fixtures/partial +1 -0
  48. data/test/fixtures/sammy-0.5.0/test/fixtures/partial.html +1 -0
  49. data/test/fixtures/sammy-0.5.0/test/fixtures/partial.noengine +1 -0
  50. data/test/fixtures/sammy-0.5.0/test/fixtures/partial.template +1 -0
  51. data/test/fixtures/sammy-0.5.0/test/index.html +84 -0
  52. data/test/fixtures/sammy-0.5.0/test/test_sammy_application.js +953 -0
  53. data/test/fixtures/sammy-0.5.0/test/test_sammy_event_context.js +252 -0
  54. data/test/fixtures/sammy-0.5.0/test/test_sammy_location_proxy.js +91 -0
  55. data/test/fixtures/sammy-0.5.0/test/test_sammy_plugins.js +296 -0
  56. data/test/fixtures/sammy-0.5.0/test/test_sammy_storage.js +175 -0
  57. data/test/fixtures/sammy-0.5.0/test/test_server +27 -0
  58. data/test/fixtures/sammy-0.5.0/vendor/jquery-1.4.1.js +6078 -0
  59. data/test/fixtures/sammy-0.5.0/vendor/jquery-1.4.1.min.js +152 -0
  60. data/test/fixtures/sammy-0.5.0/vendor/jsdoc/doc.haml +58 -0
  61. data/test/fixtures/sammy-0.5.0/vendor/jsdoc/jsdoc.rb +143 -0
  62. data/test/fixtures/sammy-0.5.0/vendor/jslitmus.js +670 -0
  63. data/test/fixtures/sammy-0.5.0/vendor/qunit/qunit.css +119 -0
  64. data/test/fixtures/sammy-0.5.0/vendor/qunit/qunit.js +1043 -0
  65. data/test/fixtures/sammy-0.5.0/vendor/qunit-spec.js +127 -0
  66. data/test/helper.rb +23 -3
  67. data/test/test_jim_bundler.rb +9 -8
  68. data/test/test_jim_cli.rb +21 -12
  69. data/test/test_jim_installer.rb +152 -35
  70. data/test/test_jim_version_parser.rb +4 -0
  71. metadata +117 -27
  72. 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
- version: 0.1.2
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-02-21 00:00:00 -05:00
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
- type: :runtime
18
- version_requirement:
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
- version: 0.1.2
24
- version:
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
- type: :runtime
28
- version_requirement:
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
- version:
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
- type: :development
38
- version_requirement:
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
- version:
70
+ type: :development
71
+ version_requirements: *id004
45
72
  - !ruby/object:Gem::Dependency
46
73
  name: fakeweb
47
- type: :development
48
- version_requirement:
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
- version:
84
+ type: :development
85
+ version_requirements: *id005
55
86
  - !ruby/object:Gem::Dependency
56
87
  name: mocha
57
- type: :development
58
- version_requirement:
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
- version:
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.5
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
data/.document DELETED
@@ -1,5 +0,0 @@
1
- README.rdoc
2
- lib/**/*.rb
3
- bin/*
4
- features/**/*.feature
5
- LICENSE