sunflower 0.5.2 → 0.5.3

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 CHANGED
@@ -1,4 +1,4 @@
1
- Version: 0.5.2 alpha
1
+ Version: 0.5.3 alpha
2
2
 
3
3
  >>> English:
4
4
 
@@ -17,7 +17,7 @@ require 'cgi'
17
17
  #
18
18
  # You can use multiple Sunflowers at once, to work on multiple wikis.
19
19
  class Sunflower
20
- VERSION = '0.5.2'
20
+ VERSION = '0.5.3'
21
21
 
22
22
  INVALID_CHARS = %w(# < > [ ] | { })
23
23
  INVALID_CHARS_REGEX = Regexp.union *INVALID_CHARS
@@ -204,7 +204,7 @@ private
204
204
  # * redirs: whether to include redirects in search results (default: true)
205
205
  def list_grep regex, opts={} # :doc:
206
206
  opts = {ns: 0, redirs: true}.merge opts
207
- lang, wiki = @sunflower.wikiURL.split '.', 2
207
+ lang, wiki, tld = @sunflower.wikiURL.split '.'
208
208
 
209
209
  list = []
210
210
 
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.5.2
4
+ version: 0.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-12 00:00:00.000000000 Z
12
+ date: 2012-09-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json