sparql 1.1.2 → 1.1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ec306ea47d79b90b84acd927ef5169c6a745875b
4
- data.tar.gz: 6e5860abfd989c5751c778c4212fdc3eb47368aa
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NDgzM2U0ZGI0M2NjNmVmN2RhOThlM2E0YTJiNDJhMjJmMTlkOGZhMw==
5
+ data.tar.gz: !binary |-
6
+ MWI0YzBjNzRmNjVkZmNlYWNmYWM3ZWNhZjc1NmVjZWU3ZTJmYmI3ZA==
5
7
  SHA512:
6
- metadata.gz: b5f110a1767a95d2e2c194b2b903fd4f4db9cf470ad14529525a3ae64cc3b2b785bf25d9c95e760475a519a53c01a33ef2b0de3cfb06bee5a39e6c0c72a6337d
7
- data.tar.gz: bf1dd65ca43bfe141f152de212ca6d9c7b2b1e11487fc8bbcaac03dabd241da86f58320926225fc784b398a5b0af4c6142636d909375e92426727fe91452b5ef
8
+ metadata.gz: !binary |-
9
+ NWI5YTdmMjc2ZDg1YWI4OTNmNzQzYWNjMmZlYjUwMGJkNTI3NTVkMmQxZjVj
10
+ MTg2MzlmOGQ4Y2M0MjNiNWRkZDEwOWNlYWMxMDllNTE2MmVmNDU2MjI0MThh
11
+ ZWEzMDI2YzMwY2NlMmJhNTE1ZDdiZmNiMWQ1OTcxMzU2NmEzYjU=
12
+ data.tar.gz: !binary |-
13
+ NzVhNzZlNmIyNzQyMzBkZTQxMDJhY2U5MTQ2MDJhOTY5NTM3MzNkNzA5NTQz
14
+ NTg3MmE1OWE1ZGFmNmRiMjA3OGI1YWY3NGVkNmNlZjgyMWE3YzljZjIyMmYx
15
+ OTVkOGYzZTIzMjFhMzkwNzQyYjM4YWY5NjlkYjQ2MWRmNWVjNDY=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.2
1
+ 1.1.2.1
@@ -1122,8 +1122,9 @@ module SPARQL::Grammar
1122
1122
  # @see http://axel.deri.ie/sparqltutorial/ESWC2007_SPARQL_Tutorial_unit2b.pdf
1123
1123
  def parse(prod = START)
1124
1124
  ll1_parse(@input, prod.to_sym, @options.merge(:branch => BRANCH,
1125
- :first => FIRST,
1126
- :follow => FOLLOW)
1125
+ :first => FIRST,
1126
+ :follow => FOLLOW,
1127
+ :whitespace => WS)
1127
1128
  ) do |context, *data|
1128
1129
  case context
1129
1130
  when :trace
@@ -12,83 +12,83 @@ module SPARQL::Grammar
12
12
  [\\u2070-\\u218F]|[\\u2C00-\\u2FEF]|[\\u3001-\\uD7FF]|
13
13
  [\\uF900-\\uFDCF]|[\\uFDF0-\\uFFFD]|[\\u{10000}-\\u{EFFFF}]
14
14
  EOS
15
- U_CHARS2 = Regexp.compile("\\u00B7|[\\u0300-\\u036F]|[\\u203F-\\u2040]")
16
- IRI_RANGE = Regexp.compile("[[^<>\"{}|^`\\\\]&&[^\\x00-\\x20]]")
15
+ U_CHARS2 = Regexp.compile("\\u00B7|[\\u0300-\\u036F]|[\\u203F-\\u2040]").freeze
16
+ IRI_RANGE = Regexp.compile("[[^<>\"{}|^`\\\\]&&[^\\x00-\\x20]]").freeze
17
17
 
18
18
  # 26
19
19
  UCHAR = EBNF::LL1::Lexer::UCHAR
20
20
  # 170s
21
- PERCENT = /%[0-9A-Fa-f]{2}/
21
+ PERCENT = /%[0-9A-Fa-f]{2}/.freeze
22
22
  # 172s
23
- PN_LOCAL_ESC = /\\[_~\.\-\!$\&'\(\)\*\+,;=:\/\?\#@%]/
23
+ PN_LOCAL_ESC = /\\[_~\.\-\!$\&'\(\)\*\+,;=:\/\?\#@%]/.freeze
24
24
  # 169s
25
- PLX = /#{PERCENT}|#{PN_LOCAL_ESC}/
25
+ PLX = /#{PERCENT}|#{PN_LOCAL_ESC}/.freeze
26
26
  # 153
27
- PN_CHARS_BASE = /[A-Z]|[a-z]|#{U_CHARS1}/
27
+ PN_CHARS_BASE = /[A-Z]|[a-z]|#{U_CHARS1}/.freeze
28
28
  # 154
29
- PN_CHARS_U = /_|#{PN_CHARS_BASE}/
29
+ PN_CHARS_U = /_|#{PN_CHARS_BASE}/.freeze
30
30
  # 155
31
31
  VARNAME = /(?:[0-9]|#{PN_CHARS_U})
32
- (?:[0-9]|#{PN_CHARS_U}|#{U_CHARS2})*/x
32
+ (?:[0-9]|#{PN_CHARS_U}|#{U_CHARS2})*/x.freeze
33
33
  # 156
34
- PN_CHARS = /-|[0-9]|#{PN_CHARS_U}|#{U_CHARS2}/
35
- PN_LOCAL_BODY = /(?:(?:\.|:|#{PN_CHARS}|#{PLX})*(?:#{PN_CHARS}|:|#{PLX}))?/
36
- PN_CHARS_BODY = /(?:(?:\.|#{PN_CHARS})*#{PN_CHARS})?/
34
+ PN_CHARS = /-|[0-9]|#{PN_CHARS_U}|#{U_CHARS2}/.freeze
35
+ PN_LOCAL_BODY = /(?:(?:\.|:|#{PN_CHARS}|#{PLX})*(?:#{PN_CHARS}|:|#{PLX}))?/.freeze
36
+ PN_CHARS_BODY = /(?:(?:\.|#{PN_CHARS})*#{PN_CHARS})?/.freeze
37
37
  # 157
38
- PN_PREFIX = /#{PN_CHARS_BASE}#{PN_CHARS_BODY}/
38
+ PN_PREFIX = /#{PN_CHARS_BASE}#{PN_CHARS_BODY}/.freeze
39
39
  # 158
40
- PN_LOCAL = /(?:[0-9]|:|#{PN_CHARS_U}|#{PLX})#{PN_LOCAL_BODY}/
40
+ PN_LOCAL = /(?:[0-9]|:|#{PN_CHARS_U}|#{PLX})#{PN_LOCAL_BODY}/.freeze
41
41
  # 144
42
42
  EXPONENT = /[eE][+-]?[0-9]+/
43
43
  # 149
44
- ECHAR = /\\[tbnrf\\"']/
44
+ ECHAR = /\\[tbnrf\\"']/.freeze
45
45
  # 18
46
- IRIREF = /<(?:#{IRI_RANGE}|#{UCHAR})*>/
46
+ IRIREF = /<(?:#{IRI_RANGE}|#{UCHAR})*>/.freeze
47
47
  # 129
48
- PNAME_NS = /#{PN_PREFIX}?:/
48
+ PNAME_NS = /#{PN_PREFIX}?:/.freeze
49
49
  # 130
50
- PNAME_LN = /(?:#{PNAME_NS})(?:#{PN_LOCAL})/
50
+ PNAME_LN = /(?:#{PNAME_NS})(?:#{PN_LOCAL})/.freeze
51
51
  # 131
52
- BLANK_NODE_LABEL = /_:(?:[0-9]|#{PN_CHARS_U})((#{PN_CHARS}|\.)*#{PN_CHARS})?/
52
+ BLANK_NODE_LABEL = /_:(?:[0-9]|#{PN_CHARS_U})((#{PN_CHARS}|\.)*#{PN_CHARS})?/.freeze
53
53
  # 132
54
- VAR1 = /\?#{VARNAME}/
54
+ VAR1 = /\?#{VARNAME}/.freeze
55
55
  # 133
56
- VAR2 = /\$#{VARNAME}/
56
+ VAR2 = /\$#{VARNAME}/.freeze
57
57
  # 134
58
- LANGTAG = /@[a-zA-Z]+(?:-[a-zA-Z0-9]+)*/
58
+ LANGTAG = /@[a-zA-Z]+(?:-[a-zA-Z0-9]+)*/.freeze
59
59
  # 135
60
- INTEGER = /[0-9]+/
60
+ INTEGER = /[0-9]+/.freeze
61
61
  # 136
62
- DECIMAL = /(?:[0-9]*\.[0-9]+)/
62
+ DECIMAL = /(?:[0-9]*\.[0-9]+)/.freeze
63
63
  # 137
64
- DOUBLE = /(?:[0-9]+\.[0-9]*#{EXPONENT}|\.?[0-9]+#{EXPONENT})/
64
+ DOUBLE = /(?:[0-9]+\.[0-9]*#{EXPONENT}|\.?[0-9]+#{EXPONENT})/.freeze
65
65
  # 138
66
- INTEGER_POSITIVE = /(\+)([0-9]+)/
66
+ INTEGER_POSITIVE = /(\+)([0-9]+)/.freeze
67
67
  # 139
68
- DECIMAL_POSITIVE = /(\+)([0-9]*\.[0-9]+)/
68
+ DECIMAL_POSITIVE = /(\+)([0-9]*\.[0-9]+)/.freeze
69
69
  # 140
70
- DOUBLE_POSITIVE = /(\+)([0-9]+\.[0-9]*#{EXPONENT}|\.?[0-9]+#{EXPONENT})/
70
+ DOUBLE_POSITIVE = /(\+)([0-9]+\.[0-9]*#{EXPONENT}|\.?[0-9]+#{EXPONENT})/.freeze
71
71
  # 141
72
- INTEGER_NEGATIVE = /(\-)([0-9]+)/
72
+ INTEGER_NEGATIVE = /(\-)([0-9]+)/.freeze
73
73
  # 142
74
- DECIMAL_NEGATIVE = /(\-)([0-9]*\.[0-9]+)/
74
+ DECIMAL_NEGATIVE = /(\-)([0-9]*\.[0-9]+)/.freeze
75
75
  # 143
76
- DOUBLE_NEGATIVE = /(\-)([0-9]+\.[0-9]*#{EXPONENT}|\.?[0-9]+#{EXPONENT})/
76
+ DOUBLE_NEGATIVE = /(\-)([0-9]+\.[0-9]*#{EXPONENT}|\.?[0-9]+#{EXPONENT})/.freeze
77
77
  # 145
78
- STRING_LITERAL1 = /'([^\'\\\n\r]|#{ECHAR}|#{UCHAR})*'/
78
+ STRING_LITERAL1 = /'([^\'\\\n\r]|#{ECHAR}|#{UCHAR})*'/.freeze
79
79
  # 146
80
- STRING_LITERAL2 = /"([^\"\\\n\r]|#{ECHAR}|#{UCHAR})*"/
80
+ STRING_LITERAL2 = /"([^\"\\\n\r]|#{ECHAR}|#{UCHAR})*"/.freeze
81
81
  # 147
82
- STRING_LITERAL_LONG1 = /'''((?:'|'')?(?:[^'\\]|#{ECHAR}|#{UCHAR}))*'''/m
82
+ STRING_LITERAL_LONG1 = /'''((?:'|'')?(?:[^'\\]|#{ECHAR}|#{UCHAR}))*'''/m.freeze
83
83
  # 148
84
- STRING_LITERAL_LONG2 = /"""((?:"|"")?(?:[^"\\]|#{ECHAR}|#{UCHAR}))*"""/m
84
+ STRING_LITERAL_LONG2 = /"""((?:"|"")?(?:[^"\\]|#{ECHAR}|#{UCHAR}))*"""/m.freeze
85
85
 
86
86
  # 151
87
- WS = / |\t|\r|\n/
87
+ WS = /(?:\s|(?:#[^\n\r]*))+/m.freeze
88
88
  # 150
89
- NIL = /\(#{WS}*\)/m
89
+ NIL = /\(#{WS}*\)/m.freeze
90
90
  # 152
91
- ANON = /\[#{WS}*\]/m
91
+ ANON = /\[#{WS}*\]/m.freeze
92
92
 
93
93
  # String terminals, case insensitive
94
94
  STR_EXPR = %r(ABS|ADD|ALL|ASC|ASK|AS|AVG|BASE|BINDINGS|BIND
@@ -111,7 +111,7 @@ module SPARQL::Grammar
111
111
  |true
112
112
  |false
113
113
  |&&|!=|!|<=|>=|\^\^|\|\||[\(\),.;\[\]\{\}\+\-=<>\?\^\|\*\/a]
114
- )xi
114
+ )xi.freeze
115
115
 
116
116
  # Map terminals to canonical form
117
117
  STR_MAP = (%w{ABS ADD ALL ASC ASK AS AVG BASE BINDINGS BIND
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sparql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg Kellogg
@@ -9,216 +9,216 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-04 00:00:00.000000000 Z
12
+ date: 2013-12-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdf
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ! '>='
19
19
  - !ruby/object:Gem::Version
20
20
  version: 1.1.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
27
  version: 1.1.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rdf-aggregate-repo
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ! '>='
33
33
  - !ruby/object:Gem::Version
34
34
  version: 1.1.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
41
  version: 1.1.0
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: ebnf
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - ! '>='
47
47
  - !ruby/object:Gem::Version
48
- version: 0.3.1
48
+ version: 0.3.2
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - ! '>='
54
54
  - !ruby/object:Gem::Version
55
- version: 0.3.1
55
+ version: 0.3.2
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: builder
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - ! '>='
61
61
  - !ruby/object:Gem::Version
62
62
  version: '3.0'
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
69
  version: '3.0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: json
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ! '>='
75
75
  - !ruby/object:Gem::Version
76
76
  version: '1.7'
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
83
  version: '1.7'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: sxp
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ! '>='
89
89
  - !ruby/object:Gem::Version
90
90
  version: 0.1.3
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ! '>='
96
96
  - !ruby/object:Gem::Version
97
97
  version: 0.1.3
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: sparql-client
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - ! '>='
103
103
  - !ruby/object:Gem::Version
104
104
  version: '1.1'
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ! '>='
110
110
  - !ruby/object:Gem::Version
111
111
  version: '1.1'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: rdf-xsd
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - '>='
116
+ - - ! '>='
117
117
  - !ruby/object:Gem::Version
118
118
  version: 1.0.2
119
119
  type: :runtime
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - '>='
123
+ - - ! '>='
124
124
  - !ruby/object:Gem::Version
125
125
  version: 1.0.2
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: sinatra
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - '>='
130
+ - - ! '>='
131
131
  - !ruby/object:Gem::Version
132
132
  version: 1.4.4
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
139
  version: 1.4.4
140
140
  - !ruby/object:Gem::Dependency
141
141
  name: rack
142
142
  requirement: !ruby/object:Gem::Requirement
143
143
  requirements:
144
- - - '>='
144
+ - - ! '>='
145
145
  - !ruby/object:Gem::Version
146
146
  version: 1.5.2
147
147
  type: :development
148
148
  prerelease: false
149
149
  version_requirements: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - '>='
151
+ - - ! '>='
152
152
  - !ruby/object:Gem::Version
153
153
  version: 1.5.2
154
154
  - !ruby/object:Gem::Dependency
155
155
  name: rack-test
156
156
  requirement: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - '>='
158
+ - - ! '>='
159
159
  - !ruby/object:Gem::Version
160
160
  version: 0.6.2
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
167
  version: 0.6.2
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: linkeddata
170
170
  requirement: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - '>='
172
+ - - ! '>='
173
173
  - !ruby/object:Gem::Version
174
174
  version: '1.1'
175
175
  type: :development
176
176
  prerelease: false
177
177
  version_requirements: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - '>='
179
+ - - ! '>='
180
180
  - !ruby/object:Gem::Version
181
181
  version: '1.1'
182
182
  - !ruby/object:Gem::Dependency
183
183
  name: rdf-spec
184
184
  requirement: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - '>='
186
+ - - ! '>='
187
187
  - !ruby/object:Gem::Version
188
188
  version: '1.1'
189
189
  type: :development
190
190
  prerelease: false
191
191
  version_requirements: !ruby/object:Gem::Requirement
192
192
  requirements:
193
- - - '>='
193
+ - - ! '>='
194
194
  - !ruby/object:Gem::Version
195
195
  version: '1.1'
196
196
  - !ruby/object:Gem::Dependency
197
197
  name: open-uri-cached
198
198
  requirement: !ruby/object:Gem::Requirement
199
199
  requirements:
200
- - - '>='
200
+ - - ! '>='
201
201
  - !ruby/object:Gem::Version
202
202
  version: 0.0.5
203
203
  type: :development
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - '>='
207
+ - - ! '>='
208
208
  - !ruby/object:Gem::Version
209
209
  version: 0.0.5
210
210
  - !ruby/object:Gem::Dependency
211
211
  name: rspec
212
212
  requirement: !ruby/object:Gem::Requirement
213
213
  requirements:
214
- - - '>='
214
+ - - ! '>='
215
215
  - !ruby/object:Gem::Version
216
216
  version: 2.14.0
217
217
  type: :development
218
218
  prerelease: false
219
219
  version_requirements: !ruby/object:Gem::Requirement
220
220
  requirements:
221
- - - '>='
221
+ - - ! '>='
222
222
  - !ruby/object:Gem::Version
223
223
  version: 2.14.0
224
224
  - !ruby/object:Gem::Dependency
@@ -239,20 +239,18 @@ dependencies:
239
239
  name: yard
240
240
  requirement: !ruby/object:Gem::Requirement
241
241
  requirements:
242
- - - '>='
242
+ - - ! '>='
243
243
  - !ruby/object:Gem::Version
244
244
  version: 0.8.3
245
245
  type: :development
246
246
  prerelease: false
247
247
  version_requirements: !ruby/object:Gem::Requirement
248
248
  requirements:
249
- - - '>='
249
+ - - ! '>='
250
250
  - !ruby/object:Gem::Version
251
251
  version: 0.8.3
252
- description: |2-
253
-
254
- Implements SPARQL grammar parsing to SPARQL Algebra, SPARQL Algebra processing
255
- and includes SPARQL Client for accessing remote repositories.
252
+ description: ! "\n Implements SPARQL grammar parsing to SPARQL Algebra, SPARQL
253
+ Algebra processing\n and includes SPARQL Client for accessing remote repositories."
256
254
  email: public-rdf-ruby@w3.org
257
255
  executables:
258
256
  - sparql
@@ -397,12 +395,12 @@ require_paths:
397
395
  - lib
398
396
  required_ruby_version: !ruby/object:Gem::Requirement
399
397
  requirements:
400
- - - '>='
398
+ - - ! '>='
401
399
  - !ruby/object:Gem::Version
402
400
  version: 1.9.2
403
401
  required_rubygems_version: !ruby/object:Gem::Requirement
404
402
  requirements:
405
- - - '>='
403
+ - - ! '>='
406
404
  - !ruby/object:Gem::Version
407
405
  version: '0'
408
406
  requirements: []