travis 1.6.9 → 1.6.10

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: ff2dc0b783d730ac6c898541e67602a7de7b0500
4
- data.tar.gz: 3b4777935646047e4fed1e1502e6bb0f0ba5ea63
3
+ metadata.gz: 44740a0114383f9bc72a589a4df0d1707ad35c55
4
+ data.tar.gz: 208de19208d8d07c75b8ee3e222e3f8b9b3cb3c9
5
5
  SHA512:
6
- metadata.gz: 9a40d7a8717b8e3690936c43c685f1eb51e9d105bd62e4b7cfd8978aa43032c7fcd256db125e36a20224a179a2b2a269b433328fcb62060e81275b5401299b3e
7
- data.tar.gz: 90aff6da7c16b8ffe6a5cc634d62665261329c5a738d7d967a603b7eb2f4223a10e6dca1da284eb787403b40a3c3d4fb4bf3e5d86f871687ab45a29b468a9894
6
+ metadata.gz: d99a92a87a325130f657bf1e8c18872a90de7f808150c8d62033d6466d9567de12703197ff5750f6a07eb3a831195bef1237e2fae84ed7951c026fabc7df08ba
7
+ data.tar.gz: 5fafb668f19069ddc06853bb106828b8dbafdef1ff91ac5b8c64888c783238805e600dc8ba61e1dd888083e9baac1b69ef0f6ae63984a4aec0f438ee09cc52d8
data/README.md CHANGED
@@ -64,11 +64,14 @@ The [travis gem](https://rubygems.org/gems/travis) includes both a [command line
64
64
  * [Using Namespaces](#using-namespaces)
65
65
  * [Installation](#installation)
66
66
  * [Updating your Ruby](#updating-your-ruby)
67
- * [Mac OSX via Homebrew](#mac-osx-via-homebrew)
67
+ * [Mac OS X via Homebrew](#mac-os-x-via-homebrew)
68
68
  * [Windows](#windows)
69
69
  * [Other Unix systems](#other-unix-systems)
70
70
  * [Ruby versioning tools](#ruby-versioning-tools)
71
- * [Upgrading from travis-cli](#upgrading-from-travis-cli)
71
+ * [Troubleshooting](#troubleshooting)
72
+ * [Ubuntu](#ubuntu)
73
+ * [Mac OS X](#mac-os-x)
74
+ * [Upgrading from travis-cli](#upgrading-from-travis-cli)
72
75
  * [Version History](#version-history)
73
76
 
74
77
  ## Command Line Client
@@ -1523,12 +1526,12 @@ You can check your Ruby version by running `ruby -v`:
1523
1526
 
1524
1527
  Then run:
1525
1528
 
1526
- $ gem install travis -v 1.6.9 --no-rdoc --no-ri
1529
+ $ gem install travis -v 1.6.10 --no-rdoc --no-ri
1527
1530
 
1528
1531
  Now make sure everything is working:
1529
1532
 
1530
1533
  $ travis version
1531
- 1.6.9
1534
+ 1.6.10
1532
1535
 
1533
1536
  See also [Note on Ubuntu](#note-on-ubuntu) below.
1534
1537
 
@@ -1544,7 +1547,7 @@ We automatically publish a new development version after every successful build.
1544
1547
 
1545
1548
  If you have an outdated Ruby version, you should use your package system or a Ruby Installer to install a recent Ruby.
1546
1549
 
1547
- #### Mac OSX via Homebrew
1550
+ #### Mac OS X via Homebrew
1548
1551
 
1549
1552
  Mac OSX prior to 10.9 ships with a very dated Ruby version. You can use [Homebrew](http://mxcl.github.io/homebrew/) to install a recent version:
1550
1553
 
@@ -1580,7 +1583,15 @@ Arch Linux:
1580
1583
 
1581
1584
  $ sudo pacman -S ruby
1582
1585
 
1583
- #### Note on Ubuntu
1586
+ #### Ruby versioning tools
1587
+
1588
+ Alternatively, you can use a Ruby version management tool such as [rvm](https://rvm.io/rvm/install/), [rbenv](http://rbenv.org/) or [chruby](https://github.com/postmodern/chruby). This is only recommended if you need to run multiple versions of Ruby.
1589
+
1590
+ You can of course always compile Ruby from source, though then you are left with the hassle of keeping it up to date and making sure that everything is set up properly.
1591
+
1592
+ ### Troubleshooting
1593
+
1594
+ #### Ubuntu
1584
1595
 
1585
1596
  On certain versions of Ubuntu (e.g., 13.10), you need to install the corresponding `-dev` package
1586
1597
  in order to build the C extension on which `travis` gem depends.
@@ -1593,17 +1604,20 @@ If you updated to Ruby 2.1 as shown above:
1593
1604
 
1594
1605
  $ sudo apt-get install ruby2.1-dev
1595
1606
 
1596
- #### Ruby versioning tools
1607
+ #### Mac OS X
1597
1608
 
1598
- Alternatively, you can use a Ruby version management tool such as [rvm](https://rvm.io/rvm/install/), [rbenv](http://rbenv.org/) or [chruby](https://github.com/postmodern/chruby). This is only recommended if you need to run multiple versions of Ruby.
1609
+ Mac OS X 10.9.2 shipped with a slightly broken Ruby version. If you want to install the gem via the system Ruby and you get an error, you might have to run the following instead:
1599
1610
 
1600
- You can of course always compile Ruby from source, though then you are left with the hassle of keeping it up to date and making sure that everything is set up properly.
1611
+ $ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future gem install travis
1601
1612
 
1602
- ### Upgrading from travis-cli
1613
+ #### Upgrading from travis-cli
1603
1614
 
1604
1615
  If you have the old `travis-cli` gem installed, you should `gem uninstall travis-cli`, just to be sure, as it ships with an executable that is also named `travis`.
1605
1616
 
1606
1617
  ## Version History
1618
+ **1.6.10** (April 24, 2014)
1619
+ * Better CloudFoundry support
1620
+ * Update Faraday to version 0.9.
1607
1621
 
1608
1622
  **1.6.9** (April 9, 2014)
1609
1623
 
@@ -8,10 +8,10 @@ module Travis
8
8
 
9
9
  def run
10
10
  deploy 'provider' => 'cloudfoundry' do |config|
11
- target_file = File.expand_path('.cf/target', Dir.home)
12
- config['target'] ||= File.read(target_file).chomp if File.exist? target_file
13
- config['target'] ||= ask("Cloud Foundry target: ").to_s
14
- config['username'] ||= ask("Cloud Foundry user name: ").to_s
11
+ target_file = File.expand_path('.cf/config.json', Dir.home)
12
+ config['api'] ||= JSON.parse(File.read(target_file))["Target"] if File.exist? target_file
13
+ config['api'] ||= ask("Cloud Foundry api: ").to_s
14
+ config['username'] ||= ask("Cloud Foundry username: ").to_s
15
15
  config['password'] ||= ask("Cloud Foundry password: ") { |q| q.echo = "*" }.to_s
16
16
  config['organization'] ||= ask("Cloud Foundry organization: ").to_s
17
17
  config['space'] ||= ask("Cloud Foundry space: ").to_s
@@ -1,3 +1,3 @@
1
1
  module Travis
2
- VERSION = '1.6.9'
2
+ VERSION = '1.6.10'
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.9"
5
+ s.version = "1.6.10"
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"
@@ -16,12 +16,12 @@ Gem::Specification.new do |s|
16
16
  "Aaron Hill",
17
17
  "Hiro Asari",
18
18
  "Peter Souter",
19
- "joshua-anderson",
20
19
  "Peter van Dijk",
20
+ "joshua-anderson",
21
21
  "Max Barnash",
22
22
  "Carlos Palhares",
23
23
  "Mathias Meyer",
24
- "Joshua Anderson",
24
+ "Thais Camilo and Konstantin Haase",
25
25
  "Justin Lambert",
26
26
  "Adrien Brault",
27
27
  "Laurent Petit",
@@ -31,8 +31,8 @@ Gem::Specification.new do |s|
31
31
  "Neamar",
32
32
  "Piotr Sarnacki",
33
33
  "Rapha\xC3\xABl Pinson",
34
- "Thais Camilo and Konstantin Haase",
35
34
  "Tobias Wilken",
35
+ "Zachary Gershman",
36
36
  "Zachary Scott",
37
37
  "jeffdh",
38
38
  "john muhl",
@@ -41,23 +41,24 @@ Gem::Specification.new do |s|
41
41
  "Benjamin Manns",
42
42
  "Jacob Burkhart",
43
43
  "Jonne Ha\xC3\x9F",
44
- "Josh Kalderimis"
44
+ "Josh Kalderimis",
45
+ "Joshua Anderson"
45
46
  ]
46
47
 
47
48
  # generated from git shortlog -sne
48
49
  s.email = [
49
50
  "konstantin.mailinglists@googlemail.com",
50
51
  "aa1ronham@gmail.com",
51
- "me@henrikhodne.com",
52
52
  "asari.ruby@gmail.com",
53
- "p.morsou@gmail.com",
53
+ "me@henrikhodne.com",
54
54
  "henrik@hodne.io",
55
- "j@zatigo.com",
55
+ "p.morsou@gmail.com",
56
56
  "peter.van.dijk@netherlabs.nl",
57
+ "j@zatigo.com",
57
58
  "i.am@anhero.ru",
58
59
  "me@xjunior.me",
59
60
  "meyer@paperplanes.de",
60
- "jlambert@eml.cc",
61
+ "dev+narwen+rkh@rkh.im",
61
62
  "benmanns@gmail.com",
62
63
  "adrien.brault@gmail.com",
63
64
  "laurent.petit@gmail.com",
@@ -67,8 +68,8 @@ Gem::Specification.new do |s|
67
68
  "neamar@neamar.fr",
68
69
  "drogus@gmail.com",
69
70
  "raphael.pinson@camptocamp.com",
70
- "dev+narwen+rkh@rkh.im",
71
71
  "tw@cloudcontrol.de",
72
+ "pair+zg@pivotallabs.com",
72
73
  "e@zzak.io",
73
74
  "jeffdh@gmail.com",
74
75
  "git@johnmuhl.com",
@@ -77,7 +78,8 @@ Gem::Specification.new do |s|
77
78
  "jburkhart@engineyard.com",
78
79
  "me@jhass.eu",
79
80
  "josh.kalderimis@gmail.com",
80
- "j@zatigo.com"
81
+ "j@zatigo.com",
82
+ "jlambert@eml.cc"
81
83
  ]
82
84
 
83
85
  # generated from git ls-files
@@ -243,7 +245,7 @@ Gem::Specification.new do |s|
243
245
  ]
244
246
 
245
247
  # dependencies
246
- s.add_dependency "faraday", "~> 0.8.7" # FIXME
248
+ s.add_dependency "faraday", "~> 0.9"
247
249
  s.add_dependency "faraday_middleware", "~> 0.9"
248
250
  s.add_dependency "highline", "~> 1.6"
249
251
  s.add_dependency "backports"
@@ -258,5 +260,9 @@ Gem::Specification.new do |s|
258
260
  s.add_development_dependency "rack-test", "~> 0.6"
259
261
 
260
262
  # Prereleasing on Travis CI
261
- s.version = s.version.to_s.succ + ".travis.#{ENV['TRAVIS_JOB_NUMBER']}" if ENV['TRAVIS_JOB_NUMBER']
263
+ if ENV['TRAVIS_JOB_NUMBER']
264
+ digits = s.version.to_s.split '.'
265
+ digits[-1] = digits[-1].to_s.succ
266
+ s.version = digits.join('.') + ".travis.#{ENV['TRAVIS_JOB_NUMBER']}"
267
+ end
262
268
  end
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.9
4
+ version: 1.6.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -9,12 +9,12 @@ authors:
9
9
  - Aaron Hill
10
10
  - Hiro Asari
11
11
  - Peter Souter
12
- - joshua-anderson
13
12
  - Peter van Dijk
13
+ - joshua-anderson
14
14
  - Max Barnash
15
15
  - Carlos Palhares
16
16
  - Mathias Meyer
17
- - Joshua Anderson
17
+ - Thais Camilo and Konstantin Haase
18
18
  - Justin Lambert
19
19
  - Adrien Brault
20
20
  - Laurent Petit
@@ -24,8 +24,8 @@ authors:
24
24
  - Neamar
25
25
  - Piotr Sarnacki
26
26
  - Raphaël Pinson
27
- - Thais Camilo and Konstantin Haase
28
27
  - Tobias Wilken
28
+ - Zachary Gershman
29
29
  - Zachary Scott
30
30
  - jeffdh
31
31
  - john muhl
@@ -35,10 +35,11 @@ authors:
35
35
  - Jacob Burkhart
36
36
  - Jonne Haß
37
37
  - Josh Kalderimis
38
+ - Joshua Anderson
38
39
  autorequire:
39
40
  bindir: bin
40
41
  cert_chain: []
41
- date: 2014-04-09 00:00:00.000000000 Z
42
+ date: 2014-04-24 00:00:00.000000000 Z
42
43
  dependencies:
43
44
  - !ruby/object:Gem::Dependency
44
45
  name: faraday
@@ -46,14 +47,14 @@ dependencies:
46
47
  requirements:
47
48
  - - "~>"
48
49
  - !ruby/object:Gem::Version
49
- version: 0.8.7
50
+ version: '0.9'
50
51
  type: :runtime
51
52
  prerelease: false
52
53
  version_requirements: !ruby/object:Gem::Requirement
53
54
  requirements:
54
55
  - - "~>"
55
56
  - !ruby/object:Gem::Version
56
- version: 0.8.7
57
+ version: '0.9'
57
58
  - !ruby/object:Gem::Dependency
58
59
  name: faraday_middleware
59
60
  requirement: !ruby/object:Gem::Requirement
@@ -226,16 +227,16 @@ description: CLI and Ruby client library for Travis CI
226
227
  email:
227
228
  - konstantin.mailinglists@googlemail.com
228
229
  - aa1ronham@gmail.com
229
- - me@henrikhodne.com
230
230
  - asari.ruby@gmail.com
231
- - p.morsou@gmail.com
231
+ - me@henrikhodne.com
232
232
  - henrik@hodne.io
233
- - j@zatigo.com
233
+ - p.morsou@gmail.com
234
234
  - peter.van.dijk@netherlabs.nl
235
+ - j@zatigo.com
235
236
  - i.am@anhero.ru
236
237
  - me@xjunior.me
237
238
  - meyer@paperplanes.de
238
- - jlambert@eml.cc
239
+ - dev+narwen+rkh@rkh.im
239
240
  - benmanns@gmail.com
240
241
  - adrien.brault@gmail.com
241
242
  - laurent.petit@gmail.com
@@ -245,8 +246,8 @@ email:
245
246
  - neamar@neamar.fr
246
247
  - drogus@gmail.com
247
248
  - raphael.pinson@camptocamp.com
248
- - dev+narwen+rkh@rkh.im
249
249
  - tw@cloudcontrol.de
250
+ - pair+zg@pivotallabs.com
250
251
  - e@zzak.io
251
252
  - jeffdh@gmail.com
252
253
  - git@johnmuhl.com
@@ -256,6 +257,7 @@ email:
256
257
  - me@jhass.eu
257
258
  - josh.kalderimis@gmail.com
258
259
  - j@zatigo.com
260
+ - jlambert@eml.cc
259
261
  executables:
260
262
  - travis
261
263
  extensions: []
@@ -439,7 +441,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
439
441
  version: '0'
440
442
  requirements: []
441
443
  rubyforge_project:
442
- rubygems_version: 2.0.14
444
+ rubygems_version: 2.2.2
443
445
  signing_key:
444
446
  specification_version: 4
445
447
  summary: Travis CI client