gitlink 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/Gemfile.lock +14 -14
- data/README.md +2 -2
- data/bin/gitlink +3 -2
- data/gitlink.gemspec +5 -5
- data/gitlink.rdoc +1 -1
- data/lib/gitlink/version.rb +1 -1
- metadata +17 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 694f13bf997bffe2e5613ab018c9b5ab1ca9e224
|
4
|
+
data.tar.gz: a7705c4150bc8cbeca27d59099b922668c4f9a86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70f1f27f6aff0759e7f4fb249b833767ffd3ac14f2b5a39b18115dc9fbc86443b9b0af8b3beae475287a7e2cbcc076df7a7067b8aaacd801ef5e3bf10c97aa24
|
7
|
+
data.tar.gz: 151cf383234d3d2aa8836ee338c390b1d16f1ef2d770f20cac938d7c19c46396110e5d0dd85450c96e954f12e4ec5eb4847216092b4135dabf0c8b8561c120a1
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gitlink (0.0.
|
4
|
+
gitlink (0.0.5)
|
5
5
|
gli (= 2.13.4)
|
6
6
|
|
7
7
|
GEM
|
@@ -16,29 +16,29 @@ GEM
|
|
16
16
|
rspec-expectations (>= 2.99)
|
17
17
|
thor (~> 0.19)
|
18
18
|
builder (3.2.2)
|
19
|
-
childprocess (0.5.
|
19
|
+
childprocess (0.5.9)
|
20
20
|
ffi (~> 1.0, >= 1.0.11)
|
21
21
|
contracts (0.12.0)
|
22
|
-
cucumber (2.
|
22
|
+
cucumber (2.3.2)
|
23
23
|
builder (>= 2.1.2)
|
24
|
-
cucumber-core (~> 1.
|
24
|
+
cucumber-core (~> 1.4.0)
|
25
|
+
cucumber-wire (~> 0.0.1)
|
25
26
|
diff-lcs (>= 1.1.3)
|
26
|
-
|
27
|
+
gherkin (~> 3.2.0)
|
27
28
|
multi_json (>= 1.7.5, < 2.0)
|
28
29
|
multi_test (>= 0.1.2)
|
29
|
-
cucumber-core (1.
|
30
|
-
|
30
|
+
cucumber-core (1.4.0)
|
31
|
+
gherkin (~> 3.2.0)
|
32
|
+
cucumber-wire (0.0.1)
|
31
33
|
diff-lcs (1.2.5)
|
32
|
-
event-bus (0.2.
|
34
|
+
event-bus (0.2.3)
|
33
35
|
ffi (1.9.10)
|
34
|
-
|
36
|
+
gherkin (3.2.0)
|
35
37
|
gli (2.13.4)
|
36
|
-
json (1.8.3)
|
37
38
|
multi_json (1.11.2)
|
38
39
|
multi_test (0.1.2)
|
39
|
-
rake (10.
|
40
|
+
rake (10.5.0)
|
40
41
|
rdoc (4.2.1)
|
41
|
-
json (~> 1.4)
|
42
42
|
rspec-expectations (3.4.0)
|
43
43
|
diff-lcs (>= 1.2.0, < 2.0)
|
44
44
|
rspec-support (~> 3.4.0)
|
@@ -51,8 +51,8 @@ PLATFORMS
|
|
51
51
|
DEPENDENCIES
|
52
52
|
aruba (~> 0.12.0)
|
53
53
|
gitlink!
|
54
|
-
rake
|
55
|
-
rdoc
|
54
|
+
rake (~> 10.5)
|
55
|
+
rdoc (~> 4.2)
|
56
56
|
|
57
57
|
BUNDLED WITH
|
58
58
|
1.11.2
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# `gitlink`
|
2
|
-
Simple gem to open
|
2
|
+
Simple gem to open GitHub remotes in the browser from the command line
|
3
3
|
|
4
4
|
Installation
|
5
5
|
|
@@ -18,7 +18,7 @@ Opens Pull Request page
|
|
18
18
|
|
19
19
|
```shell
|
20
20
|
$ gitlink pulls
|
21
|
-
$ gitlink
|
21
|
+
$ gitlink pr #alias
|
22
22
|
```
|
23
23
|
Opens project to specific branch
|
24
24
|
|
data/bin/gitlink
CHANGED
@@ -62,11 +62,12 @@ pre do |global,command,options,args|
|
|
62
62
|
|
63
63
|
raise "this project does not have any remotes" if remotes.empty?
|
64
64
|
|
65
|
-
project_params = remotes.first.match(
|
65
|
+
project_params = remotes.first.match(/(?:.com)[:\/](.*)(?:.git)/)
|
66
66
|
unsupported_url_message = "Your remote has an unsupported URL. Feel free to make an issue at github.com/cacqw7/gitlink"
|
67
67
|
raise unsupported_url_message if project_params.size == 0
|
68
68
|
|
69
|
-
project_params = project_params[
|
69
|
+
project_params = project_params[1]
|
70
|
+
puts "project_params: #{project_params} "
|
70
71
|
@base_project_url = "http://github.com/#{project_params}"
|
71
72
|
@current_branch = %x(git symbolic-ref -q HEAD | sed -e 's|^refs/heads/||')
|
72
73
|
@current_branch.chomp!
|
data/gitlink.gemspec
CHANGED
@@ -6,18 +6,18 @@ spec = Gem::Specification.new do |s|
|
|
6
6
|
s.author = 'Chase Clettenberg'
|
7
7
|
s.email = 'clettenberg@gmail.com'
|
8
8
|
s.homepage = 'https://github.com/cacqw7/gitlink'
|
9
|
+
s.license = 'MIT'
|
9
10
|
s.platform = Gem::Platform::RUBY
|
10
11
|
s.summary = 'Open GitHub projects from the command line'
|
11
|
-
s.files = `git ls-files`.split("
|
12
|
-
")
|
12
|
+
s.files = `git ls-files`.split("\n")
|
13
13
|
s.require_paths << 'lib'
|
14
14
|
s.has_rdoc = true
|
15
15
|
s.extra_rdoc_files = ['README.md','gitlink.rdoc']
|
16
16
|
s.rdoc_options << '--title' << 'gitlink' << '--main' << 'README.rdoc' << '-ri'
|
17
17
|
s.bindir = 'bin'
|
18
18
|
s.executables << 'gitlink'
|
19
|
-
s.add_development_dependency('rake')
|
20
|
-
s.add_development_dependency('rdoc')
|
21
|
-
s.add_development_dependency('aruba')
|
19
|
+
s.add_development_dependency('rake', '~> 10.5' )
|
20
|
+
s.add_development_dependency('rdoc', '~> 4.2')
|
21
|
+
s.add_development_dependency('aruba', '~> 0.12.0')
|
22
22
|
s.add_runtime_dependency('gli','2.13.4')
|
23
23
|
end
|
data/gitlink.rdoc
CHANGED
data/lib/gitlink/version.rb
CHANGED
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlink
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chase Clettenberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '10.5'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '10.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rdoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '4.2'
|
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: '4.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: aruba
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.12.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 0.12.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: gli
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,7 +88,8 @@ files:
|
|
88
88
|
- test/test_helper.rb
|
89
89
|
- test/use_aruba_with_minitest.rb
|
90
90
|
homepage: https://github.com/cacqw7/gitlink
|
91
|
-
licenses:
|
91
|
+
licenses:
|
92
|
+
- MIT
|
92
93
|
metadata: {}
|
93
94
|
post_install_message:
|
94
95
|
rdoc_options:
|
@@ -112,9 +113,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
113
|
version: '0'
|
113
114
|
requirements: []
|
114
115
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.
|
116
|
+
rubygems_version: 2.5.1
|
116
117
|
signing_key:
|
117
118
|
specification_version: 4
|
118
119
|
summary: Open GitHub projects from the command line
|
119
120
|
test_files: []
|
120
|
-
has_rdoc: true
|