cp8_cli 9.0.2 → 9.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cp8_cli.gemspec +2 -1
- data/lib/cp8_cli/command.rb +2 -1
- data/lib/cp8_cli/version.rb +1 -1
- metadata +20 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 686e53130aacec45927fef9460a4394c66d0cac475c3fcda6f4500f84ed9b677
|
4
|
+
data.tar.gz: 25dedc5d924f20069da2593fb6c11a9ba896aed17d33e67263c24795239c8179
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bfe765a3eb7e472e5b09c136955afd0fe0c378e3c302e3f897e795db396452e4322e1d3ffad7864acfa21b27965b9930c673cb24e0e266b4fb511104bb61b69
|
7
|
+
data.tar.gz: 3b36fa3964d2684efbc83b3b33110d0662ca69006b4b8cf00ab5e32fccd7e2d3e0abcc41573ae9abc362534e341c5af147d571b5f3381254b3846ebbd1973fe9
|
data/cp8_cli.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
22
|
spec.add_development_dependency "bundler", "~> 2.0"
|
23
|
-
spec.add_development_dependency "rake", "
|
23
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
24
24
|
spec.add_development_dependency "minitest", "~> 5.0"
|
25
25
|
spec.add_development_dependency "minitest-line"
|
26
26
|
spec.add_development_dependency "minitest-reporters"
|
@@ -35,4 +35,5 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.add_dependency "octokit", "~> 4.18"
|
36
36
|
spec.add_dependency "thor"
|
37
37
|
spec.add_dependency "tty-prompt"
|
38
|
+
spec.add_dependency "os"
|
38
39
|
end
|
data/lib/cp8_cli/command.rb
CHANGED
@@ -2,6 +2,7 @@ require "colored"
|
|
2
2
|
require "active_support/core_ext/module/delegation"
|
3
3
|
require "highline"
|
4
4
|
require "tty-prompt"
|
5
|
+
require "os"
|
5
6
|
|
6
7
|
module Cp8Cli
|
7
8
|
class Command
|
@@ -14,7 +15,7 @@ module Cp8Cli
|
|
14
15
|
|
15
16
|
def open_url(url)
|
16
17
|
return title(url) if ENV['BROWSER'] == 'echo'
|
17
|
-
|
18
|
+
`#{OS.open_file_command} \"#{url}\"`
|
18
19
|
end
|
19
20
|
|
20
21
|
def title(message)
|
data/lib/cp8_cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cp8_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.0.
|
4
|
+
version: 9.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Balvig
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 12.3.3
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 12.3.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -220,6 +220,20 @@ dependencies:
|
|
220
220
|
- - ">="
|
221
221
|
- !ruby/object:Gem::Version
|
222
222
|
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: os
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :runtime
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
223
237
|
description: Cookpad Global CLI.
|
224
238
|
email:
|
225
239
|
- jens@balvig.com
|