postie 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.0.1 2008-01-03
2
+
3
+ * Bug fix: Will now handle strings with spaces in suburb searching.
4
+
1
5
  == 1.0.0 2008-01-01
2
6
 
3
7
  * Initial release
data/bin/postie CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'postie'
2
+ require 'cgi'
2
3
 
3
4
  case ARGV.first
4
5
  when nil
@@ -10,7 +11,7 @@ Usage:
10
11
  when "-v"
11
12
  puts "postie version #{Postie::VERSION::STRING}"
12
13
  else
13
- Postie::Locality.find(ARGV.first).each do |loc|
14
+ Postie::Locality.find(CGI.escape(ARGV.join(" "))).each do |loc|
14
15
  if loc.comments.length > 0
15
16
  puts "#{loc.postcode} - #{loc.suburb}, #{loc.state} (#{loc.comments})"
16
17
  else
@@ -2,7 +2,7 @@ module Postie #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/website/index.html CHANGED
@@ -11,7 +11,7 @@
11
11
  <h1>postie</h1>
12
12
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/postie"; return false'>
13
13
  <p>Get Version</p>
14
- <a href="http://rubyforge.org/projects/postie" class="numbers">1.0.0</a>
14
+ <a href="http://rubyforge.org/projects/postie" class="numbers">1.0.1</a>
15
15
  </div>
16
16
 
17
17
  <h2>What</h2>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postie
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ""
6
6
  authors:
7
7
  - Pat Allan
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-01-02 00:00:00 +11:00
12
+ date: 2008-01-03 00:00:00 +11:00
13
13
  default_executable:
14
14
  dependencies: []
15
15