travis 1.8.1.travis.692.5 → 1.8.1.travis.693.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/travis/cli/console.rb +12 -1
- data/spec/spec_helper.rb +0 -1
- data/travis.gemspec +2 -1
- metadata +1 -21
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjM0OGMyNTMyN2JhZWE0YzFhMjY4NzE2OGZjN2Q4Nzc0MGQwODg2OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2YwYmVlMWJlYjlkY2VmM2VlZWQyYzVhOTNiODE3NjJjMzE2MWViMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzQ2YzkyZjA4N2U3MmFjZjRkMDZmNzI0OWYxZWY2MzNkMzY5MzZhODQwMDQ0
|
10
|
+
MDRjYzk3NDkyZDNjYjllMzMwNGE0NGZjNTBkY2Y0MzhhOGFjMDFkNmM4YzI5
|
11
|
+
Y2Y3NGMwNjVmODNkZDAyYWYyZjUxYTAyMjcwMTRkZjlkMWI1MmU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzdhYWRmZDBhYjU2NjZjNmI4MDE5Zjc0MTdkNTNjNDAyZjg0ZTJjYmEyMDc3
|
14
|
+
YTg1ZDJmYmEyNmFkMTBjNTdhY2I1M2Y4MzU2NTNmYzA4YmZlNmJmZGIwOTQy
|
15
|
+
MWE0NmJlYTQzNGVjMDU4YWQ3Y2ZiOGM3YzgyYjllYTdhN2FhZGE=
|
data/lib/travis/cli/console.rb
CHANGED
@@ -10,11 +10,22 @@ module Travis
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def run
|
13
|
-
|
13
|
+
return unless pry_installed?
|
14
|
+
|
14
15
|
Object.send(:include, Client::Namespace.new(session))
|
15
16
|
hooks = defined?(Pry::Hooks) ? Pry::Hooks.new : {}
|
16
17
|
binding.pry(:quiet => true, :prompt => Pry::SIMPLE_PROMPT, :output => $stdout, :hooks => hooks)
|
17
18
|
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def pry_installed?
|
23
|
+
require 'pry'
|
24
|
+
true
|
25
|
+
rescue LoadError
|
26
|
+
$stderr.puts 'You need to install pry to use Travis CLI console.'
|
27
|
+
false
|
28
|
+
end
|
18
29
|
end
|
19
30
|
end
|
20
31
|
end
|
data/spec/spec_helper.rb
CHANGED
data/travis.gemspec
CHANGED
@@ -284,6 +284,8 @@ Gem::Specification.new do |s|
|
|
284
284
|
"spec/support/fake_github.rb",
|
285
285
|
"spec/support/helpers.rb",
|
286
286
|
"spec/travis_spec.rb",
|
287
|
+
"travis.gemspec",
|
288
|
+
"travis.gemspec",
|
287
289
|
"travis.gemspec"
|
288
290
|
]
|
289
291
|
|
@@ -294,7 +296,6 @@ Gem::Specification.new do |s|
|
|
294
296
|
s.add_dependency "backports"
|
295
297
|
s.add_dependency "gh", "~> 0.13"
|
296
298
|
s.add_dependency "launchy", "~> 2.1"
|
297
|
-
s.add_dependency "pry", "< 0.10", "~> 0.9"
|
298
299
|
s.add_dependency "typhoeus", "~> 0.6", ">= 0.6.8"
|
299
300
|
s.add_dependency "pusher-client", "~> 0.4"
|
300
301
|
s.add_dependency "addressable", "~> 2.3"
|
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.8.1.travis.
|
4
|
+
version: 1.8.1.travis.693.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Konstantin Haase
|
@@ -142,26 +142,6 @@ dependencies:
|
|
142
142
|
- - ~>
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '2.1'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: pry
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - <
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.10'
|
152
|
-
- - ~>
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
version: '0.9'
|
155
|
-
type: :runtime
|
156
|
-
prerelease: false
|
157
|
-
version_requirements: !ruby/object:Gem::Requirement
|
158
|
-
requirements:
|
159
|
-
- - <
|
160
|
-
- !ruby/object:Gem::Version
|
161
|
-
version: '0.10'
|
162
|
-
- - ~>
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '0.9'
|
165
145
|
- !ruby/object:Gem::Dependency
|
166
146
|
name: typhoeus
|
167
147
|
requirement: !ruby/object:Gem::Requirement
|