google_text 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- google_text (0.0.2)
4
+ google_text (0.0.3)
5
5
  curb (~> 0.7.6)
6
6
  json
7
7
  nokogiri
@@ -14,6 +14,7 @@ GEM
14
14
  fakeweb (1.3.0)
15
15
  json (1.6.1)
16
16
  nokogiri (1.5.0)
17
+ rake (0.9.2)
17
18
  rspec (2.6.0)
18
19
  rspec-core (~> 2.6.0)
19
20
  rspec-expectations (~> 2.6.0)
@@ -29,4 +30,5 @@ PLATFORMS
29
30
  DEPENDENCIES
30
31
  fakeweb
31
32
  google_text!
33
+ rake
32
34
  rspec
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.0.4 (2011-09-23)
2
+
3
+ * Ease up on Bundler requirement
4
+
1
5
  ## 0.0.3 (2011-09-23)
2
6
 
3
7
  * Adjusted parsers to Google Voice changes
data/README.md CHANGED
@@ -34,14 +34,10 @@ Installation
34
34
 
35
35
  1. Get a Google Voice account, if don't already have one.
36
36
 
37
- 2. Install the gem:
37
+ 2. Install the gem an all dependencies:
38
38
 
39
39
  `gem install google_text`
40
40
 
41
- 3. Install all dependencies using bundler:
42
-
43
- `bundle install`
44
-
45
41
  3. Configure GoogleText someplace sensible, using the email address and password you use to log on to your Google Voice account. If you are using GoogleText in a Rails application, `config/initializers/google_text.rb` is a good place to put the configuration block:
46
42
 
47
43
 
@@ -89,6 +85,16 @@ Receiving unread messages:
89
85
  >> messages = GoogleText::Message.unread
90
86
  => []
91
87
 
88
+
89
+ Testing
90
+ -------
91
+
92
+ Requires Rspec and FakeWeb.
93
+
94
+ `bundle install`
95
+ `rake test`
96
+
97
+
92
98
  Acknowledgements
93
99
  ---------------
94
100
 
data/google_text.gemspec CHANGED
@@ -25,6 +25,7 @@ Gem::Specification.new do |s|
25
25
 
26
26
  s.add_development_dependency('rspec')
27
27
  s.add_development_dependency('fakeweb')
28
+ s.add_development_dependency('rake')
28
29
 
29
30
  end
30
31
 
data/lib/google_text.rb CHANGED
@@ -1,6 +1,4 @@
1
1
  require "rubygems"
2
- require "bundler/setup"
3
-
4
2
  require 'curb'
5
3
  require 'nokogiri'
6
4
  require 'json'
@@ -1,3 +1,3 @@
1
1
  module GoogleText # :nodoc:
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_text
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-09-23 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json
16
- requirement: &70186820751120 !ruby/object:Gem::Requirement
16
+ requirement: &70170387440820 !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: *70186820751120
24
+ version_requirements: *70170387440820
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: nokogiri
27
- requirement: &70186820747380 !ruby/object:Gem::Requirement
27
+ requirement: &70170387437300 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70186820747380
35
+ version_requirements: *70170387437300
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: curb
38
- requirement: &70186820746460 !ruby/object:Gem::Requirement
38
+ requirement: &70170387436340 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 0.7.6
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70186820746460
46
+ version_requirements: *70170387436340
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70186820745880 !ruby/object:Gem::Requirement
49
+ requirement: &70170387435780 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70186820745880
57
+ version_requirements: *70170387435780
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: fakeweb
60
- requirement: &70186820745300 !ruby/object:Gem::Requirement
60
+ requirement: &70170387435240 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,18 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70186820745300
68
+ version_requirements: *70170387435240
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: &70170387434660 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *70170387434660
69
80
  description: GoogleText is a SMS client library for sending and receiving free SMS
70
81
  through Google Voice. Alas, Google Voice does not yet have an API, so GoogleText
71
82
  uses Curl and Nokogiri to scrape and post using Google Voice web URLs.