travis 1.6.16 → 1.6.17.travis.587.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 9386e41a6d08068c05a4fb8721913b4074995c25
4
- data.tar.gz: a00a8671ba9dfc7ffd28147fcccb5546dd1395ff
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MzVmODE0MDg2NWI2OWUzNzQzM2M1MWUzNmM5ZTU0ZDU1NzAxY2Q4MA==
5
+ data.tar.gz: !binary |-
6
+ MjJiYTYzNTc4Y2NlZTQ2NDJkYTE1NTgzZDI0YTM0MTViNWU2YzlmMA==
5
7
  SHA512:
6
- metadata.gz: 155cccdff3983869b9681ee0795a21aa7974dac241a762720c03b98ab423c19efa93f3eafffc9140fe11d71bf150b9453874a96b8579783d5d90f4dca323725c
7
- data.tar.gz: 4d86e3d3455856b68076e81daa9eb37d490dd6b28c825a788f31357edff9f65b2e149f5bd99df67e22cf0ae62d1c29512463ae4f1531acc3279a52310c89a182
8
+ metadata.gz: !binary |-
9
+ ZTdiNDAzNmM4OWNiODZhMzRmZmYzNWMwMWFjZGYzYTM1ZGY4YTk1YTFjMzZk
10
+ ZmM0ODQzNzE1ZjhhNmVlMDczYjY3ZTliY2I1NjI0YTMzYjAzZDk4MTgxYzYz
11
+ MDgwNmM5NWFmZmIzNDZhYWEyMjdjMjVkNWI0Njk1ZTE5OTdlZjY=
12
+ data.tar.gz: !binary |-
13
+ MjFlNTllMDhhOTVjZjUyNDgyMWRhYzFjOWM2ODg5ZWQ3N2NiODAwZjM0YWEx
14
+ ZjNlODExNjY2NDdkZDRjZmRlNWUxMmI2MGVhNjI0ZmNkYjhjMDBhZGJlYjUz
15
+ OWU1NDEwMmNlMWQ1ZGNhZTA4ZThlMDllODQwOGU5MDllMDEzZDI=
data/README.md CHANGED
@@ -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.17** (not yet released)
1729
+
1730
+ * Make desktop notifications work on Mac OS X 10.10.
1731
+
1728
1732
  **1.6.16** (July 19, 2014)
1729
1733
 
1730
1734
  * Fix check for updates.
@@ -158,10 +158,9 @@ module Travis
158
158
  end
159
159
 
160
160
  last_check['at'] = Time.now.to_i
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
161
+ unless Tools::System.recent_version? Travis::VERSION, last_check['version']
162
+ error "Outdated CLI version, run `gem install travis` or use --skip-version-check."
163
+ end
165
164
  rescue Timeout::Error, Faraday::Error::ClientError => error
166
165
  debug "#{error.class}: #{error.message}"
167
166
  end
@@ -41,7 +41,7 @@ module Travis
41
41
  end
42
42
 
43
43
  def available?
44
- System.mac? and System.os_version.to_s >= '10.8' and System.running? "NotificationCenter"
44
+ System.mac? and System.recent_version?(System.os_version.to_s, '10.8') and System.running? "NotificationCenter"
45
45
  end
46
46
  end
47
47
 
@@ -3,6 +3,12 @@ module Travis
3
3
  module System
4
4
  extend self
5
5
 
6
+ def recent_version?(version, minimum)
7
+ version = version.split('.').map { |s| s.to_i }
8
+ minimum = minimum.split('.').map { |s| s.to_i }
9
+ (version <=> minimum) >= 0
10
+ end
11
+
6
12
  def windows?
7
13
  File::ALT_SEPARATOR == "\\"
8
14
  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.16
4
+ version: 1.6.17.travis.587.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
@@ -39,206 +39,206 @@ authors:
39
39
  autorequire:
40
40
  bindir: bin
41
41
  cert_chain: []
42
- date: 2014-07-19 00:00:00.000000000 Z
42
+ date: 2014-07-22 00:00:00.000000000 Z
43
43
  dependencies:
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: faraday
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - "~>"
48
+ - - ~>
49
49
  - !ruby/object:Gem::Version
50
50
  version: '0.9'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - "~>"
55
+ - - ~>
56
56
  - !ruby/object:Gem::Version
57
57
  version: '0.9'
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: faraday_middleware
60
60
  requirement: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - "~>"
62
+ - - ~>
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0.9'
65
- - - ">="
65
+ - - ! '>='
66
66
  - !ruby/object:Gem::Version
67
67
  version: 0.9.1
68
68
  type: :runtime
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - "~>"
72
+ - - ~>
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0.9'
75
- - - ">="
75
+ - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: 0.9.1
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: highline
80
80
  requirement: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - "~>"
82
+ - - ~>
83
83
  - !ruby/object:Gem::Version
84
84
  version: '1.6'
85
85
  type: :runtime
86
86
  prerelease: false
87
87
  version_requirements: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - "~>"
89
+ - - ~>
90
90
  - !ruby/object:Gem::Version
91
91
  version: '1.6'
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: backports
94
94
  requirement: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - ">="
96
+ - - ! '>='
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  type: :runtime
100
100
  prerelease: false
101
101
  version_requirements: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - ">="
103
+ - - ! '>='
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  - !ruby/object:Gem::Dependency
107
107
  name: gh
108
108
  requirement: !ruby/object:Gem::Requirement
109
109
  requirements:
110
- - - "~>"
110
+ - - ~>
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0.13'
113
113
  type: :runtime
114
114
  prerelease: false
115
115
  version_requirements: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - "~>"
117
+ - - ~>
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0.13'
120
120
  - !ruby/object:Gem::Dependency
121
121
  name: launchy
122
122
  requirement: !ruby/object:Gem::Requirement
123
123
  requirements:
124
- - - "~>"
124
+ - - ~>
125
125
  - !ruby/object:Gem::Version
126
126
  version: '2.1'
127
127
  type: :runtime
128
128
  prerelease: false
129
129
  version_requirements: !ruby/object:Gem::Requirement
130
130
  requirements:
131
- - - "~>"
131
+ - - ~>
132
132
  - !ruby/object:Gem::Version
133
133
  version: '2.1'
134
134
  - !ruby/object:Gem::Dependency
135
135
  name: pry
136
136
  requirement: !ruby/object:Gem::Requirement
137
137
  requirements:
138
- - - "<"
138
+ - - <
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0.10'
141
- - - "~>"
141
+ - - ~>
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0.9'
144
144
  type: :runtime
145
145
  prerelease: false
146
146
  version_requirements: !ruby/object:Gem::Requirement
147
147
  requirements:
148
- - - "<"
148
+ - - <
149
149
  - !ruby/object:Gem::Version
150
150
  version: '0.10'
151
- - - "~>"
151
+ - - ~>
152
152
  - !ruby/object:Gem::Version
153
153
  version: '0.9'
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: typhoeus
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - "~>"
158
+ - - ~>
159
159
  - !ruby/object:Gem::Version
160
160
  version: '0.6'
161
- - - ">="
161
+ - - ! '>='
162
162
  - !ruby/object:Gem::Version
163
163
  version: 0.6.8
164
164
  type: :runtime
165
165
  prerelease: false
166
166
  version_requirements: !ruby/object:Gem::Requirement
167
167
  requirements:
168
- - - "~>"
168
+ - - ~>
169
169
  - !ruby/object:Gem::Version
170
170
  version: '0.6'
171
- - - ">="
171
+ - - ! '>='
172
172
  - !ruby/object:Gem::Version
173
173
  version: 0.6.8
174
174
  - !ruby/object:Gem::Dependency
175
175
  name: pusher-client
176
176
  requirement: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - "~>"
178
+ - - ~>
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0.4'
181
181
  type: :runtime
182
182
  prerelease: false
183
183
  version_requirements: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - "~>"
185
+ - - ~>
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0.4'
188
188
  - !ruby/object:Gem::Dependency
189
189
  name: addressable
190
190
  requirement: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - "~>"
192
+ - - ~>
193
193
  - !ruby/object:Gem::Version
194
194
  version: '2.3'
195
195
  type: :runtime
196
196
  prerelease: false
197
197
  version_requirements: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - "~>"
199
+ - - ~>
200
200
  - !ruby/object:Gem::Version
201
201
  version: '2.3'
202
202
  - !ruby/object:Gem::Dependency
203
203
  name: rspec
204
204
  requirement: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - "~>"
206
+ - - ~>
207
207
  - !ruby/object:Gem::Version
208
208
  version: '2.12'
209
209
  type: :development
210
210
  prerelease: false
211
211
  version_requirements: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - "~>"
213
+ - - ~>
214
214
  - !ruby/object:Gem::Version
215
215
  version: '2.12'
216
216
  - !ruby/object:Gem::Dependency
217
217
  name: sinatra
218
218
  requirement: !ruby/object:Gem::Requirement
219
219
  requirements:
220
- - - "~>"
220
+ - - ~>
221
221
  - !ruby/object:Gem::Version
222
222
  version: '1.3'
223
223
  type: :development
224
224
  prerelease: false
225
225
  version_requirements: !ruby/object:Gem::Requirement
226
226
  requirements:
227
- - - "~>"
227
+ - - ~>
228
228
  - !ruby/object:Gem::Version
229
229
  version: '1.3'
230
230
  - !ruby/object:Gem::Dependency
231
231
  name: rack-test
232
232
  requirement: !ruby/object:Gem::Requirement
233
233
  requirements:
234
- - - "~>"
234
+ - - ~>
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0.6'
237
237
  type: :development
238
238
  prerelease: false
239
239
  version_requirements: !ruby/object:Gem::Requirement
240
240
  requirements:
241
- - - "~>"
241
+ - - ~>
242
242
  - !ruby/object:Gem::Version
243
243
  version: '0.6'
244
244
  description: CLI and Ruby client library for Travis CI
@@ -459,19 +459,18 @@ require_paths:
459
459
  - lib
460
460
  required_ruby_version: !ruby/object:Gem::Requirement
461
461
  requirements:
462
- - - ">="
462
+ - - ! '>='
463
463
  - !ruby/object:Gem::Version
464
464
  version: '0'
465
465
  required_rubygems_version: !ruby/object:Gem::Requirement
466
466
  requirements:
467
- - - ">="
467
+ - - ! '>'
468
468
  - !ruby/object:Gem::Version
469
- version: '0'
469
+ version: 1.3.1
470
470
  requirements: []
471
471
  rubyforge_project:
472
- rubygems_version: 2.2.2
472
+ rubygems_version: 2.3.0
473
473
  signing_key:
474
474
  specification_version: 4
475
475
  summary: Travis CI client
476
476
  test_files: []
477
- has_rdoc: