instapusher 0.1.3 → 0.1.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.
- checksums.yaml +4 -4
- data/README.md +10 -40
- data/bin/instapusher +5 -5
- data/lib/instapusher/job_submission.rb +3 -1
- data/lib/instapusher/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb164207d44831cca82b6c868884d2e7ae3f0737
|
4
|
+
data.tar.gz: 86af2939b6515d88dae3af1bcf3f6944702eb5ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f45af578cf79eaed86171c6ced826d79b992256865033e9c3eb24305f293524523c0e319d14e9459a107b8ed6ba998c5c723690be243f8b4e9697626779112a
|
7
|
+
data.tar.gz: fd5321b6f9edf239d86ac0d5c1b2b622e76e8250dfc733f783610cf08fc9295e483db3c7b040dc167094fc9e24f03469dbdf0f6f30f36f02180e35fa9c967c22
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Instapusher
|
2
2
|
|
3
|
-
Makes it easy to push to heroku.
|
3
|
+
Makes it easy to push an application to heroku.
|
4
4
|
|
5
|
-
|
5
|
+
### Installation
|
6
6
|
|
7
7
|
gem install instapusher
|
8
8
|
|
@@ -11,9 +11,9 @@ Makes it easy to push to heroku.
|
|
11
11
|
* Login at instapusher.com .
|
12
12
|
* Execute `instapusher --api-key` on local machine .
|
13
13
|
|
14
|
-
|
14
|
+
### Usage
|
15
15
|
|
16
|
-
In order to deploy your code first make sure that you are in the branch that you want to deploy.
|
16
|
+
In order to deploy your code first make sure that you are in the branch that you want to deploy.
|
17
17
|
Then execute this command.
|
18
18
|
|
19
19
|
```
|
@@ -37,46 +37,16 @@ For eg. to run delayed job workers
|
|
37
37
|
heroku run rake jobs:work --app my-awesome-app-42-add-devise-authentication-ip
|
38
38
|
```
|
39
39
|
|
40
|
-
|
40
|
+
### How to setup webhook
|
41
41
|
|
42
|
-
|
42
|
+

|
43
43
|
|
44
|
-
|
44
|
+
### Deleting old instances
|
45
45
|
|
46
|
-
|
46
|
+
Heroku allows only 100 instances. Once 100 applications have been created by instapusher account then heroku does not create any new application and instapusher starts failing.
|
47
47
|
|
48
|
-
|
48
|
+
In order to delete old instances visit the project project and then "More" > "Reached limit".
|
49
49
|
|
50
|
-
|
51
|
-
|
52
|
-
INSTAPUSHER_HOST=instapusher.com instapusher
|
53
|
-
|
54
|
-
Also there are other env variables like `INSTAPUSHER_PROJECT` and `INSTAPUSHER_BRANCH`.
|
55
|
-
|
56
|
-
INSTAPUSHER_HOST=instapusher.com INSTAPUSHER_PROJECT=rails INSTAPUSHER_BRANCH=master instapusher
|
57
|
-
|
58
|
-
ALSO you can pass your `api_key`
|
59
|
-
|
60
|
-
API_KEY=xxxx instapusher
|
61
|
-
|
62
|
-
## What problem it solves
|
63
|
-
|
64
|
-
Here at BigBinary we create a separate branch for each feature we work
|
65
|
-
on. Let's say that I am working on `authentication with facebook`.
|
66
|
-
When I am done with the feature then I send pull request to my team
|
67
|
-
members to review. However in order to review the work all the team
|
68
|
-
members need to pull down the branch and fire up `rails server` and then
|
69
|
-
review.
|
70
|
-
|
71
|
-
We like to see things working. So we developed `instapusher` to push a
|
72
|
-
feature branch to heroku instantly with one command. Executing
|
73
|
-
`instapusher` prints a url and we put that url in the pull request so
|
74
|
-
that team members can actually test the feature.
|
75
|
-
|
76
|
-
## Here is how it works
|
77
|
-
|
78
|
-
A video is coming up.
|
79
|
-
|
80
|
-
## License
|
50
|
+
### License
|
81
51
|
|
82
52
|
`instapusher` is released under MIT License.
|
data/bin/instapusher
CHANGED
@@ -11,19 +11,19 @@ OptionParser.new do |opts|
|
|
11
11
|
options[:version] = v
|
12
12
|
end
|
13
13
|
|
14
|
-
opts.on("--
|
15
|
-
options[:
|
14
|
+
opts.on("--local", "Hit localhost:3000") do |v|
|
15
|
+
options[:local] = v
|
16
16
|
end
|
17
17
|
|
18
|
-
opts.on("--
|
19
|
-
options[:
|
18
|
+
opts.on("--staging", "Hit instapusher.net") do |v|
|
19
|
+
options[:staging] = v
|
20
20
|
end
|
21
21
|
|
22
22
|
opts.on("--debug", "Show debug messages") do |v|
|
23
23
|
options[:debug] = v
|
24
24
|
end
|
25
25
|
|
26
|
-
opts.on("--api-key", "
|
26
|
+
opts.on("--api-key", "Set Instapusher api key") do |v|
|
27
27
|
options[:api_key] = v
|
28
28
|
end
|
29
29
|
|
data/lib/instapusher/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: instapusher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neeraj Singh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashr
|