gitlink 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f99864fbd410f7431ca55f2f95a81f3e17e154df
4
- data.tar.gz: 66f3fcd6baa8d98ed56a229ba2a765985d1ca6bf
3
+ metadata.gz: 34e66e95cdfdb088ddb30cdccd20932a6506408e
4
+ data.tar.gz: 95c9fe0c91b3db5812d1e456a5a2dcdcba26af47
5
5
  SHA512:
6
- metadata.gz: 6cbd30e7d96cefb0e3d769927a8c22749b324eb2f4733cedf4c090a08dccf6bf0c969471c5d58a87fcd7076b53034b5a3d1b652ad6070c412928dda9913f98f8
7
- data.tar.gz: fa6fa0d46f975bc6febb774658f32ce9943428a0725e06398f331a13b2a92a07fd78f2367fef71f2a8c14f0e6623baf4d7290d52012c4c3ee4333cc82efb823c
6
+ metadata.gz: 29afa541be655800154b867056237f3904c90ae26cfd0f2bd8fc3638fc311254266e73ba731615f7d07e496fb893f90e4a0b643af0fe2717564ede3504eba41c
7
+ data.tar.gz: 99ec3d49ea1014c985e1fd95e18f5c3a1bf4ebe39f02fa8efbb27697a9fc5cde40e35347342d6d07c018adcb46bbaa4121e59875784445a456188083b3951839
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitlink (0.0.1)
4
+ gitlink (0.0.2)
5
5
  gli (= 2.13.4)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # `gitlink`
2
2
  Simple gem to open git remotes in the browser from the command line
3
3
 
4
+ Installation
5
+
6
+ `gem install gitlink`
7
+
4
8
  #### Commands
5
9
 
6
10
  Opens the project page
@@ -8,6 +12,7 @@ Opens the project page
8
12
  ```shell
9
13
  $ gitlink project
10
14
  $ gitlink p #alias
15
+ $ gitlink #defaults to `project` if no commands are given
11
16
  ```
12
17
  Opens Pull Request page
13
18
 
data/bin/gitlink CHANGED
@@ -46,6 +46,8 @@ command [:wiki, :w] do |c|
46
46
  end
47
47
  end
48
48
 
49
+ default_command :project
50
+
49
51
  pre do |global,command,options,args|
50
52
  no_repo_error = "gitlink only works from within git repos"
51
53
  raise no_repo_error unless %x(git rev-parse --is-inside-work-tree)
data/gitlink.rdoc CHANGED
@@ -1,6 +1,6 @@
1
1
  == gitlink - Allows you to quickly open your GitHub project in a web browser from the command line
2
2
 
3
- v0.0.1
3
+ v0.0.2
4
4
 
5
5
  === Global Options
6
6
  === -r|--remote remote_name
@@ -1,3 +1,3 @@
1
1
  module Gitlink
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chase Clettenberg