subfinder 0.0.2.3 → 0.0.2.4

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
  SHA256:
3
- metadata.gz: 610f117bf18b92c7763e1935ef4a93e6db08d7ca50610d6ecb56d37f30c8c110
4
- data.tar.gz: 5bd457df8a05463939e1fc7a4e04c4bea8382921faa7e49055aab698cb5a74e2
3
+ metadata.gz: 491dbbfa5744087587e018ebce5fe4bfa022d16f393b0f8011c32dc4e1aae0ac
4
+ data.tar.gz: 664aa2629ff27e846c2f38fd2045f89dc2a9f1ca9b965cbbaf9a9e52c1bd5f35
5
5
  SHA512:
6
- metadata.gz: 46b169de707fb2098a55c723d2d19a19ac7279e55a2e6665ca5766182fb08f244e697a04b5575da3f41fbf087b6c9df46bd7452c061319da5251f88ff2ea5f7a
7
- data.tar.gz: ec816d2c01e1cd8c377fa10df69868f428bb9931e15f0115ac3504b976768f6fb0752b5a0db9962e18afaa38c2e9fd2715c089d36f9ee855f6e359f933922602
6
+ metadata.gz: 64ae660718fda1bf21e8dedbcedc6166e3533150ad65d7059978d6ad2526323ed8a5debb33b58f390eed4aaedfafee25da09f3a11b663064800d531318fe9096
7
+ data.tar.gz: b902c1a019c08e80cc1fb2572c4e9646a523be3ba5826a5d66f128ba54f9d6e765c335879eee53537d3b2e59e79d096c29248d9924cf841582cf242c39bdc505
data/Gemfile.lock CHANGED
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- subfinder (0.0.2)
4
+ subfinder (0.0.2.3)
5
5
  bundler (~> 2.0.1)
6
6
  colorize (~> 0.8)
7
7
  nokogiri (~> 1.10.1)
8
8
  rake (~> 10.0)
9
- rest-client (~> 1.8.0)
9
+ rest-client (~> 2.0.1)
10
10
  rubyzip (~> 1.2.2)
11
11
 
12
12
  GEM
@@ -22,19 +22,21 @@ GEM
22
22
  hashdiff (0.4.0)
23
23
  http-cookie (1.0.3)
24
24
  domain_name (~> 0.5)
25
- mime-types (2.99.3)
25
+ mime-types (3.2.2)
26
+ mime-types-data (~> 3.2015)
27
+ mime-types-data (3.2019.0331)
26
28
  mini_portile2 (2.4.0)
27
29
  minitest (5.11.3)
28
30
  netrc (0.11.0)
29
31
  nokogiri (1.10.3)
30
32
  mini_portile2 (~> 2.4.0)
31
33
  power_assert (1.1.4)
32
- public_suffix (3.1.0)
34
+ public_suffix (3.1.1)
33
35
  rake (10.5.0)
34
- rest-client (1.8.0)
36
+ rest-client (2.0.2)
35
37
  http-cookie (>= 1.0.2, < 2.0)
36
- mime-types (>= 1.16, < 3.0)
37
- netrc (~> 0.7)
38
+ mime-types (>= 1.16, < 4.0)
39
+ netrc (~> 0.8)
38
40
  rubyzip (1.2.3)
39
41
  safe_yaml (1.0.5)
40
42
  test-unit (3.1.9)
@@ -63,4 +65,4 @@ RUBY VERSION
63
65
  ruby 2.5.1p57
64
66
 
65
67
  BUNDLED WITH
66
- 2.0.1
68
+ 2.0.2
@@ -3,18 +3,9 @@ module Subfinder
3
3
  class << self
4
4
  def run(args)
5
5
  Subfinder::Logger.setting
6
- Logger.info welcome_message
7
6
  Subfinder::Parser::Args.new args
8
7
  Subfinder::Subtitle.new.match
9
8
  end
10
-
11
- def welcome_message
12
- '''
13
-
14
- welcome to subfinder Gem!
15
-
16
- '''.green
17
- end
18
9
  end
19
10
  end
20
11
  end
@@ -1,4 +1,5 @@
1
1
  require 'rest-client'
2
+
2
3
  module Subfinder
3
4
  module Parser
4
5
  class Download
@@ -8,6 +9,7 @@ module Subfinder
8
9
 
9
10
  def save
10
11
  res = RestClient.get @url
12
+ return false unless @url =~ URI::regexp
11
13
  return false unless response_is_healthy? res
12
14
 
13
15
  file_name = res.headers[:content_disposition].split('=')[1]
@@ -1,3 +1,3 @@
1
1
  module Subfinder
2
- VERSION = '0.0.2.3'.freeze
2
+ VERSION = '0.0.2.4'.freeze
3
3
  end
data/subfinder.gemspec CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.add_runtime_dependency 'colorize', '~> 0.8'
27
27
  spec.add_runtime_dependency 'nokogiri', '~> 1.10.1'
28
28
  spec.add_runtime_dependency 'rubyzip', '~> 1.2.2'
29
- spec.add_runtime_dependency 'rest-client', '~> 1.8.0'
29
+ spec.add_runtime_dependency 'rest-client', '~> 2.0.1'
30
30
  spec.add_runtime_dependency 'bundler', '~> 2.0.1'
31
31
  spec.add_development_dependency 'test-unit', '~> 3.1.8'
32
32
  spec.add_development_dependency 'colorize', '~> 0.8'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: subfinder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.3
4
+ version: 0.0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - sizief
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-04 00:00:00.000000000 Z
11
+ date: 2019-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.8.0
75
+ version: 2.0.1
76
76
  type: :runtime
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.8.0
82
+ version: 2.0.1
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -222,7 +222,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
222
  - !ruby/object:Gem::Version
223
223
  version: '0'
224
224
  requirements: []
225
- rubygems_version: 3.0.3
225
+ rubyforge_project:
226
+ rubygems_version: 2.7.6
226
227
  signing_key:
227
228
  specification_version: 4
228
229
  summary: Find or rename subtitle for your videos