heroku-stage 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97fa2459299c64d3b9c4ff2619a619eec6f05375
4
- data.tar.gz: 7280d73cf255b87dfa4748e4d4c0d2cf268b8346
3
+ metadata.gz: 98c73be9fc5d68d62a1e7c86458e407398182cc3
4
+ data.tar.gz: f58e7cd677bb741eaab92919fe109cf7f630bd80
5
5
  SHA512:
6
- metadata.gz: 51c5f18c098e15b8f48218c9a1b66f5a57013439a5e941b5ec2cbc6831c8ca2fdd56515e66c5eb4d76a8eef527847c25c445e2d415c92ef4f9c19a62ccfb7a56
7
- data.tar.gz: 3d0b7bee07421ec48e468a8f4eeece7c28e95a9c1362bf4634bc8f072290b3f01c04423730379b585b14c3a3d2d710fcbc62db975618fc485a7bba1ee4237cd6
6
+ metadata.gz: 5799727161ac6850a4c322b1244190a788ccf795b5df978d1bc2f4605aa90aff57a995ffbb32145fc99c2e8ea2c477b77c350e93af31fb0a66afb7d4cf85cb2c
7
+ data.tar.gz: 7cef9b31e6a8ebb8a6c2c5d1cccb5b1a56522f295542ad6272bf22064c9040c25b1c7d38088b38287d11a755d6b2ee43b61957594579b226f3c4ccaae28b9a9c
data/.travis.yml CHANGED
@@ -2,9 +2,9 @@ language: ruby
2
2
  rvm:
3
3
  - 2.2.6
4
4
  - 2.3.3
5
- - 2.4.0-preview3
5
+ - 2.4.1
6
6
  script:
7
- - bundle exec rake spec
7
+ - bundle exec rspec spec
8
8
  deploy:
9
9
  provider: rubygems
10
10
  api_key:
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
5
  ### unreleased
6
6
 
7
+ ### v0.3.0
8
+
9
+ * Add support for ruby < 2.3
10
+
7
11
  ### v0.2.0
8
12
 
9
13
  * Adds support to rails test environment
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
 
@@ -1,5 +1,5 @@
1
1
  module Heroku
2
2
  module Stage
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
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
- <<~EOS
27
- #{exception.message}
26
+ <<-USAGE
27
+ #{exception.message}
28
28
 
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:
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
- heroku labs:enable runtime-dyno-metadata --remote production
32
+ heroku labs:enable runtime-dyno-metadata --remote production
33
33
 
34
- On the next deploy the key will be populated with the app name
35
- EOS
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.2.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-01-17 00:00:00.000000000 Z
12
+ date: 2017-04-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails