shopify_api_bruv 0.2.3 → 0.2.4

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: 8fe961253cfd9043fec5d23379112770493cca121e7ae185b0728afe98fed68f
4
- data.tar.gz: 4889e5d8748bc5c60d4e74ee196e935e738fdd843630ceaac28aa9857bb7529d
3
+ metadata.gz: e1b6f7e063b556eb6732016cdd66426705db2f53fd9bc9844018f6b7ff93010d
4
+ data.tar.gz: a20c065d815f4beb997b0420cdee16b905ffcb919f22f97fa21ede0a39bc26f0
5
5
  SHA512:
6
- metadata.gz: 35a02f83d45ec7bf81c2aa9d8e335f86b0ddf09496d9647e7e0e145403350b746e36f21cfd706806cb536d35facdd8cc01c4fecd4f5d35f56644553802b4651e
7
- data.tar.gz: d976fd73f1a78aac2d9f37cd598b469ab3831934577f147ba4b62d330e8cd2ce92bcfd7d07d00487f1d9b7761d73ee590b1ac2f92fce662e48ae0edede583394
6
+ metadata.gz: 9a1093b27403f929bbf6a2026c77fd3cd374f21582d4fc2d36f6c53e9789560dcfeaa3c9c6811e911949802b5a029a3bd036176ac7e55e1aaca6a22709a9259d
7
+ data.tar.gz: f016c5a2ef65da06fbb524a096839194c1812b1d234564bc2142f9f7e399a2604b8c2a96eb3483e49361885b1dadaa83e4596c3ecea74e194bfb6332bbe68fce
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.4] - 2023-12-09
4
+
5
+ - Updates rest resource response to include page info
6
+
3
7
  ## [0.2.3] - 2023-12-09
4
8
 
5
9
  - Updates http response error message
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify_api_bruv (0.2.3)
4
+ shopify_api_bruv (0.2.4)
5
5
  httparty
6
6
  logger
7
7
 
@@ -36,7 +36,9 @@ module ShopifyApiBruv
36
36
  def handle_response(response:)
37
37
  handle_response_api_limits(headers: response.headers)
38
38
 
39
- response.body
39
+ body = response.body
40
+ body['page_info'] = response.page_info if body.is_a?(Hash)
41
+ body
40
42
  end
41
43
 
42
44
  def handle_response_api_limits(headers:)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShopifyApiBruv
4
- VERSION = '0.2.3'
4
+ VERSION = '0.2.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify_api_bruv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Idjent