travis 1.6.15.1 → 1.6.16

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: 06c2dfbdd49f15983092cf6404bbe11f5e0e894f
4
- data.tar.gz: 0084b0ac9e1f93ad5a193d0f054db83aa334c145
3
+ metadata.gz: 9386e41a6d08068c05a4fb8721913b4074995c25
4
+ data.tar.gz: a00a8671ba9dfc7ffd28147fcccb5546dd1395ff
5
5
  SHA512:
6
- metadata.gz: 2354bce115b9174e6b1b45d174ed7e2680760f5324d03bf24bc1f0437e243d08c740d824fea71821c8c8137bf53c43431bd926ffbbc4e6f1bfe3afd5532463c7
7
- data.tar.gz: bf7810cc6b6eeaccc888e52a2505f3450ed28c84f6a841d85e123cab4b1ec7d4ad362bffd88777c81f14d46d7071f0056bc7d0ae16342445ec8ceb9a8b9bfae3
6
+ metadata.gz: 155cccdff3983869b9681ee0795a21aa7974dac241a762720c03b98ab423c19efa93f3eafffc9140fe11d71bf150b9453874a96b8579783d5d90f4dca323725c
7
+ data.tar.gz: 4d86e3d3455856b68076e81daa9eb37d490dd6b28c825a788f31357edff9f65b2e149f5bd99df67e22cf0ae62d1c29512463ae4f1531acc3279a52310c89a182
data/README.md CHANGED
@@ -1635,12 +1635,12 @@ You can check your Ruby version by running `ruby -v`:
1635
1635
 
1636
1636
  Then run:
1637
1637
 
1638
- $ gem install travis -v 1.6.15 --no-rdoc --no-ri
1638
+ $ gem install travis -v 1.6.16 --no-rdoc --no-ri
1639
1639
 
1640
1640
  Now make sure everything is working:
1641
1641
 
1642
1642
  $ travis version
1643
- 1.6.15
1643
+ 1.6.16
1644
1644
 
1645
1645
  See also [Note on Ubuntu](#note-on-ubuntu) below.
1646
1646
 
@@ -1725,6 +1725,10 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
1725
1725
 
1726
1726
  ## Version History
1727
1727
 
1728
+ **1.6.16** (July 19, 2014)
1729
+
1730
+ * Fix check for updates.
1731
+
1728
1732
  **1.6.15** (July 18, 2014)
1729
1733
 
1730
1734
  * Add `travis env [list|add|set|copy]`.
@@ -158,7 +158,10 @@ module Travis
158
158
  end
159
159
 
160
160
  last_check['at'] = Time.now.to_i
161
- error "Outdated CLI version, run `gem install travis` or use --skip-version-check." if Travis::VERSION < last_check['version']
161
+ current = Travis::VERSION.split('.').map { |s| s.to_i }
162
+ latest = last_check['version'].split('.').map { |s| s.to_i }
163
+ check = current <=> latest
164
+ error "Outdated CLI version, run `gem install travis` or use --skip-version-check." if check < 0
162
165
  rescue Timeout::Error, Faraday::Error::ClientError => error
163
166
  debug "#{error.class}: #{error.message}"
164
167
  end
@@ -1,3 +1,3 @@
1
1
  module Travis
2
- VERSION = '1.6.15'
2
+ VERSION = '1.6.16'
3
3
  end
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  # general infos
4
4
  s.name = "travis"
5
- s.version = "1.6.15.1"
5
+ s.version = "1.6.16"
6
6
  s.description = "CLI and Ruby client library for Travis CI"
7
7
  s.homepage = "https://github.com/travis-ci/travis.rb"
8
8
  s.summary = "Travis CI client"
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.6.15.1
4
+ version: 1.6.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -39,7 +39,7 @@ authors:
39
39
  autorequire:
40
40
  bindir: bin
41
41
  cert_chain: []
42
- date: 2014-07-18 00:00:00.000000000 Z
42
+ date: 2014-07-19 00:00:00.000000000 Z
43
43
  dependencies:
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: faraday