joe_utils 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/project_utility.rb +7 -2
- data/joe_utils.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bd7916112e5ed2c018274d09d313ee092d5c4da
|
4
|
+
data.tar.gz: 58de8bc61a39d52d896b36ed6950d5c22bbf7c84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc33e14fefccbcac20f0c4e721217518230333286be40f0e482064cd6829c6f31f83032400ef4d09598d054e00b48b198770503d5fc6b4ce9b87d1dd09adabe8
|
7
|
+
data.tar.gz: aa6506072e7a19e4b07e4b0c29c4bd8cecc88eb8985e06ab31355e3ec57c42f88424ae4133df169cb919f70bf476c7e3b5a91b2b6b59d00f5f73391f66fe640e
|
data/bin/project_utility.rb
CHANGED
@@ -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
|
34
|
-
|
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.
|
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']
|