Skip to content

Commit

Permalink
Merge pull request #10 from nbulaj/fix_cli
Browse files Browse the repository at this point in the history
Fix #9: replace connection_timeout to timeout (CLI)
  • Loading branch information
nbulaj authored Nov 13, 2017
2 parents 1b9654b + 8cd5d7d commit ada3d5a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ before_install: gem install bundler
bundler_args: --without yard guard benchmarks
script: "rake spec"
rvm:
- 2.0
- 2.1
- 2.2.4
- 2.3.3
- 2.4.1
- 2.4.2
- ruby-head
matrix:
allow_failures:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Reverse Chronological Order:

## `0.5.1` (2017-11-13)

* Fix ProxyFetcher CLI

## `0.5.0` (2017-09-06)

* Remove HideMyName provider (not works anymore)
Expand Down
2 changes: 1 addition & 1 deletion bin/proxy_fetcher
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ OptionParser.new do |opts|
end.parse!

ProxyFetcher.config.providers = options[:providers] if options[:providers]
ProxyFetcher.config.connection_timeout = options[:timeout] if options[:timeout]
ProxyFetcher.config.timeout = options[:timeout] if options[:timeout]

manager = ProxyFetcher::Manager.new(filters: options[:filters])
manager.validate! if options[:validate]
Expand Down
2 changes: 1 addition & 1 deletion lib/proxy_fetcher/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module VERSION
# Minor version number
MINOR = 5
# Smallest version number
TINY = 0
TINY = 1

# Full version number
STRING = [MAJOR, MINOR, TINY].compact.join('.')
Expand Down
4 changes: 2 additions & 2 deletions proxy_fetcher.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require 'proxy_fetcher/version'
Gem::Specification.new do |gem|
gem.name = 'proxy_fetcher'
gem.version = ProxyFetcher.gem_version
gem.date = '2017-09-06'
gem.date = '2017-11-13'
gem.summary = 'Ruby gem for dealing with proxy lists from different providers'
gem.description = 'This gem can help your Ruby application to make HTTP(S) requests ' \
'from proxy server by fetching and validating proxy lists from the different providers.'
Expand All @@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
gem.homepage = 'http://github.com/nbulaj/proxy_fetcher'
gem.license = 'MIT'
gem.required_ruby_version = '>= 2.2.2'
gem.required_ruby_version = '>= 2.0.0'

gem.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6'

Expand Down

0 comments on commit ada3d5a

Please sign in to comment.