cashbox 0.0.35 → 0.0.36

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: 442b957550b2d74725ad8a893cfecf3ce1975118
4
- data.tar.gz: 03e90d8c004d213e5b07e987d14b85684c322e79
3
+ metadata.gz: d062a27e08c981cb998cce61a3dc02713a942d2f
4
+ data.tar.gz: 140c71eea4451f8e2a8a4ab36f5b071f0451291b
5
5
  SHA512:
6
- metadata.gz: b0240b1dc8d232fa289316538781efc10157343138fd8890433727d72c3a30207cc3df1f2616c40c6f8380b2c33ce02721aca01292f24990494cf983471ec4bc
7
- data.tar.gz: 39fe8dc4e1f12a35d444a92cbb44a632c00c765b7d812a9f508afc9f428f94937868d9801ed39f84c2663e60d430111a33ad1cbd6e4bde77f89547d81df28b6a
6
+ metadata.gz: 0ca49e3c61b12e40fbcb8285234e353ad1764cff66a455e08bc79d0996f8826e4deb8db90c09a5c1a2998bbf486f004463b6f9d999ee26124a6f52b2842e1e9f
7
+ data.tar.gz: a34fb319076ce2724863d3c0bc8fbee4451cc98693e3224f360fba7b40ff3f26f1545a7847b741ba9d36a88acc0ef43f9b06b4528232e531beaee81094dc7b6a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cashbox (0.0.35)
4
+ cashbox (0.0.36)
5
5
  activesupport
6
6
  addressable
7
7
  hashie
@@ -23,6 +23,7 @@ module Cashbox::Rest
23
23
 
24
24
  class_methods do
25
25
  def find(id)
26
+ raise ArgumentError.new("wrong number of arguments (given 0, expected 1)") if id.nil?
26
27
  request = Cashbox::Request.new(:get, route(id))
27
28
  self.cast(self.new, request.response)
28
29
  end
@@ -1,3 +1,3 @@
1
1
  module Cashbox
2
- VERSION = "0.0.35"
2
+ VERSION = "0.0.36"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cashbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.35
4
+ version: 0.0.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathon Storer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-01 00:00:00.000000000 Z
11
+ date: 2018-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler