muffin_man 2.2.1 → 2.2.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: 49ec853c9c790152131d186d3b30b660f0f688fc390383183be87be38944f377
4
- data.tar.gz: 5e7e4f2ae5af32e5abbd7fc4a6da0d84c5ac9e9f2ffd3f6a5b1ea5931d413918
3
+ metadata.gz: aa3142f3ad585c025626b9296b5b697bac037ce987a551f010c4b9e4653fb265
4
+ data.tar.gz: b6abba7a9292b49fc6be63976b6866aae79be7dc173d837ceca28e9ba039f312
5
5
  SHA512:
6
- metadata.gz: c708c548584bb883bce5663dc80f9aff62170cfbfcf4ea5f299acf0b98c12ae26a5dcfd35312b85561beb2dfec4059923e5755851225774d86c61a6b5793f507
7
- data.tar.gz: ec33e1214dd886a96fcf953391655596e160f6d0c8f69a439acf47fb3e5f2de44a0eb3a5b0d412f95bff5361afd2f1a92e054592b413fbd8fbf3eb93636c4acc
6
+ metadata.gz: 062ece67a630646a2b5fa8a117514cb78ce0b1c2db49f80ba25901f76fe75fc1a1e5164459944cc2d36c6f768bb6dccf4296eab70324202bfd69cce56bf07fc1
7
+ data.tar.gz: f9bea8a969c5b247699cf530ee251fe929a9228d859212ebc9c822f3e493aafc61b3978246d74f499d4b2eeaf67935c2dcc566c077749af7a72947fe0762424e
@@ -78,10 +78,10 @@ module MuffinMan
78
78
  call_api
79
79
  end
80
80
 
81
- def download_document(document_id)
81
+ def retrieve_document_content(document_id)
82
82
  response = get_document(document_id)
83
83
  if response.success?
84
- Typhoeus.get(JSON.parse(response.body)["documentUrl"])
84
+ Typhoeus.get(JSON.parse(response.body)["documentUrl"], accept_encoding: "")
85
85
  else
86
86
  response
87
87
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MuffinMan
4
- VERSION = "2.2.1"
4
+ VERSION = "2.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muffin_man
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2024-07-29 00:00:00.000000000 Z
13
+ date: 2024-08-02 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  - !ruby/object:Gem::Version
211
211
  version: '0'
212
212
  requirements: []
213
- rubygems_version: 3.4.19
213
+ rubygems_version: 3.1.6
214
214
  signing_key:
215
215
  specification_version: 4
216
216
  summary: Amazon Selling Partner API client