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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 312120e852b6b9bb6a3f348c654ac80ef37f379d
4
- data.tar.gz: 3a950b66c5c839bded4fd3767e8e5803303cba0a
3
+ metadata.gz: 13fc19212a464be1559b62277585e2afbe13f5e9
4
+ data.tar.gz: cafc85c3947ea390479d73fb3399a665c312d72b
5
5
  SHA512:
6
- metadata.gz: beec6b3d271682ea525196e0c0bdda909e485e7138550cd1c65b1ec132cf093c79b1b51893c5e2aae2cee3e0f0aadcfa21b43b78be141dc94a0fe92d89459080
7
- data.tar.gz: d8fc694ea4eda1e379f281d8550dcece4831103541db7c254b42edbfe5ede46aac118bde5464ecad899c43d32ae70a4752f3111103ead355f9a23acefd37b59a
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
- @json = JSON[File.read(filename)]
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']
@@ -1,5 +1,5 @@
1
1
  module InchCI
2
2
  module Worker
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  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.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-06 00:00:00.000000000 Z
11
+ date: 2014-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler