go_script 0.1.2 → 0.1.3

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: 0d897383dfd06d62e0542ac724e26d72beae49e4
4
- data.tar.gz: e0f063f656dac08600a67ee1d85f22dfe6860144
3
+ metadata.gz: 2b69d01a2509103e285983707ae25e52f4713dc2
4
+ data.tar.gz: 526759a09264bac3237f592f56e5fe66fe252613
5
5
  SHA512:
6
- metadata.gz: 1d29201d7abba81df96e9c2efb5390018d249306fe145e9d881b9fe69cfa5507243c585a96d9f17c3a7e50f85468a132ba338ceb6f3a2a8f5d03714e0e096701
7
- data.tar.gz: ea2003b8350af18f0daf9d2f3f16d8ef9be4a50ad66dbb71c8157fe82c305f759b99789628fdd903d285f18eb13eb6e6ad0bc66de9a01fe867d4374bcda81220
6
+ metadata.gz: eb66d5c9a4a33eca2a5b9fdcf9c223ec0c97eed8b92f135ef86cf26e9d23594eb2c9dc69fcfda66c9b55a1c8d463655fb1860ca284c37dd1a017e74349b381f3
7
+ data.tar.gz: 0e23dd6c1a68f19a3c3ac314f87807e9e74f8c85d63625361df092691114fb98a02bfed3108abace5e6383eba52f9037de746f6d63293518b6e26561f898e3e8
@@ -65,7 +65,7 @@ module GoScript
65
65
  end
66
66
 
67
67
  def command_defined?(command)
68
- groups.values.each { |g| return true if g.include_command? command }
68
+ groups.values.any? { |g| g.include_command? command }
69
69
  end
70
70
 
71
71
  def add_command(command, group_symbol, description, path, lineno)
@@ -1,7 +1,7 @@
1
1
  # @author Mike Bland (michael.bland@gsa.gov)
2
2
 
3
3
  module GoScript
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
 
6
6
  class Version
7
7
  def self.check_ruby_version(min_version)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_script
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Bland