git_pretty_accept 0.5.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -4
- data/CHANGELOG.markdown +4 -0
- data/README.md +0 -5
- data/git_pretty_accept.gemspec +6 -1
- data/lib/git_pretty_accept/version.rb +1 -1
- data/spec/git_pretty_accept/app_spec.rb +8 -3
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c77e4b823e7261e569bd8d26a6066c8bab2789d4
|
4
|
+
data.tar.gz: fa3e209a951b84141b0d678e844c9f44c15b840b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb8d22c6161f9f04fb1e4b2cbd14817467914d2d624b1befcde0926078fe24328c5b674ef476ee99d8b72ac2fa511e4d6b50250f16a3bc59084d7c8fdd0e5dc0
|
7
|
+
data.tar.gz: 3357c0d7420bf6d876756c6687a785a5fa7db088e336aa30ceccd0b7a0f720ad68aa861dcbe8df291c0406c6238c858818a2df49cf8dce12b15e3795cde414a6
|
data/.travis.yml
CHANGED
data/CHANGELOG.markdown
CHANGED
data/README.md
CHANGED
@@ -55,11 +55,6 @@ script
|
|
55
55
|
1. Rebases the local branch in interactive mode so that it can run
|
56
56
|
autosquash(See `--autosquash` under http://git-scm.com/docs/git-rebase#_options).
|
57
57
|
|
58
|
-
## Known to be working on
|
59
|
-
|
60
|
-
* git 2.3.3
|
61
|
-
* ruby 2.0.0
|
62
|
-
|
63
58
|
## Contributing
|
64
59
|
|
65
60
|
1. Fork it
|
data/git_pretty_accept.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.require_paths = ["lib"]
|
26
26
|
|
27
27
|
spec.add_dependency 'git'
|
28
|
-
spec.add_dependency 'methadone', '~> 1.
|
28
|
+
spec.add_dependency 'methadone', '~> 1.9'
|
29
29
|
|
30
30
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
31
31
|
spec.add_development_dependency 'guard'
|
@@ -35,4 +35,9 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.add_development_dependency 'rake'
|
36
36
|
spec.add_development_dependency 'rspec', '~> 2.14.0'
|
37
37
|
spec.add_development_dependency 'rspec-example_steps', '~> 0.2.5'
|
38
|
+
|
39
|
+
# Must set version in order to run 'bundle update'.
|
40
|
+
# Can be removed once upgraded to ruby >= 2.2.5
|
41
|
+
# https://github.com/e2/ruby_dep
|
42
|
+
spec.add_development_dependency 'ruby_dep', '~> 1.3.1'
|
38
43
|
end
|
@@ -185,9 +185,16 @@ describe GitPrettyAccept::App do
|
|
185
185
|
end
|
186
186
|
|
187
187
|
And 'both local and remote PR branch have been updated' do
|
188
|
+
# Delay commit of local_pr_message by 1 full second. Git gem
|
189
|
+
# seems to be confused when commits are too close to each other.
|
190
|
+
sleep 1
|
188
191
|
local_repo.commit_some_change local_pr_message
|
189
192
|
|
190
193
|
other_repo.checkout pr_branch
|
194
|
+
|
195
|
+
# Delay commit of remote_pr_message by 1 full second. Git gem
|
196
|
+
# seems to be confused when commits are too close to each other.
|
197
|
+
sleep 1
|
191
198
|
other_repo.push_some_change remote_pr_message
|
192
199
|
end
|
193
200
|
|
@@ -208,9 +215,7 @@ describe GitPrettyAccept::App do
|
|
208
215
|
expect(local_repo.git.log[1].message).to eq(local_pr_message)
|
209
216
|
expect(local_repo.git.log[1].parents.size).to eq(1)
|
210
217
|
|
211
|
-
|
212
|
-
expect(local_repo.git.log[2 .. 3].map(&:message).sort)
|
213
|
-
.to include(remote_pr_message)
|
218
|
+
expect(local_repo.git.log[2].message).to eq(remote_pr_message)
|
214
219
|
end
|
215
220
|
end
|
216
221
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_pretty_accept
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Love With Food, George Mendoza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: '1.9'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: '1.9'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: 0.2.5
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: ruby_dep
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: 1.3.1
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: 1.3.1
|
153
167
|
description: " `git-pretty-accept` is a script that rebases a pull request before
|
154
168
|
merging to master. Pull requests are _always_ merged recursively. The result is
|
155
169
|
a linear history with merge bubbles indicating pull requests. In short, pretty. "
|
@@ -199,7 +213,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
213
|
version: '0'
|
200
214
|
requirements: []
|
201
215
|
rubyforge_project:
|
202
|
-
rubygems_version: 2.
|
216
|
+
rubygems_version: 2.6.8
|
203
217
|
signing_key:
|
204
218
|
specification_version: 4
|
205
219
|
summary: Accept pull requests, the pretty way
|