ledger_sync-netsuite 0.6.0 → 0.6.2

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
  SHA256:
3
- metadata.gz: d1b2e9e15a3f59232b4041b05d65c20f99c66f7585d31c7531f0f621e36c9545
4
- data.tar.gz: fa2c0f5b8730bd98f4df646ad07526ebca268f1236a50cd3ba3b2f4c2402ff83
3
+ metadata.gz: 6ff88e99867a5b2f49d3f2644fb65e5f7c44619bf5d7e99131a5964cdb073595
4
+ data.tar.gz: ccd809459ed6dfd42a1b2bf7b1140cb3706e4a14ab0248b8bf10b3a1a8dbbe9b
5
5
  SHA512:
6
- metadata.gz: 72f0339dbfa90f8f198a490185fe14d9844f8dac801fc83b5b292bbebd9b950b343e9e3b3c0fb2ad3e1a85671585d4458686f52d3436b51adc76b231f06f93b3
7
- data.tar.gz: 91396abed4d56a9ae6dc9ec11d8b913ea5b285a59fe2a40350b97ef79723c9ffc99914579ed0e3a57bad7c3c304e536db5d67cb3f1157422e9398de83f427ae4
6
+ metadata.gz: 524acceed1e1f1053c78413439a6af806898388138da97ddd73083d9c70cfa993592509f3212e6ad3e7822196aa989f2473fdfca58a0b4383d73cabaa1da9c87
7
+ data.tar.gz: 05241e0e7e7d6331c39c2120b70621d81f201c87a20a408d5cd1b64d076c232c2a10c2232231a76bf5ed01a6466cf324417c41050557d9aaff3562b868450408
@@ -0,0 +1,76 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ "master", develop ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ "master" ]
20
+ schedule:
21
+ - cron: '39 2 * * 6'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'ruby' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37
+ # Use only 'java' to analyze code written in Java, Kotlin or both
38
+ # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
39
+ # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
40
+
41
+ steps:
42
+ - name: Checkout repository
43
+ uses: actions/checkout@v3
44
+
45
+ # Initializes the CodeQL tools for scanning.
46
+ - name: Initialize CodeQL
47
+ uses: github/codeql-action/init@v2
48
+ with:
49
+ languages: ${{ matrix.language }}
50
+ # If you wish to specify custom queries, you can do so here or in a config file.
51
+ # By default, queries listed here will override any specified in a config file.
52
+ # Prefix the list here with "+" to use these queries and those in the config file.
53
+
54
+ # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
55
+ # queries: security-extended,security-and-quality
56
+
57
+
58
+ # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
59
+ # If this step fails, then you should remove it and run the build manually (see below)
60
+ - name: Autobuild
61
+ uses: github/codeql-action/autobuild@v2
62
+
63
+ # ℹ️ Command-line programs to run using the OS shell.
64
+ # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
65
+
66
+ # If the Autobuild fails above, remove it and uncomment the following three lines.
67
+ # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
68
+
69
+ # - run: |
70
+ # echo "Run, Build Application using script"
71
+ # ./location_of_script_within_repo/buildscript.sh
72
+
73
+ - name: Perform CodeQL Analysis
74
+ uses: github/codeql-action/analyze@v2
75
+ with:
76
+ category: "/language:${{matrix.language}}"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ledger_sync-netsuite (0.6.0)
4
+ ledger_sync-netsuite (0.6.2)
5
5
  dotenv
6
6
  ledger_sync (>= 2.4)
7
7
  nokogiri
@@ -42,7 +42,12 @@ module LedgerSync
42
42
  end
43
43
 
44
44
  def api_base_url
45
- @api_base_url ||= "https://#{api_host}/services/rest/record/v1"
45
+ @api_base_url ||= URI::HTTPS.build(
46
+ host: api_host,
47
+ path: '/services/rest/record/v1'
48
+ ).to_s
49
+ rescue URI::InvalidComponentError => e
50
+ raise LedgerSync::Error::LedgerError::ConfigurationError.new(client: self, message: e.message)
46
51
  end
47
52
 
48
53
  def api_host
@@ -3,7 +3,7 @@
3
3
  # :nocov:
4
4
  module LedgerSync
5
5
  module NetSuite
6
- VERSION = '0.6.0'
6
+ VERSION = '0.6.2'
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.6.0
4
+ version: 0.6.2
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-03-03 00:00:00.000000000 Z
11
+ date: 2023-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print
@@ -243,6 +243,7 @@ extensions: []
243
243
  extra_rdoc_files: []
244
244
  files:
245
245
  - ".env.test"
246
+ - ".github/workflows/codeql.yml"
246
247
  - ".github/workflows/gem-workflow.yml"
247
248
  - ".gitignore"
248
249
  - ".overcommit.yml"