sunflower 0.4.1 → 0.4.2
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/README +1 -1
- data/bin/sunflower-setup +2 -1
- data/lib/sunflower/core.rb +1 -1
- metadata +5 -5
data/README
CHANGED
data/bin/sunflower-setup
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
#!usr/bin/env ruby
|
|
1
2
|
require 'sunflower'
|
|
2
3
|
|
|
3
4
|
|
|
@@ -37,7 +38,7 @@ end
|
|
|
37
38
|
|
|
38
39
|
if worked
|
|
39
40
|
puts "It seems to work!"
|
|
40
|
-
puts "WARNING! USER DOES NOT HAVE BOT RIGHTS!" if !s.
|
|
41
|
+
puts "WARNING! USER DOES NOT HAVE BOT RIGHTS!" if !s.is_bot?
|
|
41
42
|
else
|
|
42
43
|
puts "Whoops, it didn't work. The error message is:"
|
|
43
44
|
puts error
|
data/lib/sunflower/core.rb
CHANGED
|
@@ -19,7 +19,7 @@ class SunflowerError < StandardError; end
|
|
|
19
19
|
#
|
|
20
20
|
# You can use multiple Sunflowers at once, to work on multiple wikis.
|
|
21
21
|
class Sunflower
|
|
22
|
-
VERSION = '0.4.
|
|
22
|
+
VERSION = '0.4.2'
|
|
23
23
|
|
|
24
24
|
INVALID_CHARS = %w(# < > [ ] | { })
|
|
25
25
|
INVALID_CHARS_REGEX = Regexp.union *INVALID_CHARS
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sunflower
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ date: 2012-03-03 00:00:00.000000000 Z
|
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: json
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &8801052 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,10 +21,10 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *8801052
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: rest-client
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &8800728 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,7 +32,7 @@ dependencies:
|
|
|
32
32
|
version: '0'
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *8800728
|
|
36
36
|
description: Sunflower is a lightweight library to provide access to MediaWiki API
|
|
37
37
|
from Ruby.
|
|
38
38
|
email: matma.rex@gmail.com
|