git-pr-release 1.0.1 → 1.1.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: 6fc7c4ede886089a22e4bb59b67e2bbc9f85bc12931189805567b823ef90364c
4
- data.tar.gz: a4d94b2dc6d1cc281048d2a4aa11ca56a4284cf2b3d79601fc1ac5a17797a935
3
+ metadata.gz: 0ff787e6c979a6958c8be9e429eb7c089095a55fd20ac3ac497592564c9a9355
4
+ data.tar.gz: 4db4523c50aa12ba8b7f51450197b6e00dc3560d40356cdfac035fa0a036d871
5
5
  SHA512:
6
- metadata.gz: 4b9d82e05e85c88f25c99f2bc6eb28402d0548ba2a6d38628ab13b520c5998f4957e16d94fc62c12dc8de1340f255d46ed6ea06186d6d0521a8a22d806816a2c
7
- data.tar.gz: 8f72c855957c4a8acf7b2513837ffdef819b3bcfd68cc57bc98a924e2a20490ee0f5a145053d7b7cc4d814317aae1f23751254622954a7afb152e99d08cd1bb5
6
+ metadata.gz: ac75e33bbf1c2c8808ee0f22ebf397678401f12e384eae7042a82a5ec350ab3039f55a72d5d093da5242a5ee4a7d8bd892b717feca97f9deb58cc818039e98da
7
+ data.tar.gz: f0e1566526389611d3e94da79fb74dd3df6495a2d5242866a69e796fe02ca3053cb1a70ffe226f34540d7b684c2f2d4ee25bd1b55cd10591e86d7315c68af16c
@@ -0,0 +1,24 @@
1
+ # git-pr-release
2
+
3
+ ## v1.1.0 (2020-01-02)
4
+
5
+ [full changelog](https://github.com/motemen/git-pr-release/compare/v1.0.1...v1.1.0)
6
+
7
+ * (#38) Fetch changed files as many as possible (@shibayu36)
8
+
9
+ ## v1.0.1 (2019-12-17)
10
+
11
+ [full changelog](https://github.com/motemen/git-pr-release/compare/v1.0.0...v1.0.1)
12
+
13
+ * (#37) Fix NameError (@onk)
14
+
15
+ ## v1.0.0 (2019-12-14)
16
+
17
+ * (#35) Do not define classes and methods at the top level (@onk)
18
+ * (#30) Extract logic from bin/git-pr-release (@banyan)
19
+
20
+ ...
21
+
22
+ ## v0.0.1 (2014-01-21)
23
+
24
+ Initial Release
@@ -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.0.1'
7
+ spec.version = '1.1.0'
8
8
  spec.authors = ["motemen"]
9
9
  spec.email = ["motemen@gmail.com"]
10
10
  spec.summary = 'Creates a release pull request'
@@ -201,7 +201,12 @@ ERB
201
201
  return [] if pull_request.nil?
202
202
 
203
203
  host, repository, scheme = host_and_repository_and_scheme
204
- return client.pull_request_files repository, pull_request.number
204
+
205
+ # Fetch files as many as possible
206
+ client.auto_paginate = true
207
+ files = client.pull_request_files repository, pull_request.number
208
+ client.auto_paginate = false
209
+ return files
205
210
  end
206
211
  end
207
212
  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.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - motemen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-17 00:00:00.000000000 Z
11
+ date: 2020-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
@@ -105,6 +105,7 @@ extra_rdoc_files: []
105
105
  files:
106
106
  - ".gitignore"
107
107
  - ".rspec"
108
+ - CHANGELOG.md
108
109
  - Gemfile
109
110
  - LICENSE
110
111
  - README.md