tapsoob 0.4.14-java → 0.4.15-java

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: c1d186408226b625b302951f8130ef2594579af0fe21c8e7a05c48324afd0a64
4
- data.tar.gz: 002354b3ab09739f3687d9b14f9599f91870ad6bfe0dd5d7927f5e20b0aa81a6
3
+ metadata.gz: bf90aef94141e6d998c8ec0661f8d0b2d6f4340b40a565113bee04865c881314
4
+ data.tar.gz: 4123d828e01e86483c8ebf0a2a600e2eeb1c5a7788fc699e6348bee62fd95304
5
5
  SHA512:
6
- metadata.gz: f4df3ae5d7c27a1f73f340854fc228f2e7d8ce0955edd0ba59796b5765a73a1d832acbae50024306f956dc7aea0ed5d589eff7dc65a3e0f718a94ccb4defa7b1
7
- data.tar.gz: 98cc115db20635c92e788f193011537422c53a4a1c0a7bf64ac655c1f0aa490529c80a7cee27e40f7880779fb8d3b57a10c2dcd4736c1e42e10abfdb917cfca1
6
+ metadata.gz: ac7bba0277b68116b4a46673d90f0f6bef88d35293ad47d517f3f23928c65fc42041e4da6ecb7bf6ddf3028828d7c85858b703fdb3c9d25685a806f29a1d12f3
7
+ data.tar.gz: fe2aeb16c60b303db8190e0b20de0e4129410c50ad17b0a71ef7e64793a0ea80df35582b1747098270f40f83d0ceb4c07ec60021d9c21e1456e996f07e692e90
data/lib/tapsoob/utils.rb CHANGED
@@ -144,7 +144,7 @@ Data : #{data}
144
144
  data = row_data
145
145
  if File.exists?(File.join(dump_path, "data", "#{table}.json"))
146
146
  previous_data = JSON.parse(File.read(File.join(dump_path, "data", "#{table}.json")))
147
- data[:data] = previous_data["data"] + row_data[:data]
147
+ data[:data] = previous_data["data"] + row_data[:data] unless row_data[:data].nil?
148
148
  end
149
149
 
150
150
  File.open(File.join(dump_path, "data", "#{table}.json"), 'w') do |file|
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Tapsoob
3
- VERSION = "0.4.14".freeze
3
+ VERSION = "0.4.15".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tapsoob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.14
4
+ version: 0.4.15
5
5
  platform: java
6
6
  authors:
7
7
  - Félix Bellanger