Commit Graph

75 Commits

Author SHA1 Message Date
Dan Milne
2db1d64720 Remove old gem 2023-04-20 19:32:42 +10:00
Dan Milne
09e635fc6f Version bump. Make sure the console uses local paapi 2023-04-20 15:41:26 +10:00
Dan Milne
9297799555 Add net-http-persistent as a dependency. Remove code to determine which HTTP client to use. Cleanup spacing 2022-11-01 18:04:09 +11:00
Dan Milne
5d8fd3ffff Version bump with bug fix 2022-09-04 14:12:14 +10:00
Cris Dias
72b413a40e Missing comma in MARKETPLACES.
Requests were failing for Brazil.
2022-09-03 11:26:53 -03:00
Dan Milne
ae3577a9fc Bump version 2022-08-10 12:09:06 +10:00
Dan Milne
11694b567e More safe operator 2022-08-10 12:07:38 +10:00
Dan Milne
a6a5cf45c3 Remove byebug 2022-08-10 12:04:31 +10:00
Dan Milne
761df379cf Fix depracation message 2022-08-10 12:02:45 +10:00
Dan Milne
6105ea621c Debugging 2022-08-10 12:00:10 +10:00
Dan Milne
d09be5f131 Migrate to just HTTP 2022-08-10 11:52:18 +10:00
Dan Milne
7aebd186a5 Bugfixing 2022-08-10 11:47:30 +10:00
Dan Milne
e04d258b07 Testing use of native http 2022-08-10 11:42:28 +10:00
Dan Milne
b66dda8d79 Use safe operator 2022-08-10 11:31:18 +10:00
Dan Milne
8c4f4337a3 Merge branch 'add_condition' into master 2020-08-21 22:55:07 +10:00
Dan Milne
316e71ee46 Merge branch 'master' into add_condition 2020-08-21 22:38:57 +10:00
Dan Milne
ba6a52ce9c Paapi will always use HTTPS 2020-08-21 18:06:00 +10:00
Dan Milne
747e76fe8f Require net/http and set the body to JSON 2020-08-21 17:58:56 +10:00
Dan Milne
6115f72119 Move the HTTP request code into a method and remove references to the HTTP gem 2020-08-21 17:45:47 +10:00
Dan Milne
e47add0064 Comment out unused Gem 2020-08-21 16:58:18 +10:00
Dan Milne
a86acb1ef9 Merge branch 'master' into net_http 2020-08-21 16:55:54 +10:00
Dan Milne
ffc11ceb94 Use lower case roles. Bump version 2020-08-21 15:58:23 +10:00
Dan Milne
9465254d0b Use RoleType with lower case role, rather than Role with capitalized role. Fixes #6 2020-08-21 15:57:49 +10:00
side Feng
8bd8ba1e84 Add Condition Parameter 2020-08-11 14:48:33 +08:00
Dan Milne
5152b9b976 Update rake dependency and bump version 2020-03-01 16:00:18 +11:00
Masaru Ezaki
c1d58d4f1a Fix get_variations items is empty 2020-02-14 15:04:17 +09:00
Dan Milne
706a9fb377 Investigate a plain net::http client for less dependancies 2020-01-10 15:37:36 +11:00
Dan Milne
92207f27ef Remove require statement 2019-10-25 15:08:59 +11:00
Dan Milne
50c3df89ba Remove Nameable dependancy and return API data directly 2019-10-25 15:05:55 +11:00
Dan Milne
1ad818b4d7 Ensure Item#contributors always returns an Array. Safe navigator for Item#contributors_of compact - although not really neccessary now. 2019-10-24 14:27:08 +11:00
Dan Milne
d3bad8fc02 Add tests for case with no contributors 2019-10-24 14:25:31 +11:00
Dan Milne
674848ccb9 Bug fix for empty names in items 2019-10-24 12:58:13 +11:00
Dan Milne
5a7b39b0bf Bug fix 2019-10-21 21:24:41 +11:00
Dan Milne
cdaf16ec8a Add a merchant 2019-10-21 16:54:21 +11:00
Dan Milne
f1f2b6bec2 Add the listing model. Rename @json -> @hash for consistency 2019-10-21 16:46:16 +11:00
Dan Milne
924fd11ebb Bump gem version 2019-10-16 14:47:54 +11:00
Dan Milne
d27409f805 Method to get width, height, depth and weight from item. Bump gem version 2019-10-14 11:44:55 +11:00
Dan Milne
b39134bec1 More comprehensive handling of failed date parsing 2019-10-14 11:35:20 +11:00
Dan Milne
6f9d33d778 The configuration for marketplace and parter_tag expects symbols 2019-10-14 11:34:06 +11:00
Dan Milne
d298b06833 Bug fix for language 2019-10-11 15:48:06 +11:00
Dan Milne
cbe74541a0 Delegate dig to the hash which defines the item 2019-10-11 15:11:49 +11:00
Dan Milne
5f396898b5 Pluck out languages 2019-10-11 14:25:31 +11:00
Dan Milne
be97362bb0 Add test data 2019-10-11 10:22:29 +11:00
Dan Milne
09be88fdb1 Use DisplayValue for consistency 2019-10-11 10:19:28 +11:00
Auston Bunsen
32b974e350 Small fix for grabbing product data 2019-10-10 14:35:11 -04:00
Vincent Vinet
31371137a1 Allow passing in options to get_items and get_variations 2019-10-09 10:02:08 -04:00
Dan Milne
b8a7d2aa8c Remove duplicate accessor 2019-10-07 16:07:02 +11:00
Dan Milne
842de6227f Remove mixin 2019-10-05 23:27:59 +10:00
Dan Milne
f885ff62ae Migrate aws mixing into the client class 2019-10-05 23:27:39 +10:00
Dan Milne
ac07f65440 Replace ActiveSupport method 2019-10-05 23:19:48 +10:00