heroku-stage 0.2.0 → 0.3.0
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/.travis.yml +2 -2
- data/CHANGELOG.md +4 -0
- data/README.md +5 -0
- data/lib/heroku/stage/version.rb +1 -1
- data/lib/heroku/stage.rb +7 -7
- 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: 98c73be9fc5d68d62a1e7c86458e407398182cc3
|
4
|
+
data.tar.gz: f58e7cd677bb741eaab92919fe109cf7f630bd80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5799727161ac6850a4c322b1244190a788ccf795b5df978d1bc2f4605aa90aff57a995ffbb32145fc99c2e8ea2c477b77c350e93af31fb0a66afb7d4cf85cb2c
|
7
|
+
data.tar.gz: 7cef9b31e6a8ebb8a6c2c5d1cccb5b1a56522f295542ad6272bf22064c9040c25b1c7d38088b38287d11a755d6b2ee43b61957594579b226f3c4ccaae28b9a9c
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -45,6 +45,11 @@ current stage on the heroku pipeline.
|
|
45
45
|
The application name convention is `my-app-<stage>`.
|
46
46
|
|
47
47
|
You can manually add the environmental variable `HEROKU_APP_NAME` with the app name
|
48
|
+
|
49
|
+
```shell
|
50
|
+
heroku config:set HEROKU_APP_NAME=<your app>
|
51
|
+
```
|
52
|
+
|
48
53
|
or you can use the [dyno metadata labs](https://devcenter.heroku.com/articles/dyno-metadata)
|
49
54
|
from heroku which will add the variable on your next deploy.
|
50
55
|
|
data/lib/heroku/stage/version.rb
CHANGED
data/lib/heroku/stage.rb
CHANGED
@@ -23,16 +23,16 @@ module Heroku
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def enable_dyno_metadata_message(exception)
|
26
|
-
|
27
|
-
|
26
|
+
<<-USAGE
|
27
|
+
#{exception.message}
|
28
28
|
|
29
|
-
|
30
|
-
|
29
|
+
Remember to enable the heroku dyno metadata to add the HEROKU_APP_NAME key to the environment.
|
30
|
+
To do that run the folowing command:
|
31
31
|
|
32
|
-
|
32
|
+
heroku labs:enable runtime-dyno-metadata --remote production
|
33
33
|
|
34
|
-
|
35
|
-
|
34
|
+
On the next deploy the key will be populated with the app name
|
35
|
+
USAGE
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku-stage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Platanus
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|