anyfetch 0.1.4 → 0.1.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: 3d583de7fd6f43d0eadb8b4a049039662498e3c5
4
- data.tar.gz: 309874963cc3f0b929c120dc485aaccc58af18af
3
+ metadata.gz: 9b8614a3c367c6df216d41f62d3ec7d16d20fd69
4
+ data.tar.gz: 58d639c46a8f6383850f0817b84705408e482de0
5
5
  SHA512:
6
- metadata.gz: 92321420e84c94699bc24878cc68ca7bc38c4f71be6cef7179e9d90d96f9f56dc9b8cfd5bba08f6d7ddfcad79d07cc99c5d69b032705b561dbc8dfea849b7bf6
7
- data.tar.gz: aa204724fc61f97401a3d0316a09a77544d969e38e0129b438b60eb81c1cae616608c995606a5519a4a0288376f68da84f37e9b023e5b691896524c5e1bbaa3b
6
+ metadata.gz: 35983dbb0c7a611f683fd87bb895cc57519134f547ba035f23b47b4679dc03b204dbb36fef355cad41bf73772837dec021ade0223ea2822116c2aa1a16bed391
7
+ data.tar.gz: cfb3567d76aab393225edb47959c853f071895c07c394ef25f7a07b2c222247b7978eaa41edcb7de4803adbd0b4ce753803310378289dce781a10e9f25fd3fdc
data/anyfetch.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_dependency 'cocaine'
24
+ spec.add_dependency 'terrapin'
25
25
  spec.add_dependency 'mime-types'
26
26
  spec.add_dependency 'open_uri_redirections'
27
27
 
@@ -1,4 +1,4 @@
1
- require "cocaine"
1
+ require "terrapin"
2
2
  require "mime-types"
3
3
 
4
4
  module Anyfetch
@@ -13,7 +13,7 @@ module Anyfetch
13
13
  filename = ::File.basename(base_uri.path)
14
14
  ext = ::File.extname(filename)
15
15
 
16
- cmd = Cocaine::CommandLine.new('/usr/bin/file', '--mime-type -b :file')
16
+ cmd = Terrapin::CommandLine.new('/usr/bin/file', '--mime-type -b :file')
17
17
  begin
18
18
  mime_type = cmd.run(:file => path)
19
19
  rescue
@@ -1,3 +1,3 @@
1
1
  module Anyfetch
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anyfetch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michał Szajbe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-25 00:00:00.000000000 Z
11
+ date: 2018-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: cocaine
14
+ name: terrapin
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="