fix_tsv_conflict 0.2.0 → 0.2.1

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: 073b4ff002e1a394af88ca8d2415786d8ee40c69c77af3741bbedc1585f5cd52
4
- data.tar.gz: ab701259a3360cef72e8d37c0f9bed15c0bc6abcb1ff178afa1392d9f965f443
3
+ metadata.gz: 39959f31c8ffbe3f09d65b53322d9b62495a5c5d158785799c05b16e683ce880
4
+ data.tar.gz: 7618bd91f585debc4412b75e361c7ef941ca06e45d83468f528acfb98d06c6c1
5
5
  SHA512:
6
- metadata.gz: 6ab5861f20e17388137f1c3a83c03b6c13e05bc0865e80894557849c701379f9ac9e9c56ed73b96102447b431758d01f8da0366f67531f9b9ac9b618f26ed0e1
7
- data.tar.gz: bf957e7a2d6614b233cc7e0769a1130f8c6b0f32523761546947e2d7b3f399e2461633d90fbddf2698fafc7c998ae540db71ecf2f1c25b3c7181307190f56be4
6
+ metadata.gz: 3697049d53e66266a2891cc1c2b33caa0b5d764939f5141b79a6d86f295f29f68895d573eed6c80f25a4a203ae0d4f8a096149e48909ce50ee8ec041a9150c5e
7
+ data.tar.gz: 335b32f5d964de1b081ab90fad33d1f5092f005b9435c01ac91a9f31ef2028b76aef83cfd6e803f14e53a56c8f03d2a006adad09b4774a84e1eb83643ee1c407
data/.travis.yml CHANGED
@@ -1,7 +1,11 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.5.0
4
+ - 2.1
5
+ - 2.2
6
+ - 2.3
7
+ - 2.4
8
+ - 2.5
5
9
  before_install: gem install bundler -v 1.16.1
6
10
  notifications:
7
11
  email: false
@@ -39,8 +39,8 @@ module FixTSVConflict
39
39
 
40
40
  def try(conflict)
41
41
  result = []
42
- left = index_by_id(conflict.left.reject(&:blank?))
43
- right = index_by_id(conflict.right.reject(&:blank?))
42
+ left = index_by_id(conflict.left.reject { |l| l.blank? })
43
+ right = index_by_id(conflict.right.reject { |r| r.blank? })
44
44
  (left.keys + right.keys).uniq.sort.each do |id|
45
45
  l = left[id]
46
46
  r = right[id]
@@ -59,7 +59,7 @@ module FixTSVConflict
59
59
 
60
60
  def select(conflict)
61
61
  text = <<-TEXT
62
- Which do you want keep?
62
+ Which branch do you want to keep?
63
63
 
64
64
  1) #{conflict.lbranch}
65
65
  2) #{conflict.rbranch}
@@ -1,3 +1,3 @@
1
1
  module FixTSVConflict
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fix_tsv_conflict
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masato Ikeda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-02-21 00:00:00.000000000 Z
11
+ date: 2018-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler