instapusher 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -2
- data/lib/instapusher/commands.rb +1 -1
- data/lib/instapusher/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -31,8 +31,7 @@ To enable debug messages you can do
|
|
31
31
|
|
32
32
|
DEBUG=1 instapusher
|
33
33
|
|
34
|
-
|
35
|
-
Another solution is use env variable `INSTAPUSHER_HOST`.
|
34
|
+
Pass host info like this
|
36
35
|
|
37
36
|
INSTAPUSHER_HOST=instapusher.com instapusher
|
38
37
|
|
@@ -40,6 +39,9 @@ Also there are other env variables like `INSTAPUSHER_PROJECT` and `INSTAPUSHER_B
|
|
40
39
|
|
41
40
|
INSTAPUSHER_HOST=instapusher.com INSTAPUSHER_PROJECT=rails INSTAPUSHER_BRANCH=master instapusher
|
42
41
|
|
42
|
+
ALSO you can pass your `api_key`
|
43
|
+
|
44
|
+
API_KEY=xxxx instapusher
|
43
45
|
|
44
46
|
## What problem it solves
|
45
47
|
|
data/lib/instapusher/commands.rb
CHANGED
@@ -17,7 +17,7 @@ module Instapusher
|
|
17
17
|
branch_name ||= ENV['INSTAPUSHER_BRANCH'] || git.current_branch
|
18
18
|
project_name ||= ENV['INSTAPUSHER_PROJECT'] || git.project_name
|
19
19
|
|
20
|
-
api_key = Instapusher::Configuration.api_key || ""
|
20
|
+
api_key = ENV['API_KEY'] || Instapusher::Configuration.api_key || ""
|
21
21
|
if api_key.to_s.length == 0
|
22
22
|
puts "Please enter instapusher api_key at ~/.instapusher "
|
23
23
|
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.13
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -97,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '0'
|
98
98
|
segments:
|
99
99
|
- 0
|
100
|
-
hash: -
|
100
|
+
hash: -1265726506612065138
|
101
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
102
|
none: false
|
103
103
|
requirements:
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: '0'
|
107
107
|
segments:
|
108
108
|
- 0
|
109
|
-
hash: -
|
109
|
+
hash: -1265726506612065138
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
112
|
rubygems_version: 1.8.23
|