salesforce_bulk_api 1.2.0 → 1.3.0
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 +4 -4
- data/.env.sample +7 -0
- data/.github/workflows/ci.yml +36 -0
- data/.gitignore +1 -0
- data/.rspec +1 -1
- data/.rubocop.yml +1927 -0
- data/CHANGELOG.md +0 -0
- data/README.md +332 -18
- data/lib/salesforce_bulk_api/concerns/throttling.rb +15 -6
- data/lib/salesforce_bulk_api/connection.rb +55 -51
- data/lib/salesforce_bulk_api/job.rb +193 -74
- data/lib/salesforce_bulk_api/version.rb +1 -1
- data/lib/salesforce_bulk_api.rb +32 -21
- data/salesforce_bulk_api.gemspec +5 -2
- data/spec/salesforce_bulk_api/salesforce_bulk_api_spec.rb +70 -105
- data/spec/spec_helper.rb +3 -0
- metadata +52 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a14ceabe8f5e98c4c3c17d48ffe978e538f1c54e4bd464f2abc453be87fd6b2
|
4
|
+
data.tar.gz: 005cff290cbcbda160324c83d9b006342987602ddd1d7c0a1c16074c70456a86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a73ef01dc86add8fbca0ef24bfd0f36d068aef7a75147a0b7919af6f4f6688d6514387738fdf3efc7a92218a1c21128fbb1ea892a9add8244ca33586e2ba10c
|
7
|
+
data.tar.gz: 1bc022e65b9fdbd9c9b1deb920d07062988ed65c7e04698a9ae1010596b9803cf44c8ee14025a061e893121235cd34147388c935e97f359e06b487349baa6a7f
|
data/.env.sample
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
SALESFORCE_CLIENT_ID=3MVG9FakeClientID1234567890abcdefgXYZ1234567890abcdefg
|
2
|
+
SALESFORCE_CLIENT_SECRET=FAKECLIENTSECRET1234567890ABCDEF1234567890ABCDEF
|
3
|
+
SALESFORCE_USERNAME=fakeuser@example.com
|
4
|
+
SALESFORCE_PASSWORD=MySecretPassword123!
|
5
|
+
SALESFORCE_SECURITY_TOKEN=FAKESecurityTokenABC1234567890XYZ
|
6
|
+
SALESFORCE_TEST_ACCOUNT_ID=001FAKE00000XyZ01
|
7
|
+
SALESFORCE_HOST=login.salesforce.com
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# .github/workflows/ci.yml
|
2
|
+
name: Lint and Test
|
3
|
+
|
4
|
+
on:
|
5
|
+
pull_request:
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
lint:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
steps:
|
11
|
+
- uses: actions/checkout@v4
|
12
|
+
|
13
|
+
- uses: ruby/setup-ruby@v1
|
14
|
+
with:
|
15
|
+
ruby-version: "3.2"
|
16
|
+
|
17
|
+
- name: Install dependencies
|
18
|
+
run: bundle install --jobs 4 --retry 3
|
19
|
+
|
20
|
+
- name: Run RuboCop
|
21
|
+
run: bundle exec rubocop
|
22
|
+
|
23
|
+
# test:
|
24
|
+
# runs-on: ubuntu-latest
|
25
|
+
# steps:
|
26
|
+
# - uses: actions/checkout@v4
|
27
|
+
|
28
|
+
# - uses: ruby/setup-ruby@v1
|
29
|
+
# with:
|
30
|
+
# ruby-version: "3.2"
|
31
|
+
|
32
|
+
# - name: Install dependencies
|
33
|
+
# run: bundle install --jobs 4 --retry 3
|
34
|
+
|
35
|
+
# - name: Run RSpec
|
36
|
+
# run: bundle exec rspec
|
data/.gitignore
CHANGED
data/.rspec
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
--color
|
2
|
-
--format
|
2
|
+
--format documentation
|