google_text 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.0.2 (2010-10-04)
2
+
3
+ * Ruby 1.9.2 compatibility
4
+
1
5
  ## 0.0.1 (2010-6-15)
2
6
 
3
7
  * A gem is born.
data/README.md CHANGED
@@ -10,13 +10,13 @@ For more information visit
10
10
  Overview
11
11
  --------
12
12
 
13
- GoogleText is a SMS client library for sending and receiving free SMS through Google Voice. Alas, Google Voice does not yet have an API. So GoogleText uses Curl and Nokogiri to scrape and post using your regular Google Voice service URLs.
13
+ GoogleText is a SMS client library for sending and receiving free SMS through Google Voice. Alas, Google Voice does not yet have an API, so GoogleText uses Curl and Nokogiri to scrape and post using Google Voice web URLs.
14
14
 
15
15
 
16
16
  Why?
17
17
  ----
18
18
 
19
- Sure, there are a bunch of SMS implementations out there. And while GoogleText is pretty slow and perhaps a bit fragile it is also _absolutely free_ and allows both sending and receiving to and from a real free phone number. Pretty great, if you ask me, and worth the tradeoff in performance.
19
+ Sure, there are a bunch of SMS implementations out there. And while GoogleText is pretty slow and perhaps a bit fragile sending SMS this way is also _absolutely free_ and allows both sending and receiving to and from a real free phone number. Pretty great, if you ask me, and worth the tradeoff in performance.
20
20
 
21
21
 
22
22
  Prerequisites
@@ -31,9 +31,9 @@ GoogleText currently relies on the following gems:
31
31
  Installation
32
32
  ------------
33
33
 
34
- 1. Get a Google Voice account, if don't already have one
34
+ 1. Get a Google Voice account, if don't already have one.
35
35
 
36
- 2. Install the gem, which should also install all the perquisites.
36
+ 2. Install the gem, which should also install all the prerequisites.
37
37
 
38
38
  `gem install google_text`
39
39
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -9,7 +9,8 @@ module GoogleText
9
9
  end
10
10
 
11
11
  def body
12
- @proxy.body_str
12
+ body = @proxy.body_str
13
+ body.respond_to?(:force_encoding) ? body.force_encoding('utf-8') : body
13
14
  end
14
15
 
15
16
  def get(url)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sebastian Friedrich
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-06-16 00:00:00 -05:00
17
+ date: 2010-10-04 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -67,7 +67,7 @@ dependencies:
67
67
  version: "0"
68
68
  type: :development
69
69
  version_requirements: *id004
70
- description: GoogleText is a SMS client library for sending and receiving free SMS through Google Voice. GoogleText uses Curl and Nokogiri to scrape and post using your regular Google Voice service URLs.
70
+ description: GoogleText is a SMS client library for sending and receiving free SMS through Google Voice. Alas, Google Voice does not yet have an API, so GoogleText uses Curl and Nokogiri to scrape and post using Google Voice web URLs.
71
71
  email: sebastian@feldpost.com
72
72
  executables: []
73
73