hybag 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/hybag/ingester.rb +1 -1
- data/lib/hybag/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDQ3ZTEwNGM0ODhmZGUzN2NjZDYxNzlmZWY1NjhmNDBhZTkzZmVmMw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWRiY2RlYmNlMGRiMzIxNjA0NjczMzAyMzYzMGZkMWE1NDZhYjAzNQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDZlYzMzY2YxNDlmOTUyMzg2ZDEzZTc3MmJmMzgxZmVkOTJkMTZlZDNiY2Nj
|
10
|
+
ZTY4ZTIyOWY4MmI4ZjA2MDJjZTI4NjA3NDEwMTFiZTkwMjhmNzFjYjJiYjYy
|
11
|
+
MzlkYmQxOWY3ZWVmYTgyZTEzNzBhMmM0ZTJiNzBlYWEyYzBlZTg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGIwNDg2ZjFkY2Y3YjQ0NzY4ZDU4OWJmNTZlYTUzYzU2MjczODk1MTllZWUz
|
14
|
+
ZTU0ZTlhYTI4ZWE2NTQ0NWY3NzFhMDkxNzU3YmFhNTQwNWM2OTAwZjI1NTEz
|
15
|
+
NDBkNzQ1YjU5NmQ0NjgxY2Y5ZDUyMDVhNDNkMTk0YjdhZDU4M2Q=
|
data/lib/hybag/ingester.rb
CHANGED
@@ -9,7 +9,7 @@ module Hybag
|
|
9
9
|
|
10
10
|
def ingest
|
11
11
|
raise "Unable to determine model from bag" if model_name.blank?
|
12
|
-
new_object =
|
12
|
+
new_object = model_name.constantize.new
|
13
13
|
# Assign a pid
|
14
14
|
new_object.inner_object.pid = new_object.inner_object.assign_pid
|
15
15
|
set_metadata_streams(new_object)
|
data/lib/hybag/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hybag
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Trey Terrell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|