inch_ci-worker 0.3.0.rc11 → 0.3.0.rc12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/inch_ci/worker/build_json.rb +11 -1
- data/lib/inch_ci/worker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14b8703e85c57b61c2f7eddbde4c025c7905b96d
|
4
|
+
data.tar.gz: be8590465598a6e767aaa4ed73dbed2f2cef64c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88fa9d77d9bc50c09a1cd10100801fb3ca5182875a67779a456b443308b5c6d6e016deec64737e82c50706d880d1548946d2b76efc5f5ae0219765fa382200c0
|
7
|
+
data.tar.gz: ee12f2c21d9c7aa2efad60116dc0db2ec865443f8ac599d9c1f723ee666b37ff34446e78422dd9cab8c810466c6a14c3f5de82ba7a9cfab52867f026810c29ad
|
@@ -16,7 +16,17 @@ module InchCI
|
|
16
16
|
@branch_name = json['branch_name'] || json['travis_branch']
|
17
17
|
@revision = json['revision'] || json['travis_commit']
|
18
18
|
@nwo = json['nwo'] || json['travis_repo_slug']
|
19
|
-
@url
|
19
|
+
@url = json['git_repo_url']
|
20
|
+
end
|
21
|
+
|
22
|
+
def travis?
|
23
|
+
!json['travis'].nil?
|
24
|
+
end
|
25
|
+
|
26
|
+
def to_h(include_objects: true)
|
27
|
+
h = json.dup
|
28
|
+
h.delete('objects') unless include_objects
|
29
|
+
h
|
20
30
|
end
|
21
31
|
end
|
22
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inch_ci-worker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.0.
|
4
|
+
version: 0.3.0.rc12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- René Föhring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|