envato 0.0.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +46 -0
  3. data/.rspec +5 -0
  4. data/.rubocop.yml +142 -0
  5. data/Gemfile +5 -0
  6. data/Gemfile.lock +84 -0
  7. data/LICENSE +7 -0
  8. data/README.md +152 -0
  9. data/Rakefile +16 -0
  10. data/envato.gemspec +34 -0
  11. data/lib/envato/client.rb +55 -0
  12. data/lib/envato/collection.rb +25 -0
  13. data/lib/envato/error.rb +6 -0
  14. data/lib/envato/object.rb +25 -0
  15. data/lib/envato/objects/types.rb +19 -0
  16. data/lib/envato/resource.rb +59 -0
  17. data/lib/envato/resources/bookmarks.rb +34 -0
  18. data/lib/envato/resources/item.rb +43 -0
  19. data/lib/envato/resources/market.rb +131 -0
  20. data/lib/envato/resources/markets.rb +42 -0
  21. data/lib/envato/resources/search.rb +21 -0
  22. data/lib/envato/resources/user.rb +60 -0
  23. data/lib/envato/resources/users.rb +10 -0
  24. data/lib/envato/version.rb +8 -0
  25. data/lib/envato.rb +39 -0
  26. data/spec/bookmarks_spec.rb +15 -0
  27. data/spec/envato_spec.rb +26 -0
  28. data/spec/item_spec.rb +90 -0
  29. data/spec/market_spec.rb +100 -0
  30. data/spec/markets_spec.rb +14 -0
  31. data/spec/search_spec.rb +41 -0
  32. data/spec/spec_helper.rb +51 -0
  33. data/spec/user_spec.rb +118 -0
  34. data/spec/users_spec.rb +15 -0
  35. data/spec/vcr/bookmarks_list.yml +87 -0
  36. data/spec/vcr/item_info.yml +88 -0
  37. data/spec/vcr/item_list_purchases.yml +87 -0
  38. data/spec/vcr/item_prices.yml +86 -0
  39. data/spec/vcr/item_purchases.yml +87 -0
  40. data/spec/vcr/item_version.yml +87 -0
  41. data/spec/vcr/market_categories_graphicriver.yml +147 -0
  42. data/spec/vcr/market_categories_themeforest.yml +201 -0
  43. data/spec/vcr/market_features_graphicriver.yml +97 -0
  44. data/spec/vcr/market_features_themeforest.yml +93 -0
  45. data/spec/vcr/market_new_files.yml +86 -0
  46. data/spec/vcr/market_new_files_graphicriver_graphics.yml +115 -0
  47. data/spec/vcr/market_popular_items_themeforest.yml +86 -0
  48. data/spec/vcr/market_total_items.yml +85 -0
  49. data/spec/vcr/search_comments.yml +88 -0
  50. data/spec/vcr/search_item.yml +88 -0
  51. data/spec/vcr/search_more_like_this.yml +88 -0
  52. data/spec/vcr/user_account.yml +86 -0
  53. data/spec/vcr/user_badges.yml +98 -0
  54. data/spec/vcr/user_badges_not_exists.yml +83 -0
  55. data/spec/vcr/user_collection.yml +88 -0
  56. data/spec/vcr/user_collections.yml +90 -0
  57. data/spec/vcr/user_email.yml +85 -0
  58. data/spec/vcr/user_items.yml +86 -0
  59. data/spec/vcr/user_name.yml +85 -0
  60. data/spec/vcr/user_statement.yml +111 -0
  61. data/spec/vcr/users_total.yml +85 -0
  62. metadata +147 -3
@@ -0,0 +1,85 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.envato.com/v1/market/private/user/email.json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v1.10.2
12
+ Authorization:
13
+ - TOKEN
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Wed, 12 Oct 2022 08:19:49 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Content-Length:
28
+ - '49'
29
+ Connection:
30
+ - keep-alive
31
+ X-Amzn-Requestid:
32
+ - '01721928-d951-4f5e-9c55-ebf71d17715c'
33
+ Referrer-Policy:
34
+ - origin-when-cross-origin
35
+ X-Xss-Protection:
36
+ - 1; mode=block
37
+ X-Runtime:
38
+ - '0.012845'
39
+ Access-Control-Allow-Origin:
40
+ - "*"
41
+ Strict-Transport-Security:
42
+ - max-age=31536000
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Amzn-Remapped-Connection:
46
+ - keep-alive
47
+ X-Download-Options:
48
+ - noopen
49
+ X-Request-Id:
50
+ - 758e69a89acb1607-DME
51
+ X-Amz-Apigw-Id:
52
+ - Z4fJ5GrmoAMFuQA=
53
+ Cache-Control:
54
+ - no-store
55
+ X-Amzn-Remapped-Server:
56
+ - nginx
57
+ Expires:
58
+ - '0'
59
+ X-Content-Type-Options:
60
+ - nosniff
61
+ Etag:
62
+ - W/"984b5cc631d77eabcf7d81ff2760b0da"
63
+ Pragma:
64
+ - no-cache
65
+ X-Amzn-Remapped-Date:
66
+ - Wed, 12 Oct 2022 08:19:49 GMT
67
+ X-Cache:
68
+ - Miss from cloudfront
69
+ Via:
70
+ - 1.1 21305ab0d95c2d5c15ba0379048ef740.cloudfront.net (CloudFront)
71
+ X-Amz-Cf-Pop:
72
+ - HEL51-P2
73
+ X-Amz-Cf-Id:
74
+ - PsgyZ8W2sWPh4f-VHkrsdSlZ6rtf23s-BZY1qrG4dZp8hcgsfk_jbg==
75
+ Cf-Cache-Status:
76
+ - DYNAMIC
77
+ Server:
78
+ - cloudflare
79
+ Cf-Ray:
80
+ - 758e69a89acb1607-DME
81
+ body:
82
+ encoding: ASCII-8BIT
83
+ string: '{"email":"email@example.com"}'
84
+ recorded_at: Wed, 12 Oct 2022 08:19:49 GMT
85
+ recorded_with: VCR 6.1.0
@@ -0,0 +1,86 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.envato.com/v1/market/user-items-by-site:collis.json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v1.10.2
12
+ Authorization:
13
+ - TOKEN
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Wed, 12 Oct 2022 08:17:30 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Content-Length:
28
+ - '94'
29
+ Connection:
30
+ - keep-alive
31
+ X-Amzn-Requestid:
32
+ - 687a705b-9e12-4a91-822b-b6352b4a7dec
33
+ Referrer-Policy:
34
+ - origin-when-cross-origin
35
+ X-Xss-Protection:
36
+ - 1; mode=block
37
+ X-Runtime:
38
+ - '0.015217'
39
+ Access-Control-Allow-Origin:
40
+ - "*"
41
+ Strict-Transport-Security:
42
+ - max-age=31536000
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Amzn-Remapped-Connection:
46
+ - keep-alive
47
+ X-Download-Options:
48
+ - noopen
49
+ X-Request-Id:
50
+ - 758e66441c470058-DME
51
+ X-Amz-Apigw-Id:
52
+ - Z4e0LEJtoAMF9Mw=
53
+ Cache-Control:
54
+ - no-store
55
+ X-Amzn-Remapped-Server:
56
+ - nginx
57
+ Expires:
58
+ - '0'
59
+ X-Content-Type-Options:
60
+ - nosniff
61
+ Etag:
62
+ - W/"11c33e3f33b7750f27ac529b972aca2f"
63
+ Pragma:
64
+ - no-cache
65
+ X-Amzn-Remapped-Date:
66
+ - Wed, 12 Oct 2022 08:17:30 GMT
67
+ X-Cache:
68
+ - Miss from cloudfront
69
+ Via:
70
+ - 1.1 04ee3bd8d240238266b689a79ae47416.cloudfront.net (CloudFront)
71
+ X-Amz-Cf-Pop:
72
+ - HEL51-P2
73
+ X-Amz-Cf-Id:
74
+ - 22h3Hh6wpGCV3bc84dagYh6HKkQnY7wJXkYmIjvkm3epgvlMMMCnoA==
75
+ Cf-Cache-Status:
76
+ - DYNAMIC
77
+ Server:
78
+ - cloudflare
79
+ Cf-Ray:
80
+ - 758e66441c470058-DME
81
+ body:
82
+ encoding: ASCII-8BIT
83
+ string: '{"user-items-by-site":[{"site":"ThemeForest","items":"1"},{"site":"Tuts+
84
+ Marketplace","items":"2"}]}'
85
+ recorded_at: Wed, 12 Oct 2022 08:17:30 GMT
86
+ recorded_with: VCR 6.1.0
@@ -0,0 +1,85 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.envato.com/v1/market/private/user/username.json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v1.10.2
12
+ Authorization:
13
+ - TOKEN
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Tue, 11 Oct 2022 15:59:25 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Content-Length:
28
+ - '44'
29
+ Connection:
30
+ - keep-alive
31
+ X-Amzn-Requestid:
32
+ - 5f60faf1-a4f1-415b-9c44-fc59885982b3
33
+ Referrer-Policy:
34
+ - origin-when-cross-origin
35
+ X-Xss-Protection:
36
+ - 1; mode=block
37
+ X-Runtime:
38
+ - '0.013283'
39
+ Access-Control-Allow-Origin:
40
+ - "*"
41
+ Strict-Transport-Security:
42
+ - max-age=31536000
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Amzn-Remapped-Connection:
46
+ - keep-alive
47
+ X-Download-Options:
48
+ - noopen
49
+ X-Request-Id:
50
+ - 7588cd87fb519d58-DME
51
+ X-Amz-Apigw-Id:
52
+ - Z2PipFMEoAMF41Q=
53
+ Cache-Control:
54
+ - no-store
55
+ X-Amzn-Remapped-Server:
56
+ - nginx
57
+ Expires:
58
+ - '0'
59
+ X-Content-Type-Options:
60
+ - nosniff
61
+ Etag:
62
+ - W/"5adabf21f993f72d22363eaf333ded8b"
63
+ Pragma:
64
+ - no-cache
65
+ X-Amzn-Remapped-Date:
66
+ - Tue, 11 Oct 2022 15:59:25 GMT
67
+ X-Cache:
68
+ - Miss from cloudfront
69
+ Via:
70
+ - 1.1 e10153740ff95eb4d0c9f3172baeb43e.cloudfront.net (CloudFront)
71
+ X-Amz-Cf-Pop:
72
+ - AMS1-C1
73
+ X-Amz-Cf-Id:
74
+ - J9hvsSS7vPtSurePnPdKGDf6TFFucAO923k5CFklrCrX5zxm72U7SQ==
75
+ Cf-Cache-Status:
76
+ - DYNAMIC
77
+ Server:
78
+ - cloudflare
79
+ Cf-Ray:
80
+ - 7588cd87fb519d58-DME
81
+ body:
82
+ encoding: ASCII-8BIT
83
+ string: '{"username":"collis"}'
84
+ recorded_at: Tue, 11 Oct 2022 15:59:21 GMT
85
+ recorded_with: VCR 6.1.0
@@ -0,0 +1,111 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.envato.com/v3/market/user/statement
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v1.10.2
12
+ Authorization:
13
+ - TOKEN
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Wed, 12 Oct 2022 08:17:30 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Content-Length:
28
+ - '1085'
29
+ Connection:
30
+ - keep-alive
31
+ X-Amzn-Requestid:
32
+ - cb173e81-1a53-4c7b-93b2-5bb037dd10a9
33
+ Referrer-Policy:
34
+ - origin-when-cross-origin
35
+ X-Xss-Protection:
36
+ - 1; mode=block
37
+ X-Runtime:
38
+ - '0.035192'
39
+ Access-Control-Allow-Origin:
40
+ - "*"
41
+ Strict-Transport-Security:
42
+ - max-age=31536000
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Amzn-Remapped-Connection:
46
+ - keep-alive
47
+ X-Download-Options:
48
+ - noopen
49
+ X-Request-Id:
50
+ - 758e663fcf9d00b0-DME
51
+ X-Amz-Apigw-Id:
52
+ - Z4e0EH9GoAMFq3Q=
53
+ Vary:
54
+ - Accept
55
+ Cache-Control:
56
+ - no-store
57
+ X-Amzn-Remapped-Server:
58
+ - nginx
59
+ Expires:
60
+ - '0'
61
+ X-Content-Type-Options:
62
+ - nosniff
63
+ Etag:
64
+ - W/"2ab1c8570aa252949526589a4f59788c"
65
+ Pragma:
66
+ - no-cache
67
+ X-Amzn-Remapped-Date:
68
+ - Wed, 12 Oct 2022 08:17:30 GMT
69
+ X-Cache:
70
+ - Miss from cloudfront
71
+ Via:
72
+ - 1.1 554927166d10692a589190ab59950854.cloudfront.net (CloudFront)
73
+ X-Amz-Cf-Pop:
74
+ - HEL51-P2
75
+ X-Amz-Cf-Id:
76
+ - oR7zpX81-QkFpk1Bv5nManlqcwKe3up88FlXDxHkQ0N5cSTQp0KBEQ==
77
+ Cf-Cache-Status:
78
+ - DYNAMIC
79
+ Server:
80
+ - cloudflare
81
+ Cf-Ray:
82
+ - 758e663fcf9d00b0-DME
83
+ body:
84
+ encoding: ASCII-8BIT
85
+ string: '{"count":12,"results":[{"unique_id":"847f684661dde47ad7a18bfba6597779","date":"2020-07-06
86
+ 03:30:17 +1000","order_id":129281000,"type":"Purchase","detail":"Appgen -
87
+ App, Saas \u0026 Software Landing Page Template (6 months extended support)","item_id":27152521,"document":"IVIP38802533","price":3.0,"au_gst":null,"eu_vat":null,"us_rwt":null,"us_bwt":null,"amount":-3.0,"site":"themeforest.net","other_party_country":null,"other_party_region":null,"other_party_city":null,"other_party_zipcode":null},{"unique_id":"9c44975e887d0ebeb96fb8dee40cc528","date":"2020-07-06
88
+ 03:30:17 +1000","order_id":129281000,"type":"Purchase","detail":"Appgen -
89
+ App, Saas \u0026 Software Landing Page Template (6 months included support)","item_id":27152521,"document":"IVIP38802533","price":3.0,"au_gst":null,"eu_vat":null,"us_rwt":null,"us_bwt":null,"amount":-3.0,"site":"themeforest.net","other_party_country":null,"other_party_region":null,"other_party_city":null,"other_party_zipcode":null},{"unique_id":"aeb0ce959af0a720a15c05f083dfe86b","date":"2020-07-06
90
+ 03:30:17 +1000","order_id":129281000,"type":"Purchase","detail":"Appgen -
91
+ App, Saas \u0026 Software Landing Page Template (Regular License)","item_id":27152521,"document":"IVIP38802533","price":5.0,"au_gst":null,"eu_vat":null,"us_rwt":null,"us_bwt":null,"amount":-5.0,"site":"themeforest.net","other_party_country":null,"other_party_region":null,"other_party_city":null,"other_party_zipcode":null},{"unique_id":"126abcd14e0190d55469cf2fd06be730","date":"2020-07-06
92
+ 03:30:17 +1000","order_id":129281000,"type":"Purchase","detail":"Buyer Fee
93
+ for Appgen - App, Saas \u0026 Software Landing Page Template","item_id":27152521,"document":"IVBF38550204","price":4.0,"au_gst":null,"eu_vat":null,"us_rwt":null,"us_bwt":null,"amount":-4.0,"site":null,"other_party_country":null,"other_party_region":null,"other_party_city":null,"other_party_zipcode":null},{"unique_id":"d3e7ee3953c0c562b2c6d6cb8f674fb6","date":"2020-07-06
94
+ 03:30:17 +1000","order_id":129281000,"type":"Purchase","detail":"Handling
95
+ fee for order 129281000","item_id":null,"document":"IVHF22866483","price":2.0,"au_gst":null,"eu_vat":null,"us_rwt":null,"us_bwt":null,"amount":-2.0,"site":null,"other_party_country":null,"other_party_region":null,"other_party_city":null,"other_party_zipcode":null},{"unique_id":"ca24b84941edf011d47740729e62f9ec","date":"2020-07-06
96
+ 03:30:17 +1000","order_id":null,"type":"Deposit","detail":"Deposit via Credit
97
+ Card","item_id":null,"document":"RCD27837184","price":null,"au_gst":null,"eu_vat":null,"us_rwt":null,"us_bwt":null,"amount":17.0,"site":null,"other_party_country":null,"other_party_region":null,"other_party_city":null,"other_party_zipcode":null},{"unique_id":"45e6fc05732f0d4e0add387f8e5bb1ea","date":"2013-09-01
98
+ 21:34:38 +1000","order_id":null,"type":"Purchase","detail":"The Envato Birthday
99
+ Bundle is on for 2 Weeks!","item_id":5361538,"document":null,"price":null,"au_gst":null,"eu_vat":null,"us_rwt":null,"us_bwt":null,"amount":-20.0,"site":"graphicriver.net","other_party_country":null,"other_party_region":null,"other_party_city":null,"other_party_zipcode":null},{"unique_id":"63221d4a41f86ab06883bc7ba8845791","date":"2013-09-01
100
+ 21:34:38 +1000","order_id":null,"type":"Deposit","detail":"Expires 01 Sep
101
+ 2014.","item_id":null,"document":"6459720","price":null,"au_gst":null,"eu_vat":null,"us_rwt":null,"us_bwt":null,"amount":20.0,"site":null,"other_party_country":null,"other_party_region":null,"other_party_city":null,"other_party_zipcode":null},{"unique_id":"a93fa81d2be8e5259ab572d2bc020472","date":"2013-08-21
102
+ 14:11:38 +1000","order_id":null,"type":"Credit Expiry","detail":"Remainder
103
+ forfeited","item_id":null,"document":null,"price":null,"au_gst":null,"eu_vat":null,"us_rwt":null,"us_bwt":null,"amount":-10.0,"site":null,"other_party_country":null,"other_party_region":null,"other_party_city":null,"other_party_zipcode":null},{"unique_id":"c816050271798c99556c4ff21a79bee0","date":"2012-08-21
104
+ 00:57:13 +1000","order_id":null,"type":"Purchase","detail":"Envato Birthday
105
+ Bundle 2012","item_id":2792744,"document":null,"price":null,"au_gst":null,"eu_vat":null,"us_rwt":null,"us_bwt":null,"amount":-20.0,"site":"themeforest.net","other_party_country":null,"other_party_region":null,"other_party_city":null,"other_party_zipcode":null},{"unique_id":"cdf1814351800de402de97fcbfb3eae2","date":"2012-08-21
106
+ 00:56:52 +1000","order_id":null,"type":"Deposit","detail":"Expires 21 Aug
107
+ 2013.","item_id":null,"document":"3413319","price":null,"au_gst":null,"eu_vat":null,"us_rwt":null,"us_bwt":null,"amount":30.0,"site":null,"other_party_country":null,"other_party_region":null,"other_party_city":null,"other_party_zipcode":null},{"unique_id":"2f680e1697d46d954e23671f5b093ade","date":"2011-04-17
108
+ 00:40:32 +1000","order_id":null,"type":"Agreement Change","detail":"Enrolled
109
+ in exclusive author program","item_id":null,"document":null,"price":null,"au_gst":null,"eu_vat":null,"us_rwt":null,"us_bwt":null,"amount":null,"site":null,"other_party_country":null,"other_party_region":null,"other_party_city":null,"other_party_zipcode":null}]}'
110
+ recorded_at: Wed, 12 Oct 2022 08:17:30 GMT
111
+ recorded_with: VCR 6.1.0
@@ -0,0 +1,85 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.envato.com/v1/market/total-users.json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v1.10.2
12
+ Authorization:
13
+ - TOKEN
14
+ Accept-Encoding:
15
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
16
+ Accept:
17
+ - "*/*"
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Date:
24
+ - Tue, 11 Oct 2022 22:13:53 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Content-Length:
28
+ - '52'
29
+ Connection:
30
+ - keep-alive
31
+ X-Amzn-Requestid:
32
+ - b9617de7-cb0c-4df1-826b-3c2f09654202
33
+ Referrer-Policy:
34
+ - origin-when-cross-origin
35
+ X-Xss-Protection:
36
+ - 1; mode=block
37
+ X-Runtime:
38
+ - '0.015769'
39
+ Access-Control-Allow-Origin:
40
+ - "*"
41
+ Strict-Transport-Security:
42
+ - max-age=31536000
43
+ X-Frame-Options:
44
+ - SAMEORIGIN
45
+ X-Amzn-Remapped-Connection:
46
+ - keep-alive
47
+ X-Download-Options:
48
+ - noopen
49
+ X-Request-Id:
50
+ - 758af20f2ec11616-DME
51
+ X-Amz-Apigw-Id:
52
+ - Z3GZOEgRoAMFt7w=
53
+ Cache-Control:
54
+ - no-store
55
+ X-Amzn-Remapped-Server:
56
+ - nginx
57
+ Expires:
58
+ - '0'
59
+ X-Content-Type-Options:
60
+ - nosniff
61
+ Etag:
62
+ - W/"b937114d37c27bab59f2297c3ec94c2a"
63
+ Pragma:
64
+ - no-cache
65
+ X-Amzn-Remapped-Date:
66
+ - Tue, 11 Oct 2022 22:13:53 GMT
67
+ X-Cache:
68
+ - Miss from cloudfront
69
+ Via:
70
+ - 1.1 e976f829f2d1c4787d42d0595ae7cf74.cloudfront.net (CloudFront)
71
+ X-Amz-Cf-Pop:
72
+ - FRA2-C1
73
+ X-Amz-Cf-Id:
74
+ - kWpy4wYRpAu9hv-rGwNI_mplHuQaGbOIMvMde2YFePoe5LDhJrpkQA==
75
+ Cf-Cache-Status:
76
+ - DYNAMIC
77
+ Server:
78
+ - cloudflare
79
+ Cf-Ray:
80
+ - 758af20f2ec11616-DME
81
+ body:
82
+ encoding: ASCII-8BIT
83
+ string: '{"total-users":{"total_users":"16863730"}}'
84
+ recorded_at: Tue, 11 Oct 2022 22:13:53 GMT
85
+ recorded_with: VCR 6.1.0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: envato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Brin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-08 00:00:00.000000000 Z
11
+ date: 2022-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -44,12 +44,156 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.7'
47
+ - !ruby/object:Gem::Dependency
48
+ name: bundler
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rake
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '10'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '10'
75
+ - !ruby/object:Gem::Dependency
76
+ name: rspec
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '3.0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '3.0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: simplecov
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0.9'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0.9'
103
+ - !ruby/object:Gem::Dependency
104
+ name: vcr
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: webmock
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
47
131
  description: WIP - Envato API wrapper written in Ruby
48
132
  email: ilya@codeplay.ru
49
133
  executables: []
50
134
  extensions: []
51
135
  extra_rdoc_files: []
52
- files: []
136
+ files:
137
+ - ".gitignore"
138
+ - ".rspec"
139
+ - ".rubocop.yml"
140
+ - Gemfile
141
+ - Gemfile.lock
142
+ - LICENSE
143
+ - README.md
144
+ - Rakefile
145
+ - envato.gemspec
146
+ - lib/envato.rb
147
+ - lib/envato/client.rb
148
+ - lib/envato/collection.rb
149
+ - lib/envato/error.rb
150
+ - lib/envato/object.rb
151
+ - lib/envato/objects/types.rb
152
+ - lib/envato/resource.rb
153
+ - lib/envato/resources/bookmarks.rb
154
+ - lib/envato/resources/item.rb
155
+ - lib/envato/resources/market.rb
156
+ - lib/envato/resources/markets.rb
157
+ - lib/envato/resources/search.rb
158
+ - lib/envato/resources/user.rb
159
+ - lib/envato/resources/users.rb
160
+ - lib/envato/version.rb
161
+ - spec/bookmarks_spec.rb
162
+ - spec/envato_spec.rb
163
+ - spec/item_spec.rb
164
+ - spec/market_spec.rb
165
+ - spec/markets_spec.rb
166
+ - spec/search_spec.rb
167
+ - spec/spec_helper.rb
168
+ - spec/user_spec.rb
169
+ - spec/users_spec.rb
170
+ - spec/vcr/bookmarks_list.yml
171
+ - spec/vcr/item_info.yml
172
+ - spec/vcr/item_list_purchases.yml
173
+ - spec/vcr/item_prices.yml
174
+ - spec/vcr/item_purchases.yml
175
+ - spec/vcr/item_version.yml
176
+ - spec/vcr/market_categories_graphicriver.yml
177
+ - spec/vcr/market_categories_themeforest.yml
178
+ - spec/vcr/market_features_graphicriver.yml
179
+ - spec/vcr/market_features_themeforest.yml
180
+ - spec/vcr/market_new_files.yml
181
+ - spec/vcr/market_new_files_graphicriver_graphics.yml
182
+ - spec/vcr/market_popular_items_themeforest.yml
183
+ - spec/vcr/market_total_items.yml
184
+ - spec/vcr/search_comments.yml
185
+ - spec/vcr/search_item.yml
186
+ - spec/vcr/search_more_like_this.yml
187
+ - spec/vcr/user_account.yml
188
+ - spec/vcr/user_badges.yml
189
+ - spec/vcr/user_badges_not_exists.yml
190
+ - spec/vcr/user_collection.yml
191
+ - spec/vcr/user_collections.yml
192
+ - spec/vcr/user_email.yml
193
+ - spec/vcr/user_items.yml
194
+ - spec/vcr/user_name.yml
195
+ - spec/vcr/user_statement.yml
196
+ - spec/vcr/users_total.yml
53
197
  homepage: https://github.com/ruby-api-client/envato
54
198
  licenses:
55
199
  - MIT