fe_core_ext 0.18.0 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fe_core_ext/core_ext/uri.rb +1 -1
- data/lib/fe_core_ext/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f00666d9afbde05b241fcb6c92e64dfc221e00bcc30f501716f3bed1801c7c7d
|
4
|
+
data.tar.gz: 531a73a26140b73e0c5cb2c5a97e15bd9996ff0f2d089538312e3f913d449ed8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a04f4590aaab29da8fac1cdf4d6e75ffdaace07d74666f1948cd824d6e79f435318ac343b4dd90fa0a13864ca0c7a063506c86fddd7316fa0becc57212ca0bd7
|
7
|
+
data.tar.gz: f9c7c6d3527cecbd9cd9085ab4e2deb6e1a372a69b37342563c2014bd2f253bea013c2ab4a459a4348aa5b82c1d89e4dafdebab8d44c30c9e5b7d32696eea2e7
|
@@ -8,7 +8,7 @@ end
|
|
8
8
|
|
9
9
|
module URI
|
10
10
|
def download(file)
|
11
|
-
warn 'URI#downloadの引数にはPathnameを使いましょう!' if
|
11
|
+
warn 'URI#downloadの引数にはPathnameを使いましょう!' if file.is_a?(String)
|
12
12
|
binary = OpenURI.open_uri(self).read
|
13
13
|
file = file + self.basename if file.to_s[-1] == '/'
|
14
14
|
dirname = ::File.dirname(file)
|
data/lib/fe_core_ext/version.rb
CHANGED