travis 1.10.0.pre.rc2 → 1.10.0.pre.rc3

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
  SHA256:
3
- metadata.gz: c89e5a312e0d9ab1acea4d17afec2518e0e57773f229b6d7f70b9f6ace628203
4
- data.tar.gz: 1fa91dae4b7d88f62528289203ac3ca957df45b683f6ade94c6bfd3fd2a3fe25
3
+ metadata.gz: e27b74ed56214041d4ef2e81d7157fe9ff695300f13cd57a2021539024427573
4
+ data.tar.gz: 648c7356aeb81fd558be46af40b84f6bd027ddf87a7a7f6e54e40befda74ede6
5
5
  SHA512:
6
- metadata.gz: b016ed58fdad7292c200dcc9b2a221179dae398e6e4d499473b501c800856d1d527243ed68d23853ec335ade12012e96b332c4b4e98348a9c1743a6d5e0c7ddf
7
- data.tar.gz: 1b5a0e575db8551c19aba759e22862551207f1e2242dcc3cd0ec90a3f67bc76bbb941e1198bede9a926a2c9fe1bd021e03ca7e3ce0d36cd440722d68d54a0ae0
6
+ metadata.gz: 9c52038026093f52fc4ac786e85357206afa3a619698c527aa78f6efa04e7fdb7de8df03322d65f28293a9d88d3f5298bfe4a117b45980bce6ed789fde19297a
7
+ data.tar.gz: 91dd03ad789b2747a81562daaa26ca4e0bc4954710bd4e3fa044cc266226236c5dc9218c638463e6cb7f701b7419107aec61aa60a8c7862817c760b644a96c8c
@@ -63,7 +63,7 @@ module Travis
63
63
  private
64
64
 
65
65
  def template_name(language)
66
- asset_path("init/#{language}.yml").first
66
+ asset_path("init/#{language}.yml")
67
67
  end
68
68
 
69
69
  def template(language)
@@ -8,11 +8,11 @@ module Travis
8
8
  def asset_path(file)
9
9
  Pathname.glob(File.expand_path(file, BASE)).tap do |x|
10
10
  raise Travis::Client::AssetNotFound.new(file) if x.empty?
11
- end
11
+ end.first.to_s
12
12
  end
13
13
 
14
14
  def asset(file)
15
- File.read(asset_path(file).first)
15
+ File.read(asset_path(file))
16
16
  end
17
17
 
18
18
  class << self
@@ -1,3 +1,3 @@
1
1
  module Travis
2
- VERSION = '1.10.0.pre.rc2'
2
+ VERSION = '1.10.0.pre.rc3'
3
3
  end
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  # general info
4
4
  s.name = "travis"
5
- s.version = "1.10.0.pre.rc2"
5
+ s.version = "1.10.0.pre.rc3"
6
6
  s.required_ruby_version = ">= 2.3.0"
7
7
  s.description = "CLI and Ruby client library for Travis CI"
8
8
  s.homepage = "https://github.com/travis-ci/travis.rb"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: travis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0.pre.rc2
4
+ version: 1.10.0.pre.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase