bigquery_migration 0.1.0.pre4 → 0.1.0.pre5

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
  SHA1:
3
- metadata.gz: 5b2f63ac7d6fa71da588698a89b4f3985b60ce9d
4
- data.tar.gz: 0a42a1e5b39a2574eae223d02565061e71bd557d
3
+ metadata.gz: a97b4467ac7f590ebcdfc72191270b67670a50a2
4
+ data.tar.gz: 00e9d766e4234ef79a67464dd69d30f7619376a4
5
5
  SHA512:
6
- metadata.gz: 2f3ff775c15d2830bbc39dcb9e57dab9114088c6d53fa9e4c629c0c0e32ea6066684244b7fee2f4fd0361e9734b44429358837ada0bb9d0d976892c58837bd2a
7
- data.tar.gz: fb52e738b789238168b923c12512aa6ab2ad1bdee53e186050e06b58ed07b3f1980188a8a5bb557b72da9871a3873e917dacd0dcfff90e2cdae6dd3b54c9f698
6
+ metadata.gz: 4a69066ad64ce36003930f62e260db450d86482e8a05a37c6cc0e44cb71634f2db00fef4f85c6733aab055d0df6b74a1e1b21f50b66c2ff6d7ca7416bf8ef891
7
+ data.tar.gz: 73c7c9260f997a53dd6920c695b84ade0a422ea6cf079043cd6b9d2f2f6b991d1e4404362c6b9eb5f70da664904175481a21fa5e3ddcdfd623b8793e1309f041
@@ -406,6 +406,8 @@ class BigqueryMigration
406
406
  r[:f].map do |f|
407
407
  if f[:v].respond_to?(:key?) && f[:v].key?(:f)
408
408
  flatten_values(f[:v][:f])
409
+ elsif f[:v].is_a?(Hash) && f[:v].empty? # nil is converted into {} by to_h
410
+ nil
409
411
  else
410
412
  f[:v]
411
413
  end
@@ -1,3 +1,3 @@
1
1
  class BigqueryMigration
2
- VERSION = "0.1.0.pre4"
2
+ VERSION = "0.1.0.pre5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigquery_migration
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre4
4
+ version: 0.1.0.pre5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo