travis 1.6.1.travis.363.4 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NzYyOTcyOTE3OTJmNDViZjM0N2NlOTA0Y2M4MzEzNGFiOGEyYzYxMw==
5
- data.tar.gz: !binary |-
6
- OTZmNjQ3YTA1Y2JmZDQ5N2Q2YWUyNDBhMDBjODkwOTBhMGFjZTA2Nw==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- N2FmNjM4ODEzOTUwMjgxMWFjNzg3MzNlYTQwZTdhNzU5OTgzZDRjYTQ1MGIw
10
- NGY2ZWM5OTJmN2I4YTc2MTA1M2E3NzY4ZjU4NTI0NTE2YzNhMGIzNTM4YzIz
11
- NGQ2NjViNDcwNmNjOGI5YzNjMDM0YzM1ODgzNWQ2ZjM2MGJlYzI=
12
- data.tar.gz: !binary |-
13
- NTVkNjA4YzYxMzc5OGYyZDcxODZlM2JiYzFlYWViNmY1MWJmM2Q4YTY1M2Zh
14
- YmI4OTY4OWVhM2ZmZTMyYzM3Yzg4NTk2NGJlZDY4ODFiYThiMWM2ZmFiNDkw
15
- NGQ1NDUxNTBjNzNhY2ZhMGJhOGEwOGMyOGRjMTcyYWJhY2NjOGE=
2
+ SHA1:
3
+ metadata.gz: b069d56cb42652f8444009aa6f815fa978c819f9
4
+ data.tar.gz: 4dea185ad4d4bc8a1b8124b4c1b4acef83ad4def
5
+ SHA512:
6
+ metadata.gz: 0b00c7d0a7b620351e2b1dc533e4b462f00b0278af546c2ca0fc0bb4ec6ee04270d725990c844c338fb175df9029e1edd5b913b860ec3606322605834c134155
7
+ data.tar.gz: a978c4204c8b60ec0cca23b12796a20157afb40c3d7aee292fd42722c0995380e6ae9a3c2a39584f8c58f8897943d5d86dcc9717fd69f5e607e3c1c41557088c
data/README.md CHANGED
@@ -1383,12 +1383,12 @@ You can check your Ruby version by running `ruby -v`:
1383
1383
 
1384
1384
  Then run:
1385
1385
 
1386
- $ gem install travis -v 1.6.0 --no-rdoc --no-ri
1386
+ $ gem install travis -v 1.6.1 --no-rdoc --no-ri
1387
1387
 
1388
1388
  Now make sure everything is working:
1389
1389
 
1390
1390
  $ travis version
1391
- 1.6.0
1391
+ 1.6.1
1392
1392
 
1393
1393
  ### Development Version
1394
1394
 
@@ -1443,6 +1443,10 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
1443
1443
 
1444
1444
  ## Version History
1445
1445
 
1446
+ **1.6.1** (November 4, 2013)
1447
+
1448
+ * Update autocompletion when updating travis gem.
1449
+
1446
1450
  **1.6.0** (November 4, 2013)
1447
1451
 
1448
1452
  * Add `travis cache` to list and delete directory caches.
@@ -134,13 +134,20 @@ module Travis
134
134
  end
135
135
 
136
136
  def check_completion
137
- return if skip_completion_check? or config['checked_completion'] or !interactive?
138
- write_to($stderr) do
139
- next if Tools::Completion.completion_installed?
140
- next unless agree('Shell completion not installed. Would you like to like to install it now? ') { |q| q.default = "y" }
141
- Tools::Completion.install_completion
137
+ return if skip_completion_check? or !interactive?
138
+
139
+ if config['checked_completion']
140
+ Tools::Completion.update_completion if config['completion_version'] != Travis::VERSION
141
+ else
142
+ write_to($stderr) do
143
+ next Tools::Completion.update_completion if Tools::Completion.completion_installed?
144
+ next unless agree('Shell completion not installed. Would you like to like to install it now? ') { |q| q.default = "y" }
145
+ Tools::Completion.install_completion
146
+ end
142
147
  end
148
+
143
149
  config['checked_completion'] = true
150
+ config['completion_version'] = Travis::VERSION
144
151
  end
145
152
 
146
153
  def check_ruby
@@ -19,8 +19,7 @@ module Travis
19
19
  end
20
20
 
21
21
  def install_completion
22
- mkdir_p(config_path)
23
- cp(Assets['travis.sh'], cmp_file)
22
+ update_completion
24
23
  source = "source " << cmp_file
25
24
 
26
25
  RCS.each do |file|
@@ -30,6 +29,11 @@ module Travis
30
29
  end
31
30
  end
32
31
 
32
+ def update_completion
33
+ mkdir_p(config_path)
34
+ cp(Assets['travis.sh'], cmp_file)
35
+ end
36
+
33
37
  def completion_installed?
34
38
  source = "source " << config_path
35
39
  RCS.each do |file|
@@ -1,3 +1,3 @@
1
1
  module Travis
2
- VERSION = '1.6.0'
2
+ VERSION = '1.6.1'
3
3
  end
data/travis.gemspec CHANGED
@@ -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.0"
5
+ s.version = "1.6.1"
6
6
  s.description = "CLI and Ruby client library for Travis CI"
7
7
  s.homepage = "https://github.com/travis-ci/travis"
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.1.travis.363.4
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -90,14 +90,14 @@ dependencies:
90
90
  name: backports
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ! '>='
93
+ - - '>='
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  type: :runtime
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - ! '>='
100
+ - - '>='
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  - !ruby/object:Gem::Dependency
@@ -408,18 +408,19 @@ require_paths:
408
408
  - lib
409
409
  required_ruby_version: !ruby/object:Gem::Requirement
410
410
  requirements:
411
- - - ! '>='
411
+ - - '>='
412
412
  - !ruby/object:Gem::Version
413
413
  version: '0'
414
414
  required_rubygems_version: !ruby/object:Gem::Requirement
415
415
  requirements:
416
- - - ! '>'
416
+ - - '>='
417
417
  - !ruby/object:Gem::Version
418
- version: 1.3.1
418
+ version: '0'
419
419
  requirements: []
420
420
  rubyforge_project:
421
- rubygems_version: 2.0.3
421
+ rubygems_version: 2.0.7
422
422
  signing_key:
423
423
  specification_version: 4
424
424
  summary: Travis CI client
425
425
  test_files: []
426
+ has_rdoc: