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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42f818dcf199be0185f9263e59b29021005da3ff
4
- data.tar.gz: ee3b57a06cf31f8cff3960671084125dc36c97c0
3
+ metadata.gz: b767899d53f0b995cbc7dfb1c017e17e8db0cea8
4
+ data.tar.gz: 69ec1e7b6134d0f41459400927bf1d2af6b6466d
5
5
  SHA512:
6
- metadata.gz: 4d14dc0c0b6fd35c6dfe8cf219f4fb76634c9e068e6d5cb1de12a1b85aabd309460ec6d29c8a5f0940f5c8935fd983ab61f4f422df04695b0f12dd252d060a7b
7
- data.tar.gz: 3138b70ced75abfd2cda84bef5ad24acfa5a3f2c58ab01828397234669533261574890c67b0a47d0708544d832d4f6a6465afc7effbe19213cf3f8bfe3697b21
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=rework_with_service_objects)](https://travis-ci.org/ld4l/ore_rdf)
4
- [![Coverage Status](https://coveralls.io/repos/ld4l/ore_rdf/badge.png?branch=rework_with_service_objects)](https://coveralls.io/r/ld4l/ore_rdf?branch=rework_with_service_objects)
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
@@ -1,5 +1,5 @@
1
1
  module LD4L
2
2
  module OreRDF
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
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
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-18 00:00:00.000000000 Z
11
+ date: 2015-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdf