bubbler_ruby 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 632abe30f5c924751f717050bd33423bd4ad70b117f6021703e0c637d97eeb46
4
- data.tar.gz: e7b5b73599dd2ae799876ecc09d1630e45834b84e4fcb39452da07a3dae2e5bc
3
+ metadata.gz: a2404f75be949f1c9dfc13156f883edf55a79004ba3ee6d665570b4e67473d13
4
+ data.tar.gz: 9ebcbeff64912755aadfc91ea3b16ce6c9d7d5cdd9fec404fc2745e935e35bd4
5
5
  SHA512:
6
- metadata.gz: 7974f2dd8d0f5b387bd4e26a5b0411f5af198d0d68d194980b0d161cf735eade7dc3136cfa93d121eaab7e49f013c791da330e103be6f243896b15db3feacaca
7
- data.tar.gz: 20d0ba9cd70bc777c88c633e029f15f9a51c6d22712c8efda276944e653b81acd53f791a7e9194dc7c75af79e464d16b13df6720cda2197bf858ac9d2632391d
6
+ metadata.gz: 3bee38d1d822419a71255a4098d64feee0d340e3e036238a2af3db37900dc75cf6ba8a196f2d7f7633099ff62d455f9d1684868d1f92fb4df19593acb76dc372
7
+ data.tar.gz: e574d9bb263980c55d859365e006578870b247be1847ce2b32e4f6473561e0ef131331fb6df8c8a77085b9c1086ed3a370d947115ed2dde0620443a5874d99f0
@@ -45,6 +45,8 @@ module Bubbler
45
45
  # CIRCLE_PR_NUMBER=2 (Only populated on forked PRs)
46
46
  # CIRCLE_PULL_REQUEST= https://github.com/mark579/pull/2
47
47
  def self.circleci_pr_number
48
+ return unless ENV['CIRCLE_PR_NUMBER'] || ENV['CIRCLE_PULL_REQUEST']
49
+
48
50
  return ENV['CIRCLE_PR_NUMBER'] if ENV['CIRCLE_PR_NUMBER']
49
51
  return ENV['CIRCLE_PULL_REQUEST'].split('/').last
50
52
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bubbler
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bubbler_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Davenport