spira 2.1.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +4 -4
  3. data/VERSION +1 -1
  4. data/lib/spira/types/anyURI.rb +1 -1
  5. metadata +21 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 60a2f2001ee3ca4803b5c0f10dd0ee95be394583
4
- data.tar.gz: 4fd45e81ca7128e36b97a08701ee2dacbec31f82
2
+ SHA256:
3
+ metadata.gz: f7be0c532c05d07639c5d973ebd4d499fae73c54413a8c9ef783a4bfd3bec09d
4
+ data.tar.gz: f2d830691b77d1f9618c4114200a5322ae9bf010091d92a7b5ae02a1bbcf5077
5
5
  SHA512:
6
- metadata.gz: 74b6ff7e40373eb2e704f64ff1e3602b60f17ea5042b27189199052f5a47989aa0a894075de4a4d6b4bb35fcd8b7ec0b5631213694058778ba3f3a67482bd326
7
- data.tar.gz: 0664e654b6331a8003cc676e7b026ca31d8b3a39159ed6a010eebf776324cec9a07e79aaee61185f2575f323b1d5fe7459747aa08507ad9fed92ed337d5fa6a7
6
+ metadata.gz: 5d35397a4ab24e3a206f438e92eb81db0c0e552a384536f1c4de8bd2d8e308b34b6ecb770640ad69afd171f09f542b0d517ab2c0aee8b053271b0214d9384d68
7
+ data.tar.gz: 2e5d28785bf4a8c50bea90a5f9b5572113e3775d0409e7c64705e39db3f99adb662b1c4aede300bb24f710af444957af0c25b6dab6bd05c4c63ea68df3efb04d
data/README.md CHANGED
@@ -114,13 +114,13 @@ require 'spira'
114
114
  class CD < Spira::Base
115
115
  configure :base_uri => 'http://example.org/cds'
116
116
  property :name, :predicate => RDF::Vocab::DC.title, :type => XSD.string
117
- property :artist, :predicate => URI.new('http://example.org/vocab/artist'), :type => :artist
117
+ property :artist, :predicate => RDF::URI.new('http://example.org/vocab/artist'), :type => :artist
118
118
  end
119
119
 
120
120
  class Artist < Spira::Base
121
121
  configure :base_uri => 'http://example.org/artists'
122
122
  property :name, :predicate => RDF::Vocab::DC.title, :type => XSD.string
123
- has_many :cds, :predicate => URI.new('http://example.org/vocab/published_cd'), :type => XSD.string
123
+ has_many :cds, :predicate => RDF::URI.new('http://example.org/vocab/published_cd'), :type => XSD.string
124
124
  end
125
125
  ```
126
126
 
@@ -211,7 +211,7 @@ A class with a `type` set is assigned an `RDF.type` on creation and saving.
211
211
 
212
212
  ```ruby
213
213
  class Album < Spira::Base
214
- type URI.new('http://example.org/types/album')
214
+ type RDF::URI.new('http://example.org/types/album')
215
215
  property :name, :predicate => RDF::Vocab::DC.title
216
216
  end
217
217
 
@@ -263,7 +263,7 @@ A class with a `default_vocabulary` set will transparently create predicates for
263
263
 
264
264
  ```ruby
265
265
  class Song < Spira::Base
266
- configure :default_vocabulary => URI.new('http://example.org/vocab'),
266
+ configure :default_vocabulary => RDF::URI.new('http://example.org/vocab'),
267
267
  :base_uri => 'http://example.org/songs'
268
268
  property :title
269
269
  property :author, :type => :artist
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.0
1
+ 3.0.0
@@ -21,7 +21,7 @@ module Spira::Types
21
21
  RDF::Literal.new(value, :datatype => XSD.anyURI)
22
22
  end
23
23
 
24
- register_alias XSD.anyURI
24
+ register_alias RDF::XSD.anyURI
25
25
 
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spira
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Lavender
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir:
10
10
  - bin
11
11
  cert_chain: []
12
- date: 2017-03-01 00:00:00.000000000 Z
12
+ date: 2018-01-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdf
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '2.0'
20
+ version: '3.0'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '2.0'
27
+ version: '3.0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rdf-isomorphic
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '2.0'
34
+ version: '3.0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '2.0'
41
+ version: '3.0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: promise
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -59,84 +59,84 @@ dependencies:
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '5.0'
62
+ version: '5.1'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '5.0'
69
+ version: '5.1'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: activesupport
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '5.0'
76
+ version: '5.1'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '5.0'
83
+ version: '5.1'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rdf-spec
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '2.0'
90
+ version: '3.0'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: '2.0'
97
+ version: '3.0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rdf-turtle
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '2.0'
104
+ version: '3.0'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '2.0'
111
+ version: '3.0'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: rdf-vocab
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - "~>"
117
117
  - !ruby/object:Gem::Version
118
- version: '2.0'
118
+ version: '3.0'
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - "~>"
124
124
  - !ruby/object:Gem::Version
125
- version: '2.0'
125
+ version: '3.0'
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: rspec
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - "~>"
131
131
  - !ruby/object:Gem::Version
132
- version: '3.4'
132
+ version: '3.7'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '3.4'
139
+ version: '3.7'
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: rspec-its
142
142
  requirement: !ruby/object:Gem::Requirement
@@ -157,14 +157,14 @@ dependencies:
157
157
  requirements:
158
158
  - - "~>"
159
159
  - !ruby/object:Gem::Version
160
- version: '0.8'
160
+ version: 0.9.12
161
161
  type: :development
162
162
  prerelease: false
163
163
  version_requirements: !ruby/object:Gem::Requirement
164
164
  requirements:
165
165
  - - "~>"
166
166
  - !ruby/object:Gem::Version
167
- version: '0.8'
167
+ version: 0.9.12
168
168
  description: Spira is a framework for using the information in RDF.rb repositories
169
169
  as model objects.
170
170
  email: blavender@gmail.com
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  version: '0'
233
233
  requirements: []
234
234
  rubyforge_project: spira
235
- rubygems_version: 2.4.5.1
235
+ rubygems_version: 2.7.3
236
236
  signing_key:
237
237
  specification_version: 4
238
238
  summary: A framework for using the information in RDF.rb repositories as model objects.