anyfetch 0.1.6 → 0.1.7

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
- SHA1:
3
- metadata.gz: 2e379ebb02cd50de69b8226b4204b10bc6934e75
4
- data.tar.gz: ccf621c36694d32a21d676d02ceeb37504d203a6
2
+ SHA256:
3
+ metadata.gz: d4e86e655372d406dda0b40962608083c22fe2e8a14612fc48b170e862b00055
4
+ data.tar.gz: 2ec326fbaf57e509583c5ade63fb05408a76fd378aaee227b2dd3320483eba26
5
5
  SHA512:
6
- metadata.gz: 2f582439debbd69123c198079aadb557b18866932d92c40bb9dcabab424d7de63a874342a6ccab1eb8a5c49948deabc9cf9532363191981dc790e5008c466276
7
- data.tar.gz: 3cdde898bb95dbff849ff7c73fc799ea14bae022c9c05702558be7ef8c0abcca8e39004f961fc81ea03b83211b0582e51690961cf0de10c4f5c74424ba405600
6
+ metadata.gz: 77c809218d7ead0b1276aa498a7d07047a726433ff65458c72e9589105f9d6159ec106ffe331c20c7954fa2a25cca61fbb4cbec36ddc23b60f3bd4322ab52e6a
7
+ data.tar.gz: fd838f9a07454b62e0b75cd6454380c4dc2227dce9cb3552324867b5153773c32e4399852f2d6eb292b5e1af3a2cb22b3a96e5f79332ad14ba42a039ffde97a4
data/anyfetch.gemspec CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.add_dependency 'open_uri_redirections'
27
27
  spec.add_dependency 'net-sftp'
28
28
 
29
- spec.add_development_dependency "bundler", "~> 1.15"
29
+ spec.add_development_dependency "bundler", "~> 2.0"
30
30
  spec.add_development_dependency "rake", "~> 10.0"
31
31
  spec.add_development_dependency "rspec", "~> 3.0"
32
32
  end
@@ -8,7 +8,7 @@ module Anyfetch
8
8
  end
9
9
 
10
10
  def open
11
- file = super(@uri, @options)
11
+ file = ::OpenURI.open_uri(@uri, @options)
12
12
 
13
13
  if file.is_a?(StringIO)
14
14
  file = to_tempfile(file)
@@ -1,3 +1,3 @@
1
1
  module Anyfetch
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anyfetch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michał Szajbe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-02 00:00:00.000000000 Z
11
+ date: 2022-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: terrapin
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.15'
75
+ version: '2.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.15'
82
+ version: '2.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -155,8 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubyforge_project:
159
- rubygems_version: 2.6.11
158
+ rubygems_version: 3.3.3
160
159
  signing_key:
161
160
  specification_version: 4
162
161
  summary: Fetch files via any protocol.