ledger_sync-netsuite 0.4.2 → 0.6.0

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: 5002506e69ca05fff5b1035120266a8b0149e719c79fff7a3421dd28e5b8eea5
4
- data.tar.gz: 1175713eac9d4f28512211cac9218f06fc9b6fc39f3509812ec08ae82aa95a58
3
+ metadata.gz: d1b2e9e15a3f59232b4041b05d65c20f99c66f7585d31c7531f0f621e36c9545
4
+ data.tar.gz: fa2c0f5b8730bd98f4df646ad07526ebca268f1236a50cd3ba3b2f4c2402ff83
5
5
  SHA512:
6
- metadata.gz: 28320ee39e340994adc11c1cd692f07074ceff443276b39f9711be7bec3d856634a6eb9cc343a81cc31a9c68e24874d965a4f6e934a9d6efb659f9616d742f6e
7
- data.tar.gz: 2bb66ebffd66340dafc94419f389ff496c50b4baa667d4a1aa690a76d1c4889c6986deca8d97681f185fddb70142ba9325440535ec12b8226d587ecadceee1dc
6
+ metadata.gz: 72f0339dbfa90f8f198a490185fe14d9844f8dac801fc83b5b292bbebd9b950b343e9e3b3c0fb2ad3e1a85671585d4458686f52d3436b51adc76b231f06f93b3
7
+ data.tar.gz: 91396abed4d56a9ae6dc9ec11d8b913ea5b285a59fe2a40350b97ef79723c9ffc99914579ed0e3a57bad7c3c304e536db5d67cb3f1157422e9398de83f427ae4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ledger_sync-netsuite (0.4.2)
4
+ ledger_sync-netsuite (0.6.0)
5
5
  dotenv
6
6
  ledger_sync (>= 2.4)
7
7
  nokogiri
@@ -24,7 +24,7 @@ GEM
24
24
  byebug (11.1.3)
25
25
  climate_control (1.2.0)
26
26
  colorize (0.8.1)
27
- concurrent-ruby (1.2.0)
27
+ concurrent-ruby (1.2.2)
28
28
  coveralls_reborn (0.27.0)
29
29
  simplecov (~> 0.22.0)
30
30
  term-ansicolor (~> 1.7)
@@ -144,7 +144,7 @@ GEM
144
144
  colorize
145
145
  public_suffix (5.0.1)
146
146
  racc (1.6.2)
147
- rack (3.0.4.1)
147
+ rack (3.0.4.2)
148
148
  rainbow (3.1.1)
149
149
  rake (13.0.6)
150
150
  regexp_parser (2.7.0)
@@ -163,19 +163,19 @@ GEM
163
163
  diff-lcs (>= 1.2.0, < 2.0)
164
164
  rspec-support (~> 3.12.0)
165
165
  rspec-support (3.12.0)
166
- rubocop (1.45.1)
166
+ rubocop (1.47.0)
167
167
  json (~> 2.3)
168
168
  parallel (~> 1.10)
169
169
  parser (>= 3.2.0.0)
170
170
  rainbow (>= 2.2.2, < 4.0)
171
171
  regexp_parser (>= 1.8, < 3.0)
172
172
  rexml (>= 3.2.5, < 4.0)
173
- rubocop-ast (>= 1.24.1, < 2.0)
173
+ rubocop-ast (>= 1.26.0, < 2.0)
174
174
  ruby-progressbar (~> 1.7)
175
175
  unicode-display_width (>= 2.4.0, < 3.0)
176
- rubocop-ast (1.26.0)
176
+ rubocop-ast (1.27.0)
177
177
  parser (>= 3.2.1.0)
178
- ruby-progressbar (1.11.0)
178
+ ruby-progressbar (1.12.0)
179
179
  ruby2_keywords (0.0.5)
180
180
  simplecov (0.22.0)
181
181
  docile (~> 1.1)
@@ -10,6 +10,8 @@ module LedgerSync
10
10
  attribute :companyName,
11
11
  hash_attribute: :companyname
12
12
  attribute :phone
13
+ attribute :lastModifiedDate,
14
+ hash_attribute: :lastmodifieddate
13
15
  end
14
16
  end
15
17
  end
@@ -10,6 +10,7 @@ module LedgerSync
10
10
  attribute :firstName, type: LedgerSync::Type::String
11
11
  attribute :lastName, type: LedgerSync::Type::String
12
12
  attribute :phone, type: LedgerSync::Type::String
13
+ attribute :lastModifiedDate, type: Type::String
13
14
 
14
15
  references_one :subsidiary, to: Subsidiary
15
16
  end
@@ -11,6 +11,7 @@ module LedgerSync
11
11
  attribute :first_name, type: Type::String
12
12
  attribute :last_name, type: Type::String
13
13
  attribute :phone_number, type: Type::String
14
+ attribute :lastModifiedDate, type: Type::String
14
15
  references_one :subsidiary, to: Subsidiary
15
16
 
16
17
  def name
@@ -10,7 +10,9 @@ module LedgerSync
10
10
  end
11
11
 
12
12
  def query_string
13
- "SELECT #{query_attributes.join(', ')} FROM #{query_table}"
13
+ ret = "SELECT #{query_attributes.join(', ')} FROM #{query_table}"
14
+ ret += " WHERE #{query}" if query.present?
15
+ ret
14
16
  end
15
17
 
16
18
  def query_table
@@ -13,6 +13,9 @@ module LedgerSync
13
13
 
14
14
  attribute :phone_number,
15
15
  hash_attribute: :phone
16
+
17
+ attribute :lastModifiedDate,
18
+ hash_attribute: :lastmodifieddate
16
19
  end
17
20
  end
18
21
  end
@@ -3,7 +3,7 @@
3
3
  # :nocov:
4
4
  module LedgerSync
5
5
  module NetSuite
6
- VERSION = '0.4.2'
6
+ VERSION = '0.6.0'
7
7
 
8
8
  def self.version
9
9
  if ENV['PRE_RELEASE']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ledger_sync-netsuite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Modern Treasury
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-17 00:00:00.000000000 Z
11
+ date: 2023-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print