methadone 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -1
- data/CHANGES.md +4 -0
- data/Gemfile +1 -1
- data/bin/methadone +8 -1
- data/features/bootstrap.feature +6 -3
- data/lib/methadone/version.rb +1 -1
- data/methadone.gemspec +2 -1
- data/templates/full/bin/executable.erb +1 -1
- data/test/execution_strategy/test_jvm.rb +1 -1
- data/test/execution_strategy/test_open_3.rb +1 -1
- data/test/execution_strategy/test_open_4.rb +1 -1
- data/test/execution_strategy/test_rbx_open_4.rb +2 -2
- metadata +25 -9
data/.rvmrc
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rvm use 1.9.3@methadone-dev --create
|
1
|
+
rvm use 1.9.3-p286@methadone-dev --create
|
data/CHANGES.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v.1.2.5 - Feb 24, 2012
|
4
|
+
|
5
|
+
* Compatibility Bundler 1.3 - Bundler 1.3 bootstraps files differently than 1.2, and methadone's generated binfile ends up requiring a non-existent file. This verison works with both 1.2 and 1.3 of bundler by parsing its output to figure out which file to include.
|
6
|
+
|
3
7
|
## v.1.2.4 - Dec 26, 2012
|
4
8
|
|
5
9
|
* Fix for my fix on apps with dashes in their name (see [59], thanks to [@terryfinn]
|
data/Gemfile
CHANGED
data/bin/methadone
CHANGED
@@ -22,7 +22,14 @@ main do |app_name|
|
|
22
22
|
|
23
23
|
chdir File.dirname(app_name)
|
24
24
|
|
25
|
-
|
25
|
+
require_file = nil
|
26
|
+
sh! "bundle gem #{gemname} --no-color" do |stdout|
|
27
|
+
require_file = stdout.split(/\n/).select { |file|
|
28
|
+
file =~ /\.rb$/ && file !~ /version.rb$/
|
29
|
+
}.first
|
30
|
+
end
|
31
|
+
require_file = gemname if require_file.nil?
|
32
|
+
require_file.gsub!(/^.*lib\//,'')
|
26
33
|
|
27
34
|
chdir gemname
|
28
35
|
|
data/features/bootstrap.feature
CHANGED
@@ -52,17 +52,20 @@ Feature: Bootstrap a new command-line app
|
|
52
52
|
When I successfully run `rake -T -I../../lib`
|
53
53
|
Then the output should contain:
|
54
54
|
"""
|
55
|
-
rake build # Build newgem-0.0.1.gem into the pkg directory
|
56
55
|
rake clean # Remove any temporary products.
|
57
56
|
rake clobber # Remove any generated file.
|
58
57
|
rake clobber_rdoc # Remove RDoc HTML files
|
59
58
|
rake features # Run Cucumber features
|
60
|
-
|
59
|
+
"""
|
60
|
+
And the output should contain:
|
61
|
+
"""
|
61
62
|
rake rdoc # Build RDoc HTML files
|
62
63
|
rake release # Create tag v0.0.1 and build and push newgem-0.0.1.gem to Rubygems
|
63
64
|
rake rerdoc # Rebuild RDoc HTML files
|
64
65
|
rake test # Run tests
|
65
|
-
"""
|
66
|
+
"""
|
67
|
+
And the output should match /rake install # Build and install newgem-0.0.1.gem into system gems/
|
68
|
+
And the output should match /rake build # Build newgem-0.0.1.gem into the pkg directory/
|
66
69
|
When I run `rake -I../../../../lib`
|
67
70
|
Then the exit status should be 0
|
68
71
|
And the output should match /1 tests, 1 assertions, 0 failures, 0 errors/
|
data/lib/methadone/version.rb
CHANGED
data/methadone.gemspec
CHANGED
@@ -24,7 +24,8 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.add_development_dependency("aruba")
|
25
25
|
s.add_development_dependency("simplecov", "~> 0.5")
|
26
26
|
s.add_development_dependency("clean_test")
|
27
|
-
s.add_development_dependency("mocha")
|
27
|
+
s.add_development_dependency("mocha", "0.13.2")
|
28
|
+
s.add_development_dependency("minitest", "4.6.1")
|
28
29
|
s.add_development_dependency("sdoc")
|
29
30
|
s.add_development_dependency("rspec") # needed so that rspec-bootstrapped app test can run
|
30
31
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: methadone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -128,17 +128,33 @@ dependencies:
|
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
none: false
|
130
130
|
requirements:
|
131
|
-
- -
|
131
|
+
- - '='
|
132
132
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
133
|
+
version: 0.13.2
|
134
134
|
type: :development
|
135
135
|
prerelease: false
|
136
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
137
|
none: false
|
138
138
|
requirements:
|
139
|
-
- -
|
139
|
+
- - '='
|
140
140
|
- !ruby/object:Gem::Version
|
141
|
-
version:
|
141
|
+
version: 0.13.2
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: minitest
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - '='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: 4.6.1
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - '='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 4.6.1
|
142
158
|
- !ruby/object:Gem::Dependency
|
143
159
|
name: sdoc
|
144
160
|
requirement: !ruby/object:Gem::Requirement
|
@@ -326,7 +342,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
326
342
|
version: '0'
|
327
343
|
segments:
|
328
344
|
- 0
|
329
|
-
hash:
|
345
|
+
hash: 690823420417849416
|
330
346
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
331
347
|
none: false
|
332
348
|
requirements:
|
@@ -335,10 +351,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
335
351
|
version: '0'
|
336
352
|
segments:
|
337
353
|
- 0
|
338
|
-
hash:
|
354
|
+
hash: 690823420417849416
|
339
355
|
requirements: []
|
340
356
|
rubyforge_project: methadone
|
341
|
-
rubygems_version: 1.8.
|
357
|
+
rubygems_version: 1.8.24
|
342
358
|
signing_key:
|
343
359
|
specification_version: 3
|
344
360
|
summary: Kick the bash habit and start your command-line apps off right
|