jordandobson-glue 0.0.1 → 0.0.2
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.txt +5 -2
- data/lib/glue.rb +1 -1
- data/test/test_glue.rb +1 -1
- metadata +2 -2
data/README.txt
CHANGED
@@ -27,6 +27,8 @@ You can also request public posts from an account using the same RSS that powers
|
|
27
27
|
|
28
28
|
== SYNOPSIS:
|
29
29
|
|
30
|
+
---- Adding Posts ----
|
31
|
+
|
30
32
|
1. Instantiate your account
|
31
33
|
|
32
34
|
* Provide the subdomain, username and password for http://Your-Account.GlueNow.com
|
@@ -65,7 +67,7 @@ You can also request public posts from an account using the same RSS that powers
|
|
65
67
|
|
66
68
|
response #=> {}
|
67
69
|
|
68
|
-
----
|
70
|
+
---- Reading Posts ----
|
69
71
|
|
70
72
|
1. Instantiate your Reader with your account info
|
71
73
|
|
@@ -96,10 +98,11 @@ You can also request public posts from an account using the same RSS that powers
|
|
96
98
|
== REQUIREMENTS:
|
97
99
|
|
98
100
|
* Mechanize & HTTParty
|
101
|
+
* Mocha (for tests)
|
99
102
|
|
100
103
|
== INSTALL:
|
101
104
|
|
102
|
-
* sudo gem install glue -include-dependencies
|
105
|
+
* sudo gem install jordandobson-glue -include-dependencies
|
103
106
|
|
104
107
|
== LICENSE:
|
105
108
|
|
data/lib/glue.rb
CHANGED
data/test/test_glue.rb
CHANGED
@@ -158,7 +158,7 @@ class TestGlue < Test::Unit::TestCase
|
|
158
158
|
assert_equal @lurl, actual["rsp"]["post"]["longurl"]
|
159
159
|
end
|
160
160
|
|
161
|
-
# Need to test
|
161
|
+
# Need to test posting with the options
|
162
162
|
|
163
163
|
def test_reading_single_post
|
164
164
|
Glue::RSS.stubs(:get).returns(@rss)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jordandobson-glue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordan Dobson
|
@@ -88,6 +88,6 @@ rubyforge_project: glue
|
|
88
88
|
rubygems_version: 1.3.5
|
89
89
|
signing_key:
|
90
90
|
specification_version: 3
|
91
|
-
summary: The Glue gem enables posting to GlueNow.com API service
|
91
|
+
summary: The Glue gem enables posting to GlueNow.com API service and reading posts
|
92
92
|
test_files:
|
93
93
|
- test/test_glue.rb
|