rspec-mocks version constraint released
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -1,6 +1,5 @@
|
|||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
# Seg fault in Typhoeus 0.6.3 (and ethon > 0.5.11) with rspec
|
|
||||||
gem "typhoeus", ">=0.6.3"
|
gem "typhoeus", ">=0.6.3"
|
||||||
gem "nokogiri"
|
gem "nokogiri"
|
||||||
gem "json"
|
gem "json"
|
||||||
@@ -11,5 +10,4 @@ group :test do
|
|||||||
gem "webmock", ">=1.9.3"
|
gem "webmock", ">=1.9.3"
|
||||||
gem "simplecov"
|
gem "simplecov"
|
||||||
gem "rspec", :require => "spec"
|
gem "rspec", :require => "spec"
|
||||||
gem "rspec-mocks", "<=2.14.2" # 2.14.3 just messed around :/
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ class WpVersion < WpItem
|
|||||||
#
|
#
|
||||||
# @return [ WpVersion ]
|
# @return [ WpVersion ]
|
||||||
def find(target_uri, wp_content_dir, wp_plugins_dir, versions_xml)
|
def find(target_uri, wp_content_dir, wp_plugins_dir, versions_xml)
|
||||||
methods.grep(/find_from_/).each do |method|
|
methods.grep(/^find_from_/).each do |method|
|
||||||
|
|
||||||
if method === :find_from_advanced_fingerprinting
|
if method === :find_from_advanced_fingerprinting
|
||||||
version = send(method, target_uri, wp_content_dir, wp_plugins_dir, versions_xml)
|
version = send(method, target_uri, wp_content_dir, wp_plugins_dir, versions_xml)
|
||||||
|
|||||||
Reference in New Issue
Block a user