app_revision 0.2.0 → 0.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8d0e2077a3284968164480823eab9a549aedcfa32d7a72c2dfc99e027830a6da
4
- data.tar.gz: 519d66df42535a8847d5f8f1f671af7751c0e3c261543926b4d6d26c5b6cedbc
3
+ metadata.gz: 68b9113c22dba0bea3e20f77216fc2c9c7c2204054f0bbaed33c3dea73e0d179
4
+ data.tar.gz: f7be7013210f55ccb795c444d09ac7a0a773f66cac03b27ca6462381f049a2fe
5
5
  SHA512:
6
- metadata.gz: aa6fcd0994d0c9db1d8512dae83e2b5e6391ede2e07336a580668d299ebd7429c186d29a57423189e1e00d79ce7bd1c8600cf8de3759754fe32291a2203d1189
7
- data.tar.gz: 8c3cddb168cebcf14080c4086225efccfc355b60ffd844759b6391dec08e6780a75536635c908835658c0dbccea654e32c20f1b00be1a0137ea1e5e97ab5bbe0
6
+ metadata.gz: 3d0000ed226b92a1b83ab0451aee273ca11ba91cd510011c69fa9d46d55a844c9fb32b85e4b3fd2679e2bde70afb51b824d4dc3439f86ea19b391ed1ffee6217
7
+ data.tar.gz: f8df8f77aa2122f5f2d5964986d2135f5efe5511ae38b6da845a0a96104397c19c0b5911d261403cc8af7eddc26d739c6450158e3edcb2b99d790c3725e7e6d4
data/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  Returns the current application git commit SHA. Will look first in the APP_REVISION
4
4
  environment variable, then in the REVISION file written by Capsitrano, then
5
- in the Git history and lastly will return 'unknown' will be returned
6
-
5
+ in the Git history and lastly will return `unknown`
6
+
7
7
  # Installation
8
8
 
9
9
  Add this line to your application's Gemfile:
@@ -7,6 +7,7 @@ module AppRevision
7
7
  ENV_VARS = [
8
8
  'APP_REVISION', # As used by Appsignal et al
9
9
  'HEROKU_SLUG_COMMIT', # As is available in https://devcenter.heroku.com/articles/dyno-metadata
10
+ 'SOURCE_VERSION', # As defined in https://devcenter.heroku.com/changelog-items/630
10
11
  'TRAVIS_COMMIT', # As per https://docs.travis-ci.com/user/environment-variables/
11
12
  ]
12
13
 
@@ -1,3 +1,3 @@
1
1
  module AppRevision
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_revision
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julik Tarkhanov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-04 00:00:00.000000000 Z
11
+ date: 2018-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler