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 +4 -4
- data/CHANGELOG.md +24 -0
- data/git-pr-release.gemspec +1 -1
- data/lib/git/pr/release/util.rb +6 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ff787e6c979a6958c8be9e429eb7c089095a55fd20ac3ac497592564c9a9355
|
4
|
+
data.tar.gz: 4db4523c50aa12ba8b7f51450197b6e00dc3560d40356cdfac035fa0a036d871
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac75e33bbf1c2c8808ee0f22ebf397678401f12e384eae7042a82a5ec350ab3039f55a72d5d093da5242a5ee4a7d8bd892b717feca97f9deb58cc818039e98da
|
7
|
+
data.tar.gz: f0e1566526389611d3e94da79fb74dd3df6495a2d5242866a69e796fe02ca3053cb1a70ffe226f34540d7b684c2f2d4ee25bd1b55cd10591e86d7315c68af16c
|
data/CHANGELOG.md
ADDED
@@ -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
|
data/git-pr-release.gemspec
CHANGED
@@ -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
|
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'
|
data/lib/git/pr/release/util.rb
CHANGED
@@ -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
|
-
|
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
|
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:
|
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
|