eddieroger-rwikibot 2.0.4 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +3 -0
  2. data/lib/rwikibot.rb +1 -1
  3. data/lib/utilities.rb +1 -1
  4. metadata +1 -1
data/CHANGELOG CHANGED
@@ -1,5 +1,8 @@
1
1
  RWikiBot ChangeLog
2
2
 
3
+ 2.0.5
4
+ - Apparently meets_version_requirement was wrong. Not no more.
5
+
3
6
  2.0.4
4
7
  - I get it - I just suck at keeping versions consistent. And Github requires incremental gemspecs.
5
8
 
data/lib/rwikibot.rb CHANGED
@@ -140,7 +140,7 @@ class RWikiBot
140
140
  # This is the only meta method. It will return site information. I chose not
141
141
  # to allow it to specify, and it will only return all known properties.
142
142
  def site_info(siprop='general')
143
- raise VersionTooLowError unless meets_version_requirement(1,9)
143
+ #raise VersionTooLowError unless meets_version_requirement(1,9)
144
144
  post_me = {"meta" => "siteinfo" , "siprop" => siprop}
145
145
  siteinfo_result = make_request('query', post_me)
146
146
  siprop == 'general' ?
data/lib/utilities.rb CHANGED
@@ -3,7 +3,7 @@ module RWBUtilities
3
3
 
4
4
  def meets_version_requirement(maj, min)
5
5
  major, minor = @config['api_version'].to_s.split('.')
6
- puts "#{major} > #{maj}"
6
+ # puts "#{major} > #{maj}"
7
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eddieroger-rwikibot
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eddie Roger