ledger_sync-netsuite 0.6.1 → 0.6.2

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: 2b8d8c063f6172500a55b2c467e91d1e33f3917baf063236ccbba1023f9f5d3f
4
- data.tar.gz: 4eac2d3363ada9aabf1e4c522cd018cc723ea882e40ec1550ff95f343f43a037
3
+ metadata.gz: 6ff88e99867a5b2f49d3f2644fb65e5f7c44619bf5d7e99131a5964cdb073595
4
+ data.tar.gz: ccd809459ed6dfd42a1b2bf7b1140cb3706e4a14ab0248b8bf10b3a1a8dbbe9b
5
5
  SHA512:
6
- metadata.gz: 47a0e8870735f7ec53981e760ee2bda2b3a9bbe4514d6d237c64a9e2e74712b1a70b7c8c82f9b206b18b0353c4a2bf104a7bcb960672041698299f2089e6cd87
7
- data.tar.gz: 803e18ba4f8f6a3fab2e2928c791167f6312095f761d76dd87fe3a4414df8b09ce7902bb5213b0ada251b35997429c783333c7b61a8137336567d9c83074f9e3
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.1)
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.1'
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.1
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"