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.
- data/CHANGELOG +4 -1
- data/lib/rwikibot.rb +4 -3
- metadata +2 -2
data/CHANGELOG
CHANGED
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
|
-
|
|
623
|
-
resp = @http.
|
|
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.
|
|
7
|
-
date: 2007-
|
|
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
|