env_pull_request 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/changelog.md +10 -0
- data/lib/env_pull_request/base.rb +3 -3
- data/lib/env_pull_request/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ba38643c766d13bd2fb05c8d7d482fb59836a43
|
4
|
+
data.tar.gz: 35d3e3cae056c0ead8c2b311e590f85cc5154912
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5402e2bf90a50fd71f4c70cc1ba9eb2e7207c01bf45dc5ebad53dd6ebdde73342d5c19476618b5d2eff27d24a54fac1cfa63946d425c278f1d605f5c3eac473
|
7
|
+
data.tar.gz: 50338038c118c3e26b036ddf056a802c760de30de82199f22a6aaee2dfd4799661354dd3069cd76b7a1a5ea73d41e2b9dc507cdf9ab0eb5b67ec3a545e82a30c
|
data/changelog.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
<a name="0.3.1"></a>
|
2
|
+
## [0.3.1](https://github.com/packsaddle/ruby-env_pull_request/compare/v0.3.0...v0.3.1) (2015-09-26)
|
3
|
+
|
4
|
+
|
5
|
+
### Features
|
6
|
+
|
7
|
+
* **natural_number_string:** update api ([8bb55b8](https://github.com/packsaddle/ruby-env_pull_request/commit/8bb55b8))
|
8
|
+
|
9
|
+
|
10
|
+
|
1
11
|
<a name="0.3.0"></a>
|
2
12
|
# [0.3.0](https://github.com/packsaddle/ruby-env_pull_request/compare/v0.2.2...v0.3.0) (2015-09-26)
|
3
13
|
|
@@ -13,11 +13,11 @@ module EnvPullRequest
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def fetch_pull_request_id
|
16
|
-
if
|
16
|
+
if positive_integer_string? ENV['TRAVIS_PULL_REQUEST']
|
17
17
|
ENV['TRAVIS_PULL_REQUEST'].to_i
|
18
|
-
elsif
|
18
|
+
elsif positive_integer_string? ENV['CIRCLE_PR_NUMBER']
|
19
19
|
ENV['CIRCLE_PR_NUMBER'].to_i
|
20
|
-
elsif
|
20
|
+
elsif positive_integer_string? ENV['ghprbPullId']
|
21
21
|
ENV['ghprbPullId'].to_i
|
22
22
|
end
|
23
23
|
end
|