gitmore 0.3.0.pre.rc
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 +7 -0
- data/.gitignore +11 -0
- data/.rspec +4 -0
- data/.ruby-version +1 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +39 -0
- data/LICENSE.txt +21 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/git-branches +8 -0
- data/exe/git-checkouts +7 -0
- data/exe/git-diffs +5 -0
- data/exe/git-fetches +5 -0
- data/exe/git-gems +5 -0
- data/exe/git-logf +3 -0
- data/exe/git-pulls +5 -0
- data/exe/git-rollback +3 -0
- data/exe/git-save +5 -0
- data/exe/git-sstash +5 -0
- data/exe/git-statuses +5 -0
- data/exe/git-versions +6 -0
- data/gitmore.gemspec +39 -0
- data/lib/branch_matcher.rb +40 -0
- data/lib/branches.rb +81 -0
- data/lib/gitmore.rb +49 -0
- data/lib/gitmore/version.rb +3 -0
- data/lib/helpers/branch_helper.rb +27 -0
- data/lib/helpers/ruby_helper.rb +35 -0
- data/lib/repositories.rb +13 -0
- data/lib/statustician.rb +25 -0
- metadata +158 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d89aa32035524ef0708667a3e6b92f45ca2922da9ae193b35a703f40c798c8f9
|
4
|
+
data.tar.gz: 30135156da1a27c225cf2f665a561789c05e590b94a4f8b5180b065bb764153e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f42c56e61a60929ce788dd6e7242515088093113626a78b908a1890fd4334e89029a9c7f749dac8c1d75b6b1b7b10db3299c93f846d6360336da8f7741485b61
|
7
|
+
data.tar.gz: 2dd9f11709b9c81be5cdc97e4a5a911d615140383651a218e5f1efa76815b22f82a8837aec335efb9eb8dc46b6dbb6bfa4ba36c949b2d929e50f5fd4fddb1de1
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.6.3
|
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at anderson.reinkordt@paymentspring.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
gitmore (0.3.0.pre.rc)
|
5
|
+
colorize
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
byebug (11.0.1)
|
11
|
+
colorize (0.8.1)
|
12
|
+
diff-lcs (1.3)
|
13
|
+
rake (10.5.0)
|
14
|
+
rspec (3.8.0)
|
15
|
+
rspec-core (~> 3.8.0)
|
16
|
+
rspec-expectations (~> 3.8.0)
|
17
|
+
rspec-mocks (~> 3.8.0)
|
18
|
+
rspec-core (3.8.2)
|
19
|
+
rspec-support (~> 3.8.0)
|
20
|
+
rspec-expectations (3.8.4)
|
21
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
+
rspec-support (~> 3.8.0)
|
23
|
+
rspec-mocks (3.8.1)
|
24
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
25
|
+
rspec-support (~> 3.8.0)
|
26
|
+
rspec-support (3.8.2)
|
27
|
+
|
28
|
+
PLATFORMS
|
29
|
+
ruby
|
30
|
+
|
31
|
+
DEPENDENCIES
|
32
|
+
bundler (~> 2.0)
|
33
|
+
byebug
|
34
|
+
gitmore!
|
35
|
+
rake (~> 10.0)
|
36
|
+
rspec (~> 3.0)
|
37
|
+
|
38
|
+
BUNDLED WITH
|
39
|
+
2.0.2
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 andersonreinkordt
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "gitmore"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
data/exe/git-branches
ADDED
data/exe/git-checkouts
ADDED
data/exe/git-diffs
ADDED
data/exe/git-fetches
ADDED
data/exe/git-gems
ADDED
data/exe/git-logf
ADDED
data/exe/git-pulls
ADDED
data/exe/git-rollback
ADDED
data/exe/git-save
ADDED
data/exe/git-sstash
ADDED
data/exe/git-statuses
ADDED
data/exe/git-versions
ADDED
data/gitmore.gemspec
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# lib = File.expand_path("lib", __dir__)
|
2
|
+
# gem fury build runs ruby 1.9 wat?, which doesn't support __dir__
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require "gitmore/version"
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "gitmore"
|
9
|
+
spec.version = Gitmore::VERSION
|
10
|
+
spec.authors = ["son1112"]
|
11
|
+
spec.email = ["anderson.reinkordt@gmail.com"]
|
12
|
+
|
13
|
+
spec.summary = %q{Special Git helper tools}
|
14
|
+
spec.description = %q{When you need to git things done on multiple local repositories.}
|
15
|
+
spec.homepage = "https://github.com/son1112/gitmore"
|
16
|
+
spec.license = "MIT"
|
17
|
+
|
18
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
19
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
20
|
+
if spec.respond_to?(:metadata)
|
21
|
+
spec.metadata["allowed_push_host"] = 'https://rubygems.org'
|
22
|
+
else
|
23
|
+
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
24
|
+
end
|
25
|
+
|
26
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
27
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
28
|
+
end
|
29
|
+
spec.bindir = "exe"
|
30
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
|
+
spec.require_paths = ["lib"]
|
32
|
+
|
33
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
34
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
35
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
36
|
+
spec.add_development_dependency "byebug"
|
37
|
+
|
38
|
+
spec.add_runtime_dependency "colorize"
|
39
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require_relative 'helpers/branch_helper.rb'
|
2
|
+
require_relative 'helpers/ruby_helper.rb'
|
3
|
+
require_relative 'repositories.rb'
|
4
|
+
require_relative 'branches.rb'
|
5
|
+
require_relative 'statustician.rb'
|
6
|
+
|
7
|
+
module Gitmore
|
8
|
+
class BranchMatcher
|
9
|
+
attr_accessor :matcher, :option, :repositories
|
10
|
+
|
11
|
+
include BranchHelper
|
12
|
+
include RubyHelper
|
13
|
+
include Gitmore::Branches
|
14
|
+
include Gitmore::Statustician
|
15
|
+
|
16
|
+
def initialize(matcher=nil, option=nil)
|
17
|
+
@matcher = matcher || 'master'
|
18
|
+
@option = option
|
19
|
+
@repositories = Gitmore::Repositories.get
|
20
|
+
end
|
21
|
+
|
22
|
+
private
|
23
|
+
|
24
|
+
def count
|
25
|
+
repositories.count
|
26
|
+
end
|
27
|
+
|
28
|
+
def find
|
29
|
+
if branch_exists?
|
30
|
+
`git branch --color`
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def find_similar
|
35
|
+
if similar_branch_exists?
|
36
|
+
`git branch -a --list *#{matcher}*`
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
data/lib/branches.rb
ADDED
@@ -0,0 +1,81 @@
|
|
1
|
+
module Gitmore
|
2
|
+
module Branches
|
3
|
+
def branches
|
4
|
+
matching_repositories = []
|
5
|
+
|
6
|
+
repositories.each do |repository|
|
7
|
+
Dir.chdir(repository) do
|
8
|
+
case option
|
9
|
+
when 'f', 'find'
|
10
|
+
format_branch_info(repository, find)
|
11
|
+
when 's', 'similar'
|
12
|
+
format_branch_info(repository, find_similar)
|
13
|
+
else
|
14
|
+
# Default: prints repository branch info if currently on this branch
|
15
|
+
if current_branch == matcher
|
16
|
+
matching_repositories << repository
|
17
|
+
format_branch_info(repository, `git branch --color`)
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
if matcher == 'master' && matching_repositories.count < count
|
24
|
+
non_matching_repositories = repositories - matching_repositories
|
25
|
+
non_matching_count = non_matching_repositories.count
|
26
|
+
puts "NOTICE: #{non_matching_count} branches checked out to something other than master!".colorize(:black).on_red
|
27
|
+
|
28
|
+
non_matching_repositories.each do |name|
|
29
|
+
puts name.colorize(:red)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def checkout
|
35
|
+
checkout = Proc.new { |repository|
|
36
|
+
if branch_exists? && clean_status?
|
37
|
+
unless current_branch == matcher
|
38
|
+
`git checkout #{matcher}`
|
39
|
+
end
|
40
|
+
elsif !branch_exists?
|
41
|
+
puts "branch #{matcher} does not exit on #{repository}"
|
42
|
+
elsif !clean_status?
|
43
|
+
puts repository.colorize(:black).on_red
|
44
|
+
system('git status')
|
45
|
+
end
|
46
|
+
}
|
47
|
+
|
48
|
+
perform(&checkout)
|
49
|
+
end
|
50
|
+
|
51
|
+
def fetches
|
52
|
+
fetch = Proc.new { |repository|
|
53
|
+
puts "Fetching changes in #{repository}...".colorize(:black).on_blue.blink
|
54
|
+
unless `git fetch`.to_s.empty?
|
55
|
+
puts repository.colorize(:black).on_yellow
|
56
|
+
end
|
57
|
+
}
|
58
|
+
|
59
|
+
perform(&fetch)
|
60
|
+
end
|
61
|
+
|
62
|
+
def pulls
|
63
|
+
pull = Proc.new { |repository|
|
64
|
+
puts "Pulling changes in #{repository}...".colorize(:black).on_blue.blink
|
65
|
+
system('git pull')
|
66
|
+
}
|
67
|
+
|
68
|
+
perform(&pull)
|
69
|
+
end
|
70
|
+
|
71
|
+
private
|
72
|
+
|
73
|
+
def perform(&block)
|
74
|
+
repositories.each do |repository|
|
75
|
+
Dir.chdir(repository) do
|
76
|
+
block[repository]
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
data/lib/gitmore.rb
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'gitmore/version'
|
2
|
+
|
3
|
+
require 'helpers/branch_helper.rb'
|
4
|
+
require 'helpers/ruby_helper.rb'
|
5
|
+
require 'branch_matcher.rb'
|
6
|
+
require 'statustician.rb'
|
7
|
+
|
8
|
+
module Gitmore
|
9
|
+
class Error < StandardError; end
|
10
|
+
def self.branches(branch_string, option=nil)
|
11
|
+
repositories = Gitmore::BranchMatcher.new(branch_string, option)
|
12
|
+
repositories.branches
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.checkouts(branch_string=nil)
|
16
|
+
repositories = Gitmore::BranchMatcher.new(branch_string)
|
17
|
+
repositories.checkout
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.statuses(branch_string=nil)
|
21
|
+
repositories = Gitmore::BranchMatcher.new(branch_string)
|
22
|
+
repositories.status
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.diffs(branch_string=nil)
|
26
|
+
repositories = Gitmore::BranchMatcher.new(branch_string)
|
27
|
+
repositories.diffs
|
28
|
+
end
|
29
|
+
|
30
|
+
def self.gems(branch_string=nil)
|
31
|
+
repositories = Gitmore::BranchMatcher.new(branch_string)
|
32
|
+
repositories.gems
|
33
|
+
end
|
34
|
+
|
35
|
+
def self.versions( language)
|
36
|
+
repositories = Gitmore::BranchMatcher.new
|
37
|
+
repositories.versions(language)
|
38
|
+
end
|
39
|
+
|
40
|
+
def self.fetches
|
41
|
+
repositories = Gitmore::BranchMatcher.new
|
42
|
+
repositories.fetches
|
43
|
+
end
|
44
|
+
|
45
|
+
def self.pulls
|
46
|
+
repositories = Gitmore::BranchMatcher.new
|
47
|
+
repositories.pulls
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
require 'colorize'
|
2
|
+
|
3
|
+
module Gitmore
|
4
|
+
module BranchHelper
|
5
|
+
def branch_exists?
|
6
|
+
!`git rev-parse --verify --quiet #{matcher}`.to_s.empty?
|
7
|
+
end
|
8
|
+
|
9
|
+
def format_branch_info(repository, result)
|
10
|
+
return unless result
|
11
|
+
puts repository.colorize(:black).on_green
|
12
|
+
puts puts result
|
13
|
+
end
|
14
|
+
|
15
|
+
def clean_status?
|
16
|
+
`git status --porcelain -uno`.to_s.empty?
|
17
|
+
end
|
18
|
+
|
19
|
+
def current_branch
|
20
|
+
`git symbolic-ref HEAD | cut -d/ -f3-`.to_s.strip
|
21
|
+
end
|
22
|
+
|
23
|
+
def similar_branch_exists?
|
24
|
+
!`git branch -a --list #{matcher}`.to_s.empty?
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
module Gitmore
|
2
|
+
module RubyHelper
|
3
|
+
def gems
|
4
|
+
repositories.each do |repository|
|
5
|
+
Dir.chdir(repository) do
|
6
|
+
gem_files = Dir.entries(Dir.pwd).collect { |entry| entry[/.gemspec/] }
|
7
|
+
if gem_files.compact.count > 0
|
8
|
+
puts repository
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def versions(language)
|
15
|
+
case language
|
16
|
+
|
17
|
+
when 'ruby'
|
18
|
+
repositories.each do |repository|
|
19
|
+
Dir.chdir(repository) do
|
20
|
+
puts repository.colorize(:black).on_green
|
21
|
+
if File.exists?('.ruby-version')
|
22
|
+
puts File.read('.ruby-version').strip
|
23
|
+
else
|
24
|
+
system('ruby -v')
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
else
|
30
|
+
puts "Language #{language} not yet implemented."
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
data/lib/repositories.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
module Gitmore
|
2
|
+
module Repositories
|
3
|
+
def self.get
|
4
|
+
directories.select { |dir| Dir.entries(dir).include?('.git') }
|
5
|
+
end
|
6
|
+
|
7
|
+
def self.directories
|
8
|
+
directories = Dir.entries(Dir.pwd).select { |entry| File.directory? entry }
|
9
|
+
directories.shift(2)
|
10
|
+
directories
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
data/lib/statustician.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
module Gitmore
|
2
|
+
module Statustician
|
3
|
+
def status
|
4
|
+
repositories.each do |repository|
|
5
|
+
Dir.chdir(repository) do
|
6
|
+
unless `git status --porcelain -uno`.to_s.empty?
|
7
|
+
puts repository.colorize(:black).on_green
|
8
|
+
system('git status')
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def diffs
|
15
|
+
repositories.each do |repository|
|
16
|
+
Dir.chdir(repository) do
|
17
|
+
unless `git status --porcelain -uno`.to_s.empty?
|
18
|
+
puts repository.colorize(:black).on_green
|
19
|
+
system('git diff')
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: gitmore
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.0.pre.rc
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- son1112
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-12-28 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: '2.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
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.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
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.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: byebug
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: colorize
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description: When you need to git things done on multiple local repositories.
|
84
|
+
email:
|
85
|
+
- anderson.reinkordt@gmail.com
|
86
|
+
executables:
|
87
|
+
- git-branches
|
88
|
+
- git-checkouts
|
89
|
+
- git-diffs
|
90
|
+
- git-fetches
|
91
|
+
- git-gems
|
92
|
+
- git-logf
|
93
|
+
- git-pulls
|
94
|
+
- git-rollback
|
95
|
+
- git-save
|
96
|
+
- git-sstash
|
97
|
+
- git-statuses
|
98
|
+
- git-versions
|
99
|
+
extensions: []
|
100
|
+
extra_rdoc_files: []
|
101
|
+
files:
|
102
|
+
- ".gitignore"
|
103
|
+
- ".rspec"
|
104
|
+
- ".ruby-version"
|
105
|
+
- ".travis.yml"
|
106
|
+
- CODE_OF_CONDUCT.md
|
107
|
+
- Gemfile
|
108
|
+
- Gemfile.lock
|
109
|
+
- LICENSE.txt
|
110
|
+
- Rakefile
|
111
|
+
- bin/console
|
112
|
+
- bin/setup
|
113
|
+
- exe/git-branches
|
114
|
+
- exe/git-checkouts
|
115
|
+
- exe/git-diffs
|
116
|
+
- exe/git-fetches
|
117
|
+
- exe/git-gems
|
118
|
+
- exe/git-logf
|
119
|
+
- exe/git-pulls
|
120
|
+
- exe/git-rollback
|
121
|
+
- exe/git-save
|
122
|
+
- exe/git-sstash
|
123
|
+
- exe/git-statuses
|
124
|
+
- exe/git-versions
|
125
|
+
- gitmore.gemspec
|
126
|
+
- lib/branch_matcher.rb
|
127
|
+
- lib/branches.rb
|
128
|
+
- lib/gitmore.rb
|
129
|
+
- lib/gitmore/version.rb
|
130
|
+
- lib/helpers/branch_helper.rb
|
131
|
+
- lib/helpers/ruby_helper.rb
|
132
|
+
- lib/repositories.rb
|
133
|
+
- lib/statustician.rb
|
134
|
+
homepage: https://github.com/son1112/gitmore
|
135
|
+
licenses:
|
136
|
+
- MIT
|
137
|
+
metadata:
|
138
|
+
allowed_push_host: https://rubygems.org
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.3.1
|
153
|
+
requirements: []
|
154
|
+
rubygems_version: 3.0.4
|
155
|
+
signing_key:
|
156
|
+
specification_version: 4
|
157
|
+
summary: Special Git helper tools
|
158
|
+
test_files: []
|