shoe 0.5.1 → 0.6.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.
- data/{doc/bundler.rdoc → BUNDLER.rdoc} +0 -0
- data/CHANGELOG.rdoc +15 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +21 -3
- data/README.rdoc +22 -2
- data/TODO.rdoc +3 -3
- data/bin/shoe +16 -2
- data/data/shoe/templates/application.erb +23 -0
- data/data/shoe/templates/executable.erb +18 -0
- data/data/shoe/templates/extconf.erb +2 -0
- data/data/shoe/templates/extension.erb +9 -0
- data/data/shoe/templates/gemspec.erb +50 -0
- data/data/shoe/templates/gitignore.erb +4 -0
- data/data/shoe/templates/gitkeep.erb +0 -0
- data/data/shoe/templates/manpage.erb +30 -0
- data/data/shoe/templates/module.erb +31 -0
- data/data/shoe/templates/module_test.rb +7 -0
- data/data/shoe/templates/rakefile.erb +3 -0
- data/data/shoe/templates/readme.erb +3 -0
- data/data/shoe/templates/test_helper.erb +2 -0
- data/features/cucumber.feature +7 -8
- data/features/generator.feature +32 -0
- data/features/release.feature +8 -8
- data/features/step_definitions/shoe_steps.rb +0 -9
- data/features/support/env.rb +5 -9
- data/features/test.feature +4 -4
- data/lib/shoe.rb +20 -2
- data/lib/shoe/extensions.rb +10 -0
- data/lib/shoe/extensions/doc_manager.rb +11 -0
- data/lib/shoe/extensions/option_parser.rb +25 -0
- data/lib/shoe/extensions/pathname.rb +16 -0
- data/lib/shoe/extensions/source_index.rb +17 -0
- data/lib/shoe/extensions/specification.rb +19 -0
- data/lib/shoe/extensions/validator.rb +15 -0
- data/lib/shoe/generator.rb +122 -40
- data/lib/shoe/tasks.rb +2 -0
- data/lib/shoe/tasks/abstract.rb +3 -69
- data/lib/shoe/tasks/compile.rb +3 -1
- data/lib/shoe/tasks/cucumber.rb +13 -10
- data/lib/shoe/tasks/rdoc.rb +3 -22
- data/lib/shoe/tasks/release.rb +7 -12
- data/lib/shoe/tasks/ronn.rb +77 -0
- data/lib/shoe/tasks/test.rb +2 -26
- data/man/shoe.1 +64 -0
- data/man/shoe.1.ronn +63 -0
- data/shoe.gemspec +4 -1
- metadata +59 -15
- data/features/getting_started.feature +0 -29
- data/lib/shoe/templates/gemspec.erb +0 -41
- data/lib/shoe/templates/rakefile.erb +0 -3
- data/lib/shoe/templates/readme.erb +0 -3
- data/lib/shoe/templates/version.erb +0 -3
- data/lib/shoe/version.rb +0 -3
data/lib/shoe/tasks/compile.rb
CHANGED
data/lib/shoe/tasks/cucumber.rb
CHANGED
@@ -6,7 +6,9 @@ module Shoe
|
|
6
6
|
# Defines <tt>`rake cucumber`</tt> and <tt>`rake cucumber:<PROFILE>`</tt> to
|
7
7
|
# run your Cucumber[http://cukes.info] features.
|
8
8
|
#
|
9
|
-
# <tt>`rake cucumber`</tt> will run features according to the
|
9
|
+
# <tt>`rake cucumber`</tt> will run features according to the
|
10
|
+
# <tt>default</tt> profile; <tt>`rake cucumber:foo`</tt> according to the
|
11
|
+
# <tt>foo</tt> profile.
|
10
12
|
#
|
11
13
|
# To enable and configure, create and edit your
|
12
14
|
# <tt>{cucumber.yml}[http://wiki.github.com/aslakhellesoy/cucumber/cucumberyml]</tt>.
|
@@ -19,9 +21,7 @@ module Shoe
|
|
19
21
|
begin
|
20
22
|
require 'cucumber/rake/task'
|
21
23
|
rescue LoadError
|
22
|
-
warn 'cucumber
|
23
|
-
"Although you have a cucumber.yml, it seems you don't have cucumber installed.",
|
24
|
-
"You probably want to add a \"gem 'cucumber'\" to your Gemfile."
|
24
|
+
warn "It seems you don't have cucumber installed."
|
25
25
|
else
|
26
26
|
define_tasks
|
27
27
|
end
|
@@ -44,21 +44,24 @@ module Shoe
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def define_default_task
|
47
|
-
|
47
|
+
namespace :prepare do
|
48
|
+
task :execute
|
49
|
+
end
|
48
50
|
|
49
|
-
::Cucumber::Rake::Task.new({ :cucumber => :
|
51
|
+
::Cucumber::Rake::Task.new({ :cucumber => 'prepare:execute' }, 'Run features') do |task|
|
50
52
|
task.profile = 'default'
|
51
53
|
end
|
52
54
|
|
53
|
-
task :default
|
54
|
-
Rake.application[:default].prerequisites.push(Rake.application[:cucumber])
|
55
|
+
task :default => :cucumber
|
55
56
|
end
|
56
57
|
|
57
58
|
def define_profile_task(profile)
|
58
|
-
|
59
|
+
namespace :prepare do
|
60
|
+
task :execute
|
61
|
+
end
|
59
62
|
|
60
63
|
namespace :cucumber do
|
61
|
-
::Cucumber::Rake::Task.new({ profile => :
|
64
|
+
::Cucumber::Rake::Task.new({ profile => 'prepare:execute' }, "Run #{profile} features") do |task|
|
62
65
|
task.profile = profile
|
63
66
|
end
|
64
67
|
end
|
data/lib/shoe/tasks/rdoc.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'rubygems/doc_manager'
|
2
|
+
require 'launchy'
|
2
3
|
|
3
4
|
module Shoe
|
4
5
|
module Tasks
|
@@ -30,28 +31,8 @@ module Shoe
|
|
30
31
|
def define
|
31
32
|
desc 'Generate documentation'
|
32
33
|
task :rdoc do
|
33
|
-
|
34
|
-
|
35
|
-
case RUBY_PLATFORM
|
36
|
-
when /darwin/
|
37
|
-
sh 'open rdoc/index.html'
|
38
|
-
when /mswin|mingw/
|
39
|
-
sh 'start rdoc\index.html'
|
40
|
-
else
|
41
|
-
sh 'firefox rdoc/index.html'
|
42
|
-
end
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
private
|
47
|
-
|
48
|
-
# Using Gem::DocManager instead of Rake::RDocTask means you get to see your
|
49
|
-
# rdoc *exactly* as users who install your gem will.
|
50
|
-
class LocalDocManager < Gem::DocManager #:nodoc:
|
51
|
-
def initialize(spec)
|
52
|
-
@spec = spec
|
53
|
-
@doc_dir = Dir.pwd
|
54
|
-
@rdoc_args = []
|
34
|
+
Gem::DocManager.new(spec).extend(Extensions::DocManager).generate_rdoc
|
35
|
+
Launchy::Browser.run('rdoc/index.html')
|
55
36
|
end
|
56
37
|
end
|
57
38
|
end
|
data/lib/shoe/tasks/release.rb
CHANGED
@@ -27,8 +27,6 @@ module Shoe
|
|
27
27
|
# tag to denote your compliance.
|
28
28
|
class Release < Abstract
|
29
29
|
def active?
|
30
|
-
spec.extend(VersionExtensions)
|
31
|
-
|
32
30
|
spec.has_version_greater_than?('0.0.0') &&
|
33
31
|
there_is_no_tag_for(version_tag(spec.version)) &&
|
34
32
|
we_are_on_the_master_branch
|
@@ -41,10 +39,7 @@ module Shoe
|
|
41
39
|
sh "git tag #{version_tag(spec.version)}"
|
42
40
|
|
43
41
|
if there_is_no_tag_for('semver')
|
44
|
-
warn '
|
45
|
-
"It seems you don't yet have a 'semver' tag.",
|
46
|
-
'Please read more about the emerging consensus around semantic versioning:',
|
47
|
-
'http://semver.org'
|
42
|
+
warn "It seems you don't have a 'semver' tag. See http://semver.org/."
|
48
43
|
end
|
49
44
|
|
50
45
|
if there_is_a_remote_called('origin')
|
@@ -55,16 +50,16 @@ module Shoe
|
|
55
50
|
sh "gem build #{spec.name}.gemspec"
|
56
51
|
sh "gem push #{spec.file_name}"
|
57
52
|
end
|
58
|
-
end
|
59
|
-
|
60
|
-
private
|
61
53
|
|
62
|
-
|
63
|
-
|
64
|
-
version > Gem::Version.new(string)
|
54
|
+
namespace :prepare do
|
55
|
+
task :release
|
65
56
|
end
|
57
|
+
|
58
|
+
task :release => 'prepare:release'
|
66
59
|
end
|
67
60
|
|
61
|
+
private
|
62
|
+
|
68
63
|
def there_is_a_remote_called(name)
|
69
64
|
`git remote`.to_a.include?("#{name}\n")
|
70
65
|
end
|
@@ -0,0 +1,77 @@
|
|
1
|
+
module Shoe
|
2
|
+
module Tasks
|
3
|
+
|
4
|
+
# Defines <tt>`rake ronn`</tt> to generate man pages from your
|
5
|
+
# <tt>{ronn}[http://rtomayko.github.com/ronn/]</tt> sources.
|
6
|
+
#
|
7
|
+
# To enable, create some <tt>man/*.ronn</tt> files.
|
8
|
+
#
|
9
|
+
# To configure the <tt>date</tt> and <tt>organization</tt> fields for your man pages, set the
|
10
|
+
# <tt>date[http://docs.rubygems.org/read/chapter/20#date]</tt>
|
11
|
+
# and the first of the
|
12
|
+
# <tt>authors[http://docs.rubygems.org/read/chapter/20#authors]</tt>
|
13
|
+
# in your gemspec, respectively.
|
14
|
+
#
|
15
|
+
# == Notes
|
16
|
+
#
|
17
|
+
# * It's best to check the generated man pages into version control so
|
18
|
+
# they'll be included in your gem for
|
19
|
+
# {gem-man}[http://github.com/defunkt/gem-man].
|
20
|
+
#
|
21
|
+
# * Ronn becomes a prerequisite for Release, so your man pages are sure to
|
22
|
+
# be up-to-date.
|
23
|
+
#
|
24
|
+
# * You may like to add a <tt>task :man => :ronn</tt> to your
|
25
|
+
# <tt>Rakefile</tt>. I felt a little uncomfortable clogging that
|
26
|
+
# namespace without your consent.
|
27
|
+
class Ronn < Abstract
|
28
|
+
def active?
|
29
|
+
!ronn_files.empty?
|
30
|
+
end
|
31
|
+
|
32
|
+
def define
|
33
|
+
begin
|
34
|
+
require 'ronn'
|
35
|
+
rescue LoadError
|
36
|
+
warn "It seems you don't have 'ronn' installed."
|
37
|
+
else
|
38
|
+
define_tasks
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
private
|
43
|
+
|
44
|
+
def define_tasks
|
45
|
+
desc 'Generate man pages'
|
46
|
+
task :ronn => 'ronn:build' do
|
47
|
+
sh 'man', *man_files
|
48
|
+
end
|
49
|
+
|
50
|
+
namespace :ronn do
|
51
|
+
task :build => man_files
|
52
|
+
end
|
53
|
+
|
54
|
+
rule /\.\d$/ => '%p.ronn' do |task|
|
55
|
+
ronn('--roff', task.source)
|
56
|
+
end
|
57
|
+
|
58
|
+
namespace :prepare do
|
59
|
+
task :release => 'ronn:build'
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
def ronn(format, file)
|
64
|
+
sh "ronn --build #{format} --date #{spec.date.strftime('%Y-%m-%d')} --manual='RubyGems Manual' --organization='#{spec.author}' #{file}"
|
65
|
+
end
|
66
|
+
|
67
|
+
def ronn_files
|
68
|
+
spec.files.grep /^man\/.*\.ronn$/
|
69
|
+
end
|
70
|
+
|
71
|
+
def man_files
|
72
|
+
ronn_files.map { |path| path.sub(/\.ronn$/, '') }
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
end
|
77
|
+
end
|
data/lib/shoe/tasks/test.rb
CHANGED
@@ -61,12 +61,12 @@ module Shoe
|
|
61
61
|
def define
|
62
62
|
desc 'Run tests'
|
63
63
|
task :test do
|
64
|
-
Gem.source_index.extend(
|
64
|
+
Gem.source_index.extend(Extensions::SourceIndex)
|
65
65
|
Gem.source_index.local_gemspec = spec
|
66
66
|
|
67
67
|
Gem::Validator.send(:remove_const, :TestRunner)
|
68
68
|
Gem::Validator.const_set(:TestRunner, LocalTestRunner)
|
69
|
-
Gem::Validator.new.extend(
|
69
|
+
Gem::Validator.new.extend(Extensions::Validator).unit_test(spec)
|
70
70
|
end
|
71
71
|
|
72
72
|
task :prepare
|
@@ -78,30 +78,6 @@ module Shoe
|
|
78
78
|
|
79
79
|
private
|
80
80
|
|
81
|
-
module LocalGemSourceIndex #:nodoc:
|
82
|
-
attr_accessor :local_gemspec
|
83
|
-
|
84
|
-
def find_name(*args)
|
85
|
-
if args.first == local_gemspec.name
|
86
|
-
[local_gemspec]
|
87
|
-
else
|
88
|
-
super
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
92
|
-
|
93
|
-
module LocalGemValidator #:nodoc:
|
94
|
-
def alert_error(*args)
|
95
|
-
# no-op
|
96
|
-
end
|
97
|
-
|
98
|
-
def unit_test(*args)
|
99
|
-
unless super.passed?
|
100
|
-
exit 1
|
101
|
-
end
|
102
|
-
end
|
103
|
-
end
|
104
|
-
|
105
81
|
class LocalTestRunner < ::Test::Unit::UI::Console::TestRunner #:nodoc:
|
106
82
|
def self.run(*args)
|
107
83
|
new(args.first, ::Test::Unit::UI::NORMAL).start
|
data/man/shoe.1
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
.\" generated with Ronn/v0.5
|
2
|
+
.\" http://github.com/rtomayko/ronn/
|
3
|
+
.
|
4
|
+
.TH "SHOE" "1" "April 2010" "Matthew Todd" "RubyGems Manual"
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fBshoe\fR \-\- generate a RubyGems project
|
8
|
+
.
|
9
|
+
.SH "SYNOPSIS"
|
10
|
+
\fBshoe\fR [\-\fBadehtv\fR] [\fIpath\fR]
|
11
|
+
.
|
12
|
+
.SH "DESCRIPTION"
|
13
|
+
The \fBshoe\fR command generates a new RubyGems project. Big deal, right? As
|
14
|
+
compared with other tools, \fBshoe\fR gently guides you toward hygenic packaging
|
15
|
+
standards and provides you with a sweet library of on\-demand \fBrake(1)\fR tasks
|
16
|
+
built around your (authoritative) gemspec.
|
17
|
+
.
|
18
|
+
.SH "OPTIONS"
|
19
|
+
\fBshoe\fR's default mode of operation is to generate a basic library, its \fBRakefile\fR, and some \fBTest::Unit\fR tests in the current directory. (You may pass
|
20
|
+
a different \fIpath\fR on the command line, if you like.)
|
21
|
+
.
|
22
|
+
.P
|
23
|
+
To generate additional files, use the following options:
|
24
|
+
.
|
25
|
+
.TP
|
26
|
+
\fB\-a\fR, \fB\-\-[no\-]application\fR
|
27
|
+
Generate a command\-line application. Create a simple executable script in
|
28
|
+
the \fBbin\fR directory and an \fBApplication\fR class that uses \fBoptparse\fR.
|
29
|
+
.
|
30
|
+
.TP
|
31
|
+
\fB\-d\fR, \fB\-\-[no\-]data\fR
|
32
|
+
Generate a data directory. Create a \fBdata\fR directory (perfect for HTML
|
33
|
+
templates and other static assets) and a \fBdatadir\fR method in your top\-level
|
34
|
+
module to access it.
|
35
|
+
.
|
36
|
+
.TP
|
37
|
+
\fB\-e\fR, \fB\-\-[no\-]extension\fR
|
38
|
+
Generate a C extension. Create an \fBext\fR directory with an \fBextconf.rb\fR and
|
39
|
+
a bare\-bones \fBextension.c\fR defining a module named \fBExtension\fR.
|
40
|
+
.
|
41
|
+
.TP
|
42
|
+
\fB\-t\fR, \fB\-\-[no\-]test\-unit\fR
|
43
|
+
Generate Test::Unit tests. Create a \fBtest\fR directory with a \fBhelper.rb\fR
|
44
|
+
and a single passing test.
|
45
|
+
.
|
46
|
+
.P
|
47
|
+
\fBshoe\fR also responds to the following standard options:
|
48
|
+
.
|
49
|
+
.TP
|
50
|
+
\fB\-h\fR, \fB\-\-help\fR
|
51
|
+
Print a help message and exit.
|
52
|
+
.
|
53
|
+
.TP
|
54
|
+
\fB\-v\fR, \fB\-\-version\fR[=all]
|
55
|
+
Print \fBshoe\fR's version number and exit. If \fB=all\fR is given, also print
|
56
|
+
version numbers of \fBshoe\fR's dependencies. (This is standard \fBoptparse\fR behavior
|
57
|
+
that deserves more attention!)
|
58
|
+
.
|
59
|
+
.SH "AUTHOR"
|
60
|
+
Matthew Todd, \fI@matthewtodd\fR on GitHub and Twitter. Do drop me a line if you
|
61
|
+
use \fBshoe\fR \-\- I'd love to hear from you!
|
62
|
+
.
|
63
|
+
.SH "SEE ALSO"
|
64
|
+
\fIhttp://seattlerb.rubyforge.org/hoe/\fR, \fIhttp://github.com/technicalpickles/jeweler\fR, \fIhttp://github.com/sr/mg\fR, \fIhttp://defunkt.github.com/rip/\fR, \fIhttp://gembundler.com/\fR, \fIhttp://github.com/rtomayko/rpg\fR, \fIhttp://chneukirchen.github.com/rps/\fR
|
data/man/shoe.1.ronn
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
shoe(1) -- generate a RubyGems project
|
2
|
+
======================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
|
6
|
+
`shoe` [-`adehtv`] [_path_]
|
7
|
+
|
8
|
+
## DESCRIPTION
|
9
|
+
|
10
|
+
The `shoe` command generates a new RubyGems project. Big deal, right? As
|
11
|
+
compared with other tools, `shoe` gently guides you toward hygenic packaging
|
12
|
+
standards and provides you with a sweet library of on-demand `rake(1)` tasks
|
13
|
+
built around your (authoritative) gemspec.
|
14
|
+
|
15
|
+
## OPTIONS
|
16
|
+
|
17
|
+
`shoe`'s default mode of operation is to generate a basic library, its
|
18
|
+
`Rakefile`, and some `Test::Unit` tests in the current directory. (You may pass
|
19
|
+
a different _path_ on the command line, if you like.)
|
20
|
+
|
21
|
+
To generate additional files, use the following options:
|
22
|
+
|
23
|
+
* `-a`, `--[no-]application`:
|
24
|
+
Generate a command-line application. Create a simple executable script in
|
25
|
+
the `bin` directory and an `Application` class that uses `optparse`.
|
26
|
+
|
27
|
+
* `-d`, `--[no-]data`:
|
28
|
+
Generate a data directory. Create a `data` directory (perfect for HTML
|
29
|
+
templates and other static assets) and a `datadir` method in your top-level
|
30
|
+
module to access it.
|
31
|
+
|
32
|
+
* `-e`, `--[no-]extension`:
|
33
|
+
Generate a C extension. Create an `ext` directory with an `extconf.rb` and
|
34
|
+
a bare-bones `extension.c` defining a module named `Extension`.
|
35
|
+
|
36
|
+
* `-t`, `--[no-]test-unit`:
|
37
|
+
Generate Test::Unit tests. Create a `test` directory with a `helper.rb`
|
38
|
+
and a single passing test.
|
39
|
+
|
40
|
+
`shoe` also responds to the following standard options:
|
41
|
+
|
42
|
+
* `-h`, `--help`:
|
43
|
+
Print a help message and exit.
|
44
|
+
|
45
|
+
* `-v`, `--version`[=all]:
|
46
|
+
Print `shoe`'s version number and exit. If `=all` is given, also print
|
47
|
+
version numbers of `shoe`'s dependencies. (This is standard `optparse` behavior
|
48
|
+
that deserves more attention!)
|
49
|
+
|
50
|
+
## AUTHOR
|
51
|
+
|
52
|
+
Matthew Todd, <@matthewtodd> on GitHub and Twitter. Do drop me a line if you
|
53
|
+
use `shoe` -- I'd love to hear from you!
|
54
|
+
|
55
|
+
## SEE ALSO
|
56
|
+
|
57
|
+
<http://seattlerb.rubyforge.org/hoe/>,
|
58
|
+
<http://github.com/technicalpickles/jeweler>,
|
59
|
+
<http://github.com/sr/mg>,
|
60
|
+
<http://defunkt.github.com/rip/>,
|
61
|
+
<http://gembundler.com/>,
|
62
|
+
<http://github.com/rtomayko/rpg>,
|
63
|
+
<http://chneukirchen.github.com/rps/>
|
data/shoe.gemspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
$:.unshift File.expand_path('../lib', __FILE__)
|
2
|
-
require 'shoe
|
2
|
+
require 'shoe'
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = 'shoe'
|
@@ -21,7 +21,9 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.requirements = ['git']
|
22
22
|
spec.required_rubygems_version = '>= 1.3.6'
|
23
23
|
spec.add_runtime_dependency 'rake'
|
24
|
+
spec.add_runtime_dependency 'launchy'
|
24
25
|
spec.add_development_dependency 'cucumber'
|
26
|
+
spec.add_development_dependency 'ronn'
|
25
27
|
|
26
28
|
def spec.git_files(glob=nil)
|
27
29
|
`git ls-files -z --cached --other --exclude-standard #{glob}`.split("\0")
|
@@ -37,5 +39,6 @@ Gem::Specification.new do |spec|
|
|
37
39
|
--main README.rdoc
|
38
40
|
--title #{spec.full_name}
|
39
41
|
--inline-source
|
42
|
+
--webcvs http://github.com/matthewtodd/shoe/blob/v#{spec.version}/
|
40
43
|
)
|
41
44
|
end
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
7
|
+
- 6
|
8
|
+
- 0
|
9
|
+
version: 0.6.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Matthew Todd
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-20 00:00:00 +03:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
type: :runtime
|
31
31
|
version_requirements: *id001
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
|
-
name:
|
33
|
+
name: launchy
|
34
34
|
prerelease: false
|
35
35
|
requirement: &id002 !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
@@ -39,8 +39,32 @@ dependencies:
|
|
39
39
|
segments:
|
40
40
|
- 0
|
41
41
|
version: "0"
|
42
|
-
type: :
|
42
|
+
type: :runtime
|
43
43
|
version_requirements: *id002
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: cucumber
|
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: :development
|
55
|
+
version_requirements: *id003
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: ronn
|
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: :development
|
67
|
+
version_requirements: *id004
|
44
68
|
description: |
|
45
69
|
An ecosystem-friendly library of Rake tasks for your gem.
|
46
70
|
|
@@ -54,12 +78,13 @@ executables:
|
|
54
78
|
extensions: []
|
55
79
|
|
56
80
|
extra_rdoc_files:
|
81
|
+
- BUNDLER.rdoc
|
57
82
|
- CHANGELOG.rdoc
|
58
83
|
- README.rdoc
|
59
84
|
- TODO.rdoc
|
60
|
-
- doc/bundler.rdoc
|
61
85
|
files:
|
62
86
|
- .gitignore
|
87
|
+
- BUNDLER.rdoc
|
63
88
|
- CHANGELOG.rdoc
|
64
89
|
- Gemfile
|
65
90
|
- Gemfile.lock
|
@@ -68,14 +93,33 @@ files:
|
|
68
93
|
- TODO.rdoc
|
69
94
|
- bin/shoe
|
70
95
|
- cucumber.yml
|
71
|
-
-
|
96
|
+
- data/shoe/templates/application.erb
|
97
|
+
- data/shoe/templates/executable.erb
|
98
|
+
- data/shoe/templates/extconf.erb
|
99
|
+
- data/shoe/templates/extension.erb
|
100
|
+
- data/shoe/templates/gemspec.erb
|
101
|
+
- data/shoe/templates/gitignore.erb
|
102
|
+
- data/shoe/templates/gitkeep.erb
|
103
|
+
- data/shoe/templates/manpage.erb
|
104
|
+
- data/shoe/templates/module.erb
|
105
|
+
- data/shoe/templates/module_test.rb
|
106
|
+
- data/shoe/templates/rakefile.erb
|
107
|
+
- data/shoe/templates/readme.erb
|
108
|
+
- data/shoe/templates/test_helper.erb
|
72
109
|
- features/cucumber.feature
|
73
|
-
- features/
|
110
|
+
- features/generator.feature
|
74
111
|
- features/release.feature
|
75
112
|
- features/step_definitions/shoe_steps.rb
|
76
113
|
- features/support/env.rb
|
77
114
|
- features/test.feature
|
78
115
|
- lib/shoe.rb
|
116
|
+
- lib/shoe/extensions.rb
|
117
|
+
- lib/shoe/extensions/doc_manager.rb
|
118
|
+
- lib/shoe/extensions/option_parser.rb
|
119
|
+
- lib/shoe/extensions/pathname.rb
|
120
|
+
- lib/shoe/extensions/source_index.rb
|
121
|
+
- lib/shoe/extensions/specification.rb
|
122
|
+
- lib/shoe/extensions/validator.rb
|
79
123
|
- lib/shoe/generator.rb
|
80
124
|
- lib/shoe/tasks.rb
|
81
125
|
- lib/shoe/tasks/abstract.rb
|
@@ -84,12 +128,10 @@ files:
|
|
84
128
|
- lib/shoe/tasks/cucumber.rb
|
85
129
|
- lib/shoe/tasks/rdoc.rb
|
86
130
|
- lib/shoe/tasks/release.rb
|
131
|
+
- lib/shoe/tasks/ronn.rb
|
87
132
|
- lib/shoe/tasks/test.rb
|
88
|
-
-
|
89
|
-
-
|
90
|
-
- lib/shoe/templates/readme.erb
|
91
|
-
- lib/shoe/templates/version.erb
|
92
|
-
- lib/shoe/version.rb
|
133
|
+
- man/shoe.1
|
134
|
+
- man/shoe.1.ronn
|
93
135
|
- shoe.gemspec
|
94
136
|
has_rdoc: true
|
95
137
|
homepage: http://github.com/matthewtodd/shoe
|
@@ -100,8 +142,10 @@ rdoc_options:
|
|
100
142
|
- --main
|
101
143
|
- README.rdoc
|
102
144
|
- --title
|
103
|
-
- shoe-0.
|
145
|
+
- shoe-0.6.0
|
104
146
|
- --inline-source
|
147
|
+
- --webcvs
|
148
|
+
- http://github.com/matthewtodd/shoe/blob/v0.6.0/
|
105
149
|
require_paths:
|
106
150
|
- lib
|
107
151
|
required_ruby_version: !ruby/object:Gem::Requirement
|