ruby-bandwidth-iris 7.2.0 → 7.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/.github/workflows/test.yml +19 -21
- data/lib/bandwidth-iris/site.rb +2 -2
- data/lib/bandwidth-iris/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 416e3008b4742fac499948efe6a67f4f86cd80735f23f7098797bc10c6f5e9bf
|
|
4
|
+
data.tar.gz: 32b44388acd02bbf97bf55d51da04b74f52ff52b59d2527aaf090f921a99ead5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bdd37b0edeefc479ecddeef153b7f7f3c8a65e98487daf6dc1a8f44a0e7ca8a4e0d6cb64422c2e1f065f4e9cf55b5caf9e1b5049e90d3bfe398f7b9b9ddd0ca3
|
|
7
|
+
data.tar.gz: 644d386bd557121a2d85cb38dc7013616a1e8caec1b5f10eb44a268207b4eaa38d4f8fbce674e68413fca4c138061175c0f324b303e6157291f344dae7c969ff
|
data/.github/workflows/test.yml
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
name: Test
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
|
-
schedule:
|
|
5
|
-
- cron: "0 4 * * *"
|
|
6
4
|
pull_request:
|
|
7
5
|
workflow_dispatch:
|
|
8
6
|
|
|
@@ -11,28 +9,28 @@ jobs:
|
|
|
11
9
|
name: Test
|
|
12
10
|
runs-on: ${{ matrix.os }}
|
|
13
11
|
strategy:
|
|
14
|
-
matrix:
|
|
12
|
+
matrix:
|
|
15
13
|
os: [windows-2022, windows-2019, ubuntu-20.04, ubuntu-22.04]
|
|
16
14
|
ruby-version: [2.6, 2.7, 3.0]
|
|
17
15
|
steps:
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
- name: Checkout
|
|
17
|
+
uses: actions/checkout@v3
|
|
20
18
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
- name: Install Packages
|
|
27
|
-
run: bundle install
|
|
19
|
+
- name: Set up Ruby
|
|
20
|
+
uses: ruby/setup-ruby@v1
|
|
21
|
+
with:
|
|
22
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
28
23
|
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
- name: Install Packages
|
|
25
|
+
run: bundle install
|
|
31
26
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
27
|
+
- name: Test
|
|
28
|
+
run: rake
|
|
29
|
+
|
|
30
|
+
- name: Notify Slack of Failures
|
|
31
|
+
uses: Bandwidth/build-notify-slack-action@v1.0.0
|
|
32
|
+
if: failure() && !github.event.pull_request.draft
|
|
33
|
+
with:
|
|
34
|
+
job-status: ${{ job.status }}
|
|
35
|
+
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }}
|
|
36
|
+
slack-channel: ${{ secrets.SLACK_CHANNEL }}
|
data/lib/bandwidth-iris/site.rb
CHANGED
|
@@ -69,8 +69,8 @@ module BandwidthIris
|
|
|
69
69
|
list
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
-
def get_orders()
|
|
73
|
-
list = @client.make_request(:get, "#{@client.concat_account_path(SITE_PATH)}/#{id}/orders")[0]
|
|
72
|
+
def get_orders(size: 30, page: 1)
|
|
73
|
+
list = @client.make_request(:get, "#{@client.concat_account_path(SITE_PATH)}/#{id}/orders", {size: size, page: page})[0]
|
|
74
74
|
# TODO need additional documentaion
|
|
75
75
|
list
|
|
76
76
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby-bandwidth-iris
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.
|
|
4
|
+
version: 7.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrey Belchikov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: builder
|