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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a69cb484c769ea7cb788e188a59bb7f2ba91d7f
4
- data.tar.gz: fb3f7d13eebee965f138a8d2993181e9b61102e9
3
+ metadata.gz: 9e10a18e08aac4d4696245884b5bd3172af25756
4
+ data.tar.gz: 05112220ff41221cb49c4675453d189518f0bac9
5
5
  SHA512:
6
- metadata.gz: 0c9a7017f4f78ac7558c79f378a434450b00dbbeaf58d766b70ff29fdd7c0bf029a9c4ff055b670fa6fed1314dbe220a481a8a2f506dea98ab72f3e26efd6fed
7
- data.tar.gz: 7004a9d355ee3c1e7e5602ca698d779a3395965db5f8c4c166e16b57372a23dd73ef92b8703a15ae0fda935e3822e65848d5d91d750e02ba63b7f1325abae34a
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.class_option(fn.to_sym, f) }
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.class_option(fn.to_sym, f) }
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
@@ -1,3 +1,3 @@
1
1
  module EverydayThorUtil
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
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.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: 2014-12-30 00:00:00.000000000 Z
11
+ date: 2015-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler