instapusher 0.0.12 → 0.0.13

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/README.md CHANGED
@@ -31,8 +31,7 @@ To enable debug messages you can do
31
31
 
32
32
  DEBUG=1 instapusher
33
33
 
34
- And instapusher will send requests to `http://localhost:3000` server.
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
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Instapusher
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
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.12
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: -3325898714745036976
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: -3325898714745036976
109
+ hash: -1265726506612065138
110
110
  requirements: []
111
111
  rubyforge_project:
112
112
  rubygems_version: 1.8.23