desmos 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/desmos.gemspec +2 -2
- data/lib/desmos/request_support.rb +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/desmos.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{desmos}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = [%q{Ryan Moran}]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-11-11}
|
13
13
|
s.description = %q{Desmos API Wrapper}
|
14
14
|
s.email = %q{ryan.moran@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -13,7 +13,7 @@ module Desmos
|
|
13
13
|
uri = build_uri(object, method, options)
|
14
14
|
consumer = OAuth::Consumer.new(Configuration.key, Configuration.secret, :site => Configuration.domain)
|
15
15
|
http = build_http(uri)
|
16
|
-
request = consumer.create_signed_request(:get, "#{
|
16
|
+
request = consumer.create_signed_request(:get, "#{uri.path}?#{uri.query}", nil, options.merge(:scheme => 'query_string'))
|
17
17
|
debug "request:\n#{request.path}"
|
18
18
|
http.request(request)
|
19
19
|
end
|
@@ -41,4 +41,4 @@ module Desmos
|
|
41
41
|
end
|
42
42
|
|
43
43
|
end
|
44
|
-
end
|
44
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: desmos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Moran
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-11-11 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
requirement: &id001 !ruby/object:Gem::Requirement
|