travis 1.5.6.travis.337.4 → 1.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YzAwMjM2MzczZjcyM2Y0MjY0MDAwNzFmMGQ3YjEwYmVjMzI4NjUzYQ==
5
- data.tar.gz: !binary |-
6
- YjY1ZmQ4YWY2NDJmYjI4OWU3NDFiYzBhZGZjMDFmYzU3MzNlZTM0Zg==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- ZWNkY2RiNThkYjhlMWIzMDhhMWQwMWYxYzgyZmEzNzgzM2M5NGI3MjkzMTg0
10
- OTlkZjA4ZDI0NGY5Y2RlOTY0ZjM5NDdmMTU2MGE0OGViZGU3YzM0Y2ExNDQz
11
- MGM2YTllNzMxYTBkYmNlMDgwOTIwZWIxOTcyNGZmZWJkMjQ0ZjM=
12
- data.tar.gz: !binary |-
13
- ZGRiYWVjYjlmMjRmOTIwMzkwMGVmNjFlYWUzYzcxNjViYjU3YTZhYjI2NzJl
14
- NjE5NWQ2ZTcwMWU5NzEwZTQ1NjM3MzNmOWRkN2M2MTE0OWM4MmUxOGZiOTIx
15
- ODE4ZTZiNTZmYTkwMWFlZjViMDVhNTQ2NjcwNmQxYjU3MGRlYjg=
2
+ SHA1:
3
+ metadata.gz: b1f6825017221a6c86a257dadd0e95f965cb6b42
4
+ data.tar.gz: 65a2b0066c1a64076ca646bc2638419b9d115504
5
+ SHA512:
6
+ metadata.gz: 0ae8bbf8225b26a51bc5551f2309b9f467f18fe3e012536ec779b461cc21e72c83eeec4be8f1b579d8aeebdbff04e61a2aa01d7ac0ba780617ffb50c48a75200
7
+ data.tar.gz: c807e806665b3576e3ff6b0f37bb5fd1906766075293e5890cafac993f8b58f50ef4ea96ec522faf98258d25623c19a242d96fc4841cda794fb0338182dc63da
data/README.md CHANGED
@@ -1242,12 +1242,12 @@ You can check your Ruby version by running `ruby -v`:
1242
1242
 
1243
1243
  Then run:
1244
1244
 
1245
- $ gem install travis -v 1.5.5 --no-rdoc --no-ri
1245
+ $ gem install travis -v 1.5.6 --no-rdoc --no-ri
1246
1246
 
1247
1247
  Now make sure everything is working:
1248
1248
 
1249
1249
  $ travis version
1250
- 1.5.5
1250
+ 1.5.6
1251
1251
 
1252
1252
  ### Development Version
1253
1253
 
@@ -1302,7 +1302,7 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
1302
1302
 
1303
1303
  ## Version History
1304
1304
 
1305
- **unreleased changes**
1305
+ **1.5.6** (October 22, 2013)
1306
1306
 
1307
1307
  * Add `travis setup appfog` and `travis setup s3`.
1308
1308
  * Use new API for fetching a single branch for Repository#branch. This also circumvents the 25 branches limit.
data/completion/travis.sh CHANGED
@@ -20,7 +20,7 @@ if type compdef 1>/dev/null 2>/dev/null; then
20
20
  compdef _travis travis
21
21
  _travis() { _travis_complete $((${#words} - 1)) "${words[2]}"; }
22
22
  _travis_commands() { list=(accounts:"displays accounts and their subscription status" branches:"displays the most recent build for each branch" cancel:"cancels a job or build" console:"interactive shell" disable:"disables a project" enable:"enables a project" encrypt:"encrypts values for the .travis.yml" endpoint:"displays or changes the API endpoint" help:"helps you out when in dire need of information" history:"displays a projects build history" init:"generates a .travis.yml and enables the project" login:"authenticates against the API and stores the token" logout:"deletes the stored API token" logs:"streams test logs" monitor:"live monitor for what's going on" open:"opens a build or job in the browser" pubkey:"prints out a repository's public key" raw:"makes an (authenticated) API call and prints out the result" restart:"restarts a build or job" setup:"sets up an addon or deploy target" show:"displays a build or job" status:"checks status of the latest build" sync:"triggers a new sync with GitHub" token:"outputs the secret API token" version:"outputs the client version" whatsup:"lists most recent builds" whoami:"outputs the current user") _describe -t common-commands 'common commands' list; }
23
- _travis_setup() { list=(appfog:"automatic deployment to Appfog" cloudcontrol:"automatic deployment to cloudControl" cloudfoundry:"automatic deployment to Cloud Foundry" engineyard:"automatic deployment to Engine Yard" heroku:"automatic deployment to Heroku" npm:"automatic release to NPM" nodejitsu:"automatic deployment to Nodejitsu" openshift:"automatic deployment to OpenShfit" pypi:"automatic deployment to PyPI" rubygems:"automatic release to RubyGems" sauce_connect:"Sauce Connet addon for Sauce Labs integration") _describe -t common-commands 'common commands' list; }
23
+ _travis_setup() { list=(appfog:"automatic deployment to Appfog" cloudcontrol:"automatic deployment to cloudControl" cloudfoundry:"automatic deployment to Cloud Foundry" engineyard:"automatic deployment to Engine Yard" heroku:"automatic deployment to Heroku" npm:"automatic release to NPM" nodejitsu:"automatic deployment to Nodejitsu" openshift:"automatic deployment to OpenShfit" pypi:"automatic deployment to PyPI" rubygems:"automatic release to RubyGems" s:"automatic pushing to S3" sauce_connect:"Sauce Connet addon for Sauce Labs integration") _describe -t common-commands 'common commands' list; }
24
24
  _travis_init() { list=(c:'initialize c project' clojure:'initialize clojure project' cpp:'initialize cpp project' erlang:'initialize erlang project' go:'initialize go project' groovy:'initialize groovy project' haskell:'initialize haskell project' java:'initialize java project' node_js:'initialize node_js project' objective-c:'initialize objective-c project' perl:'initialize perl project' php:'initialize php project' python:'initialize python project' ruby:'initialize ruby project' scala:'initialize scala project') _describe -t common-commands 'common commands' list; }
25
25
  _travis_option() {
26
26
  case "${words[2]}" in
@@ -57,7 +57,7 @@ elif type compctl 1>/dev/null 2>/dev/null; then
57
57
  compctl -K _travis travis
58
58
  _travis() { read -cA words && _travis_complete $((${#words} - 1)) "${words[2]}"; }
59
59
  _travis_commands() { reply=("accounts" "branches" "cancel" "console" "disable" "enable" "encrypt" "endpoint" "help" "history" "init" "login" "logout" "logs" "monitor" "open" "pubkey" "raw" "restart" "setup" "show" "status" "sync" "token" "version" "whatsup" "whoami"); }
60
- _travis_setup() { reply=("appfog" "cloudcontrol" "cloudfoundry" "engineyard" "heroku" "npm" "nodejitsu" "openshift" "pypi" "rubygems" "sauce_connect"); }
60
+ _travis_setup() { reply=("appfog" "cloudcontrol" "cloudfoundry" "engineyard" "heroku" "npm" "nodejitsu" "openshift" "pypi" "rubygems" "s" "sauce_connect"); }
61
61
  _travis_init() { reply=("c" "clojure" "cpp" "erlang" "go" "groovy" "haskell" "java" "node_js" "objective-c" "perl" "php" "python" "ruby" "scala"); }
62
62
  _travis_option() {
63
63
  case "${words[2]}" in
@@ -94,7 +94,7 @@ elif type complete 1>/dev/null 2>/dev/null; then
94
94
  complete -F _travis travis
95
95
  _travis() { _travis_complete "$COMP_CWORD" "${COMP_WORDS[1]}"; }
96
96
  _travis_commands() { COMPREPLY=( $(compgen -W "accounts branches cancel console disable enable encrypt endpoint help history init login logout logs monitor open pubkey raw restart setup show status sync token version whatsup whoami" -- "${COMP_WORDS[COMP_CWORD]}") ); }
97
- _travis_setup() { COMPREPLY=( $(compgen -W "appfog cloudcontrol cloudfoundry engineyard heroku npm nodejitsu openshift pypi rubygems sauce_connect" -- "${COMP_WORDS[COMP_CWORD]}") ); }
97
+ _travis_setup() { COMPREPLY=( $(compgen -W "appfog cloudcontrol cloudfoundry engineyard heroku npm nodejitsu openshift pypi rubygems s sauce_connect" -- "${COMP_WORDS[COMP_CWORD]}") ); }
98
98
  _travis_init() { COMPREPLY=( $(compgen -W "c clojure cpp erlang go groovy haskell java node_js objective-c perl php python ruby scala" -- "${COMP_WORDS[COMP_CWORD]}") ); }
99
99
  _travis_option() {
100
100
  local options
@@ -0,0 +1,21 @@
1
+ require 'travis/cli/setup'
2
+
3
+ module Travis
4
+ module CLI
5
+ class Setup
6
+ class S3 < Service
7
+ description "automatic pushing to S3"
8
+
9
+ def run
10
+ deploy 's3', 'push' do |config|
11
+ config['access_key_id'] = ask("Access key ID: ").to_s
12
+ config['secret_access_key'] = ask("Secret access key: ") { |q| q.echo = "*" }.to_s
13
+ config['bucket'] = ask("Bucket: ").to_s
14
+
15
+ encrypt(config, 'secret_access_key') if agree("Encrypt secret access key? ") { |q| q.default = 'yes' }
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
@@ -1,3 +1,3 @@
1
1
  module Travis
2
- VERSION = '1.5.5'
2
+ VERSION = '1.5.6'
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.5.5"
5
+ s.version = "1.5.6"
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"
@@ -123,6 +123,7 @@ Gem::Specification.new do |s|
123
123
  "lib/travis/cli/setup/open_shift.rb",
124
124
  "lib/travis/cli/setup/pypi.rb",
125
125
  "lib/travis/cli/setup/ruby_gems.rb",
126
+ "lib/travis/cli/setup/s3.rb",
126
127
  "lib/travis/cli/setup/sauce_connect.rb",
127
128
  "lib/travis/cli/setup/service.rb",
128
129
  "lib/travis/cli/show.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.5.6.travis.337.4
4
+ version: 1.5.6
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
@@ -163,7 +163,7 @@ dependencies:
163
163
  - - ~>
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0.3'
166
- - - ! '>='
166
+ - - '>='
167
167
  - !ruby/object:Gem::Version
168
168
  version: 0.3.1
169
169
  type: :runtime
@@ -173,21 +173,21 @@ dependencies:
173
173
  - - ~>
174
174
  - !ruby/object:Gem::Version
175
175
  version: '0.3'
176
- - - ! '>='
176
+ - - '>='
177
177
  - !ruby/object:Gem::Version
178
178
  version: 0.3.1
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: terminal-notifier
181
181
  requirement: !ruby/object:Gem::Requirement
182
182
  requirements:
183
- - - ! '>='
183
+ - - '>='
184
184
  - !ruby/object:Gem::Version
185
185
  version: 1.4.2
186
186
  type: :runtime
187
187
  prerelease: false
188
188
  version_requirements: !ruby/object:Gem::Requirement
189
189
  requirements:
190
- - - ! '>='
190
+ - - '>='
191
191
  - !ruby/object:Gem::Version
192
192
  version: 1.4.2
193
193
  - !ruby/object:Gem::Dependency
@@ -322,6 +322,7 @@ files:
322
322
  - lib/travis/cli/setup/open_shift.rb
323
323
  - lib/travis/cli/setup/pypi.rb
324
324
  - lib/travis/cli/setup/ruby_gems.rb
325
+ - lib/travis/cli/setup/s3.rb
325
326
  - lib/travis/cli/setup/sauce_connect.rb
326
327
  - lib/travis/cli/setup/service.rb
327
328
  - lib/travis/cli/show.rb
@@ -401,18 +402,19 @@ require_paths:
401
402
  - lib
402
403
  required_ruby_version: !ruby/object:Gem::Requirement
403
404
  requirements:
404
- - - ! '>='
405
+ - - '>='
405
406
  - !ruby/object:Gem::Version
406
407
  version: '0'
407
408
  required_rubygems_version: !ruby/object:Gem::Requirement
408
409
  requirements:
409
- - - ! '>'
410
+ - - '>='
410
411
  - !ruby/object:Gem::Version
411
- version: 1.3.1
412
+ version: '0'
412
413
  requirements: []
413
414
  rubyforge_project:
414
- rubygems_version: 2.0.3
415
+ rubygems_version: 2.0.7
415
416
  signing_key:
416
417
  specification_version: 4
417
418
  summary: Travis CI client
418
419
  test_files: []
420
+ has_rdoc: