rdf-xsd 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +15 -0
  2. data/VERSION +1 -1
  3. data/lib/rdf/xsd/xml.rb +3 -4
  4. metadata +59 -77
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: !binary |-
4
+ MjVlMTY5MTIwZWI0ZmViYWJiMzJhZTE0MDI5ZTNhOTI1YzhmNmIzYQ==
5
+ data.tar.gz: !binary |-
6
+ NjJhZjRhNzUxZGQ0ZjdhMTE3MDcwM2IxZmYxZGRmMzUzYmY2Njg4OQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZmJjOGM5NmJkYmJjNzlhMTc0OWUyNDYxMTYzMGZjOWMzOWJkNmEzOTdkODg4
10
+ YzRjMTlkZDY5NTFjZTVlYjY0MzY4ODcwYmUxNDNjNjM2ZGYxODVlNjk5M2Zi
11
+ ZjgwNmYzM2FjZWI4YmViOWNlOGUxNmQ1Mzg3Y2Y0NTA4OThjZGM=
12
+ data.tar.gz: !binary |-
13
+ NTcxMDZiY2Y1MjQwN2I0YmI4ZGYyMGM1NmNjMDVlZDg4ZjdiYTJlMTg2NDUw
14
+ NmVjYmQxNzFiZTY0ZmYxY2FmMTY5ZWM4MmRhNjk1ZGNiOTVjYjlmOTE5ZGFm
15
+ ZjI3MGU5OGI2M2NmZDdkYTM4ZWI1YmYzNmJhMjcyYzMwZDI0OGQ=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
data/lib/rdf/xsd/xml.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # Use Nokogiri when available, and REXML otherwise:
2
2
  begin
3
- raise LoadError, "not with java" if RUBY_PLATFORM == "java"
4
3
  require 'nokogiri'
5
4
  begin
6
5
  require 'equivalent-xml'
@@ -30,8 +29,8 @@ module RDF; class Literal
30
29
  # @see http://www.w3.org/TR/xml-exc-c14n/
31
30
  # @since 0.2.1
32
31
  class XML < Literal
33
- #DATATYPE = RDF.XMLLiteral
34
- #GRAMMAR = nil
32
+ DATATYPE = RDF.XMLLiteral
33
+ GRAMMAR = nil
35
34
 
36
35
  ##
37
36
  # @param [Object] value
@@ -50,7 +49,7 @@ module RDF; class Literal
50
49
  @library = case options[:library]
51
50
  when nil
52
51
  # Use Nokogiri when available, and REXML or Hpricot otherwise:
53
- (defined?(::Nokogiri) && RUBY_PLATFORM != 'java') ? :nokogiri : :rexml
52
+ defined?(::Nokogiri) ? :nokogiri : :rexml
54
53
  when :nokogiri, :rexml
55
54
  options[:library]
56
55
  else
metadata CHANGED
@@ -1,145 +1,128 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-xsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
5
- prerelease:
4
+ version: 1.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Gregg
9
8
  - Kellogg
10
- autorequire:
9
+ autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-05-01 00:00:00.000000000 Z
12
+ date: 2013-05-02 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rdf
17
- requirement: !ruby/object:Gem::Requirement
18
- none: false
16
+ version_requirements: !ruby/object:Gem::Requirement
19
17
  requirements:
20
- - - ! '>='
18
+ - - ">="
21
19
  - !ruby/object:Gem::Version
22
20
  version: 0.3.4
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- none: false
21
+ requirement: !ruby/object:Gem::Requirement
27
22
  requirements:
28
- - - ! '>='
23
+ - - ">="
29
24
  - !ruby/object:Gem::Version
30
25
  version: 0.3.4
26
+ prerelease: false
27
+ type: :runtime
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: nokogiri
33
- requirement: !ruby/object:Gem::Requirement
34
- none: false
30
+ version_requirements: !ruby/object:Gem::Requirement
35
31
  requirements:
36
- - - ! '>='
32
+ - - ">="
37
33
  - !ruby/object:Gem::Version
38
34
  version: 1.5.0
39
- type: :runtime
40
- prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- none: false
35
+ requirement: !ruby/object:Gem::Requirement
43
36
  requirements:
44
- - - ! '>='
37
+ - - ">="
45
38
  - !ruby/object:Gem::Version
46
39
  version: 1.5.0
40
+ prerelease: false
41
+ type: :runtime
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: equivalent-xml
49
- requirement: !ruby/object:Gem::Requirement
50
- none: false
44
+ version_requirements: !ruby/object:Gem::Requirement
51
45
  requirements:
52
- - - ! '>='
46
+ - - ">="
53
47
  - !ruby/object:Gem::Version
54
48
  version: 0.2.8
55
- type: :development
56
- prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- none: false
49
+ requirement: !ruby/object:Gem::Requirement
59
50
  requirements:
60
- - - ! '>='
51
+ - - ">="
61
52
  - !ruby/object:Gem::Version
62
53
  version: 0.2.8
54
+ prerelease: false
55
+ type: :development
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: active_support
65
- requirement: !ruby/object:Gem::Requirement
66
- none: false
58
+ version_requirements: !ruby/object:Gem::Requirement
67
59
  requirements:
68
- - - ! '>='
60
+ - - ">="
69
61
  - !ruby/object:Gem::Version
70
62
  version: 3.0.0
71
- type: :development
72
- prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
74
- none: false
63
+ requirement: !ruby/object:Gem::Requirement
75
64
  requirements:
76
- - - ! '>='
65
+ - - ">="
77
66
  - !ruby/object:Gem::Version
78
67
  version: 3.0.0
68
+ prerelease: false
69
+ type: :development
79
70
  - !ruby/object:Gem::Dependency
80
71
  name: i18n
81
- requirement: !ruby/object:Gem::Requirement
82
- none: false
72
+ version_requirements: !ruby/object:Gem::Requirement
83
73
  requirements:
84
- - - ! '>='
74
+ - - ">="
85
75
  - !ruby/object:Gem::Version
86
76
  version: 0.6.0
87
- type: :development
88
- prerelease: false
89
- version_requirements: !ruby/object:Gem::Requirement
90
- none: false
77
+ requirement: !ruby/object:Gem::Requirement
91
78
  requirements:
92
- - - ! '>='
79
+ - - ">="
93
80
  - !ruby/object:Gem::Version
94
81
  version: 0.6.0
82
+ prerelease: false
83
+ type: :development
95
84
  - !ruby/object:Gem::Dependency
96
85
  name: rspec
97
- requirement: !ruby/object:Gem::Requirement
98
- none: false
86
+ version_requirements: !ruby/object:Gem::Requirement
99
87
  requirements:
100
- - - ! '>='
88
+ - - ">="
101
89
  - !ruby/object:Gem::Version
102
90
  version: 2.5.0
103
- type: :development
104
- prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- none: false
91
+ requirement: !ruby/object:Gem::Requirement
107
92
  requirements:
108
- - - ! '>='
93
+ - - ">="
109
94
  - !ruby/object:Gem::Version
110
95
  version: 2.5.0
96
+ prerelease: false
97
+ type: :development
111
98
  - !ruby/object:Gem::Dependency
112
99
  name: rdf-spec
113
- requirement: !ruby/object:Gem::Requirement
114
- none: false
100
+ version_requirements: !ruby/object:Gem::Requirement
115
101
  requirements:
116
- - - ! '>='
102
+ - - ">="
117
103
  - !ruby/object:Gem::Version
118
104
  version: 0.3.2
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- none: false
105
+ requirement: !ruby/object:Gem::Requirement
123
106
  requirements:
124
- - - ! '>='
107
+ - - ">="
125
108
  - !ruby/object:Gem::Version
126
109
  version: 0.3.2
110
+ prerelease: false
111
+ type: :development
127
112
  - !ruby/object:Gem::Dependency
128
113
  name: yard
129
- requirement: !ruby/object:Gem::Requirement
130
- none: false
114
+ version_requirements: !ruby/object:Gem::Requirement
131
115
  requirements:
132
- - - ! '>='
116
+ - - ">="
133
117
  - !ruby/object:Gem::Version
134
118
  version: 0.6.0
135
- type: :development
136
- prerelease: false
137
- version_requirements: !ruby/object:Gem::Requirement
138
- none: false
119
+ requirement: !ruby/object:Gem::Requirement
139
120
  requirements:
140
- - - ! '>='
121
+ - - ">="
141
122
  - !ruby/object:Gem::Version
142
123
  version: 0.6.0
124
+ prerelease: false
125
+ type: :development
143
126
  description: Adds RDF::Literal subclasses for extended XSD datatypes.
144
127
  email: public-rdf-ruby@w3.org
145
128
  executables: []
@@ -150,6 +133,7 @@ files:
150
133
  - README.md
151
134
  - UNLICENSE
152
135
  - VERSION
136
+ - lib/rdf/xsd.rb
153
137
  - lib/rdf/xsd/any_uri.rb
154
138
  - lib/rdf/xsd/binary.rb
155
139
  - lib/rdf/xsd/date.rb
@@ -159,31 +143,29 @@ files:
159
143
  - lib/rdf/xsd/integer.rb
160
144
  - lib/rdf/xsd/version.rb
161
145
  - lib/rdf/xsd/xml.rb
162
- - lib/rdf/xsd.rb
163
146
  homepage: http://ruby-rdf.github.com/rdf-xsd
164
147
  licenses:
165
148
  - Public Domain
166
- post_install_message:
149
+ metadata: {}
150
+ post_install_message:
167
151
  rdoc_options: []
168
152
  require_paths:
169
153
  - lib
170
154
  required_ruby_version: !ruby/object:Gem::Requirement
171
- none: false
172
155
  requirements:
173
- - - ! '>='
156
+ - - ">="
174
157
  - !ruby/object:Gem::Version
175
158
  version: 1.8.1
176
159
  required_rubygems_version: !ruby/object:Gem::Requirement
177
- none: false
178
160
  requirements:
179
- - - ! '>='
161
+ - - ">="
180
162
  - !ruby/object:Gem::Version
181
163
  version: '0'
182
164
  requirements: []
183
165
  rubyforge_project: rdf-xsd
184
- rubygems_version: 1.8.25
185
- signing_key:
186
- specification_version: 3
166
+ rubygems_version: 2.0.3
167
+ signing_key:
168
+ specification_version: 4
187
169
  summary: Extended XSD Datatypes for RDF.rb.
188
170
  test_files: []
189
171
  has_rdoc: false