svg-inline-file-extractor 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/svg_inline_file_extractor.rb +2 -2
- data/lib/svg_inline_file_extractor/version.rb +1 -1
- 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: 9f174c122201fb01d32d75fc6c3957c34923a9b7
|
4
|
+
data.tar.gz: 853861900ff6da7fc923274654d5ec9f611a3604
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3c0e324dbf2955e9b12022bdf3f7ee83d11f7f534d3b8290d85dedd1b79f0fb717d388dac27c1f80f18695af9cd2faa0826c33fc28a2d12cec8f82a1428bf47
|
7
|
+
data.tar.gz: 69b6d999821d156b8e1deffe7787e993819fc8d86d246cf3cb8a42209fb61c6e12a1ac13041d3a9bf8577e516779f2e9c308a8b91dfc6b8aba10c8b0bc9969cc
|
@@ -35,9 +35,9 @@ module SvgInlineFileExtractor
|
|
35
35
|
end
|
36
36
|
|
37
37
|
# do something with a temporary copy of uri in a block.
|
38
|
-
# @param [ String ] uri - the location of the file to open into a temp file.
|
38
|
+
# @param [ String ] uri - the location of the file to open into a temp file.
|
39
39
|
def self.with_temp_image(uri)
|
40
|
-
temp = Tempfile.new
|
40
|
+
temp = Tempfile.new('inline_image')
|
41
41
|
temp.binmode
|
42
42
|
puts "opening #{uri}"
|
43
43
|
temp.write open(uri).binmode.read
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: svg-inline-file-extractor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nic Boie
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|