stash_cli 0.1.0

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,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 25c7e2e61789ac9442d014f20bb5d8ba2fabefb8
4
+ data.tar.gz: adae0d8806ce8450f4add8668f4d3d7c3aedd923
5
+ SHA512:
6
+ metadata.gz: 7c0ee8ea13dc1aa9407183a04eafe311696bb8f37158cd0105304184b5a2fd87498eaa6c1754bd1a4dac284ffe847627b28fe09094138a21ed46d6dd68eea94b
7
+ data.tar.gz: f46c9a1c03e08c0912de3c67d03ec85b85efccb0d735dc179e6b5426b40ef721531849362859debb4b87eca1a4ccd7072bd178a92ee248eb2352eeaf8931b2a4
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ *.sw[a-z]
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.0.0
4
+ before_install: gem install bundler -v 1.10.6
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in stash_cli.gemspec
4
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,42 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ # Note: The cmd option is now required due to the increasing number of ways
19
+ # rspec may be run, below are examples of the most common uses.
20
+ # * bundler: 'bundle exec rspec'
21
+ # * bundler binstubs: 'bin/rspec'
22
+ # * spring: 'bin/rspec' (This will use spring if running and you have
23
+ # installed the spring binstubs per the docs)
24
+ # * zeus: 'zeus rspec' (requires the server to be started separately)
25
+ # * 'just' rspec: 'rspec'
26
+
27
+ guard :rspec, cmd: "bundle exec rspec" do
28
+ require "guard/rspec/dsl"
29
+ dsl = Guard::RSpec::Dsl.new(self)
30
+
31
+ # Feel free to open issues for suggestions and improvements
32
+
33
+ # RSpec files
34
+ rspec = dsl.rspec
35
+ watch(rspec.spec_helper) { rspec.spec_dir }
36
+ watch(rspec.spec_support) { rspec.spec_dir }
37
+ watch(rspec.spec_files)
38
+
39
+ # Ruby files
40
+ ruby = dsl.ruby
41
+ dsl.watch_spec_files_for(ruby.lib_files)
42
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Matt Chun-Lum
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,4 @@
1
+ # StashCli
2
+
3
+ Work in progress
4
+
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 "stash_cli"
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/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
data/exe/stash ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'stash_cli/cli'
4
+
5
+ StashCLI::CLI.start
@@ -0,0 +1,227 @@
1
+ require 'thor'
2
+ require 'yaml'
3
+ require 'configatron'
4
+ require 'base64'
5
+
6
+ require 'stash_cli/client'
7
+ require 'stash_cli/git_utils'
8
+
9
+ module StashCLI
10
+ class CLI < Thor
11
+ include Thor::Actions
12
+
13
+ def self.source_root
14
+ File.dirname(__FILE__)
15
+ end
16
+
17
+ def initialize(*args)
18
+ super
19
+ end
20
+
21
+ class_option :config,
22
+ aliases: '-c',
23
+ type: :string,
24
+ default: File.join(ENV['HOME'], '.stash_cli.yml'),
25
+ desc: 'path to config file'
26
+
27
+ desc 'init', 'generate a config file'
28
+ def init
29
+ @server = ask_required('stash server url:')
30
+ @username = ask_required('stash username:')
31
+ @password = ask_required('password:', echo: false)
32
+ @project = ask_required("\nproject key:")
33
+ @source = ask_required('source repo slug:')
34
+
35
+ @target = ask('target repo slug [main]:')
36
+ @target = 'main' if @target.empty?
37
+
38
+ @target_branch = ask('target branch [master]:')
39
+ @target_branch = 'master' if @target_branch.empty?
40
+
41
+ @auth_token = Base64.encode64("#{@username}:#{@password}")
42
+
43
+ dest = File.join(ENV['HOME'], '.stash_cli.yml')
44
+
45
+ template('templates/stash_cli.yml.erb', dest)
46
+
47
+ say "verify configuration in #{dest}"
48
+ end
49
+
50
+ desc 'users', 'list users'
51
+ def users
52
+ configure
53
+ client = Client.new(configatron.server, configatron.auth_token)
54
+ users = client.users.map { |data| [data['displayName'], data['name']] }
55
+ users.unshift ['display name', 'slug']
56
+ print_table(users)
57
+ end
58
+
59
+ desc 'groups', 'list defined reviewer groups'
60
+ def groups
61
+ configure
62
+
63
+ groups = []
64
+ configatron.reviewer_groups.each do |name, users|
65
+ groups << ["#{name}:", users.join(', ')]
66
+ end
67
+
68
+ say 'reviewer groups:'
69
+ print_table(groups)
70
+ end
71
+
72
+ desc 'pr TITLE [OPTIONS]', 'open a pull request'
73
+ option :interactive,
74
+ aliases: '-i',
75
+ type: :boolean,
76
+ default: false,
77
+ desc: 'run in interactive mode instead of just using defaults'
78
+
79
+ option :description,
80
+ aliases: '-d',
81
+ type: :string,
82
+ desc: 'the description'
83
+
84
+ option :open,
85
+ type: :boolean,
86
+ default: true,
87
+ desc: 'open the pull request in a browser'
88
+
89
+ option :groups,
90
+ aliases: '-g',
91
+ type: :array,
92
+ default: [],
93
+ desc: 'the groups (union) of reviewers for this pull request'
94
+
95
+ option :dry_run,
96
+ type: :boolean,
97
+ default: false,
98
+ desc: 'do not actually create the request'
99
+
100
+ def pr(title)
101
+ configure
102
+
103
+ if options[:interactive]
104
+ opts = interactive_pr(title)
105
+ else
106
+ opts = default_pr(title)
107
+ end
108
+
109
+ if options[:dry_run]
110
+ say "dry run options: #{opts}"
111
+ exit
112
+ end
113
+
114
+ client = Client.new(configatron.server, configatron.auth_token)
115
+ pull_request = client.pull_request(opts)
116
+
117
+ say 'pull request created'
118
+ say "id: #{pull_request.id}"
119
+ say "url: #{pull_request.url}"
120
+
121
+ if options[:open]
122
+ say 'opening in browser...'
123
+ cmd = "#{configatron.browser_command} #{pull_request.url}"
124
+ system(cmd)
125
+ end
126
+ end
127
+
128
+ protected
129
+
130
+ def initial_reviewers
131
+ groups = options[:groups]
132
+ if groups.any?
133
+ reviewers = groups.map do |group|
134
+ if configatron.reviewer_groups.has_key?(group)
135
+ configatron.reviewer_groups[group]
136
+ else
137
+ say "unknown group: #{group}"
138
+ nil
139
+ end
140
+ end
141
+
142
+ reviewers = reviewers.compact.flatten.uniq
143
+ else
144
+ reviewers = configatron.reviewer_groups.default
145
+ end
146
+
147
+ say "computed reviewers: [#{reviewers.join(', ')}]"
148
+ reviewers
149
+ end
150
+
151
+ def default_pr(title)
152
+ reviewers = initial_reviewers
153
+
154
+ opts = {
155
+ title: title,
156
+ project: configatron.defaults.project,
157
+ from_branch: GitUtils.current_branch,
158
+ from_slug: configatron.defaults.source_slug,
159
+ target_branch: configatron.defaults.target_branch,
160
+ target_slug: configatron.defaults.target_slug,
161
+ reviewers: reviewers
162
+ }
163
+
164
+ opts[:description] = options[:description] if options[:description]
165
+
166
+ opts
167
+ end
168
+
169
+ def interactive_pr(title)
170
+ target_branch =
171
+ ask("target branch [#{configatron.defaults.target_branch}]:").strip
172
+
173
+ target_branch = configatron.defaults.target_branch if target_branch.empty?
174
+
175
+ description = ask("description [#{options[:description]}]:").strip
176
+
177
+ reviewers = initial_reviewers
178
+
179
+ if yes?("use custom reviewers? [y/yes/n/no empty is no]:")
180
+ reviewers =
181
+ ask("reviewers [comma-separated, empty for none]:").strip
182
+
183
+ if reviewers.empty?
184
+ reviewers = []
185
+ else
186
+ reviewers = reviewers.split(',').map(&:strip).compact
187
+ end
188
+ end
189
+
190
+ opts = {
191
+ title: title,
192
+ project: configatron.defaults.project,
193
+ from_branch: GitUtils.current_branch,
194
+ from_slug: configatron.defaults.source_slug,
195
+ target_branch: target_branch,
196
+ target_slug: configatron.defaults.target_slug,
197
+ reviewers: reviewers
198
+ }
199
+
200
+ opts[:description] = description unless description.empty?
201
+
202
+ opts
203
+ end
204
+
205
+ def configure
206
+ if File.exist?(options[:config])
207
+ conf = YAML.load_file(options[:config])
208
+ configatron.configure_from_hash(conf)
209
+ else
210
+ say '!! no configuration file !!'
211
+ say 'generate a basic config with "stash init"'
212
+ exit 1
213
+ end
214
+ end
215
+
216
+ def ask_required(statement, *args)
217
+ val = ask(statement, *args)
218
+
219
+ if val.empty?
220
+ say 'input is required'
221
+ return ask_required(statement, *args)
222
+ end
223
+
224
+ val
225
+ end
226
+ end
227
+ end
@@ -0,0 +1,78 @@
1
+ require 'rest-client'
2
+ require 'uri'
3
+ require 'json'
4
+ require 'configatron'
5
+
6
+ require 'stash_cli/pull_request'
7
+
8
+ module StashCLI
9
+ class Client
10
+ BASE_API_URL = 'rest/api/1.0'
11
+
12
+ attr_reader :server, :resource
13
+
14
+ def initialize(server, auth_token)
15
+ @server = URI(server)
16
+ @resource = RestClient::Resource.new(
17
+ File.join(@server.to_s, BASE_API_URL),
18
+ headers: {
19
+ authorization: "Basic #{auth_token}",
20
+ accept: :json,
21
+ content_type: :json
22
+ })
23
+ end
24
+
25
+ def users
26
+ response = resource['users?limit=1000'].get
27
+ JSON.parse(response.body)['values']
28
+ end
29
+
30
+ def repositories(project)
31
+ response = resource["projects/#{project}/repos?limit=1000"].get
32
+ JSON.parse(response.body)
33
+ end
34
+
35
+ def pull_request(options={})
36
+ params = {
37
+ title: options[:title],
38
+ fromRef: {
39
+ id: "refs/heads/#{options[:from_branch]}",
40
+ repository: {
41
+ slug: options[:from_slug],
42
+ project: {
43
+ key: options[:project]
44
+ }
45
+ }
46
+ },
47
+ toRef: {
48
+ id: "refs/heads/#{options[:target_branch]}",
49
+ repository: {
50
+ slug: options[:target_slug],
51
+ project: {
52
+ key: options[:project]
53
+ }
54
+ }
55
+ },
56
+ reviewers: []
57
+ }
58
+
59
+ if options[:reviewers].any?
60
+ params[:reviewers] = options[:reviewers].map do |name|
61
+ {
62
+ user: {
63
+ name: name
64
+ }
65
+ }
66
+ end
67
+ end
68
+
69
+ params[:description] = options[:description] if options[:description]
70
+
71
+ path = "projects/#{options[:project]}/repos/#{options[:target_slug]}/pull-requests"
72
+
73
+ response = resource[path].post(params.to_json)
74
+
75
+ PullRequest.from_response(JSON.parse(response.body), server.to_s)
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,7 @@
1
+ module StashCLI
2
+ module GitUtils
3
+ def self.current_branch
4
+ `git rev-parse --abbrev-ref HEAD`.strip
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,16 @@
1
+ module StashCLI
2
+ class PullRequest
3
+ attr_reader :id, :url
4
+
5
+ def self.from_response(response, base_url)
6
+ id = response['id']
7
+ url = File.join(base_url, response['link']['url'])
8
+ PullRequest.new(id, url)
9
+ end
10
+
11
+ def initialize(id, url)
12
+ @id = id
13
+ @url = url
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,27 @@
1
+ # Configuration for stash commands
2
+
3
+ server: '<%= @server %>'
4
+ auth_token: <%= @auth_token %>
5
+
6
+ # This is executed as <browser_command> <pull request url>
7
+ browser_command: google-chrome
8
+
9
+ defaults:
10
+ project: <%= @project %>
11
+ source_slug: <%= @source %>
12
+ target_slug: <%= @target %>
13
+ target_branch: <%= @target_branch %>
14
+
15
+ # You can always specify reviewers in interactive mode, but these are here to
16
+ # provide convenient sets of frequently-included reviewers. The names here are
17
+ # the "names" for the desired set of stash users. You can get a (limit 1000)
18
+ # list of users by running `stash users`
19
+ reviewer_groups:
20
+ default:
21
+ - foo
22
+ - bar.baz
23
+
24
+ # core:
25
+ # - foo
26
+ # - herp
27
+ # - derp
@@ -0,0 +1,3 @@
1
+ module StashCli
2
+ VERSION = "0.1.0"
3
+ end
data/lib/stash_cli.rb ADDED
@@ -0,0 +1,5 @@
1
+ require "stash_cli/version"
2
+
3
+ module StashCli
4
+ # Your code goes here...
5
+ end
data/stash_cli.gemspec ADDED
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'stash_cli/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'stash_cli'
8
+ spec.version = StashCli::VERSION
9
+ spec.authors = ['Matt Chun-Lum']
10
+
11
+ spec.summary = %q{Manage stash pull requests}
12
+ spec.description = %q{A tool for managing stash pull requests from the commandline}
13
+ spec.homepage = "https://github.com/mattcl/stash_cli"
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = "exe"
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency 'configatron'
22
+ spec.add_dependency 'rest-client'
23
+ spec.add_dependency 'thor'
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.10"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rspec"
28
+ spec.add_development_dependency 'guard'
29
+ spec.add_development_dependency 'guard-rspec'
30
+ end
metadata ADDED
@@ -0,0 +1,175 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: stash_cli
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Matt Chun-Lum
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-02-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: configatron
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rest-client
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: thor
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
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: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.10'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '1.10'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '10.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '10.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
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: guard
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
+ - !ruby/object:Gem::Dependency
112
+ name: guard-rspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ description: A tool for managing stash pull requests from the commandline
126
+ email:
127
+ executables:
128
+ - stash
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - .gitignore
133
+ - .rspec
134
+ - .travis.yml
135
+ - Gemfile
136
+ - Guardfile
137
+ - LICENSE.txt
138
+ - README.md
139
+ - Rakefile
140
+ - bin/console
141
+ - bin/setup
142
+ - exe/stash
143
+ - lib/stash_cli.rb
144
+ - lib/stash_cli/cli.rb
145
+ - lib/stash_cli/client.rb
146
+ - lib/stash_cli/git_utils.rb
147
+ - lib/stash_cli/pull_request.rb
148
+ - lib/stash_cli/templates/stash_cli.yml.erb
149
+ - lib/stash_cli/version.rb
150
+ - stash_cli.gemspec
151
+ homepage: https://github.com/mattcl/stash_cli
152
+ licenses:
153
+ - MIT
154
+ metadata: {}
155
+ post_install_message:
156
+ rdoc_options: []
157
+ require_paths:
158
+ - lib
159
+ required_ruby_version: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - '>='
162
+ - !ruby/object:Gem::Version
163
+ version: '0'
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - '>='
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
169
+ requirements: []
170
+ rubyforge_project:
171
+ rubygems_version: 2.4.8
172
+ signing_key:
173
+ specification_version: 4
174
+ summary: Manage stash pull requests
175
+ test_files: []