rdf 2.2.4 → 2.2.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: d5b0c02b8e9058e426f16a534e9a9f67b0ddab07
4
- data.tar.gz: a68b6870879a0eec41e12047561334f7c1173d39
3
+ metadata.gz: 283f73905d7bc6797f44dae95effbe342839bc0b
4
+ data.tar.gz: 4afd2c48d6d12a50753d8ad555cb98df696d70cd
5
5
  SHA512:
6
- metadata.gz: ac36cd538bb75de037dc179f6125e424c701e50667936ee62ef75426f316f53de83b0a56fe464648450445dbaf31ab52b7e91ce8ad7aeb75e7d71840de206fba
7
- data.tar.gz: 35ab589fcf5f331c29518f7928fd1bde329c4ba65b67c31e05ef219f2c4ff998e79610a883bfb6d9409b7190fd196807f82527aa5d9f9652391386249a60fba5
6
+ metadata.gz: '0039a0fe8acfe683c1da406707c915b518ee1e343362da96496a92abb1011135fbbdf3266392a1d853d302aa73545b32b06e09efe7ce77f0ef81f191929a4579'
7
+ data.tar.gz: f11d971589f975427f12cd18c0f720bc226c5f8cd7f7f093459216f408e01db73e7dbbaf72b6e58cf98a9862d1b8b9aa398c8df1b01cc50166d65b561833d039
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.4
1
+ 2.2.5
data/lib/rdf/format.rb CHANGED
@@ -110,7 +110,7 @@ module RDF
110
110
  content_types[mime_type] unless mime_type == 'text/plain' && (options[:sample] || block_given?)
111
111
  # Find a format based on the file name:
112
112
  when file_name = options[:file_name]
113
- self.for(file_extension: File.extname(RDF::URI(file_name).path)[1..-1]) { yield if block_given? }
113
+ self.for(file_extension: File.extname(RDF::URI(file_name).path.to_s)[1..-1]) { yield if block_given? }
114
114
  # Find a format based on the file extension:
115
115
  when file_ext = options[:file_extension]
116
116
  file_extensions[file_ext.to_sym]
data/lib/rdf/util/file.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  require 'net/http'
2
2
  require 'link_header'
3
3
  require 'time'
4
+ require 'openssl'
4
5
 
5
6
  module RDF; module Util
6
7
  ##
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arto Bendiken
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-03-15 00:00:00.000000000 Z
13
+ date: 2017-03-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: link_header