octobat 2.0.19 → 2.0.20

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
- SHA1:
3
- metadata.gz: 34920a5c3e02774dc3c34f466dd9976748a83d01
4
- data.tar.gz: 874a799adf02044785ee24bdb1ba40293d60cb10
2
+ SHA256:
3
+ metadata.gz: 46289335eaf2e2d1e07a0f70bd8c7bb94c9247d3e783cc5831d71986bb60bc1c
4
+ data.tar.gz: f0f90eed29eefe39d4a5a8466ea96506621feb46b180b388f1840143b3f38251
5
5
  SHA512:
6
- metadata.gz: 00e77e52e4ec757ad3a643361cf1b926a0f1003cf59d8649e6ffa36c7c45ef68b7e2486bf915e390684a14baa19357df51218bb12de0be1e5b37210d13edce95
7
- data.tar.gz: 949f9a01bc21c9eb3f38d6a693cf35c785bcbde52ca64fb8723a307e95e0404be59e30fae72c76c5f32c7a3817f807b9f459c4074089b94f9368e4c89fc72541
6
+ metadata.gz: 9256636dcec153772c0f1c61035aa12e1f73f3a3c8f9649d2761144aa778a4b27fc99b8f9faf21ef008ba3f88bdc07da656a8edac93ddd1066bce1a049f2ec23
7
+ data.tar.gz: b50267b05a5a0245bab7c3b57514bf9a5f1da4f491fed0148cf1b497f00d89b7e35f011645fad6b2ead7a6e537d417afa201de881273df0d1f4527639bb4591a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- octobat (2.0.19)
4
+ octobat (2.0.20)
5
5
  rest-client (>= 1.4, < 4.0)
6
6
 
7
7
  GEM
@@ -9,19 +9,21 @@ GEM
9
9
  specs:
10
10
  domain_name (0.5.20190701)
11
11
  unf (>= 0.0.5, < 1.0.0)
12
+ http-accept (1.7.0)
12
13
  http-cookie (1.0.3)
13
14
  domain_name (~> 0.5)
14
- mime-types (3.2.2)
15
+ mime-types (3.3.1)
15
16
  mime-types-data (~> 3.2015)
16
- mime-types-data (3.2019.0331)
17
+ mime-types-data (3.2020.0512)
17
18
  netrc (0.11.0)
18
- rest-client (2.0.2)
19
+ rest-client (2.1.0)
20
+ http-accept (>= 1.7.0, < 2.0)
19
21
  http-cookie (>= 1.0.2, < 2.0)
20
22
  mime-types (>= 1.16, < 4.0)
21
23
  netrc (~> 0.8)
22
24
  unf (0.1.4)
23
25
  unf_ext
24
- unf_ext (0.0.7.6)
26
+ unf_ext (0.0.7.7)
25
27
 
26
28
  PLATFORMS
27
29
  ruby
@@ -30,4 +32,4 @@ DEPENDENCIES
30
32
  octobat!
31
33
 
32
34
  BUNDLED WITH
33
- 1.14.6
35
+ 1.17.3
@@ -1,3 +1,8 @@
1
+ === 2.0.20 2020-10-05
2
+ * 1 major enhancements:
3
+ * Add support for Beanie::Session object
4
+
5
+
1
6
  === 2.0.19 2020-05-28
2
7
  * 2 major enhancements:
3
8
  * Add { opts } param for all nested methods, so you can include headers such as the Connected Octobat Account ID in subrequests
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.19
1
+ 2.0.20
@@ -54,6 +54,7 @@ require 'octobat/tax_id'
54
54
 
55
55
  require 'octobat/file_upload'
56
56
  require 'octobat/file_link'
57
+ require 'octobat/beanie/session'
57
58
  require 'octobat/reporting/report_type'
58
59
  require 'octobat/reporting/report_run'
59
60
 
@@ -0,0 +1,13 @@
1
+ module Octobat
2
+ module Beanie
3
+ class Session < APIResource
4
+ include Octobat::APIOperations::Create
5
+ extend Octobat::APIOperations::List
6
+
7
+ def self.url
8
+ '/beanie/sessions'
9
+ end
10
+
11
+ end
12
+ end
13
+ end
@@ -68,6 +68,7 @@ module Octobat
68
68
  'emails_setting' => EmailsSetting,
69
69
  'file' => FileUpload,
70
70
  'file_link' => FileLink,
71
+ 'beanie.session' => Beanie::Session,
71
72
  'reporting.report_type' => Reporting::ReportType,
72
73
  'reporting.report_run' => Reporting::ReportRun
73
74
  }
@@ -1,3 +1,3 @@
1
1
  module Octobat
2
- VERSION = '2.0.19'
2
+ VERSION = '2.0.20'
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.19
4
+ version: 2.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gaultier Laperche
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-28 00:00:00.000000000 Z
11
+ date: 2020-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -61,6 +61,7 @@ files:
61
61
  - lib/octobat/api_operations/update.rb
62
62
  - lib/octobat/api_resource.rb
63
63
  - lib/octobat/balance_transaction.rb
64
+ - lib/octobat/beanie/session.rb
64
65
  - lib/octobat/certificate_blacklist.rb
65
66
  - lib/octobat/checkout.rb
66
67
  - lib/octobat/coupon.rb
@@ -125,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
126
  version: '0'
126
127
  requirements: []
127
128
  rubyforge_project:
128
- rubygems_version: 2.4.5
129
+ rubygems_version: 2.7.6.2
129
130
  signing_key:
130
131
  specification_version: 4
131
132
  summary: Ruby bindings for the Octobat API