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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a092edab095f55038da8d02d2f5b82dad16e1b71157e3b16136e7bdf793db0b1
4
- data.tar.gz: c8cacade222c91290dec308da54cd55f6dfcbade0e0370c9fe592f30d7124791
3
+ metadata.gz: 686e53130aacec45927fef9460a4394c66d0cac475c3fcda6f4500f84ed9b677
4
+ data.tar.gz: 25dedc5d924f20069da2593fb6c11a9ba896aed17d33e67263c24795239c8179
5
5
  SHA512:
6
- metadata.gz: d393930c3621d3bbde4c2eba5573110968957bfdd4049867eef33137547634aead28a6f182c16b82edac7ef2505887f43d3a89266e7d147641f991f6db953702
7
- data.tar.gz: 8f5cc94536289b90a5b69e6557c36785f4d51602f24fe62cfc5ebabd198af275818628d2af18a42c088756f955d32df248a2e3da9409f003b86ec3c77ef2fe41
6
+ metadata.gz: 9bfe765a3eb7e472e5b09c136955afd0fe0c378e3c302e3f897e795db396452e4322e1d3ffad7864acfa21b27965b9930c673cb24e0e266b4fb511104bb61b69
7
+ data.tar.gz: 3b36fa3964d2684efbc83b3b33110d0662ca69006b4b8cf00ab5e32fccd7e2d3e0abcc41573ae9abc362534e341c5af147d571b5f3381254b3846ebbd1973fe9
@@ -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", "~> 10.0"
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
@@ -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
- `open \"#{url}\"`
18
+ `#{OS.open_file_command} \"#{url}\"`
18
19
  end
19
20
 
20
21
  def title(message)
@@ -1,5 +1,5 @@
1
1
  module Cp8Cli
2
- VERSION = "9.0.2"
2
+ VERSION = "9.0.3"
3
3
 
4
4
  class Version
5
5
  def self.latest?
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.2
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-04-08 00:00:00.000000000 Z
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: '10.0'
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: '10.0'
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