quickl 0.4.1 → 0.4.2

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.
@@ -1,3 +1,11 @@
1
+ # 0.4.2 / 2011-12-09
2
+
3
+ * Fix a bug when reacting to errors that do no define react!
4
+
5
+ * On the development side
6
+
7
+ * Bumped ruby.noe to 1.6.0
8
+
1
9
  # 0.4.1 / 2011-08-31
2
10
 
3
11
  * Regenerated gem using Ruby 1.8.7, to avoid Rubygems/Syck/Ruby issues (see
data/Gemfile CHANGED
@@ -2,17 +2,16 @@ source 'http://rubygems.org'
2
2
 
3
3
  group :test do
4
4
  gem "rake", "~> 0.9.2"
5
- gem "rspec", "~> 2.6.0"
5
+ gem "rspec", "~> 2.7.0"
6
6
  end
7
7
 
8
8
  group :release do
9
9
  gem "rake", "~> 0.9.2"
10
- gem "rspec", "~> 2.6.0"
10
+ gem "rspec", "~> 2.7.0"
11
11
  gem "wlang", "~> 0.10.2"
12
12
  end
13
13
 
14
14
  group :doc do
15
15
  gem "yard", "~> 0.7.2"
16
- gem "bluecloth", "~> 2.1.0"
16
+ gem "bluecloth", "~> 2.2.0"
17
17
  end
18
-
@@ -1,27 +1,27 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- bluecloth (2.1.0)
5
- diff-lcs (1.1.2)
6
- rake (0.9.2)
7
- rspec (2.6.0)
8
- rspec-core (~> 2.6.0)
9
- rspec-expectations (~> 2.6.0)
10
- rspec-mocks (~> 2.6.0)
11
- rspec-core (2.6.4)
12
- rspec-expectations (2.6.0)
4
+ bluecloth (2.2.0)
5
+ diff-lcs (1.1.3)
6
+ rake (0.9.2.2)
7
+ rspec (2.7.0)
8
+ rspec-core (~> 2.7.0)
9
+ rspec-expectations (~> 2.7.0)
10
+ rspec-mocks (~> 2.7.0)
11
+ rspec-core (2.7.1)
12
+ rspec-expectations (2.7.0)
13
13
  diff-lcs (~> 1.1.2)
14
- rspec-mocks (2.6.0)
14
+ rspec-mocks (2.7.0)
15
15
  wlang (0.10.2)
16
- yard (0.7.2)
16
+ yard (0.7.4)
17
17
 
18
18
  PLATFORMS
19
19
  java
20
20
  ruby
21
21
 
22
22
  DEPENDENCIES
23
- bluecloth (~> 2.1.0)
23
+ bluecloth (~> 2.2.0)
24
24
  rake (~> 0.9.2)
25
- rspec (~> 2.6.0)
25
+ rspec (~> 2.7.0)
26
26
  wlang (~> 0.10.2)
27
27
  yard (~> 0.7.2)
data/Rakefile CHANGED
@@ -19,5 +19,5 @@ task :default => :test
19
19
  # See .rake files there for complete documentation.
20
20
  #
21
21
  Dir["tasks/*.rake"].each do |taskfile|
22
- instance_eval File.read(taskfile), taskfile
22
+ load taskfile
23
23
  end
@@ -100,7 +100,7 @@ module Quickl
100
100
 
101
101
  # Handles a command error
102
102
  def handle_error(ex, cmd = self)
103
- if react_to?(ex)
103
+ if react_to?(ex) && ex.respond_to?(:react!)
104
104
  begin
105
105
  ex.command = cmd
106
106
  ex.react!
@@ -0,0 +1 @@
1
+
@@ -1,14 +1,14 @@
1
1
  module Quickl
2
2
  module Version
3
-
3
+
4
4
  MAJOR = 0
5
5
  MINOR = 4
6
- TINY = 1
7
-
6
+ TINY = 2
7
+
8
8
  def self.to_s
9
9
  [ MAJOR, MINOR, TINY ].join('.')
10
10
  end
11
-
12
- end
11
+
12
+ end
13
13
  VERSION = Version.to_s
14
14
  end
@@ -1,4 +1,4 @@
1
- # We require your library, mainly to have access to the VERSION number.
1
+ # We require your library, mainly to have access to the VERSION number.
2
2
  # Feel free to set $version manually.
3
3
  $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
4
4
  require "quickl/version"
@@ -9,15 +9,15 @@ $version = Quickl::Version.to_s
9
9
  # should be correctly packaged given what you have described in the .noespec file.
10
10
  #
11
11
  Gem::Specification.new do |s|
12
-
12
+
13
13
  ################################################################### ABOUT YOUR GEM
14
-
15
- # Gem name (required)
14
+
15
+ # Gem name (required)
16
16
  s.name = "quickl"
17
-
17
+
18
18
  # Gem version (required)
19
19
  s.version = $version
20
-
20
+
21
21
  # A short summary of this gem
22
22
  #
23
23
  # This is displayed in `gem list -d`.
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
28
28
  # The description should be more detailed than the summary. For example,
29
29
  # you might wish to copy the entire README into the description.
30
30
  s.description = "Quickl helps you creating commandline ruby programs. From simple commands \nwith options to complex delegators with subcommands, global and local \noptions."
31
-
31
+
32
32
  # The URL of this gem home page (optional)
33
33
  s.homepage = "http://github.com/blambeau/quickl"
34
34
 
@@ -38,7 +38,7 @@ Gem::Specification.new do |s|
38
38
  # you know what you do!
39
39
  #
40
40
  # s.date = Time.now.strftime('%Y-%m-%d')
41
-
41
+
42
42
  # The license(s) for the library. Each license must be a short name, no
43
43
  # more than 64 characters.
44
44
  #
@@ -49,35 +49,35 @@ Gem::Specification.new do |s|
49
49
  # s.rubyforge_project = nil
50
50
 
51
51
  ################################################################### ABOUT THE AUTHORS
52
-
52
+
53
53
  # The list of author names who wrote this gem.
54
54
  #
55
55
  # If you are providing multiple authors and multiple emails they should be
56
56
  # in the same order.
57
- #
57
+ #
58
58
  s.authors = ["Bernard Lambeau"]
59
-
59
+
60
60
  # Contact emails for this gem
61
61
  #
62
62
  # If you are providing multiple authors and multiple emails they should be
63
63
  # in the same order.
64
64
  #
65
- # NOTE: Somewhat strangly this attribute is always singular!
65
+ # NOTE: Somewhat strangly this attribute is always singular!
66
66
  # Don't replace by s.emails = ...
67
67
  s.email = ["blambeau@gmail.com"]
68
68
 
69
69
  ################################################################### PATHS, FILES, BINARIES
70
-
71
- # Paths in the gem to add to $LOAD_PATH when this gem is
70
+
71
+ # Paths in the gem to add to $LOAD_PATH when this gem is
72
72
  # activated (required).
73
73
  #
74
74
  # The default 'lib' is typically sufficient.
75
75
  s.require_paths = ["lib"]
76
-
76
+
77
77
  # Files included in this gem.
78
78
  #
79
79
  # By default, we take all files included in the Manifest.txt file on root
80
- # of the project. Entries of the manifest are interpreted as Dir[...]
80
+ # of the project. Entries of the manifest are interpreted as Dir[...]
81
81
  # patterns so that lazy people may use wilcards like lib/**/*
82
82
  #
83
83
  here = File.expand_path(File.dirname(__FILE__))
@@ -107,7 +107,7 @@ Gem::Specification.new do |s|
107
107
  # <= Less than or equal to
108
108
  # ~> Approximately greater than
109
109
  #
110
- # Don't forget to have a look at http://lmgtfy.com/?q=Ruby+Versioning+Policies
110
+ # Don't forget to have a look at http://lmgtfy.com/?q=Ruby+Versioning+Policies
111
111
  # for setting your gem version.
112
112
  #
113
113
  # For your requirements to other gems, remember that
@@ -119,14 +119,14 @@ Gem::Specification.new do |s|
119
119
 
120
120
  #
121
121
  # One call to add_dependency('gem_name', 'gem version requirement') for each
122
- # runtime dependency. These gems will be installed with your gem.
122
+ # runtime dependency. These gems will be installed with your gem.
123
123
  # One call to add_development_dependency('gem_name', 'gem version requirement')
124
124
  # for each development dependency. These gems are required for developers
125
125
  #
126
126
  s.add_development_dependency("rake", "~> 0.9.2")
127
- s.add_development_dependency("rspec", "~> 2.6.0")
127
+ s.add_development_dependency("rspec", "~> 2.7.0")
128
128
  s.add_development_dependency("yard", "~> 0.7.2")
129
- s.add_development_dependency("bluecloth", "~> 2.1.0")
129
+ s.add_development_dependency("bluecloth", "~> 2.2.0")
130
130
  s.add_development_dependency("wlang", "~> 0.10.2")
131
131
 
132
132
 
@@ -144,18 +144,18 @@ Gem::Specification.new do |s|
144
144
  #
145
145
  # s.platform = nil
146
146
 
147
- # Extensions to build when installing the gem.
147
+ # Extensions to build when installing the gem.
148
148
  #
149
- # Valid types of extensions are extconf.rb files, configure scripts
149
+ # Valid types of extensions are extconf.rb files, configure scripts
150
150
  # and rakefiles or mkrf_conf files.
151
151
  #
152
152
  s.extensions = []
153
-
154
- # External (to RubyGems) requirements that must be met for this gem to work.
153
+
154
+ # External (to RubyGems) requirements that must be met for this gem to work.
155
155
  # It’s simply information for the user.
156
156
  #
157
157
  s.requirements = nil
158
-
158
+
159
159
  # A message that gets displayed after the gem is installed
160
160
  #
161
161
  # Uncomment and set this if you want to say something to the user
@@ -173,7 +173,7 @@ Gem::Specification.new do |s|
173
173
  # details.
174
174
  #
175
175
  # s.cert_chain = []
176
-
176
+
177
177
  ################################################################### RDOC
178
178
 
179
179
  # An ARGV style array of options to RDoc
@@ -2,14 +2,14 @@
2
2
  # Run 'noe show-spec' and 'noe help show-spec' for additional details.
3
3
  template-info:
4
4
  name: "ruby"
5
- version: 1.4.0
5
+ version: 1.5.1
6
6
  variables:
7
7
  lower:
8
8
  quickl
9
9
  upper:
10
10
  Quickl
11
11
  version:
12
- 0.4.1
12
+ 0.4.2
13
13
  summary: |-
14
14
  Helper to create commandline ruby programs
15
15
  description: |-
@@ -22,9 +22,9 @@ variables:
22
22
  - http://github.com/blambeau/quickl
23
23
  dependencies:
24
24
  - {name: rake, version: "~> 0.9.2", groups: [test, release]}
25
- - {name: rspec, version: "~> 2.6.0", groups: [test, release]}
25
+ - {name: rspec, version: "~> 2.7.0", groups: [test, release]}
26
26
  - {name: yard, version: "~> 0.7.2", groups: [doc ]}
27
- - {name: bluecloth, version: "~> 2.1.0", groups: [doc ]}
27
+ - {name: bluecloth, version: "~> 2.2.0", groups: [doc ]}
28
28
  - {name: wlang, version: "~> 0.10.2", groups: [release ]}
29
29
  rake_tasks:
30
30
  unit_test:
@@ -1,8 +1,8 @@
1
1
  # Installs a rake task for debuging the announcement mail.
2
2
  #
3
3
  # This file installs the 'rake debug_mail' that flushes an announcement mail
4
- # for your library on the standard output. It is automatically generated
5
- # by Noe from your .noespec file, and should therefore be configured there,
4
+ # for your library on the standard output. It is automatically generated
5
+ # by Noe from your .noespec file, and should therefore be configured there,
6
6
  # under the variables/rake_tasks/debug_mail entry, as illustrated below:
7
7
  #
8
8
  # variables:
@@ -12,9 +12,9 @@
12
12
  # nb_changelog_sections: 1
13
13
  # ...
14
14
  #
15
- # If you have specific needs requiring manual intervention on this file,
15
+ # If you have specific needs requiring manual intervention on this file,
16
16
  # don't forget to set safe-override to false in your noe specification:
17
- #
17
+ #
18
18
  # template-info:
19
19
  # manifest:
20
20
  # tasks/debug_mail.rake:
@@ -22,8 +22,8 @@
22
22
  #
23
23
  # The mail template used can be found in debug_mail.txt. That file may be
24
24
  # changed to tune the mail you want to send. If you do so, don't forget to
25
- # add a manifest entry in your .noespec file to avoid overriding you
26
- # changes. The mail template uses wlang, with parentheses for block
25
+ # add a manifest entry in your .noespec file to avoid overriding you
26
+ # changes. The mail template uses wlang, with parentheses for block
27
27
  # delimiters.
28
28
  #
29
29
  # template-info:
@@ -31,48 +31,45 @@
31
31
  # tasks/debug_mail.txt:
32
32
  # safe-override: false
33
33
  #
34
- begin
35
- require 'wlang'
34
+ desc "Debug the release announcement mail"
35
+ task :debug_mail do
36
+ begin
37
+ require 'wlang'
38
+ rescue LoadError
39
+ abort "wlang is not available. Try 'gem install wlang'"
40
+ end
36
41
  require 'yaml'
37
-
38
- desc "Debug the release announcement mail"
39
- task :debug_mail do
40
- # Check that a .noespec file exists
41
- noespec_file = File.expand_path('../../quickl.noespec', __FILE__)
42
- unless File.exists?(noespec_file)
43
- raise "Unable to find .noespec project file, sorry."
44
- end
45
-
46
- # Load it as well as variables and options
47
- noespec = YAML::load(File.read(noespec_file))
48
- vars = noespec['variables'] || {}
49
-
50
- # Changes are taken from CHANGELOG
51
- logs = Dir[File.expand_path("../../CHANGELOG.*", __FILE__)]
52
- unless logs.size == 1
53
- abort "Unable to find a changelog file"
54
- end
55
42
 
56
- # Load interesting changesets
57
- changes, end_found = [], 0
58
- File.readlines(logs.first).select{|line|
59
- if line =~ /^# /
60
- break if end_found >= 1
61
- end_found += 1
62
- end
63
- changes << line
64
- }
65
- vars['changes'] = changes.join
66
-
67
- # WLang template
68
- template = File.expand_path('../debug_mail.txt', __FILE__)
69
-
70
- # Let's go!
71
- $stdout << WLang::file_instantiate(template, vars, "wlang/active-text")
43
+ # Check that a .noespec file exists
44
+ noespec_file = File.expand_path('../../quickl.noespec', __FILE__)
45
+ unless File.exists?(noespec_file)
46
+ raise "Unable to find .noespec project file, sorry."
72
47
  end
73
48
 
74
- rescue LoadError
75
- task :debug_mail do
76
- abort "wlang is not available. Try 'gem install wlang'"
49
+ # Load it as well as variables and options
50
+ noespec = YAML::load(File.read(noespec_file))
51
+ vars = noespec['variables'] || {}
52
+
53
+ # Changes are taken from CHANGELOG
54
+ logs = Dir[File.expand_path("../../CHANGELOG.*", __FILE__)]
55
+ unless logs.size == 1
56
+ abort "Unable to find a changelog file"
77
57
  end
58
+
59
+ # Load interesting changesets
60
+ changes, end_found = [], 0
61
+ File.readlines(logs.first).select{|line|
62
+ if line =~ /^# /
63
+ break if end_found >= 1
64
+ end_found += 1
65
+ end
66
+ changes << line
67
+ }
68
+ vars['changes'] = changes.join
69
+
70
+ # WLang template
71
+ template = File.expand_path('../debug_mail.txt', __FILE__)
72
+
73
+ # Let's go!
74
+ $stdout << WLang::file_instantiate(template, vars, "wlang/active-text")
78
75
  end
@@ -1,8 +1,8 @@
1
1
  # Installs rake tasks for gemming and packaging
2
2
  #
3
- # This file installs the 'rake package', 'rake gem' tasks and associates
4
- # (clobber_package, repackage, ...). It is automatically generated by Noe
5
- # from your .noespec file, and should therefore be configured there, under
3
+ # This file installs the 'rake package', 'rake gem' tasks and associates
4
+ # (clobber_package, repackage, ...). It is automatically generated by Noe
5
+ # from your .noespec file, and should therefore be configured there, under
6
6
  # the variables/rake_tasks/gem entry, as illustrated below:
7
7
  #
8
8
  # variables:
@@ -15,9 +15,9 @@
15
15
  # need_zip: false
16
16
  # ...
17
17
  #
18
- # If you have specific needs requiring manual intervention on this file,
18
+ # If you have specific needs requiring manual intervention on this file,
19
19
  # don't forget to set safe-override to false in your noe specification:
20
- #
20
+ #
21
21
  # template-info:
22
22
  # manifest:
23
23
  # tasks/gem.rake:
@@ -32,28 +32,28 @@ begin
32
32
 
33
33
  # Version of the package
34
34
  t.version = $gemspec.version
35
-
35
+
36
36
  # Directory used to store the package files
37
37
  t.package_dir = "pkg"
38
-
38
+
39
39
  # True if a gzipped tar file (tgz) should be produced
40
40
  t.need_tar = false
41
-
41
+
42
42
  # True if a gzipped tar file (tar.gz) should be produced
43
43
  t.need_tar_gz = false
44
-
44
+
45
45
  # True if a bzip2'd tar file (tar.bz2) should be produced
46
46
  t.need_tar_bz2 = false
47
-
47
+
48
48
  # True if a zip file should be produced (default is false)
49
49
  t.need_zip = false
50
-
50
+
51
51
  # List of files to be included in the package.
52
52
  t.package_files = $gemspec.files
53
-
53
+
54
54
  # Tar command for gzipped or bzip2ed archives.
55
55
  t.tar_command = "tar"
56
-
56
+
57
57
  # Zip command for zipped archives.
58
58
  t.zip_command = "zip"
59
59
 
@@ -1,8 +1,8 @@
1
1
  # Installs a rake task for for running examples written using rspec.
2
2
  #
3
3
  # This file installs the 'rake spec_test' (aliased as 'rake spec') as well as
4
- # extends 'rake test' to run spec tests, if any. It is automatically generated
5
- # by Noe from your .noespec file, and should therefore be configured there,
4
+ # extends 'rake test' to run spec tests, if any. It is automatically generated
5
+ # by Noe from your .noespec file, and should therefore be configured there,
6
6
  # under the variables/rake_tasks/spec_test entry, as illustrated below:
7
7
  #
8
8
  # variables:
@@ -13,16 +13,16 @@
13
13
  # rspec_opts: [--color, --backtrace]
14
14
  # ...
15
15
  #
16
- # If you have specific needs requiring manual intervention on this file,
16
+ # If you have specific needs requiring manual intervention on this file,
17
17
  # don't forget to set safe-override to false in your noe specification:
18
- #
18
+ #
19
19
  # template-info:
20
20
  # manifest:
21
21
  # tasks/spec_test.rake:
22
22
  # safe-override: false
23
23
  #
24
- # This file has been written to conform to RSpec v2.4.0. More information about
25
- # rspec and options of the rake task defined below can be found on
24
+ # This file has been written to conform to RSpec v2.4.0. More information about
25
+ # rspec and options of the rake task defined below can be found on
26
26
  # http://relishapp.com/rspec
27
27
  #
28
28
  begin
@@ -32,15 +32,7 @@ begin
32
32
  # Glob pattern to match files.
33
33
  t.pattern = "spec/**/test_*.rb"
34
34
 
35
- # By default, if there is a Gemfile, the generated command will include
36
- # 'bundle exec'. Set this to true to ignore the presence of a Gemfile,
37
- # and not add 'bundle exec' to the command.
38
- t.skip_bundler = false
39
-
40
- # Name of Gemfile to use
41
- t.gemfile = "Gemfile"
42
-
43
- # Whether or not to fail Rake when an error occurs (typically when
35
+ # Whether or not to fail Rake when an error occurs (typically when
44
36
  # examples fail).
45
37
  t.fail_on_error = true
46
38
 
@@ -60,7 +52,7 @@ begin
60
52
  # Command line options to pass to rcov. See 'rcov --help' about this
61
53
  t.rcov_opts = []
62
54
 
63
- # Command line options to pass to ruby. See 'ruby --help' about this
55
+ # Command line options to pass to ruby. See 'ruby --help' about this
64
56
  t.ruby_opts = []
65
57
 
66
58
  # Path to rspec
@@ -1,8 +1,8 @@
1
1
  # Installs a rake task for for running unit tests.
2
2
  #
3
- # This file installs the 'rake unit_test' and extends 'rake test' to run unit
4
- # tests, if any. It is automatically generated by Noe from your .noespec file,
5
- # and should therefore be configured there, under the variables/rake_tasks/unit_test
3
+ # This file installs the 'rake unit_test' and extends 'rake test' to run unit
4
+ # tests, if any. It is automatically generated by Noe from your .noespec file,
5
+ # and should therefore be configured there, under the variables/rake_tasks/unit_test
6
6
  # entry, as illustrated below:
7
7
  #
8
8
  # variables:
@@ -13,15 +13,15 @@
13
13
  # warning: false
14
14
  # ...
15
15
  #
16
- # If you have specific needs requiring manual intervention on this file,
16
+ # If you have specific needs requiring manual intervention on this file,
17
17
  # don't forget to set safe-override to false in your noe specification:
18
- #
18
+ #
19
19
  # template-info:
20
20
  # manifest:
21
21
  # tasks/unit_test.rake:
22
22
  # safe-override: false
23
23
  #
24
- # More info about the TestTask and its options can be found on
24
+ # More info about the TestTask and its options can be found on
25
25
  # http://rake.rubyforge.org/classes/Rake/TestTask.html
26
26
  #
27
27
  begin
@@ -36,7 +36,7 @@ begin
36
36
  # True if verbose test output desired. (default is false)
37
37
  t.verbose = false
38
38
 
39
- # Test options passed to the test suite. An explicit TESTOPTS=opts
39
+ # Test options passed to the test suite. An explicit TESTOPTS=opts
40
40
  # on the command line will override this. (default is NONE)
41
41
  t.options = nil
42
42
 
@@ -52,10 +52,10 @@ begin
52
52
  # * :rake -- Rake provided test loading script (default).
53
53
  # * :testrb -- Ruby provided test loading script.
54
54
  # * :direct -- Load tests using command line loader.
55
- #
55
+ #
56
56
  t.loader = :rake
57
57
 
58
- # Array of commandline options to pass to ruby when running test
58
+ # Array of commandline options to pass to ruby when running test
59
59
  # loader.
60
60
  t.ruby_opts = []
61
61
 
@@ -74,4 +74,3 @@ ensure
74
74
  desc "Run all tests"
75
75
  task :test => [:unit_test]
76
76
  end
77
-
@@ -1,7 +1,7 @@
1
1
  # Installs a rake task to generate API documentation using yard.
2
2
  #
3
- # This file installs the 'rake yard' task. It is automatically generated by Noe from
4
- # your .noespec file, and should therefore be configured there, under the
3
+ # This file installs the 'rake yard' task. It is automatically generated by Noe from
4
+ # your .noespec file, and should therefore be configured there, under the
5
5
  # variables/rake_tasks/yard entry, as illustrated below:
6
6
  #
7
7
  # variables:
@@ -11,15 +11,15 @@
11
11
  # options: []
12
12
  # ...
13
13
  #
14
- # If you have specific needs requiring manual intervention on this file,
14
+ # If you have specific needs requiring manual intervention on this file,
15
15
  # don't forget to set safe-override to false in your noe specification:
16
- #
16
+ #
17
17
  # template-info:
18
18
  # manifest:
19
19
  # tasks/yard.rake:
20
20
  # safe-override: false
21
21
  #
22
- # This file has been written to conform to yard v0.6.4. More information about
22
+ # This file has been written to conform to yard v0.6.4. More information about
23
23
  # yard and the rake task installed below can be found on http://yardoc.org/
24
24
  #
25
25
  begin
@@ -28,20 +28,20 @@ begin
28
28
  YARD::Rake::YardocTask.new(:yard) do |t|
29
29
  # Array of options passed to yardoc commandline. See 'yardoc --help' about this
30
30
  t.options = ["--output-dir", "doc/api", "-", "README.md", "CHANGELOG.md", "LICENCE.md"]
31
-
32
- # Array of ruby source files (and any extra documentation files
31
+
32
+ # Array of ruby source files (and any extra documentation files
33
33
  # separated by '-')
34
34
  t.files = ["lib/**/*.rb"]
35
-
35
+
36
36
  # A proc to call before running the task
37
37
  # t.before = proc{ }
38
-
38
+
39
39
  # A proc to call after running the task
40
40
  # r.after = proc{ }
41
-
42
- # An optional lambda to run against all objects being generated.
43
- # Any object that the lambda returns false for will be excluded
44
- # from documentation.
41
+
42
+ # An optional lambda to run against all objects being generated.
43
+ # Any object that the lambda returns false for will be excluded
44
+ # from documentation.
45
45
  # t.verifier = lambda{|obj| true}
46
46
  end
47
47
  rescue LoadError
metadata CHANGED
@@ -1,117 +1,83 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: quickl
3
- version: !ruby/object:Gem::Version
4
- hash: 13
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.2
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 4
9
- - 1
10
- version: 0.4.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Bernard Lambeau
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-08-31 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- requirement: &id001 !ruby/object:Gem::Requirement
12
+ date: 2011-12-09 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rake
16
+ requirement: &74772270 !ruby/object:Gem::Requirement
22
17
  none: false
23
- requirements:
18
+ requirements:
24
19
  - - ~>
25
- - !ruby/object:Gem::Version
26
- hash: 63
27
- segments:
28
- - 0
29
- - 9
30
- - 2
20
+ - !ruby/object:Gem::Version
31
21
  version: 0.9.2
32
- version_requirements: *id001
33
- name: rake
34
- prerelease: false
35
22
  type: :development
36
- - !ruby/object:Gem::Dependency
37
- requirement: &id002 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ version_requirements: *74772270
25
+ - !ruby/object:Gem::Dependency
26
+ name: rspec
27
+ requirement: &74771930 !ruby/object:Gem::Requirement
38
28
  none: false
39
- requirements:
29
+ requirements:
40
30
  - - ~>
41
- - !ruby/object:Gem::Version
42
- hash: 23
43
- segments:
44
- - 2
45
- - 6
46
- - 0
47
- version: 2.6.0
48
- version_requirements: *id002
49
- name: rspec
50
- prerelease: false
31
+ - !ruby/object:Gem::Version
32
+ version: 2.7.0
51
33
  type: :development
52
- - !ruby/object:Gem::Dependency
53
- requirement: &id003 !ruby/object:Gem::Requirement
34
+ prerelease: false
35
+ version_requirements: *74771930
36
+ - !ruby/object:Gem::Dependency
37
+ name: yard
38
+ requirement: &74771580 !ruby/object:Gem::Requirement
54
39
  none: false
55
- requirements:
40
+ requirements:
56
41
  - - ~>
57
- - !ruby/object:Gem::Version
58
- hash: 7
59
- segments:
60
- - 0
61
- - 7
62
- - 2
42
+ - !ruby/object:Gem::Version
63
43
  version: 0.7.2
64
- version_requirements: *id003
65
- name: yard
66
- prerelease: false
67
44
  type: :development
68
- - !ruby/object:Gem::Dependency
69
- requirement: &id004 !ruby/object:Gem::Requirement
45
+ prerelease: false
46
+ version_requirements: *74771580
47
+ - !ruby/object:Gem::Dependency
48
+ name: bluecloth
49
+ requirement: &74771100 !ruby/object:Gem::Requirement
70
50
  none: false
71
- requirements:
51
+ requirements:
72
52
  - - ~>
73
- - !ruby/object:Gem::Version
74
- hash: 11
75
- segments:
76
- - 2
77
- - 1
78
- - 0
79
- version: 2.1.0
80
- version_requirements: *id004
81
- name: bluecloth
82
- prerelease: false
53
+ - !ruby/object:Gem::Version
54
+ version: 2.2.0
83
55
  type: :development
84
- - !ruby/object:Gem::Dependency
85
- requirement: &id005 !ruby/object:Gem::Requirement
56
+ prerelease: false
57
+ version_requirements: *74771100
58
+ - !ruby/object:Gem::Dependency
59
+ name: wlang
60
+ requirement: &74770470 !ruby/object:Gem::Requirement
86
61
  none: false
87
- requirements:
62
+ requirements:
88
63
  - - ~>
89
- - !ruby/object:Gem::Version
90
- hash: 51
91
- segments:
92
- - 0
93
- - 10
94
- - 2
64
+ - !ruby/object:Gem::Version
95
65
  version: 0.10.2
96
- version_requirements: *id005
97
- name: wlang
98
- prerelease: false
99
66
  type: :development
100
- description: |-
101
- Quickl helps you creating commandline ruby programs. From simple commands
102
- with options to complex delegators with subcommands, global and local
103
- options.
104
- email:
67
+ prerelease: false
68
+ version_requirements: *74770470
69
+ description: ! "Quickl helps you creating commandline ruby programs. From simple commands
70
+ \nwith options to complex delegators with subcommands, global and local \noptions."
71
+ email:
105
72
  - blambeau@gmail.com
106
- executables:
73
+ executables:
107
74
  - quickl
108
75
  extensions: []
109
-
110
- extra_rdoc_files:
76
+ extra_rdoc_files:
111
77
  - README.md
112
78
  - CHANGELOG.md
113
79
  - LICENCE.md
114
- files:
80
+ files:
115
81
  - quickl.gemspec
116
82
  - quickl.noespec
117
83
  - CHANGELOG.md
@@ -178,38 +144,32 @@ files:
178
144
  - tasks/debug_mail.txt
179
145
  homepage: http://github.com/blambeau/quickl
180
146
  licenses: []
181
-
182
147
  post_install_message:
183
148
  rdoc_options: []
184
-
185
- require_paths:
149
+ require_paths:
186
150
  - lib
187
- required_ruby_version: !ruby/object:Gem::Requirement
151
+ required_ruby_version: !ruby/object:Gem::Requirement
188
152
  none: false
189
- requirements:
190
- - - ">="
191
- - !ruby/object:Gem::Version
192
- hash: 3
193
- segments:
153
+ requirements:
154
+ - - ! '>='
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ segments:
194
158
  - 0
195
- version: "0"
196
- required_rubygems_version: !ruby/object:Gem::Requirement
159
+ hash: -534574387
160
+ required_rubygems_version: !ruby/object:Gem::Requirement
197
161
  none: false
198
- requirements:
199
- - - ">="
200
- - !ruby/object:Gem::Version
201
- hash: 3
202
- segments:
203
- - 0
204
- version: "0"
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
205
166
  requirements: []
206
-
207
167
  rubyforge_project:
208
168
  rubygems_version: 1.8.10
209
169
  signing_key:
210
170
  specification_version: 3
211
171
  summary: Helper to create commandline ruby programs
212
- test_files:
172
+ test_files:
213
173
  - spec/spec_helper.rb
214
174
  - spec/command/test_command_name.rb
215
175
  - spec/command/test_subcommands.rb