jim 0.2.3 → 0.3.0.pre
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.
- data/Gemfile +2 -1
- data/Gemfile.lock +2 -0
- data/HISTORY +13 -0
- data/README.md +148 -0
- data/Rakefile +6 -3
- data/bin/jim +1 -2
- data/default +0 -0
- data/jim.gemspec +142 -105
- data/lib/jim.rb +1 -1
- data/lib/jim/bundler.rb +168 -73
- data/lib/jim/cli.rb +200 -151
- data/lib/jim/index.rb +20 -9
- data/lib/jim/installer.rb +46 -46
- data/lib/jim/rack.rb +57 -20
- data/lib/jim/templates/jimfile +11 -5
- data/lib/jim/version_parser.rb +3 -3
- data/test/fixtures/infoincomments.js +1 -1
- data/test/fixtures/jimfile +14 -7
- data/test/fixtures/jquery-1.4.1.js +3 -6057
- data/test/fixtures/jquery.color.js +1 -1
- data/test/fixtures/localfile.js +1 -1
- data/test/fixtures/mustache.js/package.json +1 -1
- data/test/fixtures/noversion.js +1 -1
- data/test/fixtures/old_jimfile +7 -0
- data/test/fixtures/sammy-0.5.0/examples/backend/app.rb +4 -4
- data/test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/app.js +18 -18
- data/test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/jquery.cloudkit.js +1 -1
- data/test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/jquery.js +1 -1
- data/test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/sammy.js +161 -161
- data/test/fixtures/sammy-0.5.0/examples/backend/public/templates/task.html.erb +1 -1
- data/test/fixtures/sammy-0.5.0/examples/backend/public/templates/task_details.html.erb +1 -1
- data/test/fixtures/sammy-0.5.0/examples/backend/views/app.sass +6 -6
- data/test/fixtures/sammy-0.5.0/examples/backend/views/index.haml +5 -5
- data/test/fixtures/sammy-0.5.0/examples/form_handling/index.html +16 -16
- data/test/fixtures/sammy-0.5.0/examples/hello_world/index.html +13 -13
- data/test/fixtures/sammy-0.5.0/examples/location_override/data.html +28 -28
- data/test/fixtures/sammy-0.5.0/examples/location_override/index.html +18 -18
- data/test/fixtures/sammy-0.5.0/examples/location_override/test.html +36 -36
- data/test/fixtures/sammy-0.5.0/lib/min/sammy-0.5.0.min.js +1 -1
- data/test/fixtures/sammy-0.5.0/lib/min/sammy-lastest.min.js +1 -1
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.cache.js +13 -13
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.haml.js +2 -2
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.json.js +15 -15
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.mustache.js +46 -46
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.nested_params.js +29 -29
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.storage.js +54 -54
- data/test/fixtures/sammy-0.5.0/lib/plugins/sammy.template.js +17 -17
- data/test/fixtures/sammy-0.5.0/lib/sammy.js +220 -220
- data/test/fixtures/sammy-0.5.0/test/fixtures/partial.html +1 -1
- data/test/fixtures/sammy-0.5.0/test/index.html +26 -26
- data/test/fixtures/sammy-0.5.0/test/test_sammy_application.js +60 -60
- data/test/fixtures/sammy-0.5.0/test/test_sammy_event_context.js +21 -21
- data/test/fixtures/sammy-0.5.0/test/test_sammy_location_proxy.js +3 -3
- data/test/fixtures/sammy-0.5.0/test/test_sammy_plugins.js +17 -17
- data/test/fixtures/sammy-0.5.0/test/test_sammy_storage.js +4 -4
- data/test/helper.rb +15 -0
- data/test/test_jim_bundler.rb +114 -74
- data/test/test_jim_cli.rb +34 -18
- data/test/test_jim_index.rb +19 -19
- data/test/test_jim_installer.rb +13 -13
- data/test/test_jim_rack.rb +41 -0
- data/test/test_jim_version_parser.rb +4 -4
- metadata +204 -41
- data/.gitignore +0 -24
- data/README.rdoc +0 -105
- data/lib/jim/templates/commands +0 -58
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/HISTORY
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
== 0.3.0.pre [11-21-10]
|
2
|
+
|
3
|
+
* Major rewrite of the bundler
|
4
|
+
* Jimfile is now a JSON formatted file
|
5
|
+
* Jimfile allows for multiple named bundles
|
6
|
+
* bundle and compress bundle _all_ the bundles unless a specific name is
|
7
|
+
specified
|
8
|
+
|
9
|
+
* Jim::Cli is now built on top of Thor, cleaner and more organized/compatible.
|
10
|
+
* Jim::Rack has tests (thanks collin for the start)
|
11
|
+
* Jim::Rack works with multiple bundles
|
12
|
+
* `jim watch` uses FSSM to watch the directory and re-bundle on changes. (Thanks manalang)
|
13
|
+
|
1
14
|
== 0.2.3 [09-26-10]
|
2
15
|
|
3
16
|
* Fixed logging issues
|
data/README.md
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
# jim
|
2
|
+
|
3
|
+
jim is your friendly javascript library manager.
|
4
|
+
He downloads, stores, bundles, vendors and compresses.
|
5
|
+
|
6
|
+
## What is a jim?
|
7
|
+
|
8
|
+
I'm frustrated with a lot of copy and pasting JS files from one directory to
|
9
|
+
another and downloading new versions to who knows where and only really being
|
10
|
+
able to use sprockets in Rails and lots of other small annoying things about
|
11
|
+
the existing JS package/asset managers.
|
12
|
+
|
13
|
+
Jim uses a lot of stolen ideas from a lot of great projects. Namely:
|
14
|
+
|
15
|
+
* version management and flexible project fetching from rip
|
16
|
+
* asset compression from jammit and sprockets
|
17
|
+
* Gemfile and bundle from bundler
|
18
|
+
|
19
|
+
The goals are simple:
|
20
|
+
|
21
|
+
* Install a file, archive, git repo, etc from a local path or a URL into a
|
22
|
+
common directory stored with a specific name and version number. Because
|
23
|
+
should be able to install anything from anywhere, theres no need for a
|
24
|
+
central package host.
|
25
|
+
* Specify the local and installed files required for a project by name and
|
26
|
+
version number in a single place. Dependencies for each project are not
|
27
|
+
managed by the system, the onus is on you to specify them in the order you
|
28
|
+
want them. _The project does not have to be in Ruby or even have a backend
|
29
|
+
system._
|
30
|
+
* Run a command to bundle all the required files into a single file.
|
31
|
+
* Run a command to bundle the files _and_ run them through a JavaScript
|
32
|
+
compressor.
|
33
|
+
|
34
|
+
So far I've accomplished the goals, but this is all very very very beta and
|
35
|
+
the API is sure to change and thing straight-up might not work.
|
36
|
+
|
37
|
+
## Install
|
38
|
+
|
39
|
+
jim is a rubygem:
|
40
|
+
|
41
|
+
$ gem install jim
|
42
|
+
|
43
|
+
You can also clone the source from github and use jeweler to install locally (requires jeweler):
|
44
|
+
|
45
|
+
$ git clone git://github.com/quirkey/jim.git
|
46
|
+
$ cd jim
|
47
|
+
$ rake install
|
48
|
+
|
49
|
+
## Usage
|
50
|
+
|
51
|
+
From anywhere, install a project:
|
52
|
+
|
53
|
+
// From a URL
|
54
|
+
$ jim install http://code.jquery.com/jquery-1.4.2.js
|
55
|
+
// From a zip (with name and version)
|
56
|
+
$ jim install http://github.com/jquery/jquery-metadata/zipball/master jquery-metadata 2.0
|
57
|
+
|
58
|
+
In your project run:
|
59
|
+
|
60
|
+
$ jim init
|
61
|
+
|
62
|
+
Which creates an empty `Jimfile`. Open it up and add your requirements:
|
63
|
+
|
64
|
+
{
|
65
|
+
"bundle_dir": "public/javascripts/",
|
66
|
+
"vendor_dir": "public/javascripts/vendor",
|
67
|
+
"bundles": {
|
68
|
+
"default": [
|
69
|
+
["jquery", "1.4.1"],
|
70
|
+
"sammy",
|
71
|
+
"app"
|
72
|
+
],
|
73
|
+
"mobile": [
|
74
|
+
"jquery",
|
75
|
+
"mobile"
|
76
|
+
]
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
As of v0.3 you can specified multiple named bundles. Each requirement is
|
81
|
+
specified in order of inclusion and can be either simply the name of the
|
82
|
+
library (`"jquery"`) or an array of name and version (`["jquery", "1.4.2"]`).
|
83
|
+
|
84
|
+
If its a rack-based project, mount the Jim::Rack middleware. It gives you live
|
85
|
+
updates of your bundled and compressed js files:
|
86
|
+
|
87
|
+
use Jim::Rack, :bundle_uri => '/js/'
|
88
|
+
|
89
|
+
# GET /js/default.js # get by bundle name
|
90
|
+
# GET /js/mobile.js
|
91
|
+
# GET /js/mobile.min.js # compressed
|
92
|
+
|
93
|
+
Otherwise and also before deploys, etc, use the command line tool from your project's dir:
|
94
|
+
|
95
|
+
# Bundle into your bundle_dir
|
96
|
+
$ jim bundle
|
97
|
+
|
98
|
+
# Compress into your bundle dir
|
99
|
+
$ jim compress
|
100
|
+
|
101
|
+
# Copy all the requirements from your JIMHOME into vendor dir
|
102
|
+
# (before you commit)
|
103
|
+
$ jim vendor
|
104
|
+
|
105
|
+
# What you run before deploys. Runs vendor -> bundle -> compress.
|
106
|
+
$ jim pack
|
107
|
+
|
108
|
+
In order for `compress` to work, you need either the yui-compressor gem or the
|
109
|
+
closure-compiler gem. Closure is the default.
|
110
|
+
|
111
|
+
Run `jim help` for a full list of commands and `jim help [COMMAND]` for help
|
112
|
+
with a specific command.
|
113
|
+
|
114
|
+
## You're probably wondering
|
115
|
+
|
116
|
+
### Why not implement it in JavaScript itself?
|
117
|
+
|
118
|
+
CommonJS has certainly come a long way in a year, but in general the file
|
119
|
+
system support and variety of libraries just isnt completely there yet for
|
120
|
+
this type of project (IMHO). Also, I love Ruby and writing this was actually
|
121
|
+
fun and pretty fast.
|
122
|
+
|
123
|
+
With that said, I would gladly welcome anyone cloning the API in CommonJS (I'm
|
124
|
+
just being lazy about it)
|
125
|
+
|
126
|
+
### Does it work with __ library or __ development platform?
|
127
|
+
|
128
|
+
Probably?? Its all very new at this point so please test it out and let me
|
129
|
+
know.
|
130
|
+
|
131
|
+
## Thanks
|
132
|
+
|
133
|
+
Thanks to Yehuda Katz for talking through some of the ideas with me.
|
134
|
+
|
135
|
+
## Note on Patches/Pull Requests
|
136
|
+
|
137
|
+
* Fork the project.
|
138
|
+
* Make your feature addition or bug fix.
|
139
|
+
* Add tests for it. This is important so I don't break it in a
|
140
|
+
future version unintentionally.
|
141
|
+
* Commit, do not mess with rakefile, version, or history.
|
142
|
+
(if you want to have your own version, that is fine but bump version in a
|
143
|
+
commit by itself I can ignore when I pull)
|
144
|
+
* Send me a pull request. Bonus points for topic branches
|
145
|
+
|
146
|
+
## Copyright
|
147
|
+
|
148
|
+
Copyright (c) 2010 Aaron Quint. See LICENSE for details.
|
data/Rakefile
CHANGED
@@ -16,14 +16,17 @@ begin
|
|
16
16
|
gem.homepage = "http://github.com/quirkey/jim"
|
17
17
|
gem.authors = ["Aaron Quint"]
|
18
18
|
|
19
|
-
gem.add_dependency "downlow", "
|
19
|
+
gem.add_dependency "downlow", "~>0.1.4"
|
20
|
+
gem.add_dependency "thor", "~>0.14.4"
|
20
21
|
gem.add_dependency "yajl-ruby"
|
21
|
-
gem.add_dependency "version_sorter", "
|
22
|
-
|
22
|
+
gem.add_dependency "version_sorter", "~>1.1.0"
|
23
|
+
gem.add_dependency "fssm", "~>0.2.0"
|
24
|
+
|
23
25
|
gem.add_development_dependency "shoulda", ">= 0"
|
24
26
|
gem.add_development_dependency "fakeweb", ">= 1.2.8"
|
25
27
|
gem.add_development_dependency "mocha"
|
26
28
|
gem.add_development_dependency "leftright"
|
29
|
+
gem.add_development_dependency "rack-test", ">= 0.5.4"
|
27
30
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
28
31
|
end
|
29
32
|
Jeweler::GemcutterTasks.new
|
data/bin/jim
CHANGED
data/default
ADDED
File without changes
|
data/jim.gemspec
CHANGED
@@ -1,125 +1,126 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{jim}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.3.0.pre"
|
9
9
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Aaron Quint"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-11-21}
|
13
13
|
s.default_executable = %q{jim}
|
14
14
|
s.description = %q{jim is your friendly javascript library manager. He downloads, stores, bundles, vendors and compresses.}
|
15
15
|
s.email = %q{aaron@quirkey.com}
|
16
16
|
s.executables = ["jim"]
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE",
|
19
|
-
|
19
|
+
"README.md"
|
20
20
|
]
|
21
21
|
s.files = [
|
22
|
-
"
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
22
|
+
"Gemfile",
|
23
|
+
"Gemfile.lock",
|
24
|
+
"HISTORY",
|
25
|
+
"LICENSE",
|
26
|
+
"README.md",
|
27
|
+
"Rakefile",
|
28
|
+
"bin/jim",
|
29
|
+
"default",
|
30
|
+
"jim.gemspec",
|
31
|
+
"lib/jim.rb",
|
32
|
+
"lib/jim/bundler.rb",
|
33
|
+
"lib/jim/cli.rb",
|
34
|
+
"lib/jim/index.rb",
|
35
|
+
"lib/jim/installer.rb",
|
36
|
+
"lib/jim/rack.rb",
|
37
|
+
"lib/jim/templates/jimfile",
|
38
|
+
"lib/jim/version_parser.rb",
|
39
|
+
"test/fixtures/infoincomments.js",
|
40
|
+
"test/fixtures/jimfile",
|
41
|
+
"test/fixtures/jquery-1.4.1.js",
|
42
|
+
"test/fixtures/jquery.color.js",
|
43
|
+
"test/fixtures/jquery.metadata-2.0.zip",
|
44
|
+
"test/fixtures/localfile.js",
|
45
|
+
"test/fixtures/mustache.js/mustache.js",
|
46
|
+
"test/fixtures/mustache.js/package.json",
|
47
|
+
"test/fixtures/noversion.js",
|
48
|
+
"test/fixtures/old_jimfile",
|
49
|
+
"test/fixtures/sammy-0.5.0/HISTORY.md",
|
50
|
+
"test/fixtures/sammy-0.5.0/LICENSE",
|
51
|
+
"test/fixtures/sammy-0.5.0/README.md",
|
52
|
+
"test/fixtures/sammy-0.5.0/Rakefile",
|
53
|
+
"test/fixtures/sammy-0.5.0/examples/backend/README.md",
|
54
|
+
"test/fixtures/sammy-0.5.0/examples/backend/Rakefile",
|
55
|
+
"test/fixtures/sammy-0.5.0/examples/backend/app.rb",
|
56
|
+
"test/fixtures/sammy-0.5.0/examples/backend/app.ru",
|
57
|
+
"test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/app.js",
|
58
|
+
"test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/jquery.cloudkit.js",
|
59
|
+
"test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/jquery.js",
|
60
|
+
"test/fixtures/sammy-0.5.0/examples/backend/public/javascripts/sammy.js",
|
61
|
+
"test/fixtures/sammy-0.5.0/examples/backend/public/templates/index.html.erb",
|
62
|
+
"test/fixtures/sammy-0.5.0/examples/backend/public/templates/task.html.erb",
|
63
|
+
"test/fixtures/sammy-0.5.0/examples/backend/public/templates/task_details.html.erb",
|
64
|
+
"test/fixtures/sammy-0.5.0/examples/backend/views/app.sass",
|
65
|
+
"test/fixtures/sammy-0.5.0/examples/backend/views/index.haml",
|
66
|
+
"test/fixtures/sammy-0.5.0/examples/form_handling/files/form.html",
|
67
|
+
"test/fixtures/sammy-0.5.0/examples/form_handling/index.html",
|
68
|
+
"test/fixtures/sammy-0.5.0/examples/hello_world/index.html",
|
69
|
+
"test/fixtures/sammy-0.5.0/examples/location_override/README.md",
|
70
|
+
"test/fixtures/sammy-0.5.0/examples/location_override/data.html",
|
71
|
+
"test/fixtures/sammy-0.5.0/examples/location_override/index.html",
|
72
|
+
"test/fixtures/sammy-0.5.0/examples/location_override/test.html",
|
73
|
+
"test/fixtures/sammy-0.5.0/lib/min/sammy-0.5.0.min.js",
|
74
|
+
"test/fixtures/sammy-0.5.0/lib/min/sammy-lastest.min.js",
|
75
|
+
"test/fixtures/sammy-0.5.0/lib/plugins/sammy.cache.js",
|
76
|
+
"test/fixtures/sammy-0.5.0/lib/plugins/sammy.haml.js",
|
77
|
+
"test/fixtures/sammy-0.5.0/lib/plugins/sammy.json.js",
|
78
|
+
"test/fixtures/sammy-0.5.0/lib/plugins/sammy.mustache.js",
|
79
|
+
"test/fixtures/sammy-0.5.0/lib/plugins/sammy.nested_params.js",
|
80
|
+
"test/fixtures/sammy-0.5.0/lib/plugins/sammy.storage.js",
|
81
|
+
"test/fixtures/sammy-0.5.0/lib/plugins/sammy.template.js",
|
82
|
+
"test/fixtures/sammy-0.5.0/lib/sammy.js",
|
83
|
+
"test/fixtures/sammy-0.5.0/test/fixtures/partial",
|
84
|
+
"test/fixtures/sammy-0.5.0/test/fixtures/partial.html",
|
85
|
+
"test/fixtures/sammy-0.5.0/test/fixtures/partial.noengine",
|
86
|
+
"test/fixtures/sammy-0.5.0/test/fixtures/partial.template",
|
87
|
+
"test/fixtures/sammy-0.5.0/test/index.html",
|
88
|
+
"test/fixtures/sammy-0.5.0/test/test_sammy_application.js",
|
89
|
+
"test/fixtures/sammy-0.5.0/test/test_sammy_event_context.js",
|
90
|
+
"test/fixtures/sammy-0.5.0/test/test_sammy_location_proxy.js",
|
91
|
+
"test/fixtures/sammy-0.5.0/test/test_sammy_plugins.js",
|
92
|
+
"test/fixtures/sammy-0.5.0/test/test_sammy_storage.js",
|
93
|
+
"test/fixtures/sammy-0.5.0/test/test_server",
|
94
|
+
"test/fixtures/sammy-0.5.0/vendor/jquery-1.4.1.js",
|
95
|
+
"test/fixtures/sammy-0.5.0/vendor/jquery-1.4.1.min.js",
|
96
|
+
"test/fixtures/sammy-0.5.0/vendor/jsdoc/doc.haml",
|
97
|
+
"test/fixtures/sammy-0.5.0/vendor/jsdoc/jsdoc.rb",
|
98
|
+
"test/fixtures/sammy-0.5.0/vendor/jslitmus.js",
|
99
|
+
"test/fixtures/sammy-0.5.0/vendor/qunit-spec.js",
|
100
|
+
"test/fixtures/sammy-0.5.0/vendor/qunit/qunit.css",
|
101
|
+
"test/fixtures/sammy-0.5.0/vendor/qunit/qunit.js",
|
102
|
+
"test/helper.rb",
|
103
|
+
"test/test_jim_bundler.rb",
|
104
|
+
"test/test_jim_cli.rb",
|
105
|
+
"test/test_jim_index.rb",
|
106
|
+
"test/test_jim_installer.rb",
|
107
|
+
"test/test_jim_rack.rb",
|
108
|
+
"test/test_jim_version_parser.rb"
|
108
109
|
]
|
109
110
|
s.homepage = %q{http://github.com/quirkey/jim}
|
110
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
111
111
|
s.require_paths = ["lib"]
|
112
112
|
s.rubygems_version = %q{1.3.7}
|
113
113
|
s.summary = %q{jim is your friendly javascript library manager}
|
114
114
|
s.test_files = [
|
115
115
|
"test/fixtures/sammy-0.5.0/examples/backend/app.rb",
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
116
|
+
"test/fixtures/sammy-0.5.0/vendor/jsdoc/jsdoc.rb",
|
117
|
+
"test/helper.rb",
|
118
|
+
"test/test_jim_bundler.rb",
|
119
|
+
"test/test_jim_cli.rb",
|
120
|
+
"test/test_jim_index.rb",
|
121
|
+
"test/test_jim_installer.rb",
|
122
|
+
"test/test_jim_rack.rb",
|
123
|
+
"test/test_jim_version_parser.rb"
|
123
124
|
]
|
124
125
|
|
125
126
|
if s.respond_to? :specification_version then
|
@@ -127,30 +128,66 @@ Gem::Specification.new do |s|
|
|
127
128
|
s.specification_version = 3
|
128
129
|
|
129
130
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
130
|
-
s.add_runtime_dependency(%q<downlow>, ["
|
131
|
+
s.add_runtime_dependency(%q<downlow>, ["~> 0.1.3"])
|
132
|
+
s.add_runtime_dependency(%q<thor>, [">= 0"])
|
133
|
+
s.add_runtime_dependency(%q<fssm>, [">= 0"])
|
131
134
|
s.add_runtime_dependency(%q<yajl-ruby>, [">= 0"])
|
132
|
-
s.add_runtime_dependency(%q<version_sorter>, ["
|
135
|
+
s.add_runtime_dependency(%q<version_sorter>, ["~> 1.1.0"])
|
136
|
+
s.add_runtime_dependency(%q<leftright>, [">= 0"])
|
137
|
+
s.add_runtime_dependency(%q<shoulda>, [">= 0"])
|
138
|
+
s.add_runtime_dependency(%q<fakeweb>, [">= 1.2.8"])
|
139
|
+
s.add_runtime_dependency(%q<mocha>, [">= 0"])
|
140
|
+
s.add_runtime_dependency(%q<downlow>, ["~> 0.1.4"])
|
141
|
+
s.add_runtime_dependency(%q<thor>, ["~> 0.14.4"])
|
142
|
+
s.add_runtime_dependency(%q<yajl-ruby>, [">= 0"])
|
143
|
+
s.add_runtime_dependency(%q<version_sorter>, ["~> 1.1.0"])
|
144
|
+
s.add_runtime_dependency(%q<fssm>, ["~> 0.2.0"])
|
133
145
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
134
146
|
s.add_development_dependency(%q<fakeweb>, [">= 1.2.8"])
|
135
147
|
s.add_development_dependency(%q<mocha>, [">= 0"])
|
136
148
|
s.add_development_dependency(%q<leftright>, [">= 0"])
|
149
|
+
s.add_development_dependency(%q<rack-test>, [">= 0.5.4"])
|
137
150
|
else
|
138
|
-
s.add_dependency(%q<downlow>, ["
|
151
|
+
s.add_dependency(%q<downlow>, ["~> 0.1.3"])
|
152
|
+
s.add_dependency(%q<thor>, [">= 0"])
|
153
|
+
s.add_dependency(%q<fssm>, [">= 0"])
|
139
154
|
s.add_dependency(%q<yajl-ruby>, [">= 0"])
|
140
|
-
s.add_dependency(%q<version_sorter>, ["
|
155
|
+
s.add_dependency(%q<version_sorter>, ["~> 1.1.0"])
|
156
|
+
s.add_dependency(%q<leftright>, [">= 0"])
|
157
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
158
|
+
s.add_dependency(%q<fakeweb>, [">= 1.2.8"])
|
159
|
+
s.add_dependency(%q<mocha>, [">= 0"])
|
160
|
+
s.add_dependency(%q<downlow>, ["~> 0.1.4"])
|
161
|
+
s.add_dependency(%q<thor>, ["~> 0.14.4"])
|
162
|
+
s.add_dependency(%q<yajl-ruby>, [">= 0"])
|
163
|
+
s.add_dependency(%q<version_sorter>, ["~> 1.1.0"])
|
164
|
+
s.add_dependency(%q<fssm>, ["~> 0.2.0"])
|
141
165
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
142
166
|
s.add_dependency(%q<fakeweb>, [">= 1.2.8"])
|
143
167
|
s.add_dependency(%q<mocha>, [">= 0"])
|
144
168
|
s.add_dependency(%q<leftright>, [">= 0"])
|
169
|
+
s.add_dependency(%q<rack-test>, [">= 0.5.4"])
|
145
170
|
end
|
146
171
|
else
|
147
|
-
s.add_dependency(%q<downlow>, ["
|
172
|
+
s.add_dependency(%q<downlow>, ["~> 0.1.3"])
|
173
|
+
s.add_dependency(%q<thor>, [">= 0"])
|
174
|
+
s.add_dependency(%q<fssm>, [">= 0"])
|
175
|
+
s.add_dependency(%q<yajl-ruby>, [">= 0"])
|
176
|
+
s.add_dependency(%q<version_sorter>, ["~> 1.1.0"])
|
177
|
+
s.add_dependency(%q<leftright>, [">= 0"])
|
178
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
179
|
+
s.add_dependency(%q<fakeweb>, [">= 1.2.8"])
|
180
|
+
s.add_dependency(%q<mocha>, [">= 0"])
|
181
|
+
s.add_dependency(%q<downlow>, ["~> 0.1.4"])
|
182
|
+
s.add_dependency(%q<thor>, ["~> 0.14.4"])
|
148
183
|
s.add_dependency(%q<yajl-ruby>, [">= 0"])
|
149
|
-
s.add_dependency(%q<version_sorter>, ["
|
184
|
+
s.add_dependency(%q<version_sorter>, ["~> 1.1.0"])
|
185
|
+
s.add_dependency(%q<fssm>, ["~> 0.2.0"])
|
150
186
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
151
187
|
s.add_dependency(%q<fakeweb>, [">= 1.2.8"])
|
152
188
|
s.add_dependency(%q<mocha>, [">= 0"])
|
153
189
|
s.add_dependency(%q<leftright>, [">= 0"])
|
190
|
+
s.add_dependency(%q<rack-test>, [">= 0.5.4"])
|
154
191
|
end
|
155
192
|
end
|
156
193
|
|