git_open_remote 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/git_open_remote.gemspec +1 -1
- data/lib/git_open_remote/cli.rb +2 -0
- data/lib/git_open_remote/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c060ae777ea49e47dff28d2c0c801c8bc70246e1
|
4
|
+
data.tar.gz: 7b25c2d84ba7f4ac6f2efac0f39eb7c45a6aab70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17e30d6426df3ff5a3e5ee5000b9e4e9cc2de0f34fbee49c6a5c35a374aeb607a62703579950b025e35b980c7b9e85e188e91cb6dd1f3d653d1617f22c1cee96
|
7
|
+
data.tar.gz: 4e4d1d187358ced61ca66316f1d28a1431408293744f5d3c02f22cd43ec43f0259391cb9d65a43d01ff4929e4fef22f0390b7ae446d81c285497b0226beaa7f9
|
data/git_open_remote.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = 'git_open_remote'
|
8
8
|
spec.version = GitOpenRemote::VERSION
|
9
9
|
spec.author = 'Alexander Tipugin'
|
10
|
-
spec.summary = 'Open your git remote in
|
10
|
+
spec.summary = 'Open your git remote in browser'
|
11
11
|
|
12
12
|
spec.files = `git ls-files -z`.split("\x0")
|
13
13
|
spec.bindir = 'exe'
|
data/lib/git_open_remote/cli.rb
CHANGED
@@ -8,6 +8,8 @@ module GitOpenRemote
|
|
8
8
|
program :description, 'Open your git remote in browser'
|
9
9
|
|
10
10
|
command :open do |cmd|
|
11
|
+
cmd.syntax = 'open origin'
|
12
|
+
cmd.description = 'Open remote url in browser'
|
11
13
|
cmd.action do |args, _|
|
12
14
|
git = Git.open(Dir.pwd)
|
13
15
|
url = git.remote(args[0]).url
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_open_remote
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Tipugin
|
@@ -132,5 +132,5 @@ rubyforge_project:
|
|
132
132
|
rubygems_version: 2.5.1
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
|
-
summary: Open your git remote in
|
135
|
+
summary: Open your git remote in browser
|
136
136
|
test_files: []
|