rwikibot 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/CHANGELOG +4 -1
  2. data/lib/rwikibot.rb +4 -3
  3. metadata +2 -2
data/CHANGELOG CHANGED
@@ -1,4 +1,7 @@
1
- RWikiBot ChangeLog
1
+ RWikiBot ChangeLog
2
+
3
+ 1.0.10
4
+ - Changed a get back to post since the bug wasn't with me.
2
5
 
3
6
  1.0.9
4
7
  - Disabled Logging because of permission errors on writing log files as a MediaWiki extension
data/lib/rwikibot.rb CHANGED
@@ -618,9 +618,10 @@ class RWikiBot
618
618
 
619
619
  #Send the actual request
620
620
  ##@wikibotlogger.debug "MAKE REQUEST - Sending request..."
621
- #'User-agent' => 'RWikiBot/0.1'
622
- # resp = @http.post( @config.fetch('uri').path , post_string , {'User-agent'=>'RWikiBot/1.0', 'Cookie' => bake(@config.fetch('cookie')) } ) #
623
- resp = @http.get( "/wiki/api.php?#{post_string}" , {'User-agent'=>'RWikiBot/1.0', 'Cookie' => bake(@config.fetch('cookie')) } ) #
621
+ #'User-agent' => 'RWikiBot/0.1'
622
+ # This is working agian. There was a bug in Ruby 1.8.4
623
+ resp = @http.post( @config.fetch('uri').path , post_string , {'User-agent'=>'RWikiBot/1.0', 'Cookie' => bake(@config.fetch('cookie')) } ) #
624
+ #resp = @http.get( "/wiki/api.php?#{post_string}" , {'User-agent'=>'RWikiBot/1.0', 'Cookie' => bake(@config.fetch('cookie')) } ) #
624
625
  ##@wikibotlogger.debug "MAKE REQUEST - Response: "
625
626
  ##@wikibotlogger.debug resp.body
626
627
  ##@wikibotlogger.debug "MAKE REQUEST - End Response "
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: rwikibot
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.9
7
- date: 2007-03-21 00:00:00 -05:00
6
+ version: 1.0.10
7
+ date: 2007-05-29 00:00:00 -05:00
8
8
  summary: A library for creating MediaWiki bots.
9
9
  require_paths:
10
10
  - lib