ikm-chromedriver-helper 0.0.8 → 0.0.9

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: 898e98c2fc33ce58694cab8b5fd70782e1ad77fd
4
- data.tar.gz: 57c771b021c0b8de769bb78c795a72dcddc8789e
3
+ metadata.gz: cc14f45cc1a1f69bea739591cae67a62c295a323
4
+ data.tar.gz: 856203ec8098304236326c568ae54369440df4a6
5
5
  SHA512:
6
- metadata.gz: 6d687cd841373f7a09413f9c2efcf5f2f6249ec4690aded1505826be1673d585493def395684930358b8ff80c3dd0023cebbf49330ee6b8eaaf6ac1d7e87ef74
7
- data.tar.gz: cc7a3b3dacca94404394ac4d0832729719871b784a961ce632cb3258a61921f998e5c12af96d15ca7d95c926a46605140d40d8bd0d150a396c5552ac04f4b846
6
+ metadata.gz: 6f2edf795806dfe12f2d184a5d1dd2c305f1e7f89c1d1985bd44154a4a38de171990a6f4f1810c67cfb9ff0a5b7aa4bc00f0504bf4aa472359faa598dd80720f
7
+ data.tar.gz: d5574bb633275788ab628a563e48dc4d84128eaeb935b5644c8f66d5935a2fbf13f65c97b08050d610ff7de733c372262752ab8b4e9f6aae345cfae3f3ed31c6
@@ -19,4 +19,5 @@ Gem::Specification.new do |s|
19
19
  s.add_development_dependency "rspec", "~> 3.0"
20
20
  s.add_development_dependency "rake"
21
21
  s.add_runtime_dependency "nokogiri"
22
+ s.add_runtime_dependency "version_sorter"
22
23
  end
@@ -1,5 +1,6 @@
1
1
  require 'nokogiri'
2
2
  require 'open-uri'
3
+ require 'version_sorter'
3
4
 
4
5
  module Chromedriver
5
6
  class Helper
@@ -21,7 +22,7 @@ module Chromedriver
21
22
  end
22
23
 
23
24
  def newest_download
24
- downloads.last
25
+ VersionSorter.sort(downloads).last
25
26
  end
26
27
  end
27
28
  end
@@ -1,5 +1,5 @@
1
1
  module Chromedriver
2
2
  class Helper
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ikm-chromedriver-helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Dalessio
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: version_sorter
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  description: Easy installation and use of chromedriver, the Chromium project's selenium
56
70
  webdriver adapter. Forked from chromedriver-helper.
57
71
  email: