remote_table 3.1.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzE1ZTc4ZmI1MGYzMWNmNmI3MTJjNmU5ZWE2NmEyZmMzNGY0MDAyOA==
4
+ ZmI2NmViOGVlZDA0M2Y2YzUwN2NmMWQwMTMzMDdiOTA0ZmI4MzkxNw==
5
5
  data.tar.gz: !binary |-
6
- MWExYTNiZjk0ZGE2MmEzNWRjYjI4YWEyMzVkMzU5MWE1YTAwYmJhOA==
6
+ YTU1ZTFjMWM1OWE4OTMxM2MwY2M3NjM1NGQ4YzZjMTJjZDYzMTU4OA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWVhNzUxMWRmZWE5Yjk5YmMxZmZiZmUyNWUxYjE2NzNjYjBlYjE4ZDc2Y2Jj
10
- NGY0ZDY1MGVmZDk1MDY0NDRiNTNmYTc3ZDViOGE3YjZmZTAxMjk2N2Y2M2Nl
11
- NzA1N2M2ZmE0OWY2MGMyNjYyNTlmOWRmMjRlODJmNGQ3MmUyNmM=
9
+ ZTc3OTg0Zjc0Y2U0ZjM3MDMyYTAwZTcxYTY1YjY3M2E1YTEzY2E3OThiMDdl
10
+ MmZhNjcxYmVjZjMwOWMwYzUwNTlkODBjMmE3OTVhNmM0N2JhZTk1OWNiMWZj
11
+ NzM4OGZjODI1YTBiYjJhMWU5NDI1ZWUwZjZiODg1NDBiNjNiYTk=
12
12
  data.tar.gz: !binary |-
13
- NmIwNGI4ZjEzNDIyOTE4ZjA3ZmFlZjJiOTY2OTk5ZDRmZWEyMjdjNWZkODc0
14
- NzBlMWVlMWEzMWE2NGU0YTcyMjRjOWIwMGNlZDAyNDI4MGZkNmJkNWQ4NTlj
15
- MzM0ZWFlZTMwNDM5ZGJjYWNlZDMxN2NhYmM5ZTgyMTFlMjk3NjQ=
13
+ NGMxMmNhMDhmZDVmOTVhZTAxNjZkMTZjOWU3ZjZlZWJjM2I4MmI0NzZlODBi
14
+ ZTczZTE4YzkyZDg1ZmJiNmI1ODFlOTVjYWVjNGJmZDE0YTZhYTgzNGM1NjE0
15
+ YzBmZjkzZmJkNTFkODU1OTJmOTk5Zjg3MTNiMTUxY2RhZTg3ZWM=
data/CHANGELOG CHANGED
@@ -1,3 +1,9 @@
1
+ 3.2.0 / 2014-01-06
2
+
3
+ * Breaking changes
4
+
5
+ * switch to faster HashDigest.digest2 for #row_hash - BREAKING CHANGE if you use row_hash as a unique id!
6
+
1
7
  3.1.0 / 2014-01-06
2
8
 
3
9
  * Breaking changes
data/lib/remote_table.rb CHANGED
@@ -460,7 +460,7 @@ class RemoteTable
460
460
  preprocess!
461
461
  memo = _each do |row|
462
462
  parser.call(row).each do |virtual_row|
463
- virtual_row.row_hash = ::HashDigest.hexdigest row
463
+ virtual_row.row_hash = ::HashDigest.digest2 row
464
464
  if errata
465
465
  next if errata.rejects? virtual_row
466
466
  errata.correct! virtual_row
@@ -1,3 +1,3 @@
1
1
  class RemoteTable
2
- VERSION = '3.1.0'
2
+ VERSION = '3.2.0'
3
3
  end
data/remote_table.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
  s.add_runtime_dependency 'i18n' # activesupport?
24
24
  s.add_runtime_dependency 'unix_utils', '>=0.0.8'
25
25
  s.add_runtime_dependency 'fastercsv', '>=1.5.0'
26
- s.add_runtime_dependency 'hash_digest'
26
+ s.add_runtime_dependency 'hash_digest', '>=1.1.2'
27
27
 
28
28
  s.add_development_dependency 'errata', '>=0.2.0'
29
29
  s.add_development_dependency 'minitest'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remote_table
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seamus Abshere
@@ -101,14 +101,14 @@ dependencies:
101
101
  requirements:
102
102
  - - ! '>='
103
103
  - !ruby/object:Gem::Version
104
- version: '0'
104
+ version: 1.1.2
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - ! '>='
110
110
  - !ruby/object:Gem::Version
111
- version: '0'
111
+ version: 1.1.2
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: errata
114
114
  requirement: !ruby/object:Gem::Requirement