octobat 2.0.6 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 377beb77db8fb622272c5f1873a9d0bad7a515ee
4
- data.tar.gz: db0c840db07230b2d5b0252f0832e26bc30beb3f
3
+ metadata.gz: 9fc88722ef714acf4b5d56c0d5a4298ba0f58d49
4
+ data.tar.gz: 0ad3af140cafeb268ac8636c0a8d376dab8daae9
5
5
  SHA512:
6
- metadata.gz: 7e31fa79e166b47689212a4a482e3903692105bf99fcc6326211212c84c7613a9d0a5cdb911894c76763261b41f9e9509b9a18fdf1b6b94df927f12f20aa41b8
7
- data.tar.gz: 68adb505594897424bb3ef05929fd78062734965dcbc4a6bf15f995986241de8c4ec454360392651064c78dbf8d807590646ba18f316028e54d7c9087fa25ed0
6
+ metadata.gz: 97f49f478199723cf8931ffa4094696243a09348f0c7040a09d961ada752d7192fbe461e5ada6db902a050d1d6de6fa3420660c8b18f3d30019b508b79d2c43d
7
+ data.tar.gz: 4c1f3015beca9e27b01ba44d2f3d5076a0d30ceb90bf003edffba66fc6b814f05e380f31ffee7466feb5acc1557d77b31c8f0f227a29245fcec0d70fbb14ec0e
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- octobat (2.0.6)
4
+ octobat (2.0.7)
5
5
  rest-client (>= 1.4, < 4.0)
6
6
 
7
7
  GEM
@@ -1,3 +1,7 @@
1
+ === 2.0.7 2017-05-30
2
+ * 1 minor enhancement:
3
+ * Fixbug on credit notes items
4
+
1
5
  === 2.0.6 2017-05-29
2
6
  * 1 minor enhancement:
3
7
  * Fixbug on List to single resource, add headers & params
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.6
1
+ 2.0.7
@@ -15,11 +15,11 @@ module Octobat
15
15
  end
16
16
 
17
17
  def items(params = {})
18
- Item.list(params.merge({ :invoice => id }), @api_key)
18
+ Item.list(params.merge({credit_note: id }), @api_key)
19
19
  end
20
20
 
21
21
  def transactions(params = {})
22
- Transaction.list(params.merge(invoice: id), @api_key)
22
+ Transaction.list(params.merge(credit_note: id), @api_key)
23
23
  end
24
24
 
25
25
  private
@@ -1,3 +1,3 @@
1
1
  module Octobat
2
- VERSION = '2.0.6'
2
+ VERSION = '2.0.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octobat
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gaultier Laperche
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-29 00:00:00.000000000 Z
11
+ date: 2017-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client