redmine_stagecoach 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/stagecoach +5 -5
- data/lib/stagecoach/config.rb +2 -2
- data/lib/stagecoach/git.rb +1 -1
- data/redmine_stagecoach.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.1
|
data/bin/stagecoach
CHANGED
@@ -41,8 +41,8 @@ module Stagecoach
|
|
41
41
|
# Checks validity of argument variables.
|
42
42
|
# Ignore these checks with -t flag.
|
43
43
|
unless opts[:testing_given]
|
44
|
-
Config.setup
|
45
|
-
Config.setup
|
44
|
+
Config.setup unless config["redmine_site"] == "none"
|
45
|
+
Config.setup unless config["redmine_api"] == "none"
|
46
46
|
|
47
47
|
# Checks that command-line args are present and correct.
|
48
48
|
Trollop::die :redmine, "issue number can only contain digits" if opts[:redmine] && opts[:redmine][/\D/]
|
@@ -99,7 +99,7 @@ module Stagecoach
|
|
99
99
|
self.user = config["redmine_api_key"]
|
100
100
|
end
|
101
101
|
|
102
|
-
unless opts[:
|
102
|
+
unless opts[:deploy_given] or opts[:push]
|
103
103
|
|
104
104
|
# If no issue argument has been given.
|
105
105
|
if opts[:github].nil? && opts[:redmine].nil?
|
@@ -293,8 +293,8 @@ module Stagecoach
|
|
293
293
|
|
294
294
|
puts "Push successful."
|
295
295
|
unless opts[:deploy_given]
|
296
|
-
"stagecoach -d [branch_name] to deploy."
|
297
|
-
"
|
296
|
+
puts "stagecoach -d [branch_name] to deploy."
|
297
|
+
puts "Exiting..."
|
298
298
|
exit
|
299
299
|
end
|
300
300
|
end
|
data/lib/stagecoach/config.rb
CHANGED
data/lib/stagecoach/git.rb
CHANGED
data/redmine_stagecoach.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redmine_stagecoach
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -168,7 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
168
168
|
version: '0'
|
169
169
|
segments:
|
170
170
|
- 0
|
171
|
-
hash: -
|
171
|
+
hash: -3540412411782168429
|
172
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
173
|
none: false
|
174
174
|
requirements:
|