instapusher 0.0.3 → 0.0.4
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.
- data/lib/instapusher/commands.rb +4 -1
- data/lib/instapusher/configuration.rb +1 -1
- data/lib/instapusher/version.rb +1 -1
- metadata +3 -3
data/lib/instapusher/commands.rb
CHANGED
|
@@ -23,6 +23,9 @@ module Instapusher
|
|
|
23
23
|
project_name = git.project_name
|
|
24
24
|
|
|
25
25
|
api_key = Instapusher::Configuration.api_key || ""
|
|
26
|
+
if api_key.empty?
|
|
27
|
+
puts "Please enter instapusher api_key at ~/.instapusher "
|
|
28
|
+
end
|
|
26
29
|
|
|
27
30
|
options = { project: project_name,
|
|
28
31
|
branch: branch_name,
|
|
@@ -41,7 +44,7 @@ module Instapusher
|
|
|
41
44
|
cmd = "open #{job_status_url}"
|
|
42
45
|
`#{cmd}`
|
|
43
46
|
else
|
|
44
|
-
puts response_body['
|
|
47
|
+
puts response_body['error']
|
|
45
48
|
end
|
|
46
49
|
end
|
|
47
50
|
end
|
data/lib/instapusher/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: instapusher
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -81,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
81
81
|
version: '0'
|
|
82
82
|
segments:
|
|
83
83
|
- 0
|
|
84
|
-
hash:
|
|
84
|
+
hash: -3162736128318271953
|
|
85
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
86
|
none: false
|
|
87
87
|
requirements:
|
|
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
90
90
|
version: '0'
|
|
91
91
|
segments:
|
|
92
92
|
- 0
|
|
93
|
-
hash:
|
|
93
|
+
hash: -3162736128318271953
|
|
94
94
|
requirements: []
|
|
95
95
|
rubyforge_project:
|
|
96
96
|
rubygems_version: 1.8.23
|