everyday_thor_util 2.0.0 → 2.0.1
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.
- checksums.yaml +4 -4
- data/lib/everyday_thor_util/builder.rb +2 -2
- data/lib/everyday_thor_util/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e10a18e08aac4d4696245884b5bd3172af25756
|
|
4
|
+
data.tar.gz: 05112220ff41221cb49c4675453d189518f0bac9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f5c3975fda2524cb21c65cf09049c0a90ce3376eb63d49fa09cea69153f1066ea0d04eb08780fcb109d2192198d6a2e32719e8e07082b78721951fb8f808159
|
|
7
|
+
data.tar.gz: c475d42073e35b4eaade31f2bc72273282cb59db4c96db1d58459572afaa4b03fd0145ddc1f44494a367380044b0e4845fe0d439c4e945d962583031b96011a1
|
|
@@ -239,12 +239,12 @@ module EverydayThorUtil
|
|
|
239
239
|
pc.subcommand an, cc2
|
|
240
240
|
} if aliases && !aliases.empty?
|
|
241
241
|
elsif c.body
|
|
242
|
-
c.flags.flags.each { |fn, f| pc.
|
|
242
|
+
c.flags.flags.each { |fn, f| pc.option(fn.to_sym, f) }
|
|
243
243
|
pc.desc short_desc, desc if short_desc && desc
|
|
244
244
|
pc.long_desc long_desc if long_desc
|
|
245
245
|
pc.create_method(cn.to_sym, &c.body)
|
|
246
246
|
aliases.each { |an|
|
|
247
|
-
c.flags.flags.each { |fn, f| pc.
|
|
247
|
+
c.flags.flags.each { |fn, f| pc.option(fn.to_sym, f) }
|
|
248
248
|
pc.desc short_desc.gsub(/^\S+(?=\s|$)/, an.gsub(/_/, '-')), desc if short_desc && desc
|
|
249
249
|
pc.long_desc long_desc if long_desc
|
|
250
250
|
pc.dup_method an.to_sym, cn.to_sym
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: everyday_thor_util
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Henderson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-01-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|