git-pr-release 1.2.0 → 1.3.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: c62affe0022fbc68eb4fb5d6f3ac2ad27c6bb37779c2977619ac7636bfed8340
4
- data.tar.gz: 66793e7118f37575b3121ca87c5575322a1b7ec406e94c929165bce4698fdc4c
3
+ metadata.gz: e33d1ea2c64af057158fbce13615bb5f0040811801eec4267587ec8fa607efe9
4
+ data.tar.gz: b4ccb5f60060d243493b801064078c00c3b2f268ca3d1d29ab62230c85920469
5
5
  SHA512:
6
- metadata.gz: 6b89116177f0b77ff0ac6aec85b123117cf1aedc84843581e88d84d54106a3cc2f5c400ad072976c4764691336947f6c036b8bc01454929f64dcb6bf0028a2b2
7
- data.tar.gz: 3e31b988775f96af5f619f23cb28ce29a5096ad8a785b7e592f8241c40e0326c24abbd6ae50114934c53fda97fbc164477cdc52e97fb07cc690a633638895530
6
+ metadata.gz: 14daa45f4fc295d4a70d7620169cea02d0141826758ab092c4012bc764e7b667d10afd37b0764ca50f0f056424b9c17412bc9a0e01832deea268e772d104e1d8
7
+ data.tar.gz: 9f2752371c7913bf0a0822a54ce4115c65cef08d1e2ba34a80902c44c311950e63450f8c37d94656d63612ce72fb03ae5e9baca2c71ccc6e7877c2cc93c97672
@@ -1,5 +1,12 @@
1
1
  # git-pr-release
2
2
 
3
+ ## v1.3.0 (2020-02-19)
4
+
5
+ [full changelog](https://github.com/motemen/git-pr-release/compare/v1.2.0...v1.3.0)
6
+
7
+ * (#47) Fix Errno::ENOENT when finding the specified template (@onk)
8
+ * (#45) Fix "warning: instance variable @xxx not initialized" (@onk)
9
+
3
10
  ## v1.2.0 (2020-02-07)
4
11
 
5
12
  [full changelog](https://github.com/motemen/git-pr-release/compare/v1.1.0...v1.2.0)
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "git-pr-release"
7
- spec.version = '1.2.0'
7
+ spec.version = '1.3.0'
8
8
  spec.authors = ["motemen"]
9
9
  spec.email = ["motemen@gmail.com"]
10
10
  spec.summary = 'Creates a release pull request'
@@ -13,6 +13,12 @@ module Git
13
13
  exit result
14
14
  end
15
15
 
16
+ def initialize
17
+ @dry_run = false
18
+ @json = false
19
+ @no_fetch = false
20
+ end
21
+
16
22
  def start
17
23
  OptionParser.new do |opts|
18
24
  opts.on('-n', '--dry-run', 'Do not create/update a PR. Just prints out') do |v|
@@ -89,7 +89,7 @@ ERB
89
89
 
90
90
  template = if template_path
91
91
  template_fullpath = File.join(git('rev-parse', '--show-toplevel').first.chomp, template_path)
92
- File.read(template_path)
92
+ File.read(template_fullpath)
93
93
  else
94
94
  DEFAULT_PR_TEMPLATE
95
95
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-pr-release
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - motemen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-06 00:00:00.000000000 Z
11
+ date: 2020-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit