eddieroger-rwikibot 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/utilities.rb +1 -1
- metadata +1 -1
data/lib/utilities.rb
CHANGED
@@ -4,7 +4,7 @@ module RWBUtilities
|
|
4
4
|
def meets_version_requirement(maj, min)
|
5
5
|
major, minor = @config['api_version'].to_s.split('.')
|
6
6
|
# puts "#{major} > #{maj}"
|
7
|
-
if ( major.to_i > maj.to_i ) || ( (major.to_i == maj.to_i) && (minor.to_i
|
7
|
+
if ( major.to_i > maj.to_i ) || ( (major.to_i == maj.to_i) && (minor.to_i >= min.to_i) )
|
8
8
|
return true
|
9
9
|
else
|
10
10
|
return false
|