ld4l-ore_rdf 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/ld4l/ore_rdf/services/aggregation/persist.rb +5 -0
- data/lib/ld4l/ore_rdf/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: b767899d53f0b995cbc7dfb1c017e17e8db0cea8
|
4
|
+
data.tar.gz: 69ec1e7b6134d0f41459400927bf1d2af6b6466d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 247d008f6559131ad4615b9ab285bcce83bedfb20af60753d148697a2ae6f7917519020fb2dbf7aa7fb70c3dd9495a1a17b5aa2d70cee439c423d06512b802eb
|
7
|
+
data.tar.gz: ac62ce6175d28fbf0a49c159e93e5641812ed4f46e31341c7c413eb1c2e634b5323efa637649a498d8f2ea5e8e15a7df5b6edf2f70f4428dc0f0933763b86dcb
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#LD4L::OreRDF
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/ld4l/ore_rdf.png?branch=
|
4
|
-
[![Coverage Status](https://coveralls.io/repos/ld4l/ore_rdf/badge.png?branch=
|
3
|
+
[![Build Status](https://travis-ci.org/ld4l/ore_rdf.png?branch=master)](https://travis-ci.org/ld4l/ore_rdf)
|
4
|
+
[![Coverage Status](https://coveralls.io/repos/ld4l/ore_rdf/badge.png?branch=master)](https://coveralls.io/r/ld4l/ore_rdf?branch=master)
|
5
5
|
[![Gem Version](https://badge.fury.io/rb/ld4l-ore_rdf.svg)](http://badge.fury.io/rb/ld4l-ore_rdf)
|
6
6
|
[![Dependency Status](https://www.versioneye.com/ruby/ld4l-ore_rdf/0.0.3/badge.svg)](https://www.versioneye.com/ruby/ld4l-ore_rdf/0.0.3)
|
7
7
|
|
@@ -16,6 +16,11 @@ module LD4L
|
|
16
16
|
raise ArgumentError, 'aggregation must be an LD4L::OreRDF::Aggregation' unless
|
17
17
|
aggregation && aggregation.kind_of?(LD4L::OreRDF::Aggregation)
|
18
18
|
|
19
|
+
# TODO Probably shouldn't be ArgumentError
|
20
|
+
raise ArgumentError, "title is required" unless
|
21
|
+
aggregation.title && aggregation.title && aggregation.title.kind_of?(String) &&
|
22
|
+
aggregation.title.size > 0
|
23
|
+
|
19
24
|
count = 0
|
20
25
|
agg_persisted = aggregation.aggregation_resource.persist!
|
21
26
|
aggregation.proxy_resources.each { |proxy| count += 1 if proxy.persist! } if agg_persisted
|
data/lib/ld4l/ore_rdf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ld4l-ore_rdf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- E. Lynette Rayle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdf
|