doc/Tutorial in bahuvrihi-tap-0.10.8 vs doc/Tutorial in bahuvrihi-tap-0.11.0
- old
+ new
@@ -84,12 +84,10 @@
puts "#{task.message} #{args.obj}\n"
end
Here is a corresponding class:
- [Tapfile]
-
# Goodnight::manifest your basic goodnight moon task
# Says goodnight with a configurable message.
class Goodnight < Tap::Task
config :message, 'goodnight'
@@ -257,21 +255,21 @@
% rap test
Run the task:
- % tap run -- goodnight moon
+ % rap goodnight moon
I[23:22:19] goodnight moon
Ok, lets share it. Print the current gemspec manifest:
% rap print_manifest
true README
Rakefile
lib/goodnight.rb
sample.gemspec
- tap.yml
+ true tap.yml
test/goodnight_test.rb
true test/tap_test_helper.rb
true test/tap_test_suite.rb
As you can see, this needs an update to include the task file. Open up sample.gemspec and fix the manifest.
@@ -282,10 +280,10 @@
s.name = "sample"
s.version = "0.0.1"
s.platform = Gem::Platform::RUBY
s.summary = "sample"
s.require_path = "lib"
- s.add_dependency("tap", "~> 0.10.8")
+ s.add_dependency("tap", ">= 0.11")
s.files = %W{
lib/goodnight.rb
tap.yml
}
end
\ No newline at end of file