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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2469b255e1c0e2d603c2b8f4e887635aa8ea1e8a
4
- data.tar.gz: 56f5aae9dbbffdde6787fd106013bb216c02ae7e
3
+ metadata.gz: c77e4b823e7261e569bd8d26a6066c8bab2789d4
4
+ data.tar.gz: fa3e209a951b84141b0d678e844c9f44c15b840b
5
5
  SHA512:
6
- metadata.gz: a9281aba1323f9126f53cbe01292edd744aa64d53c0b48d9b2df2d23dabb8a7e5012d56d62b239d52f41c9839d0ed86467cdfb4224df86915315db08dbcdf934
7
- data.tar.gz: 7d140366f1643b73d0f163b48b47a3addfaa5c0009265bbbbdbae205f71f30c6ce046ef2cf0ad37f97e974daef4494bfaac5161c6b02f50cdf86d0fdc2c5d697
6
+ metadata.gz: fb8d22c6161f9f04fb1e4b2cbd14817467914d2d624b1befcde0926078fe24328c5b674ef476ee99d8b72ac2fa511e4d6b50250f16a3bc59084d7c8fdd0e5dc0
7
+ data.tar.gz: 3357c0d7420bf6d876756c6687a785a5fa7db088e336aa30ceccd0b7a0f720ad68aa861dcbe8df291c0406c6238c858818a2df49cf8dce12b15e3795cde414a6
@@ -3,8 +3,6 @@ before_script:
3
3
  - git config --global user.name "Your Name"
4
4
  script: bundle exec rspec
5
5
  rvm:
6
- - 1.9.3
7
- - 2.0.0
8
- - 2.1.0
9
- - rbx
6
+ - 2.2.3
7
+ - 2.4.0
10
8
  cache: bundler
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## 0.5.0 - 2015-03-20
4
4
 
5
+ * Update supported Ruby versions to 2.2.3 and 2.4.
6
+
7
+ ## 0.5.0 - 2015-03-20
8
+
5
9
  * Enable autosquash mode when rebasing by default.
6
10
 
7
11
  ## 0.4.0 - 2014-02-20
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
@@ -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.3.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
@@ -1,3 +1,3 @@
1
1
  module GitPrettyAccept
2
- VERSION = '0.5.0'
2
+ VERSION = '1.0.0'
3
3
  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
- # For some reason, the order of the logs 2 and 3 is indeterminate.
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.5.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: 2015-03-20 00:00:00.000000000 Z
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.3.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.3.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.1.11
216
+ rubygems_version: 2.6.8
203
217
  signing_key:
204
218
  specification_version: 4
205
219
  summary: Accept pull requests, the pretty way