svn_command_helper 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b740b0caba269b9b43e0be8624744fe7caf3bdf7
4
- data.tar.gz: 9f915c86bc59c8ac8c04974c3571cc59bfb636c7
3
+ metadata.gz: 4136d2e62bccd090142f60b3066fe827358ed331
4
+ data.tar.gz: 5cff7f8d944a0df5f62ce831077f1aedb21ffbea
5
5
  SHA512:
6
- metadata.gz: 6095c9b2e5e06d45730cd898fb8ace3471d06a78085da12f0b3d29eea4b4d8274d43612aaeab4821187effd7dd565060e46dfd1a96dc0b21b52a1c314e3e8318
7
- data.tar.gz: 9101855d09998b4b0ea5fdf196ab9d52c6ebe7b534aaf5662d84462f96313a1819e09daf14758a6110481eaa3d147f05030cd6289c243f8e595f753e0eed6469
6
+ metadata.gz: 644a746013d48ae0be9be58fea0dd55e73195c95104c98a9ce111e57eab24fbfa8e22a455d9c6b4ae08c8e9c8d9d1103655ee1938ca2f83d1403515020c60f80
7
+ data.tar.gz: 71025eca99d0eac8f41dc23e21f07d1c07c9557c707672e0b8a70f90d83d2b158f65ca1f05570b2a5cd3c9face0472965cd5756c463ca2b2177e93c4c40fae3f
@@ -1,4 +1,4 @@
1
1
  module SvnCommandHelper
2
2
  # version
3
- VERSION = "0.3.2"
3
+ VERSION = "0.3.3"
4
4
  end
@@ -170,7 +170,7 @@ module SvnCommandHelper
170
170
  def copy_single(transaction, message)
171
171
  transactions = transaction.glob_transactions
172
172
  raise "copy_single: #{transaction.from} not exists" if transactions.empty?
173
- to_exist_transactions = Svn.list_files(transaction.to_base).select do |_file|
173
+ to_exist_transactions = Svn.list_files(transaction.to_base).map do |_file|
174
174
  transactions.find {|_transaction| _transaction.file == _file}
175
175
  end.compact
176
176
  only_from_transactions = transactions - to_exist_transactions
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svn_command_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Narazaka