octoparts 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d357c756c7189991f8e42f464d5bd0044c98ff11
4
- data.tar.gz: 5480b9895ae46584b71cadf3c9ef01f621f6644d
3
+ metadata.gz: 5c89229186c51d5af46ce589a692f8f6b5c0dd90
4
+ data.tar.gz: f4d20f88953cb2745ba466c14fc1d7868a6e84cc
5
5
  SHA512:
6
- metadata.gz: 555e75e2ead8be1973592df46200d6d96d59b8d6264250c68f6f1c9186f3c9357821b828c50c8114826239be32de927a5e57abd6b99e2ef713527b76890c43d7
7
- data.tar.gz: 4120fd06b6a82ce4c231b677fb76e9395b84ca5dabbe82937906b07e90f5bea1fb8c74e19827255d654cf77183386a9910096bffa83d5287f54621c77c4cf299
6
+ metadata.gz: 6a00384c08c9c36452d2e20b72faf9994f02de625ce6f067298da61a74740dcb3522395f23de86c2ab48c51a5d910f659c255fa768ea28096cbd511be9dd5d37
7
+ data.tar.gz: 654023d75c66bb1c392cf5748b0061f88563497c089e3432c916162cf479f3af444277e377a818b68ff5daf2943459c57995f278b3c9c04c84e98aaa14053641
@@ -90,7 +90,7 @@ module Octoparts
90
90
  when Octoparts::Model::AggregateRequest
91
91
  model.extend(Representer::AggregateRequestRepresenter)
92
92
  else
93
- raise Octopart::ArgumentError
93
+ raise Octoparts::ArgumentError
94
94
  end
95
95
  aggregate_request.to_json(camelize: true)
96
96
  end
@@ -1,3 +1,3 @@
1
1
  module Octoparts
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -107,6 +107,12 @@ class TestClient < Test::Unit::TestCase
107
107
  end
108
108
  end
109
109
  end
110
+
111
+ test "invalid argument" do
112
+ assert_raise Octoparts::ArgumentError do
113
+ @client.invoke(nil)
114
+ end
115
+ end
110
116
  end
111
117
 
112
118
  sub_test_case "timeout" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octoparts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takayuki Matsubara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-09 00:00:00.000000000 Z
11
+ date: 2015-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: representable