inch_ci-worker 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 +4 -4
- data/lib/inch_ci/worker/build_json.rb +2 -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: 13fc19212a464be1559b62277585e2afbe13f5e9
|
4
|
+
data.tar.gz: cafc85c3947ea390479d73fb3399a665c312d72b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3917a22a17ad8530a8c6c0d44aab37d266d47ca89b97d0b00e9513567a09241f07472a20c71ced1f46a5cd149c71a6ad9749d0f587134866fde2383871d8b10
|
7
|
+
data.tar.gz: 6c3e6304bd95f951bed3c7ebe7a29092fa55e8fd2da5ec820667122b56b5b9eec14d1f2475380b539b007da481c6fd2140aebb6999af1787557f064d7265d691
|
@@ -11,7 +11,8 @@ module InchCI
|
|
11
11
|
attr_reader :language, :branch_name, :revision, :nwo, :url
|
12
12
|
|
13
13
|
def initialize(filename)
|
14
|
-
|
14
|
+
contents = File.read(filename, :encoding => 'utf-8')
|
15
|
+
@json = JSON[contents]
|
15
16
|
@language = @json['language']
|
16
17
|
@branch_name = @json['branch_name'] || @json['travis_branch']
|
17
18
|
@revision = @json['revision'] || @json['travis_commit']
|
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.
|
4
|
+
version: 0.3.1
|
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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|