sunflower 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -1,4 +1,4 @@
1
- Version: 0.4.1 alpha
1
+ Version: 0.4.2 alpha
2
2
 
3
3
  >>> English:
4
4
 
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.isBot?
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
@@ -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.1'
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.1
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: &8696472 !ruby/object:Gem::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: *8696472
24
+ version_requirements: *8801052
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rest-client
27
- requirement: &8695752 !ruby/object:Gem::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: *8695752
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