tropo_rest 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/README.md +7 -1
- data/lib/tropo_rest/request.rb +1 -1
- data/lib/tropo_rest/version.rb +1 -1
- data/spec/tropo_rest/client_spec.rb +6 -0
- metadata +4 -4
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -98,7 +98,13 @@ Thanks to [Tropo](https://www.tropo.com/) for creating such an awesome service.
|
|
98
98
|
Thanks to the creators of the [twitter](https://github.com/jnunemaker/twitter/) gem, whose lovely code I shamelessly ripped off :)
|
99
99
|
|
100
100
|
|
101
|
+
Authors
|
102
|
+
-------
|
103
|
+
|
104
|
+
* Christopher Durtschi
|
105
|
+
|
106
|
+
|
101
107
|
Copyright
|
102
108
|
---------
|
103
109
|
|
104
|
-
Copyright (c) 2011
|
110
|
+
Copyright (c) 2011 Divergent Logic, LLC. See LICENSE for details.
|
data/lib/tropo_rest/request.rb
CHANGED
data/lib/tropo_rest/version.rb
CHANGED
@@ -191,6 +191,12 @@ describe TropoRest::Client do
|
|
191
191
|
res.should == @underscore
|
192
192
|
end
|
193
193
|
|
194
|
+
it "should call #to_hash on the parameters" do
|
195
|
+
params = TestResource.new(@underscore)
|
196
|
+
params.should_receive(:to_hash)
|
197
|
+
@client.send(:extract_request_args!, 'somewhere', params)
|
198
|
+
end
|
199
|
+
|
194
200
|
end
|
195
201
|
|
196
202
|
end
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 3
|
9
|
+
version: 0.0.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Christopher Durtschi
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-
|
17
|
+
date: 2011-02-09 00:00:00 -07:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -318,7 +318,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
318
318
|
requirements:
|
319
319
|
- - ">="
|
320
320
|
- !ruby/object:Gem::Version
|
321
|
-
hash: -
|
321
|
+
hash: -2424205396918740897
|
322
322
|
segments:
|
323
323
|
- 0
|
324
324
|
version: "0"
|