haraway 0.1.0.dev.53 → 0.1.0.dev.54
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/haraway/active_record/macro.rb +8 -0
- data/lib/haraway/lib_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a12a376d8a7496a7b166a6672fa2e433e5a3ba3
|
4
|
+
data.tar.gz: d10219621d3122776f300931b96966e7515d1724
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d064e39ffed85166feb6e31cdcc8c81df548eb83dfb9cecb70941e9581cd3b2bb9cbb56c283a1bcb95a9d995270d4097bbf31634973fa5d59e875294c24d0ad9
|
7
|
+
data.tar.gz: 04a1d60362da8d031c93e5ea5eec1c2abc4822c7ba2e5ac4db78d0e9023ac1938a638aec4bd4960a0bffbb94f0a9cad3fd29aa6cb61e723b320bf03f30b72ec5
|
@@ -10,6 +10,14 @@ private
|
|
10
10
|
new_assets = []
|
11
11
|
|
12
12
|
attributes.each do |attrs|
|
13
|
+
|
14
|
+
# Upload new assets
|
15
|
+
if attrs.size == 1 and !attrs[:url].blank?
|
16
|
+
defn = self.class.haraway_assets[section]
|
17
|
+
ingress = Haraway::Ingress.new(Haraway.configuration)
|
18
|
+
attrs = ingress.ingest_url(attrs[:url], defn.profile_name)
|
19
|
+
end
|
20
|
+
|
13
21
|
asset_id = attrs[:id]
|
14
22
|
asset = old_assets.delete(asset_id)
|
15
23
|
|
data/lib/haraway/lib_version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haraway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.dev.
|
4
|
+
version: 0.1.0.dev.54
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Menke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|