git-semaphore 2.0.0 → 2.0.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: 59236af413fec5cad9c165b9450fdb9817be6379
4
- data.tar.gz: 3a94ad7ec8bd108fc641fc8d046616459aa4737c
3
+ metadata.gz: fd25d5233bdfc4079292b47b103174664001b021
4
+ data.tar.gz: e70317bd7216cfbe6759808514a1dcbd649f4d92
5
5
  SHA512:
6
- metadata.gz: a1116948c842d29d2f84197a8d3ba6c987f0f36ac08f95c72403b9b32d00107c34f9ee3c5939cd8c244e65c49a20ab2bcd5e18247dd06c1481306a8ab9131de9
7
- data.tar.gz: e9b6969e61247975e23149de4ac36f335cffb5c1acef1fb5f25993a8e2d1ce640dbdbdfb2071b32e194b23c04d978e05eb1328e882c753a14107fadc67003694
6
+ metadata.gz: 7afff9124c3adb13e9475847d84de65f009837b972740607dab353cef506cd5b7c4d5c3aa077d700bec683ce825f45521393159bc70dcf6b00988f023ec5c9d5
7
+ data.tar.gz: ed3ce54393093426ee17347f8644be8b772e38c5d71e730c6c1dae383ce3a5a6a116ab0842f326a5453ef5aa26206359d540d2d5ec64a387e291fb37bcac9a95
@@ -15,16 +15,16 @@ class Git::Semaphore::Project
15
15
 
16
16
  def self.from_config config
17
17
  self.new(
18
- full_name: config['SEMAPHORE_PROJECT_NAME'],
19
- branch_name: config['SEMAPHORE_BRANCH_NAME'],
20
- options: {
18
+ config['SEMAPHORE_PROJECT_NAME'],
19
+ config['SEMAPHORE_BRANCH_NAME'],
20
+ {
21
21
  commit_sha: config['SEMAPHORE_COMMIT_SHA'],
22
22
  build_number: config['SEMAPHORE_BUILD_NUMBER'],
23
23
  }
24
24
  )
25
25
  end
26
26
 
27
- def initialize full_name:, branch_name:, options:
27
+ def initialize full_name, branch_name = nil, options = {}
28
28
  @auth_token = Git::Semaphore.auth_token
29
29
  @full_name = full_name
30
30
  @owner, @name = full_name.split('/')
@@ -1,5 +1,5 @@
1
1
  module Git
2
2
  module Semaphore
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-semaphore
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Vandenberk