Commit Graph

91 Commits

Author SHA1 Message Date
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
02057fb0d0 Typo 2020-08-26 14:22:32 +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
74e2611e87 Update Changes. Update test data. Amazon has added RoleType and the test file didn't include it. v0.1.2 2020-08-21 16:14:58 +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
Dan Milne
17d73db781 Update rake dependency and bump version 2020-03-01 16:00:14 +11:00
Dan Milne
5c4ec55c4b Merge pull request #5 from ezaki3/fix-get-variations-items-empty
Fix get_variations items is empty
2020-02-17 10:28:40 +11:00
Masaru Ezaki
c1d58d4f1a Fix get_variations items is empty 2020-02-14 15:04:17 +09:00
Dan Milne
2699ff9b61 Words. 2020-01-10 15:38:47 +11:00
Dan Milne
706a9fb377 Investigate a plain net::http client for less dependancies 2020-01-10 15:37:36 +11:00
Dan Milne
49d24cb048 Typo 2019-11-11 14:41:58 +11:00
Dan Milne
dd3522ca4e Add test data file 2019-10-25 15:16:08 +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
bdacc51da7 Fix change log 2019-10-11 10:36:01 +11:00
Dan Milne
88ef714812 Add a change log 2019-10-11 10:34:30 +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
Dan Milne
ca1fe8a16b Add tests for item parsing 2019-10-11 10:18:58 +11:00
Dan Milne
38a20d5e8d Merge pull request #4 from abunsen/master
Small fix for grabbing product data
2019-10-11 09:42:26 +11:00
Auston Bunsen
32b974e350 Small fix for grabbing product data 2019-10-10 14:35:11 -04:00
Dan Milne
6b66b591a5 Merge pull request #3 from veloutin/master
Allow passing in options to get_items and get_variations
2019-10-10 10:14:16 +11:00