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 +4 -4
- data/VERSION +1 -1
- data/lib/rdf/format.rb +1 -1
- data/lib/rdf/util/file.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 283f73905d7bc6797f44dae95effbe342839bc0b
|
4
|
+
data.tar.gz: 4afd2c48d6d12a50753d8ad555cb98df696d70cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0039a0fe8acfe683c1da406707c915b518ee1e343362da96496a92abb1011135fbbdf3266392a1d853d302aa73545b32b06e09efe7ce77f0ef81f191929a4579'
|
7
|
+
data.tar.gz: f11d971589f975427f12cd18c0f720bc226c5f8cd7f7f093459216f408e01db73e7dbbaf72b6e58cf98a9862d1b8b9aa398c8df1b01cc50166d65b561833d039
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.2.
|
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
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
|
+
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-
|
13
|
+
date: 2017-03-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: link_header
|