travis 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 48ae038ebc8fe65bc53a3e6ed066bb28e7d6cfd2
4
+ data.tar.gz: 62c2594506f70fecd4a968845874ec0f437e5554
5
+ SHA512:
6
+ metadata.gz: c1ec04404b5187033308316c51eeb9d70dd566b095d75ef59ac3016a1cf9d3c5a35306fcf7268dff45e616888c3658fb7ec4c2e1b8fad88d54fc3ef438fe430d
7
+ data.tar.gz: 9640638761e3e557fd4751c2386afed2b72b6add16ab1f1437e53dd216c703c7ef5a11454b81aee122e04cac6dfb2f4b5d35203adf69660fd7afab0d332ee0ad
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # The Travis Client
2
2
 
3
+ [![Build Status](https://travis-ci.org/travis-ci/travis.png?branch=master)](https://travis-ci.org/travis-ci/travis)
4
+
3
5
  The [travis gem](https://rubygems.org/gems/travis) includes both a command line client and a Ruby library to interface with a Travis CI service. Both work with [travis-ci.org](https://travis-ci.org), [travis-ci.com](https://travis-ci.com) or any custom Travis CI setup you might have.
4
6
 
5
7
  ## Table of Contents
@@ -886,7 +888,13 @@ If you have the old `travis-cli` gem installed, you should `gem uninstall travis
886
888
 
887
889
  ## Version History
888
890
 
889
- **Not yet released**
891
+ **v1.2.1** (May 24, 2013)
892
+
893
+ * Builds with high build numbers are properly aligned when running `travis history`.
894
+ * Don't lock against a specific backports version, makes it easier to use it as a Ruby library.
895
+ * Fix encoding issues.
896
+
897
+ **v1.2.0** (February 22, 2013)
890
898
 
891
899
  * add `--adapter` to API endpoints
892
900
  * added branch to `show`
@@ -149,8 +149,8 @@ module Travis
149
149
  data = data.gsub(/<\[\[/, '<%=').gsub(/\]\]>/, '%>')
150
150
  end
151
151
 
152
- def template(file)
153
- File.read(file).split('__END__', 2)[1].strip
152
+ def template(*args)
153
+ File.read(*args).split('__END__', 2)[1].strip
154
154
  end
155
155
 
156
156
  def color(line, style)
@@ -69,5 +69,5 @@ Please add the following to your <[[ color('.travis.yml', :info) ]]> file:
69
69
 
70
70
  %s
71
71
 
72
- Pro Tip<[[ "™" unless Travis::CLI.windows? ]]>: You can add it automatically by running with <[[ color('--add', :info) ]]>.
72
+ Pro Tip: You can add it automatically by running with <[[ color('--add', :info) ]]>.
73
73
 
@@ -33,7 +33,7 @@ module Travis
33
33
 
34
34
  def display(build)
35
35
  say [
36
- color("##{build.number} #{build.state}:".ljust(14), [build.color, :bold]),
36
+ color("##{build.number} #{build.state}:".ljust(16), [build.color, :bold]),
37
37
  color("#{build.branch_info} ", :info),
38
38
  build.commit.subject
39
39
  ].join
@@ -10,7 +10,7 @@ module Travis
10
10
  abstract
11
11
 
12
12
  def setup
13
- error "Can't figure out GitHub repo name. Are you in the right directory?" unless self.slug ||= find_slug
13
+ error "Can't figure out GitHub repo name. Ensure you're in the repo directory, or specify the repo name via the -r option (e.g. travis <command> -r <repo-name>)" unless self.slug ||= find_slug
14
14
  self.api_endpoint = detect_api_endpoint
15
15
  super
16
16
  repository.load # makes sure we actually have access to the repo
@@ -1,3 +1,3 @@
1
1
  module Travis
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
@@ -3,7 +3,7 @@ require 'spec_helper'
3
3
  describe Travis::CLI::History do
4
4
  example 'travis history' do
5
5
  run_cli('history').should be_success
6
- stdout.should be == "#6180 failed: master Associaton -> Association\n"
6
+ stdout.should be == "#6180 failed: master Associaton -> Association\n"
7
7
  end
8
8
 
9
9
  example 'travis history -a 6180' do
@@ -13,7 +13,7 @@ describe Travis::CLI::History do
13
13
 
14
14
  example 'travis history -b master' do
15
15
  run_cli('history', '-b', 'master').should be_success
16
- stdout.should be == "#6180 failed: master Associaton -> Association\n"
16
+ stdout.should be == "#6180 failed: master Associaton -> Association\n"
17
17
  end
18
18
 
19
19
  example 'travis history -b not-master' do
@@ -2,7 +2,7 @@
2
2
  Gem::Specification.new do |s|
3
3
  # general infos
4
4
  s.name = "travis"
5
- s.version = "1.2.0"
5
+ s.version = "1.2.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"
@@ -13,18 +13,24 @@ Gem::Specification.new do |s|
13
13
  s.authors = [
14
14
  "Konstantin Haase",
15
15
  "Henrik Hodne",
16
- "Adrien Brault",
16
+ "Max Barnash",
17
17
  "Mario Visic",
18
- "Piotr Sarnacki"
18
+ "Adrien Brault",
19
+ "Piotr Sarnacki",
20
+ "Justin Lambert",
21
+ "Laurent Petit"
19
22
  ]
20
23
 
21
24
  # generated from git shortlog -sne
22
25
  s.email = [
23
26
  "konstantin.mailinglists@googlemail.com",
24
27
  "me@henrikhodne.com",
28
+ "i.am@anhero.ru",
25
29
  "adrien.brault@gmail.com",
26
- "mario@mariovisic.com",
27
- "drogus@gmail.com"
30
+ "drogus@gmail.com",
31
+ "jlambert@eml.cc",
32
+ "laurent.petit@gmail.com",
33
+ "mario@mariovisic.com"
28
34
  ]
29
35
 
30
36
  # generated from git ls-files
@@ -115,8 +121,8 @@ Gem::Specification.new do |s|
115
121
  s.add_dependency "faraday_middleware", "~> 0.9"
116
122
  s.add_dependency "highline", "~> 1.6"
117
123
  s.add_dependency "netrc", "~> 0.7"
118
- s.add_dependency "gh", "~> 0.9"
119
- s.add_dependency "backports", "~> 2.6"
124
+ s.add_dependency "backports"
125
+ s.add_dependency "gh"
120
126
  s.add_dependency "launchy", "~> 2.1"
121
127
  s.add_dependency "pry", "~> 0.9"
122
128
  s.add_dependency "net-http-persistent", "~> 2.8"
metadata CHANGED
@@ -1,24 +1,25 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: travis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
5
- prerelease:
4
+ version: 1.2.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Konstantin Haase
9
8
  - Henrik Hodne
10
- - Adrien Brault
9
+ - Max Barnash
11
10
  - Mario Visic
11
+ - Adrien Brault
12
12
  - Piotr Sarnacki
13
+ - Justin Lambert
14
+ - Laurent Petit
13
15
  autorequire:
14
16
  bindir: bin
15
17
  cert_chain: []
16
- date: 2013-02-22 00:00:00.000000000 Z
18
+ date: 2013-05-24 00:00:00.000000000 Z
17
19
  dependencies:
18
20
  - !ruby/object:Gem::Dependency
19
21
  name: faraday
20
22
  requirement: !ruby/object:Gem::Requirement
21
- none: false
22
23
  requirements:
23
24
  - - ~>
24
25
  - !ruby/object:Gem::Version
@@ -26,7 +27,6 @@ dependencies:
26
27
  type: :runtime
27
28
  prerelease: false
28
29
  version_requirements: !ruby/object:Gem::Requirement
29
- none: false
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
@@ -34,7 +34,6 @@ dependencies:
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: faraday_middleware
36
36
  requirement: !ruby/object:Gem::Requirement
37
- none: false
38
37
  requirements:
39
38
  - - ~>
40
39
  - !ruby/object:Gem::Version
@@ -42,7 +41,6 @@ dependencies:
42
41
  type: :runtime
43
42
  prerelease: false
44
43
  version_requirements: !ruby/object:Gem::Requirement
45
- none: false
46
44
  requirements:
47
45
  - - ~>
48
46
  - !ruby/object:Gem::Version
@@ -50,7 +48,6 @@ dependencies:
50
48
  - !ruby/object:Gem::Dependency
51
49
  name: highline
52
50
  requirement: !ruby/object:Gem::Requirement
53
- none: false
54
51
  requirements:
55
52
  - - ~>
56
53
  - !ruby/object:Gem::Version
@@ -58,7 +55,6 @@ dependencies:
58
55
  type: :runtime
59
56
  prerelease: false
60
57
  version_requirements: !ruby/object:Gem::Requirement
61
- none: false
62
58
  requirements:
63
59
  - - ~>
64
60
  - !ruby/object:Gem::Version
@@ -66,7 +62,6 @@ dependencies:
66
62
  - !ruby/object:Gem::Dependency
67
63
  name: netrc
68
64
  requirement: !ruby/object:Gem::Requirement
69
- none: false
70
65
  requirements:
71
66
  - - ~>
72
67
  - !ruby/object:Gem::Version
@@ -74,47 +69,41 @@ dependencies:
74
69
  type: :runtime
75
70
  prerelease: false
76
71
  version_requirements: !ruby/object:Gem::Requirement
77
- none: false
78
72
  requirements:
79
73
  - - ~>
80
74
  - !ruby/object:Gem::Version
81
75
  version: '0.7'
82
76
  - !ruby/object:Gem::Dependency
83
- name: gh
77
+ name: backports
84
78
  requirement: !ruby/object:Gem::Requirement
85
- none: false
86
79
  requirements:
87
- - - ~>
80
+ - - '>='
88
81
  - !ruby/object:Gem::Version
89
- version: '0.9'
82
+ version: '0'
90
83
  type: :runtime
91
84
  prerelease: false
92
85
  version_requirements: !ruby/object:Gem::Requirement
93
- none: false
94
86
  requirements:
95
- - - ~>
87
+ - - '>='
96
88
  - !ruby/object:Gem::Version
97
- version: '0.9'
89
+ version: '0'
98
90
  - !ruby/object:Gem::Dependency
99
- name: backports
91
+ name: gh
100
92
  requirement: !ruby/object:Gem::Requirement
101
- none: false
102
93
  requirements:
103
- - - ~>
94
+ - - '>='
104
95
  - !ruby/object:Gem::Version
105
- version: '2.6'
96
+ version: '0'
106
97
  type: :runtime
107
98
  prerelease: false
108
99
  version_requirements: !ruby/object:Gem::Requirement
109
- none: false
110
100
  requirements:
111
- - - ~>
101
+ - - '>='
112
102
  - !ruby/object:Gem::Version
113
- version: '2.6'
103
+ version: '0'
114
104
  - !ruby/object:Gem::Dependency
115
105
  name: launchy
116
106
  requirement: !ruby/object:Gem::Requirement
117
- none: false
118
107
  requirements:
119
108
  - - ~>
120
109
  - !ruby/object:Gem::Version
@@ -122,7 +111,6 @@ dependencies:
122
111
  type: :runtime
123
112
  prerelease: false
124
113
  version_requirements: !ruby/object:Gem::Requirement
125
- none: false
126
114
  requirements:
127
115
  - - ~>
128
116
  - !ruby/object:Gem::Version
@@ -130,7 +118,6 @@ dependencies:
130
118
  - !ruby/object:Gem::Dependency
131
119
  name: pry
132
120
  requirement: !ruby/object:Gem::Requirement
133
- none: false
134
121
  requirements:
135
122
  - - ~>
136
123
  - !ruby/object:Gem::Version
@@ -138,7 +125,6 @@ dependencies:
138
125
  type: :runtime
139
126
  prerelease: false
140
127
  version_requirements: !ruby/object:Gem::Requirement
141
- none: false
142
128
  requirements:
143
129
  - - ~>
144
130
  - !ruby/object:Gem::Version
@@ -146,7 +132,6 @@ dependencies:
146
132
  - !ruby/object:Gem::Dependency
147
133
  name: net-http-persistent
148
134
  requirement: !ruby/object:Gem::Requirement
149
- none: false
150
135
  requirements:
151
136
  - - ~>
152
137
  - !ruby/object:Gem::Version
@@ -154,7 +139,6 @@ dependencies:
154
139
  type: :runtime
155
140
  prerelease: false
156
141
  version_requirements: !ruby/object:Gem::Requirement
157
- none: false
158
142
  requirements:
159
143
  - - ~>
160
144
  - !ruby/object:Gem::Version
@@ -162,7 +146,6 @@ dependencies:
162
146
  - !ruby/object:Gem::Dependency
163
147
  name: rspec
164
148
  requirement: !ruby/object:Gem::Requirement
165
- none: false
166
149
  requirements:
167
150
  - - ~>
168
151
  - !ruby/object:Gem::Version
@@ -170,7 +153,6 @@ dependencies:
170
153
  type: :development
171
154
  prerelease: false
172
155
  version_requirements: !ruby/object:Gem::Requirement
173
- none: false
174
156
  requirements:
175
157
  - - ~>
176
158
  - !ruby/object:Gem::Version
@@ -178,7 +160,6 @@ dependencies:
178
160
  - !ruby/object:Gem::Dependency
179
161
  name: sinatra
180
162
  requirement: !ruby/object:Gem::Requirement
181
- none: false
182
163
  requirements:
183
164
  - - ~>
184
165
  - !ruby/object:Gem::Version
@@ -186,7 +167,6 @@ dependencies:
186
167
  type: :development
187
168
  prerelease: false
188
169
  version_requirements: !ruby/object:Gem::Requirement
189
- none: false
190
170
  requirements:
191
171
  - - ~>
192
172
  - !ruby/object:Gem::Version
@@ -194,7 +174,6 @@ dependencies:
194
174
  - !ruby/object:Gem::Dependency
195
175
  name: rack-test
196
176
  requirement: !ruby/object:Gem::Requirement
197
- none: false
198
177
  requirements:
199
178
  - - ~>
200
179
  - !ruby/object:Gem::Version
@@ -202,7 +181,6 @@ dependencies:
202
181
  type: :development
203
182
  prerelease: false
204
183
  version_requirements: !ruby/object:Gem::Requirement
205
- none: false
206
184
  requirements:
207
185
  - - ~>
208
186
  - !ruby/object:Gem::Version
@@ -211,9 +189,12 @@ description: CLI and Ruby client library for Travis CI
211
189
  email:
212
190
  - konstantin.mailinglists@googlemail.com
213
191
  - me@henrikhodne.com
192
+ - i.am@anhero.ru
214
193
  - adrien.brault@gmail.com
215
- - mario@mariovisic.com
216
194
  - drogus@gmail.com
195
+ - jlambert@eml.cc
196
+ - laurent.petit@gmail.com
197
+ - mario@mariovisic.com
217
198
  executables:
218
199
  - travis
219
200
  extensions: []
@@ -301,27 +282,26 @@ files:
301
282
  homepage: https://github.com/travis-ci/travis
302
283
  licenses:
303
284
  - MIT
285
+ metadata: {}
304
286
  post_install_message:
305
287
  rdoc_options: []
306
288
  require_paths:
307
289
  - lib
308
290
  required_ruby_version: !ruby/object:Gem::Requirement
309
- none: false
310
291
  requirements:
311
- - - ! '>='
292
+ - - '>='
312
293
  - !ruby/object:Gem::Version
313
294
  version: '0'
314
295
  required_rubygems_version: !ruby/object:Gem::Requirement
315
- none: false
316
296
  requirements:
317
- - - ! '>='
297
+ - - '>='
318
298
  - !ruby/object:Gem::Version
319
299
  version: '0'
320
300
  requirements: []
321
301
  rubyforge_project:
322
- rubygems_version: 1.8.23
302
+ rubygems_version: 2.0.2
323
303
  signing_key:
324
- specification_version: 3
304
+ specification_version: 4
325
305
  summary: Travis CI client
326
306
  test_files: []
327
307
  has_rdoc: