sparql 1.1.4 → 1.1.5

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: 9ed52de8b3772ffc718813e0a7c9445fd37d27ec
4
- data.tar.gz: b7aa4ec3157690796c0e12fc74bcf9328c740c2a
3
+ metadata.gz: 801ecd5a6266884f24b915006b337846b941534d
4
+ data.tar.gz: 760791e723d11bc30782568248cea6b9695c3a19
5
5
  SHA512:
6
- metadata.gz: 007315130ab3bc5f734e47c96d74f501460feb5e22229106b16c32dad35f24c59e35a47654fff1cc9f88610a8628bb43a33773cd812503800d954e52f3a3e1da
7
- data.tar.gz: 697a8dde03ef5b117820d585f7e30d58c9f1e17eb8baa139f77d4f7260d6417dd6673e0d1e1bea181d2dd60f66ce8bc176dd7575d6caa056faeff03d103ed2ce
6
+ metadata.gz: 721f8cb66c8b0530492644664208e5023183825e66594774d6f881d6df5c896dab91d93fdba219e014962db257ecd1b3136e27210f00369a05a36c41ef5378cc
7
+ data.tar.gz: f6ae985c72d5390502aac98a7f747883b6ed07f66b7e15f6f4b33b727dc46f9857508f1904bdc1a2d838ba6eeb8f06f68bc16da9b0054c6988cef72f0d22031f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.4
1
+ 1.1.5
@@ -1063,7 +1063,7 @@ module SPARQL::Grammar
1063
1063
  when IO, StringIO then input.read
1064
1064
  else input.to_s.dup
1065
1065
  end
1066
- @input.encode!(Encoding::UTF_8)
1066
+ @input.encode!(Encoding::UTF_8) if @input.respond_to?(:encode!)
1067
1067
  @options = {:anon_base => "b0", :validate => false}.merge(options)
1068
1068
  @options[:debug] ||= case
1069
1069
  when options[:progress] then 2
@@ -1090,6 +1090,7 @@ module SPARQL::Grammar
1090
1090
  # @return [Boolean]
1091
1091
  def valid?
1092
1092
  parse
1093
+ true
1093
1094
  rescue Error
1094
1095
  false
1095
1096
  end
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.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg Kellogg
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-27 00:00:00.000000000 Z
12
+ date: 2015-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdf
@@ -223,14 +223,28 @@ dependencies:
223
223
  requirements:
224
224
  - - "~>"
225
225
  - !ruby/object:Gem::Version
226
- version: '2.14'
226
+ version: '3.0'
227
+ type: :development
228
+ prerelease: false
229
+ version_requirements: !ruby/object:Gem::Requirement
230
+ requirements:
231
+ - - "~>"
232
+ - !ruby/object:Gem::Version
233
+ version: '3.0'
234
+ - !ruby/object:Gem::Dependency
235
+ name: rspec-its
236
+ requirement: !ruby/object:Gem::Requirement
237
+ requirements:
238
+ - - "~>"
239
+ - !ruby/object:Gem::Version
240
+ version: '1.0'
227
241
  type: :development
228
242
  prerelease: false
229
243
  version_requirements: !ruby/object:Gem::Requirement
230
244
  requirements:
231
245
  - - "~>"
232
246
  - !ruby/object:Gem::Version
233
- version: '2.14'
247
+ version: '1.0'
234
248
  - !ruby/object:Gem::Dependency
235
249
  name: spira
236
250
  requirement: !ruby/object:Gem::Requirement
@@ -417,7 +431,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
417
431
  version: '0'
418
432
  requirements: []
419
433
  rubyforge_project: sparql
420
- rubygems_version: 2.2.2
434
+ rubygems_version: 2.4.3
421
435
  signing_key:
422
436
  specification_version: 4
423
437
  summary: SPARQL library for Ruby.