thor 0.19.3 → 0.19.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3426ba4bdfd1c73ddd6f018bc4628fe200c17ab4
4
- data.tar.gz: 3d2f12dc5fdea58e0fb1f180729b7bee363b0e57
3
+ metadata.gz: 5fd71663b46487af27e6f0b6a0206f5140d0d196
4
+ data.tar.gz: d67e482d506417552648630f8a7bc4b1886fc06c
5
5
  SHA512:
6
- metadata.gz: 906826b503273c73e16901becf458fcf805a3d80b7b5afe24b574b19bfdf5c93f29357e2ad8fc4818776a839271b08edf7b97beea84981eeab0a2167a9857d97
7
- data.tar.gz: 8a3efc8e1e78ca1a2b37c1cb9a93eef138c80e73ee661361f93d447ae234d799ee59e0920e8b7b6f9fdcfd070610352e53264dac879167a4d6a1f83d7c01b09e
6
+ metadata.gz: f15702a93adea15d623fd708962193b42bc38bf2b86dff66fe43f1078971fc38f5dedff0d6a78bd1bf9241315e83ede0c216ffedea8c452c55b57aff17d0d051
7
+ data.tar.gz: 1e7093648f0913e9c7e32c796ea795e819ca59331588885059bfcae9867172ea50144033c342d22c4d5c8ab628f135821bb9a0ab8645f7784c396482370b98c0
@@ -208,7 +208,7 @@ class Thor
208
208
  # ArgumentError:: Raised if you supply a required argument after a non required one.
209
209
  #
210
210
  def argument(name, options = {})
211
- thor_reserved_word?(name, :argument)
211
+ is_thor_reserved_word?(name, :argument)
212
212
  no_commands { attr_accessor name }
213
213
 
214
214
  required = if options.key?(:optional)
@@ -529,7 +529,7 @@ class Thor
529
529
  end
530
530
 
531
531
  # Raises an error if the word given is a Thor reserved word.
532
- def thor_reserved_word?(word, type) #:nodoc:
532
+ def is_thor_reserved_word?(word, type) #:nodoc:
533
533
  return false unless THOR_RESERVED_WORDS.include?(word.to_s)
534
534
  raise "#{word.inspect} is a Thor reserved word and cannot be defined as #{type}"
535
535
  end
@@ -594,7 +594,7 @@ class Thor
594
594
  @no_commands ||= false
595
595
  return if @no_commands || !create_command(meth)
596
596
 
597
- thor_reserved_word?(meth, :command)
597
+ is_thor_reserved_word?(meth, :command)
598
598
  Thor::Base.register_klass_file(self)
599
599
  end
600
600
 
@@ -1,3 +1,3 @@
1
1
  class Thor
2
- VERSION = "0.19.3"
2
+ VERSION = "0.19.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.3
4
+ version: 0.19.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yehuda Katz
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-11-27 00:00:00.000000000 Z
12
+ date: 2016-11-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: 1.3.5
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.5.1
94
+ rubygems_version: 2.5.2
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Thor is a toolkit for building powerful command-line interfaces.