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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4f38d6d97dfe7d8c7535ef8ba215c7b0e759ae2
4
- data.tar.gz: eeaa9c02c32f8aa03cb46cd86886ebd9568db715
3
+ metadata.gz: 2ba38643c766d13bd2fb05c8d7d482fb59836a43
4
+ data.tar.gz: 35d3e3cae056c0ead8c2b311e590f85cc5154912
5
5
  SHA512:
6
- metadata.gz: 3bc13a29a02c697ebc3619cbcb3655fcf69a0ae60a56e5d8404a16b4e44672e3a82940c51b5bea6fc0a7fc98ed43c184de6f0985e977cb2c85c441505d33c92b
7
- data.tar.gz: 3b64a17a5bdcd25cd3cfa005d33ba352bf5437f419e2d3d3e75b4a34549c1e7f55187c555857bf9c429aa602fa8068b8cc4b3a482cccd9793b11e5de7867b09c
6
+ metadata.gz: f5402e2bf90a50fd71f4c70cc1ba9eb2e7207c01bf45dc5ebad53dd6ebdde73342d5c19476618b5d2eff27d24a54fac1cfa63946d425c278f1d605f5c3eac473
7
+ data.tar.gz: 50338038c118c3e26b036ddf056a802c760de30de82199f22a6aaee2dfd4799661354dd3069cd76b7a1a5ea73d41e2b9dc507cdf9ab0eb5b67ec3a545e82a30c
@@ -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 natural_number_string? ENV['TRAVIS_PULL_REQUEST']
16
+ if positive_integer_string? ENV['TRAVIS_PULL_REQUEST']
17
17
  ENV['TRAVIS_PULL_REQUEST'].to_i
18
- elsif natural_number_string? ENV['CIRCLE_PR_NUMBER']
18
+ elsif positive_integer_string? ENV['CIRCLE_PR_NUMBER']
19
19
  ENV['CIRCLE_PR_NUMBER'].to_i
20
- elsif natural_number_string? ENV['ghprbPullId']
20
+ elsif positive_integer_string? ENV['ghprbPullId']
21
21
  ENV['ghprbPullId'].to_i
22
22
  end
23
23
  end
@@ -1,3 +1,3 @@
1
1
  module EnvPullRequest
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: env_pull_request
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sanemat