orthorings 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/orthorings.rb +4 -4
- data/orthorings.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/lib/orthorings.rb
CHANGED
@@ -13,19 +13,19 @@ class Orthorings
|
|
13
13
|
attr_accessor :cache, :cache_expiry
|
14
14
|
|
15
15
|
def content(id)
|
16
|
-
get_content(id, "http://content.orthor.com/#{@account_id}/content_items/#{id}.html")
|
16
|
+
get_content("content:#{id}", "http://content.orthor.com/#{@account_id}/content_items/#{id}.html")
|
17
17
|
end
|
18
18
|
|
19
19
|
def query(id)
|
20
|
-
get_content(id, "http://content.orthor.com/#{@account_id}/queries/#{id}.html")
|
20
|
+
get_content("query#{id}", "http://content.orthor.com/#{@account_id}/queries/#{id}.html")
|
21
21
|
end
|
22
22
|
|
23
23
|
def category(id)
|
24
|
-
get_content(id, "http://content.orthor.com/#{@account_id}/categories/#{id}.html")
|
24
|
+
get_content("category#{id}", "http://content.orthor.com/#{@account_id}/categories/#{id}.html")
|
25
25
|
end
|
26
26
|
|
27
27
|
def feed(id)
|
28
|
-
get_content(id, "http://content.orthor.com/#{@account_id}/feeds/#{id}.rss")
|
28
|
+
get_content("feed#{id}", "http://content.orthor.com/#{@account_id}/feeds/#{id}.rss")
|
29
29
|
end
|
30
30
|
|
31
31
|
def caching(file, expiry = 300, options = {})
|
data/orthorings.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{orthorings}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Anthony Langhorne"]
|
12
|
-
s.date = %q{2010-04-
|
12
|
+
s.date = %q{2010-04-25}
|
13
13
|
s.email = %q{anthony@orthor.com}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orthorings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Langhorne
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-04-
|
12
|
+
date: 2010-04-25 00:00:00 +10:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|