geet 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ba90d01dc763b385e656d16240041211d032525e9049f4e3771a4af6c4d4e98
4
- data.tar.gz: cfe4cfe252cdd952b2df78d9e34163623f53eb1a0ca365c7a9fde373d7008535
3
+ metadata.gz: 5a7aec65502343b49fbb084f6a1d2292ca989fd2808ec2172eac203580bf248a
4
+ data.tar.gz: 0fbd2f00cb24732768c54cdcf444e91ecfff4ab9a57e7014584862d4faa317db
5
5
  SHA512:
6
- metadata.gz: beaed59c8488b6034935b03961a89699c2818075fda8a0bf8eccac349bc3b695cf036b0f1c393f8d11c3c13f8d86dd8ffd817fcb101e2cce0ac01d396f7ecfd1
7
- data.tar.gz: f7af3b4e631dfef62b00fe27f9293a5dfdc37c6dd5ae379065a27532325908b83521bf3215f80d43bb773f53fc175ad4798555cb3297c7cbd3a73f414aebb35d
6
+ metadata.gz: fc20f226671abfba79a1199c61f50f2b9b0a54179d573dc1f323f0aa5292c0c9e465f3d2d904cf28f7206afeaba2d829e27f988d6dc9288ea541c57331e810a9
7
+ data.tar.gz: a35e93bfc33fa2a2aa6c51183ac76ec696d2af8e079920368f77c416beadf5ac0232e66924ebad3ba3630a6c4401b3aa47cae596a5f3962090e79abb8a875dbc
data/geet.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.required_ruby_version = '>= 2.3.0'
12
12
  s.authors = ['Saverio Miroddi']
13
- s.date = '2022-07-03'
13
+ s.date = '2022-07-27'
14
14
  s.email = ['saverio.pub2@gmail.com']
15
15
  s.homepage = 'https://github.com/saveriomiroddi/geet'
16
16
  s.summary = 'Commandline interface for performing SCM host operations, eg. create a PR on GitHub'
@@ -60,6 +60,7 @@ module Geet
60
60
 
61
61
  PR_COMMENT_OPTIONS = [
62
62
  ['-n', '--no-open-pr', "Don't open the PR link in the browser after creation"],
63
+ ['-u', '--upstream', 'Comment on the upstream repository'],
63
64
  'comment',
64
65
  long_help: 'Add a comment to the PR for the current branch.'
65
66
  ]
@@ -19,7 +19,7 @@ module Geet
19
19
  @git_client = git_client
20
20
  end
21
21
 
22
- def execute(comment, no_open_pr: nil)
22
+ def execute(comment, no_open_pr: nil, **)
23
23
  pr = checked_find_branch_pr
24
24
  pr.comment(comment)
25
25
  open_file_with_default_application(pr.link) unless no_open_pr
data/lib/geet/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Geet
4
- VERSION = '0.10.0'
4
+ VERSION = '0.11.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saverio Miroddi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-03 00:00:00.000000000 Z
11
+ date: 2022-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simple_scripting