octo_merge 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 44a2d601243a0c6f3ea9c877a0bea6f83e11ad44
4
+ data.tar.gz: b785b8f17116d72bd30cc529ca62cd0a8eb7ddde
5
+ SHA512:
6
+ metadata.gz: e1d9eff205e35c939623695748bf1228b9b44f18d8df4c3eb94176cda0707ef8259384d6a9fc9b75c339ad91cf3435e1105ab038d70ace5102e9609ee26b36ee
7
+ data.tar.gz: d747b34ff3c0f8220d8e08c04ef51931f9687943678fdce781925e9549f3c6c56c2fb9d0eff923179b00f0461d6af5dbd172e2ac73d37c281f6dcdfa293650e1
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3.0
4
+ before_install: gem install bundler -v 1.11.2
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at me@patrick-helm.de. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in octo_merge.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Patrick Helm
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/README.md ADDED
@@ -0,0 +1,89 @@
1
+ **WARNING**
2
+
3
+ This is still **WIP**. Using this tool will change your local master branch
4
+ and under certain circumstances some of your feature branches too!
5
+
6
+ Use at your own risk!
7
+
8
+ # OctoMerge
9
+
10
+ `octo_merge` is a simple command line tool to merge GitHub pull requests using different strategies.
11
+
12
+ ## Installation
13
+
14
+ Add this line to your application's Gemfile:
15
+
16
+ ```ruby
17
+ gem 'octo_merge'
18
+ ```
19
+
20
+ And then execute:
21
+
22
+ $ bundle
23
+
24
+ Or install it yourself as:
25
+
26
+ $ gem install octo_merge
27
+
28
+ ## Examples
29
+
30
+ ```
31
+ octo-merge \
32
+ --repo=rails/rails \
33
+ --dir=~/Dev/Rails/rails \
34
+ --pull_requests=23,42 \
35
+ --login=Deradon \
36
+ --password=<your-github-API-token> \
37
+ --strategy=MergeWithRebase
38
+ ```
39
+
40
+ * You can find you API token [here](https://github.com/settings/tokens)
41
+
42
+ ## Avilable strategies
43
+
44
+ ### MergeWithoutRebase
45
+
46
+ ```ruby
47
+ git.checkout(master)
48
+ git.fetch(upstream)
49
+ git.reset_hard("#{upstream}/#{master}")
50
+
51
+ pull_requests.each do |pull_request|
52
+ git.remote_add("#{pull_request.remote} #{pull_request.remote_url}")
53
+ git.fetch(pull_request.remote)
54
+ git.merge_no_ff("#{pull_request.remote}/#{pull_request.branch}")
55
+ end
56
+ ```
57
+
58
+ ### MergeWithRebase
59
+
60
+ ```ruby
61
+ git.checkout(master)
62
+ git.fetch(upstream)
63
+ git.reset_hard("#{upstream}/#{master}")
64
+
65
+ pull_requests.each do |pull_request|
66
+ git.remote_add("#{pull_request.remote} #{pull_request.remote_url}")
67
+ git.fetch(pull_request.remote)
68
+ git.checkout(pull_request.branch)
69
+ git.rebase(master)
70
+ git.checkout(master)
71
+ git.merge_no_ff(pull_request.branch)
72
+ end
73
+ ```
74
+
75
+ ## Development
76
+
77
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
78
+
79
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
80
+
81
+ ## Contributing
82
+
83
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/octo_merge. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
84
+
85
+
86
+ ## License
87
+
88
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
89
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "octo_merge"
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
data/bin/octo-merge ADDED
@@ -0,0 +1,52 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "octo_merge"
5
+
6
+ require 'optparse'
7
+
8
+ options = {}
9
+ OptionParser.new do |opts|
10
+ opts.banner = "Usage: octo-merge [options]"
11
+
12
+ opts.on("--repo=REPO", "Repository (e.g.: 'rails/rails')") do |repo|
13
+ options[:repo] = repo
14
+ end
15
+
16
+ opts.on("--dir=DIR", "Working directory (e.g.: '~/Dev/Rails/rails')") do |dir|
17
+ options[:working_directory] = File.expand_path(dir)
18
+ end
19
+
20
+ opts.on("--pull_requests=PULL_REQUESTS", "Pull requests (e.g.: '23,42,66')") do |pull_requests|
21
+ options[:pull_requests] = pull_requests.split(",")
22
+ end
23
+
24
+ opts.on("--login=login", "Login (Your GitHub username)") do |login|
25
+ options[:login] = login
26
+ end
27
+
28
+ opts.on("--password=password", "Password (Your GitHub API-Token)") do |password|
29
+ options[:password] = password
30
+ end
31
+
32
+ opts.on("--strategy=STRATEGY", "Merge strategy (e.g.: 'MergeWithoutRebase')") do |strategy|
33
+ options[:strategy] = Object.const_get("OctoMerge::#{strategy}")
34
+ end
35
+
36
+ opts.on('-h', '--help', 'Display this screen') do
37
+ puts opts
38
+ exit
39
+ end
40
+ end.parse!
41
+
42
+ OctoMerge.configure do |config|
43
+ config.login = options[:login]
44
+ config.password = options[:password]
45
+ end
46
+
47
+ OctoMerge.run(
48
+ repo: options[:repo],
49
+ pull_request_numbers: options[:pull_requests],
50
+ working_directory: options[:working_directory],
51
+ strategy: options[:strategy]
52
+ )
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,32 @@
1
+ module OctoMerge
2
+ class AbstractMerge
3
+ attr_reader :working_directory, :pull_requests
4
+
5
+ def initialize(working_directory:, pull_requests:)
6
+ @working_directory = working_directory
7
+ @pull_requests = pull_requests
8
+ end
9
+
10
+ def self.run(*args)
11
+ new(*args).tap { |merge| merge.run }
12
+ end
13
+
14
+ def run
15
+ fail "NotImplementedYet"
16
+ end
17
+
18
+ private
19
+
20
+ def git
21
+ @git ||= Git.new(working_directory)
22
+ end
23
+
24
+ def upstream
25
+ :upstream
26
+ end
27
+
28
+ def master
29
+ :master
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,5 @@
1
+ module OctoMerge
2
+ class Configuration
3
+ attr_accessor :login, :password
4
+ end
5
+ end
@@ -0,0 +1,21 @@
1
+ module OctoMerge
2
+ class Context
3
+ attr_reader :working_directory, :repo
4
+
5
+ def initialize(working_directory:, repo:, pull_request_numbers:)
6
+ @working_directory = working_directory
7
+ @repo = repo
8
+ @pull_request_numbers = pull_request_numbers
9
+ end
10
+
11
+ def pull_requests
12
+ @pull_requests ||= pull_request_numbers.map do |number|
13
+ PullRequest.new(repo: repo, number: number.to_s)
14
+ end
15
+ end
16
+
17
+ private
18
+
19
+ attr_reader :pull_request_numbers
20
+ end
21
+ end
@@ -0,0 +1,21 @@
1
+ module OctoMerge
2
+ class Execute
3
+ attr_reader :context, :strategy
4
+
5
+ def initialize(context:, strategy:)
6
+ @context = context
7
+ @strategy = strategy
8
+ end
9
+
10
+ def run
11
+ env.run
12
+ end
13
+
14
+ def env
15
+ @env ||= strategy.new(
16
+ working_directory: context.working_directory,
17
+ pull_requests: context.pull_requests
18
+ )
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,41 @@
1
+ # TODO: Move to another repository (e.g.: `SimpleGit`)
2
+ class Git
3
+ def self.git(method_name, cmd = nil)
4
+ define_method(method_name) do |args|
5
+ if cmd
6
+ git("#{cmd} #{args}")
7
+ else
8
+ git("#{method_name} #{args}")
9
+ end
10
+ end
11
+ end
12
+
13
+ attr_reader :working_directory
14
+
15
+ def initialize(working_directory)
16
+ @working_directory ||= File.absolute_path(working_directory)
17
+ end
18
+
19
+ git :checkout
20
+ git :fetch
21
+ git :merge_no_ff, "merge --no-ff"
22
+ git :rebase
23
+ git :remote_add, "remote add"
24
+ git :reset_hard, "reset --hard"
25
+
26
+
27
+ private
28
+
29
+ def git(cmd)
30
+ run "git #{cmd}"
31
+ end
32
+
33
+ def run(cmd)
34
+ cmd = <<-CMD
35
+ cd #{working_directory} &&
36
+ #{cmd}
37
+ CMD
38
+
39
+ `#{cmd}`
40
+ end
41
+ end
@@ -0,0 +1,22 @@
1
+ # == Links
2
+ #
3
+ # * https://www.atlassian.com/git/tutorials/merging-vs-rebasing/workflow-walkthrough
4
+ # * https://www.atlassian.com/git/articles/git-team-workflows-merge-or-rebase/
5
+ module OctoMerge
6
+ class MergeWithRebase < AbstractMerge
7
+ def run
8
+ git.checkout(master)
9
+ git.fetch(upstream)
10
+ git.reset_hard("#{upstream}/#{master}")
11
+
12
+ pull_requests.each do |pull_request|
13
+ git.remote_add("#{pull_request.remote} #{pull_request.remote_url}")
14
+ git.fetch(pull_request.remote)
15
+ git.checkout(pull_request.branch)
16
+ git.rebase(master)
17
+ git.checkout(master)
18
+ git.merge_no_ff(pull_request.branch)
19
+ end
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,15 @@
1
+ module OctoMerge
2
+ class MergeWithoutRebase < AbstractMerge
3
+ def run
4
+ git.checkout(master)
5
+ git.fetch(upstream)
6
+ git.reset_hard("#{upstream}/#{master}")
7
+
8
+ pull_requests.each do |pull_request|
9
+ git.remote_add("#{pull_request.remote} #{pull_request.remote_url}")
10
+ git.fetch(pull_request.remote)
11
+ git.merge_no_ff("#{pull_request.remote}/#{pull_request.branch}")
12
+ end
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,45 @@
1
+ require "octokit"
2
+
3
+ module OctoMerge
4
+ class PullRequest
5
+ attr_reader :repo, :number
6
+
7
+ def initialize(repo:, number:)
8
+ @repo = repo
9
+ @number = number.to_s
10
+ end
11
+
12
+ def remote
13
+ github_api_result.user.login
14
+ end
15
+
16
+ def remote_url
17
+ github_api_result.head.repo.ssh_url
18
+ end
19
+
20
+ def branch
21
+ github_api_result.head.ref
22
+ end
23
+
24
+ def ==(other_pull_request)
25
+ repo == other_pull_request.repo && number == other_pull_request.number
26
+ end
27
+
28
+ private
29
+
30
+ def github_api_result
31
+ @github_api_result ||= github_client.pull_request(repo, number)
32
+ end
33
+
34
+ def github_client
35
+ @github_client ||= Octokit::Client.new(
36
+ login: config.login,
37
+ password: config.password
38
+ )
39
+ end
40
+
41
+ def config
42
+ OctoMerge.configuration
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,3 @@
1
+ module OctoMerge
2
+ VERSION = "0.1.0"
3
+ end
data/lib/octo_merge.rb ADDED
@@ -0,0 +1,33 @@
1
+ require "octo_merge/version"
2
+
3
+ require "octo_merge/configuration"
4
+ require "octo_merge/context"
5
+ require "octo_merge/execute"
6
+ require "octo_merge/git"
7
+ require "octo_merge/pull_request"
8
+
9
+ require "octo_merge/abstract_merge"
10
+ require "octo_merge/merge_with_rebase"
11
+ require "octo_merge/merge_without_rebase"
12
+
13
+ module OctoMerge
14
+ class << self
15
+ def run(repo:, pull_request_numbers:, working_directory:, strategy:)
16
+ context = Context.new(
17
+ working_directory: working_directory,
18
+ repo: repo,
19
+ pull_request_numbers: pull_request_numbers
20
+ )
21
+
22
+ Execute.new(context: context, strategy: strategy).run
23
+ end
24
+
25
+ def configure
26
+ yield(configuration)
27
+ end
28
+
29
+ def configuration
30
+ @configuration ||= Configuration.new
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,40 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'octo_merge/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "octo_merge"
8
+ spec.version = OctoMerge::VERSION
9
+ spec.authors = ["Patrick Helm"]
10
+ spec.email = ["me@patrick-helm.de"]
11
+
12
+ spec.summary = %q{Merge GitHub pull requests.}
13
+ spec.description = %q{
14
+ octo_merge is a simple command line tool to merge GitHub pull requests using different strategies
15
+ }
16
+ spec.homepage = "https://github.com/Deradon/octo_merge"
17
+ spec.license = "MIT"
18
+
19
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
20
+ # delete this section to allow pushing this gem to any host.
21
+ # if spec.respond_to?(:metadata)
22
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
23
+ # else
24
+ # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
25
+ # end
26
+
27
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
28
+ spec.bindir = "exe"
29
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ["lib"]
31
+
32
+ spec.add_dependency "octokit", "~> 4.0"
33
+
34
+ spec.add_development_dependency "bundler", "~> 1.11"
35
+ spec.add_development_dependency "pry"
36
+ spec.add_development_dependency "rake", "~> 10.0"
37
+ spec.add_development_dependency "rspec", "~> 3.0"
38
+ spec.add_development_dependency "rspec-its"
39
+ spec.add_development_dependency "webmock"
40
+ end
metadata ADDED
@@ -0,0 +1,165 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: octo_merge
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Patrick Helm
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-02-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: octokit
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.11'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.11'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '10.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '10.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec-its
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: webmock
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: "\n octo_merge is a simple command line tool to merge GitHub pull requests
112
+ using different strategies\n "
113
+ email:
114
+ - me@patrick-helm.de
115
+ executables: []
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - ".gitignore"
120
+ - ".rspec"
121
+ - ".travis.yml"
122
+ - CODE_OF_CONDUCT.md
123
+ - Gemfile
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - bin/console
128
+ - bin/octo-merge
129
+ - bin/setup
130
+ - lib/octo_merge.rb
131
+ - lib/octo_merge/abstract_merge.rb
132
+ - lib/octo_merge/configuration.rb
133
+ - lib/octo_merge/context.rb
134
+ - lib/octo_merge/execute.rb
135
+ - lib/octo_merge/git.rb
136
+ - lib/octo_merge/merge_with_rebase.rb
137
+ - lib/octo_merge/merge_without_rebase.rb
138
+ - lib/octo_merge/pull_request.rb
139
+ - lib/octo_merge/version.rb
140
+ - octo_merge.gemspec
141
+ homepage: https://github.com/Deradon/octo_merge
142
+ licenses:
143
+ - MIT
144
+ metadata: {}
145
+ post_install_message:
146
+ rdoc_options: []
147
+ require_paths:
148
+ - lib
149
+ required_ruby_version: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ required_rubygems_version: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ requirements: []
160
+ rubyforge_project:
161
+ rubygems_version: 2.5.1
162
+ signing_key:
163
+ specification_version: 4
164
+ summary: Merge GitHub pull requests.
165
+ test_files: []