reso 0.1.5.2 → 0.1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ca3e249dbf727e826f26a5b7d109780494c284c
4
- data.tar.gz: d2bcf6bb73a46d9bf2169b4709fc29d768103d8c
3
+ metadata.gz: c202e32239858f7328d6d4405ece6d57fc8b2eb2
4
+ data.tar.gz: 61689e070b733a8fb724d602f748fb55e57a2677
5
5
  SHA512:
6
- metadata.gz: 001f5c5061f62e73af13c3d94c8efbe09a47a1b0929296bac973a0177a2914cc850c451617ef933b1f56fea82279b6f9c669b7968fb52cb2858462cf9c66be89
7
- data.tar.gz: 0c1ba34fc7deedb91e7c5170835e9d268e6a0f5490c0ed362d5a0ba45f6cea0cae6c0dc9c41a2fa7a2731f6356cc697b0289e192065dc335669a8dcd4dadc054
6
+ metadata.gz: 6402750a552b05f4361dd74c27c24ba749266d0e653620302ee1b9a8461b3d82619bf4eaf6074ac9d7492c7114b0c9db4c3f1192be5cbc34ae062490a1b89008
7
+ data.tar.gz: 9dd9872160c71ad30605c667c14c145f820b8e3e65fecceff146b370046f2cff1bd6b13175dcc95c791f3626213b6fdff1c14690a21a6ed3be7a2d62c788db7e
@@ -67,12 +67,12 @@ class Import < ActiveRecord::Base
67
67
  xml = stream[from_here..to_there + (close_tag.length-1)]
68
68
  doc = Nokogiri::XML([xml_header, xml].join).remove_namespaces!
69
69
  found_listing_keys << create_queued_listing_and_return_listing_key(doc, self)
70
- import_result.update_attribute(:found_listing_keys, found_listing_keys)
71
70
  stream.gsub!(xml, '')
72
71
  if ((l += 1) % 100).zero?
73
72
  GC.start
74
73
  snapshots << [l, l/(Time.now - start_time)]
75
74
  import_result.update_attribute(:snapshots, snapshots)
75
+ import_result.update_attribute(:found_listing_keys, found_listing_keys)
76
76
  puts snapshots.last.inspect if Rails.env.development?
77
77
  end
78
78
  end
@@ -1,3 +1,3 @@
1
1
  module Reso
2
- VERSION = "0.1.5.2"
2
+ VERSION = "0.1.5.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5.2
4
+ version: 0.1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Edlund