reso 0.1.6 → 0.1.6.1

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: 942cb802ccba440f6deb1936138bb0dac587b758
4
- data.tar.gz: 4411f42d18161ff0078406c4260ad2c1eff51d09
3
+ metadata.gz: f9d0015930576a0b7ce0143a976c9c4fb05a424b
4
+ data.tar.gz: 7f09f122bdc3ebbabaa12f584a5899fb9a914547
5
5
  SHA512:
6
- metadata.gz: a8bedeb9464a7e4fb86ed65978146039d05c8ea842d3481f9da6cafe3cc4121ef15bad6e089aad4b44bb274446add6a7cf82d1d8d954bd654dbd27e5411b6afd
7
- data.tar.gz: 08247073a800fe29447e122328d07db5af4a16884b281219277c96056e710bd922b6ef0669691548ea2590a6336aa1bfe4e4d61f63d4154a0795dac0eecffa4f
6
+ metadata.gz: e7bf0a4d5bd4159167417f01cf40797c50c565fac6ea11e35f1c6c9e74121bd27435039bb33681497a1d812d6d4c6db8f32d3331e1ddf3d6f523b08a52dece13
7
+ data.tar.gz: fc2ca9847e71979db67b1b7f939f339d8e45e5a5312cd78b44c352e54235583af4ad6f0b055e340f3cbcaaa500e9fa124b380d9ff22748a9457eb359e077a9a4
data/app/models/import.rb CHANGED
@@ -128,8 +128,7 @@ class Import < ActiveRecord::Base
128
128
  listing_data = {}
129
129
  Hash.from_xml(o.to_xml)[import.repeating_element].each_pair{|key, value| listing_data[key] = value }
130
130
  queued_listing = QueuedListing.new(import: import, listing_data: listing_data)
131
- QueuedListing.import Array(queued_listing), :validate => false
132
- # queued_listing.save
131
+ queued_listing.save
133
132
  return Mapper::unique_identifier(queued_listing)
134
133
  end
135
134
  rescue Exception => e
@@ -21,7 +21,6 @@ class QueuedListing < ActiveRecord::Base
21
21
  listing.send("#{attribute}=", mapper.send(attribute, self, listing))
22
22
  end
23
23
  Listing.import Array(listing), :validate => false
24
- # listing.save
25
24
  end
26
25
  end
27
26
 
data/lib/reso/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Reso
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.6.1"
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.6
4
+ version: 0.1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Edlund