grom 0.3.10.pre → 0.4.0

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: 4353766793d9b9dbdc44cba4662d6e127d95ffb9
4
- data.tar.gz: df099721b18cc123f8be36c99d5aa9fe5fe9e1db
3
+ metadata.gz: 19350b64f144db1c816c5e54d7e669360faa5383
4
+ data.tar.gz: e1fccaf8a49153330c2439a6e84d1b8882bd5db6
5
5
  SHA512:
6
- metadata.gz: a345e47f684ab96e1366f5ea23abe47657f7d776b635fc990b55909c4a19bdfde8415fc51509f03657190253d590a08e4b08958e2337ca17df88b7ed688fb0fb
7
- data.tar.gz: 8ac7acfb4f01431eeb1dd39f40ed42111db6900efa9a56a3ddae8f63e739579f1927a049f1dcc3a7f328229c5bba9b4bbd61d1b09b8aa208548e5f801ef67982
6
+ metadata.gz: ad73c0767dc1c616bfb3bdb90f04325c972b2a2907b284d1dd4ba617ffe2ebb2ee07bee354ab2808608090b60e58a95a281651a9b61927768624c680b29ad9f4
7
+ data.tar.gz: 5329fac467df5faa8958d04519f044ed95c346ca1b9591ba742fe7250a0649ead135d6ed0d210d5371db54293c7ac1df76dd8e83b28a3965a5a8c6c768a7a41a
data/grom.gemspec CHANGED
@@ -22,6 +22,8 @@ Gem::Specification.new do |spec|
22
22
  spec.require_paths = ['lib']
23
23
 
24
24
  spec.add_dependency 'rdf', '2.2.3'
25
+ # Defines RDF vocabularies
26
+ spec.add_dependency 'rdf-vocab', '~> 2.2'
25
27
  spec.add_dependency 'activesupport', '>= 5.0.0.1'
26
28
 
27
29
  # the below are test dependencies
data/lib/grom/helper.rb CHANGED
@@ -42,6 +42,8 @@ module Grom
42
42
 
43
43
  if uri == RDF::RDFS.label.to_s
44
44
  return 'label'
45
+ elsif uri == RDF::Vocab::SKOS.prefLabel.to_s
46
+ return 'prefLabel'
45
47
  elsif uri == RDF.type.to_s
46
48
  return 'type'
47
49
  else
data/lib/grom/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Grom
2
- VERSION = '0.3.10.pre'.freeze
2
+ VERSION = '0.4.0'.freeze
3
3
  end
data/lib/grom.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'rdf'
2
+ require 'rdf/vocab'
2
3
  require 'active_support/inflector'
3
4
 
4
5
  require_relative 'grom/version'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grom
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.10.pre
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rebecca Appleyard
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2017-07-11 00:00:00.000000000 Z
13
+ date: 2017-08-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rdf
@@ -26,6 +26,20 @@ dependencies:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
28
  version: 2.2.3
29
+ - !ruby/object:Gem::Dependency
30
+ name: rdf-vocab
31
+ requirement: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - "~>"
34
+ - !ruby/object:Gem::Version
35
+ version: '2.2'
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '2.2'
29
43
  - !ruby/object:Gem::Dependency
30
44
  name: activesupport
31
45
  requirement: !ruby/object:Gem::Requirement
@@ -156,9 +170,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
156
170
  version: '0'
157
171
  required_rubygems_version: !ruby/object:Gem::Requirement
158
172
  requirements:
159
- - - ">"
173
+ - - ">="
160
174
  - !ruby/object:Gem::Version
161
- version: 1.3.1
175
+ version: '0'
162
176
  requirements: []
163
177
  rubyforge_project:
164
178
  rubygems_version: 2.6.8