table_sync 1.4.0 → 1.5.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
  SHA256:
3
- metadata.gz: 837e9058c5d54a0c4fe0e99d91289997f50014b54829bef3a88cb8a690b84306
4
- data.tar.gz: 73cee0ef5ebb441170a3170ae95591ffe8bdadd0b145cbe35ab9203ba71ca126
3
+ metadata.gz: 034afda2dc0f9674a75c99f06074dc6f2c4b72da2a367bb70fba3182fb937a6c
4
+ data.tar.gz: bc3dd822dff7ae6d4671dbfc2555d9b5e8aad61516cde66fd8d3406fd291d241
5
5
  SHA512:
6
- metadata.gz: 7225eac461cbe364aa098ccadc77ddd710d529dccc5464d1d27818de98ece66ec65389ff4a5f2f8ae05164130d4afe1607f7288e76cc4b7adc8e0d9db3cd8b39
7
- data.tar.gz: a145ad745bb10f14b6964b94403cb901d536a0f82c091b3bb54dd776989808343acc9ca901b27063680e8f86f8d368e061ced59f838a049fbbdf3592c0de55f3
6
+ metadata.gz: 3aeb6df3c43d777cd2a4d2377fd1e81c67b1f90afc9e9954e1407e87af21095cf0efe0179d5b4a6d9ee6edf0988305475bb2b7542368cf0ec50ce9a12e3b28e0
7
+ data.tar.gz: afdaecc73c86abefc056af4770b2c0ff0d9ca11ba480fb64818a36bec4aa3ee42246fae404f8e8ca4892e0bfcd9b496b666c859442c7cfc0fe1c0d47121cd74f
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
  .ruby-version
10
10
  Gemfile.lock
11
11
  /log/
12
+ *.gem
data/README.md CHANGED
@@ -14,6 +14,10 @@ $ bundle install
14
14
  $ gem install table_sync
15
15
  ```
16
16
 
17
+ ```ruby
18
+ require 'table_sync'
19
+ ```
20
+
17
21
  ## Usage
18
22
 
19
23
  - [Documentation](docs/synopsis.md)
@@ -63,6 +63,8 @@ class TableSync::BasePublisher
63
63
  .transform_keys(&method(:filter_safe_for_serialization))
64
64
  .transform_values(&method(:filter_safe_for_serialization))
65
65
  .select { |*objects| objects.all?(&method(:object_mapped?)) }
66
+ when Float::INFINITY
67
+ NOT_MAPPED
66
68
  when *BASE_SAFE_JSON_TYPES
67
69
  object
68
70
  else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TableSync
4
- VERSION = "1.4.0"
4
+ VERSION = "1.5.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: table_sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Umbrellio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-10 00:00:00.000000000 Z
11
+ date: 2019-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: memery