ledger_sync-quickbooks_online 0.2.0 → 0.2.6

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
  SHA256:
3
- metadata.gz: 65b9c199280fa180fa6a4209e6850121895e05f28df8e2a45a1f389817adbf58
4
- data.tar.gz: 86c5741a8dcef9a93f3c37764cf2ceb723a01b60776fe85266e8ba0e37659ea8
3
+ metadata.gz: 7fdad639a8f26a78f7e1fe96e695ada98c525f8bedabcfb6f5e6f3a4375d2fe7
4
+ data.tar.gz: 5e31532950b52fd5d265a19d27f8a2d257d9b30e3a7426efce3499037e591108
5
5
  SHA512:
6
- metadata.gz: 261d68893ac4d508e21182d41c4f3b70f09659ef9ccf5f5a4675e46d2e5e17bccfdcbe873d98a0c28c8d1971aaf8044afd7c4c9fe5573212fea6629defe13ca6
7
- data.tar.gz: 522edc772dca46a22341355757e12d58845460ed4476820e6c196fbe6fca06e0ddb71a6d9215abbac5e99d8fba39026b62546c8d8ac12f0d4d1f64f80ee8ea29
6
+ metadata.gz: c222d1220f8153aa905f88b3f92ff273e29cdfc6de2ffc38e33f283c735ccbd797d4e69e0d13fafc21af54cde5aac5540f83cea6261274bb4778a0960412a532
7
+ data.tar.gz: d1e5a2bb69fa2280c25560214cd4abbe56297b931033faf07ae3e1ede467742c4caaa6fc3299af26cf729fe0741ad76271b8c9daa26ba4e3aef59b3eb9503358
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ledger_sync-quickbooks_online (0.2.0)
4
+ ledger_sync-quickbooks_online (0.2.6)
5
5
  dotenv
6
- ledger_sync (>= 2.0.0)
6
+ ledger_sync (>= 2.0.2)
7
7
  oauth2
8
8
 
9
9
  GEM
@@ -41,10 +41,10 @@ GEM
41
41
  dry-configurable (0.12.1)
42
42
  concurrent-ruby (~> 1.0)
43
43
  dry-core (~> 0.5, >= 0.5.0)
44
- dry-container (0.7.2)
44
+ dry-container (0.8.0)
45
45
  concurrent-ruby (~> 1.0)
46
46
  dry-configurable (~> 0.1, >= 0.1.3)
47
- dry-core (0.5.0)
47
+ dry-core (0.6.0)
48
48
  concurrent-ruby (~> 1.0)
49
49
  dry-equalizer (0.3.0)
50
50
  dry-inflector (0.2.0)
@@ -100,7 +100,7 @@ GEM
100
100
  iniparse (1.5.0)
101
101
  json (2.5.1)
102
102
  jwt (2.2.3)
103
- ledger_sync (2.0.0)
103
+ ledger_sync (2.0.2)
104
104
  activemodel
105
105
  colorize
106
106
  dry-schema (~> 1.5.4)
@@ -115,12 +115,12 @@ GEM
115
115
  rack (~> 2.2.3)
116
116
  resonad
117
117
  simply_serializable (>= 1.5.1)
118
- mini_portile2 (2.5.1)
118
+ mini_portile2 (2.5.3)
119
119
  minitest (5.14.4)
120
120
  multi_json (1.15.0)
121
121
  multi_xml (0.6.0)
122
122
  multipart-post (2.1.1)
123
- nokogiri (1.11.6)
123
+ nokogiri (1.11.7)
124
124
  mini_portile2 (~> 2.5.0)
125
125
  racc (~> 1.4)
126
126
  oauth2 (1.4.7)
@@ -40,7 +40,7 @@ Gem::Specification.new do |spec|
40
40
  spec.add_development_dependency('vcr', '>= 0')
41
41
  spec.add_development_dependency('webmock', '>= 0')
42
42
  spec.add_runtime_dependency('dotenv')
43
- spec.add_runtime_dependency('ledger_sync', '>= 2.0.0')
43
+ spec.add_runtime_dependency('ledger_sync', '>= 2.0.2')
44
44
  # spec.add_runtime_dependency('nokogiri', '>= 0')
45
45
  spec.add_runtime_dependency('oauth2', '>= 0')
46
46
  end
@@ -19,10 +19,9 @@ module LedgerSync
19
19
  value = hash.fetch('Entity', nil)
20
20
 
21
21
  unless value.nil?
22
- Client.ledger_resource_for(
23
- type: value['type']
24
- ).new(
25
- ledger_id: value['value']
22
+ Customer.new(
23
+ ledger_id: value['value'],
24
+ DisplayName: value['name']
26
25
  )
27
26
  end
28
27
  end
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require_relative '../account/deserializer'
3
4
  require_relative '../reference/deserializer'
4
5
  require_relative '../payment_line/deserializer'
5
6
 
@@ -3,7 +3,7 @@
3
3
  # :nocov:
4
4
  module LedgerSync
5
5
  module QuickBooksOnline
6
- VERSION = '0.2.0'
6
+ VERSION = '0.2.6'
7
7
 
8
8
  def self.version(args = {})
9
9
  pre = args.fetch(:pre, false)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ledger_sync-quickbooks_online
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Modern Treasury
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-27 00:00:00.000000000 Z
11
+ date: 2021-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -212,14 +212,14 @@ dependencies:
212
212
  requirements:
213
213
  - - ">="
214
214
  - !ruby/object:Gem::Version
215
- version: 2.0.0
215
+ version: 2.0.2
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
- version: 2.0.0
222
+ version: 2.0.2
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: oauth2
225
225
  requirement: !ruby/object:Gem::Requirement
@@ -434,7 +434,7 @@ files:
434
434
  homepage: https://www.ledgersync.dev
435
435
  licenses: []
436
436
  metadata: {}
437
- post_install_message:
437
+ post_install_message:
438
438
  rdoc_options: []
439
439
  require_paths:
440
440
  - lib
@@ -449,8 +449,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
449
449
  - !ruby/object:Gem::Version
450
450
  version: '0'
451
451
  requirements: []
452
- rubygems_version: 3.0.3
453
- signing_key:
452
+ rubygems_version: 3.1.6
453
+ signing_key:
454
454
  specification_version: 4
455
455
  summary: Sync common objects to accounting software.
456
456
  test_files: []