geet 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/geet.gemspec +1 -1
- data/lib/geet/helpers/os_helper.rb +5 -5
- data/lib/geet/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ebe1a771378f505ad417cd5fca4b28431c765cbf43f1bcb84ea437a98003fb0
|
4
|
+
data.tar.gz: e1b536ed992c313ad299a85ac07dc80eecdfffd77761f90947d628ed9592cca7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fdc02f201b5fe7fbb3b2a3ccd69041b83a49b8b09c403bf32d520df779a327cd397d04caf9297ee77f00bc83b3ca9629c03423538605d727d71231fd2a92eb8
|
7
|
+
data.tar.gz: 7ad1563129f5dcbf449a05cea608b6ca7cf0ae827cdde084d235929c19a4565285366886a34327b2195f117b6429224e7820a762afbde411d366789c5713e718
|
data/geet.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.platform = Gem::Platform::RUBY
|
11
11
|
s.required_ruby_version = '>= 2.3.0'
|
12
12
|
s.authors = ['Saverio Miroddi']
|
13
|
-
s.date = '2022-06-
|
13
|
+
s.date = '2022-06-20'
|
14
14
|
s.email = ['saverio.pub2@gmail.com']
|
15
15
|
s.homepage = 'https://github.com/saveriomiroddi/geet'
|
16
16
|
s.summary = 'Commandline interface for performing SCM host operations, eg. create a PR on GitHub'
|
@@ -8,11 +8,11 @@ module Geet
|
|
8
8
|
module Helpers
|
9
9
|
module OsHelper
|
10
10
|
def open_file_with_default_application(file_or_url)
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
11
|
+
open_command = `uname`.strip == 'Darwin' ? "open": "xdg-open"
|
12
|
+
|
13
|
+
command = "#{open_command} #{file_or_url.shellescape}"
|
14
|
+
|
15
|
+
system(command, exception: true)
|
16
16
|
end
|
17
17
|
|
18
18
|
# Executes the command.
|
data/lib/geet/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Saverio Miroddi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: simple_scripting
|