haraway 0.1.0.dev.41 → 0.1.0.dev.42

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: 07235cd8361db9b168d38887ad4c929e3eb72ee6
4
- data.tar.gz: f6da1d4fc5a130089809a8777f30a71826713d97
3
+ metadata.gz: 1afabdbd3be764cd7e82ebc8b19c3810b9381ad2
4
+ data.tar.gz: 154d53b45fe5413401667a5ce6ab3e5bfe23c728
5
5
  SHA512:
6
- metadata.gz: aea1ac0d3d4c3e8a94b8740e5ce03f4753b6b4832db32835ddb2e0a7474104a0997588dac7e964a798585c3ba4a87c74c97da8b98b2415bf549d7de391522ac9
7
- data.tar.gz: 8daf42b95201a79797a29d8be972b9ee8b981a1812755d3687f5f2bfe6dd074b87b594c40b3f2ef36d2073d37ed9d98c7165c1172c6c73c042e851d0cb069caf
6
+ metadata.gz: 6356ca1f05064fc11b7819b30c0677406115cca1688fc56cf9206e68e07c835b52831fed040dc2f39cf79a946ba1fc7e40737777fa89724071211f416e232162
7
+ data.tar.gz: 7a65f08c212a0442663fbc1d7a47d66485266dbb192f903fc81f5de2ffde40226d08ab912a5dc92b26fe204b20249b6e11d8fa3920df7e28178ced2a42e77c17
@@ -13,6 +13,10 @@ private
13
13
  asset_id = attrs[:id]
14
14
  asset = old_assets.delete(asset_id)
15
15
 
16
+ if asset_id.blank? or asset_id == "undefined"
17
+ next
18
+ end
19
+
16
20
  if asset.nil?
17
21
  asset = Haraway::ActiveRecord::Asset.new(attrs)
18
22
  unless asset.destroy?
@@ -150,6 +154,7 @@ private
150
154
  end
151
155
 
152
156
  if asset_ids.size > 0
157
+ puts "asset_ids=#{asset_ids.inspect}"
153
158
  Haraway::Committer.new(Haraway.configuration, asset_ids).commit!
154
159
  @_haraway_uploaded_assets = nil
155
160
  end
@@ -1,6 +1,6 @@
1
1
  module Haraway
2
2
  VERSION = "0.1.0"
3
- BUILD = "41"
3
+ BUILD = "42"
4
4
 
5
5
  if BUILD != ("{{BUILD_NUMBER" + "}}") # prevent sed replacement (see script/ci)
6
6
  BUILD_VERSION = "#{VERSION}.dev.#{BUILD}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: haraway
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.dev.41
4
+ version: 0.1.0.dev.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Menke