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 +4 -4
- data/lib/git/semaphore/project.rb +4 -4
- data/lib/git/semaphore/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: fd25d5233bdfc4079292b47b103174664001b021
|
4
|
+
data.tar.gz: e70317bd7216cfbe6759808514a1dcbd649f4d92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
19
|
-
|
20
|
-
|
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
|
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('/')
|