fixpoints 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/fixpoint.rb +1 -1
- data/lib/fixpoints/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fad78acf149e5b3740844ca088969ddcf7e377a10d06f224be8b4f6c400a2b9c
|
4
|
+
data.tar.gz: 9f3cf9819a8e4d549b3e17b6556888070dbcb2d091bde9b8d27b104246c183f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f9618522b5e02bbcff8d06fc94df4da23f7dc35bf8ff0536c91483a66f06375f3a9e203b06e92707c1a1f0e2693a34b3a88c641eda650b3511d92539eadb985
|
7
|
+
data.tar.gz: 3a7294db258a4cae2e790e435ee0d2796914d77a877d24a6c354716a9ef87402622ada27734b9f360f7d5dae6e6d45571b9e3af44093ca391834c6732f6263a1
|
data/Gemfile.lock
CHANGED
data/lib/fixpoint.rb
CHANGED
@@ -94,7 +94,7 @@ class Fixpoint
|
|
94
94
|
rows.sort_by! { |row| row['id'] } if result.columns.include?('id') # let's make the order of items stable
|
95
95
|
# fix jsonb columns by re-parsing them, so they are not saved as string to the yaml file
|
96
96
|
jsonb_columns = result.column_types.select { |_, col_type| col_type.type == :jsonb }.collect { |col_name, _| col_name }
|
97
|
-
rows.collect! { |row| jsonb_columns.each {|jcol| row[jcol] = JSON.parse(row[jcol]) }; row }
|
97
|
+
rows.collect! { |row| jsonb_columns.each {|jcol| row[jcol] = JSON.parse(row[jcol] || 'null') }; row }
|
98
98
|
|
99
99
|
acc[table_name] = rows
|
100
100
|
end
|
data/lib/fixpoints/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fixpoints
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Rothe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|