ghit 0.0.1

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 ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MGNhZTczMDhiOTczYzJmNzNkYzE5NGZkMTA2M2RlNGE2YzhhMTA0Mg==
5
+ data.tar.gz: !binary |-
6
+ OTUwNTBmMjcwMzA0ODQ0NWVhNWMzOWZhYjdhYjg0MzYxMTA2MDFlYQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZTdlZWUzZGViMTU3NDhmZTZmMGU5ZGFlNGMzMWNlOWVmNTgwMzIxNjVkM2Fj
10
+ MGU2OTEyZDA2NjczN2ZmMzUwY2YwOGJiMTU2NmMyNTRmMDFkMzdmOWZmMWY4
11
+ MzdhYjY1MmFhZDQ0MjE1NjkzODc1NmQzNTg0MmEwZTYyNzg5NDc=
12
+ data.tar.gz: !binary |-
13
+ YzVmYzBlMmE4ZWI0OTg1ZGJlZmZjMTIyOTliMDM0ZDg4YWM0MTAwM2I4OTBj
14
+ MDYxNzE4MTRmN2Y1MTA3YWZhYjk4YmE4OGIzODg3NjVkOTk5MjJmNTI5NmZm
15
+ NTYyMWM1MjhhZjkwOTM0ZTgyODliZjMyN2U1M2IzYWNjZDAyYTk=
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 1.9.3-p392
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in ghit.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Ile Eftimov
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,66 @@
1
+ Ghit
2
+ =============
3
+
4
+ ## What is this?
5
+
6
+ Ghit is a collection of custom ```git``` commands that allows the user to easily navigate to
7
+ certain Github pages of the repo (if it exists). Also, it contains semantic git messages inspired by Sparkbox's awesome article on [semantic commit messages](http://seesparkbox.com/foundry/semantic_commit_messages).
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ gem 'ghit'
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install ghit
22
+
23
+ ## Installation:
24
+
25
+ 1. Clone this repo, prefferably in your $HOME directory.
26
+ ``` git clone https://github.com/fteem/github-on-git ~/.github-on-git ```
27
+
28
+ 2. Add the folder to your $PATH.
29
+ * if using Bash, open ```~/.bashrc``` with your favourite editor and add this line: <br/> ``` export PATH=$PATH:$HOME/.github-on-git ```
30
+ * if using Zsh, open ```~/.zshrc``` with your favourite editor and add this line: <br/> ``` export PATH=$PATH:$HOME/.github-on-git ```
31
+
32
+ 3. Save the file and source the changes in bashrc/zshrc: ```source ~/.bashrc``` or ```source ~/.zshrc```
33
+ 4. Read below.
34
+
35
+ ## Usage
36
+
37
+ There are 11 (woot!) new ```git``` commands now.
38
+
39
+ * ```git wiki``` -> Opens the Github wiki page of the repo in browser.
40
+ * ```git pulls``` -> Opens the Github pull requests page of the repo in broswer.
41
+ * ```git issues``` -> Opens the Github issues page of the repo in broswer.
42
+ * ```git open``` -> Opens the Github repo page in browser.
43
+ * ```git feat "commit-message-here"``` -> ```git commit -m 'feat: commit-message-here'```
44
+ * ```git docs "commit-message-here"``` -> ```git commit -m 'docs: commit-message-here'```
45
+ * ```git chore "commit-message-here"``` -> ```git commit -m 'chore: commit-message-here'```
46
+ * ```git fix "commit-message-here"``` -> ```git commit -m 'fix: commit-message-here'```
47
+ * ```git refactor "commit-message-here"``` -> ```git commit -m 'refactor: commit-message-here'```
48
+ * ```git style "commit-message-here"``` -> ```git commit -m 'style: commit-message-here'```
49
+ * ```git test "commit-message-here"``` -> ```git commit -m 'test: commit-message-here'```
50
+
51
+ If you would still like to use your text editor for your commit messages
52
+ you can omit the message, and do your commit message in your editor.
53
+
54
+ * ```git feat``` -> ```git commit -m 'feat: ' -e```
55
+
56
+
57
+ ## Worth sayin'
58
+ Still has some rough edges. Needs tests, refactoring and various improvements.
59
+
60
+ ## Contributing
61
+
62
+ 1. Fork it ( http://github.com/<my-github-username>/ghit/fork )
63
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
64
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
65
+ 4. Push to the branch (`git push origin my-new-feature`)
66
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/bin/git-chore ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ if [ -z "$1" ]
3
+ then
4
+ git commit -m 'chore: ' -e
5
+ else
6
+ git commit -m "chore: $1"
7
+ fi
data/bin/git-docs ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ if [ -z "$1" ]
3
+ then
4
+ git commit -m 'docs: ' -e
5
+ else
6
+ git commit -m "docs: $1"
7
+ fi
data/bin/git-feat ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ if [ -z "$1" ]
3
+ then
4
+ git commit -m 'feat: ' -e
5
+ else
6
+ git commit -m "feat: $1"
7
+ fi
data/bin/git-fix ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ if [ -z "$1" ]
3
+ then
4
+ git commit -m 'fix: ' -e
5
+ else
6
+ git commit -m "fix: $1"
7
+ fi
data/bin/git-issues ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ path = File.expand_path(File.dirname(__FILE__))
3
+ $:<< "#{path}/../lib"
4
+
5
+ require 'ghit'
6
+ Ghit::RepoLocator.open 'issues'
data/bin/git-open ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ path = File.expand_path(File.dirname(__FILE__))
3
+ $:<< "#{path}/../lib"
4
+
5
+ require 'ghit'
6
+ Ghit::RepoLocator.open
data/bin/git-pulls ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ path = File.expand_path(File.dirname(__FILE__))
3
+ $:<< "#{path}/../lib"
4
+
5
+ require 'ghit'
6
+ Ghit::RepoLocator.open 'pulls'
data/bin/git-refactor ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ if [ -z "$1" ]
3
+ then
4
+ git commit -m 'refactor: ' -e
5
+ else
6
+ git commit -m "refactor: $1"
7
+ fi
data/bin/git-style ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ if [ -z "$1" ]
3
+ then
4
+ git commit -m 'style: ' -e
5
+ else
6
+ git commit -m "style: $1"
7
+ fi
data/bin/git-test ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ if [ -z "$1" ]
3
+ then
4
+ git commit -m 'test: ' -e
5
+ else
6
+ git commit -m "test: $1"
7
+ fi
data/bin/git-wiki ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ path = File.expand_path(File.dirname(__FILE__))
3
+ $:<< "#{path}/../lib"
4
+
5
+ require 'ghit'
6
+ Ghit::RepoLocator.open 'wiki'
data/ghit.gemspec ADDED
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'ghit/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "ghit"
8
+ spec.version = Ghit::VERSION
9
+ spec.authors = ["Ile Eftimov"]
10
+ spec.email = ["ileeftimov@gmail.com"]
11
+ spec.summary = %q{More git commands for your enjoyment.}
12
+ spec.description = %q{Ghit is a gem that adds more git commands for a better command line Git(hub) experience.}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.5"
22
+ spec.add_development_dependency "rake", "~> 10.3"
23
+ spec.add_development_dependency 'rspec', "~> 3.1"
24
+ end
@@ -0,0 +1,6 @@
1
+ module Ghit
2
+ module Errors
3
+ class Ghit::Errors::NoRemotesFound < StandardError; end
4
+ class Ghit::Errors::NoOriginRemote < StandardError; end
5
+ end
6
+ end
@@ -0,0 +1,26 @@
1
+ module Ghit
2
+ class HttpRemoteUrlBuilder
3
+ def initialize remote, page = nil
4
+ @remote = remote
5
+ @page = page
6
+ end
7
+
8
+ def build
9
+ "https://github.com/#{author}/#{name}/#{@page}"
10
+ end
11
+
12
+ private
13
+
14
+ def repo_url
15
+ @remote.split[1]
16
+ end
17
+
18
+ def author
19
+ repo_url.split('/')[-2]
20
+ end
21
+
22
+ def name
23
+ repo_url.split('/')[-1]
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,14 @@
1
+ module Ghit
2
+ class RemoteExtracter
3
+ class << self
4
+ def extract!
5
+ raw_remotes = %x(git remote -v)
6
+ raise Ghit::Errors::NoRemotesFound.new("No Git remotes found for this repository.") if raw_remotes.empty?
7
+ remotes = raw_remotes.split "\n"
8
+ origin = remotes.detect {|r| r =~ /origin/i }
9
+ raise Ghit::Errors::NoOriginRemote.new("No remote named 'origin' found for this repository.") if origin.nil?
10
+ return origin
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,34 @@
1
+ module Ghit
2
+ class RepoLocator
3
+
4
+ class << self
5
+ def open page = nil
6
+ new(page).open
7
+ end
8
+ end
9
+
10
+ def initialize(page = nil)
11
+ @remote = Ghit::RemoteExtracter.extract!
12
+ @page = page
13
+ end
14
+
15
+ def open
16
+ %x(open #{build_url})
17
+ end
18
+
19
+ private
20
+
21
+ def build_url
22
+ if is_http_remote?
23
+ HttpRemoteUrlBuilder.new(@remote, @page).build
24
+ else
25
+ SshRemoteUrlBuilder.new(@remote, @page).build
26
+ end
27
+ end
28
+
29
+ def is_http_remote?
30
+ @remote =~ /https?/
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,27 @@
1
+ module Ghit
2
+ class SshRemoteUrlBuilder
3
+ def initialize remote, page = nil
4
+ @remote = remote
5
+ @page = page
6
+ end
7
+
8
+ def build
9
+ "https://github.com/#{author}/#{name}/#{@page}"
10
+ end
11
+
12
+ private
13
+
14
+ def name
15
+ repo_data.split('/').last.gsub(/\.git/, '').strip
16
+ end
17
+
18
+ def author
19
+ repo_data.split('/').first.strip
20
+ end
21
+
22
+ def repo_data
23
+ @remote.split(':').last.split.first
24
+ end
25
+
26
+ end
27
+ end
@@ -0,0 +1,3 @@
1
+ module Ghit
2
+ VERSION = "0.0.1"
3
+ end
data/lib/ghit.rb ADDED
@@ -0,0 +1,9 @@
1
+ require "ghit/version"
2
+
3
+ module Ghit
4
+ autoload :RepoLocator, 'ghit/repo_locator.rb'
5
+ autoload :Errors, 'ghit/errors.rb'
6
+ autoload :HttpRemoteUrlBuilder, 'ghit/http_remote_url_builder.rb'
7
+ autoload :SshRemoteUrlBuilder, 'ghit/ssh_remote_url_builder.rb'
8
+ autoload :RemoteExtracter, 'ghit/remote_extracter.rb'
9
+ end
@@ -0,0 +1,13 @@
1
+ require 'spec_helper'
2
+
3
+ describe Ghit::HttpRemoteUrlBuilder do
4
+ let(:raw_origin) { "origin https://github.com/fteem/ghit (fetch)" }
5
+
6
+ it 'creates valid URL out of raw remote string' do
7
+ expect(described_class.new(raw_origin).build).to eq "https://github.com/fteem/ghit/"
8
+ end
9
+
10
+ it 'appends optional page parameter to url' do
11
+ expect(described_class.new(raw_origin, 'something').build).to eq "https://github.com/fteem/ghit/something"
12
+ end
13
+ end
@@ -0,0 +1,25 @@
1
+ require 'spec_helper'
2
+
3
+ describe Ghit::RemoteExtracter do
4
+ let(:raw_origin) { "origin\tgit@github.com:author/name.git (fetch)\norigin\tgit@github.com:author/name.git (push)\n" }
5
+ let(:raw_github) { "github\tgit@github.com:author/name.git (fetch)\ngithub\tgit@github.com:author/name.git (push)\n" }
6
+
7
+ it "extracts the 'origin' remote" do
8
+ expect(described_class).to receive(:`).and_return raw_origin
9
+ expect(described_class.extract!).to eq "origin\tgit@github.com:author/name.git (fetch)"
10
+ end
11
+
12
+ it 'raises an error if there are no remotes for current repo' do
13
+ expect(described_class).to receive(:`).and_return("")
14
+ expect{
15
+ described_class.extract!
16
+ }.to raise_error Ghit::Errors::NoRemotesFound
17
+ end
18
+
19
+ it 'raises an error if theres no remote named "origin"' do
20
+ expect(described_class).to receive(:`).and_return raw_github
21
+ expect{
22
+ described_class.extract!
23
+ }.to raise_error Ghit::Errors::NoOriginRemote
24
+ end
25
+ end
@@ -0,0 +1,12 @@
1
+ require 'spec_helper'
2
+
3
+ describe Ghit::RepoLocator do
4
+ let(:locator) { described_class.new }
5
+
6
+ it 'opens the URL in browser' do
7
+ dummy_url = "origin https://github.com/author/name (fetch)"
8
+ expect(Ghit::RemoteExtracter).to receive(:extract!).and_return dummy_url
9
+ expect(locator).to receive(:`)
10
+ locator.open
11
+ end
12
+ end
@@ -0,0 +1,90 @@
1
+ require 'ghit'
2
+ # This file was generated by the `rspec --init` command. Conventionally, all
3
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
4
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
5
+ # file to always be loaded, without a need to explicitly require it in any files.
6
+ #
7
+ # Given that it is always loaded, you are encouraged to keep this file as
8
+ # light-weight as possible. Requiring heavyweight dependencies from this file
9
+ # will add to the boot time of your test suite on EVERY test run, even for an
10
+ # individual file that may not need all of that loaded. Instead, consider making
11
+ # a separate helper file that requires the additional dependencies and performs
12
+ # the additional setup, and require it from the spec files that actually need it.
13
+ #
14
+ # The `.rspec` file also contains a few flags that are not defaults but that
15
+ # users commonly want.
16
+ #
17
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
18
+ RSpec.configure do |config|
19
+ # rspec-expectations config goes here. You can use an alternate
20
+ # assertion/expectation library such as wrong or the stdlib/minitest
21
+ # assertions if you prefer.
22
+ config.expect_with :rspec do |expectations|
23
+ # This option will default to `true` in RSpec 4. It makes the `description`
24
+ # and `failure_message` of custom matchers include text for helper methods
25
+ # defined using `chain`, e.g.:
26
+ # be_bigger_than(2).and_smaller_than(4).description
27
+ # # => "be bigger than 2 and smaller than 4"
28
+ # ...rather than:
29
+ # # => "be bigger than 2"
30
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
31
+ end
32
+
33
+ # rspec-mocks config goes here. You can use an alternate test double
34
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
35
+ config.mock_with :rspec do |mocks|
36
+ # Prevents you from mocking or stubbing a method that does not exist on
37
+ # a real object. This is generally recommended, and will default to
38
+ # `true` in RSpec 4.
39
+ mocks.verify_partial_doubles = true
40
+ end
41
+
42
+ # The settings below are suggested to provide a good initial experience
43
+ # with RSpec, but feel free to customize to your heart's content.
44
+ =begin
45
+ # These two settings work together to allow you to limit a spec run
46
+ # to individual examples or groups you care about by tagging them with
47
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
48
+ # get run.
49
+ config.filter_run :focus
50
+ config.run_all_when_everything_filtered = true
51
+
52
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
53
+ # For more details, see:
54
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
55
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
56
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
57
+ config.disable_monkey_patching!
58
+
59
+ # This setting enables warnings. It's recommended, but in some cases may
60
+ # be too noisy due to issues in dependencies.
61
+ config.warnings = true
62
+
63
+ # Many RSpec users commonly either run the entire suite or an individual
64
+ # file, and it's useful to allow more verbose output when running an
65
+ # individual spec file.
66
+ if config.files_to_run.one?
67
+ # Use the documentation formatter for detailed output,
68
+ # unless a formatter has already been configured
69
+ # (e.g. via a command-line flag).
70
+ config.default_formatter = 'doc'
71
+ end
72
+
73
+ # Print the 10 slowest examples and example groups at the
74
+ # end of the spec run, to help surface which specs are running
75
+ # particularly slow.
76
+ config.profile_examples = 10
77
+
78
+ # Run specs in random order to surface order dependencies. If you find an
79
+ # order dependency and want to debug it, you can fix the order by providing
80
+ # the seed, which is printed after each run.
81
+ # --seed 1234
82
+ config.order = :random
83
+
84
+ # Seed global randomization in this process using the `--seed` CLI option.
85
+ # Setting this allows you to use `--seed` to deterministically reproduce
86
+ # test failures related to randomization by passing the same `--seed` value
87
+ # as the one that triggered the failure.
88
+ Kernel.srand config.seed
89
+ =end
90
+ end
@@ -0,0 +1,13 @@
1
+ require 'spec_helper'
2
+
3
+ describe Ghit::SshRemoteUrlBuilder do
4
+ let(:raw_origin) { "origin git@github.com:fteem/ghit.git (fetch)" }
5
+
6
+ it 'creates valid URL out of raw remote string' do
7
+ expect(described_class.new(raw_origin).build).to eq "https://github.com/fteem/ghit/"
8
+ end
9
+
10
+ it 'appends optional page parameter to url' do
11
+ expect(described_class.new(raw_origin, 'something').build).to eq "https://github.com/fteem/ghit/something"
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,135 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ghit
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Ile Eftimov
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-09-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.5'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '3.1'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '3.1'
55
+ description: Ghit is a gem that adds more git commands for a better command line Git(hub)
56
+ experience.
57
+ email:
58
+ - ileeftimov@gmail.com
59
+ executables:
60
+ - git-chore
61
+ - git-docs
62
+ - git-feat
63
+ - git-fix
64
+ - git-issues
65
+ - git-open
66
+ - git-pulls
67
+ - git-refactor
68
+ - git-style
69
+ - git-test
70
+ - git-wiki
71
+ extensions: []
72
+ extra_rdoc_files: []
73
+ files:
74
+ - .gitignore
75
+ - .rspec
76
+ - .ruby-version
77
+ - Gemfile
78
+ - LICENSE.txt
79
+ - README.md
80
+ - Rakefile
81
+ - bin/git-chore
82
+ - bin/git-docs
83
+ - bin/git-feat
84
+ - bin/git-fix
85
+ - bin/git-issues
86
+ - bin/git-open
87
+ - bin/git-pulls
88
+ - bin/git-refactor
89
+ - bin/git-style
90
+ - bin/git-test
91
+ - bin/git-wiki
92
+ - ghit.gemspec
93
+ - lib/ghit.rb
94
+ - lib/ghit/errors.rb
95
+ - lib/ghit/http_remote_url_builder.rb
96
+ - lib/ghit/remote_extracter.rb
97
+ - lib/ghit/repo_locator.rb
98
+ - lib/ghit/ssh_remote_url_builder.rb
99
+ - lib/ghit/version.rb
100
+ - spec/http_remote_url_builder_spec.rb
101
+ - spec/remote_extracter_spec.rb
102
+ - spec/repo_locator_spec.rb
103
+ - spec/spec_helper.rb
104
+ - spec/ssh_remote_url_builder_spec.rb
105
+ homepage: ''
106
+ licenses:
107
+ - MIT
108
+ metadata: {}
109
+ post_install_message:
110
+ rdoc_options: []
111
+ require_paths:
112
+ - lib
113
+ required_ruby_version: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ required_rubygems_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ! '>='
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ requirements: []
124
+ rubyforge_project:
125
+ rubygems_version: 2.4.1
126
+ signing_key:
127
+ specification_version: 4
128
+ summary: More git commands for your enjoyment.
129
+ test_files:
130
+ - spec/http_remote_url_builder_spec.rb
131
+ - spec/remote_extracter_spec.rb
132
+ - spec/repo_locator_spec.rb
133
+ - spec/spec_helper.rb
134
+ - spec/ssh_remote_url_builder_spec.rb
135
+ has_rdoc: