joe_utils 0.0.10 → 0.0.11

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: 27c8493e7d78637e637e7273b7f6bdb885d6daf1
4
- data.tar.gz: 6f214bbe336a0b11b085dbbdafc6d21cacfef391
3
+ metadata.gz: 0bd7916112e5ed2c018274d09d313ee092d5c4da
4
+ data.tar.gz: 58de8bc61a39d52d896b36ed6950d5c22bbf7c84
5
5
  SHA512:
6
- metadata.gz: a249751816940789578557337667e8223f3c1d8d96744023939e737b052b978050f31823df3bad5549a36f4bbbe2d3289089c913b8c4a53247703b7290c8f1bc
7
- data.tar.gz: d9197942728313ae04ecd0dc60a0f0bf8250b38b103976f7f7f06026fb74f89a55edc03c5c767a4b791613757a503b86607b5d14a60631a55fd93e42aab885fc
6
+ metadata.gz: fc33e14fefccbcac20f0c4e721217518230333286be40f0e482064cd6829c6f31f83032400ef4d09598d054e00b48b198770503d5fc6b4ce9b87d1dd09adabe8
7
+ data.tar.gz: aa6506072e7a19e4b07e4b0c29c4bd8cecc88eb8985e06ab31355e3ec57c42f88424ae4133df169cb919f70bf476c7e3b5a91b2b6b59d00f5f73391f66fe640e
@@ -13,7 +13,12 @@ class ProjectUtility
13
13
  Please include it as an argument to the script or hard code it as a variable in the script.',
14
14
 
15
15
  def process_input(input, options = {})
16
+ message = nil
16
17
  input.each do |arg|
18
+ if message
19
+ options[:message] = arg
20
+ next
21
+ end
17
22
  case arg
18
23
  when '-g', '--github'
19
24
  options[:github] = true
@@ -30,8 +35,8 @@ class ProjectUtility
30
35
  exit
31
36
  when '-ip'
32
37
  options[:install] = options[:push] = true
33
- when CLI_MESSAGE_INPUT
34
- options[:message] = arg
38
+ when '-m'
39
+ message = true
35
40
  else
36
41
  options[:gem_name] = arg
37
42
  end
data/joe_utils.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'joe_utils'
3
- s.version = '0.0.10'
3
+ s.version = '0.0.11'
4
4
  s.executables = %w(project_utility.rb)
5
5
  s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ['Josef Erneker']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: joe_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Erneker