beyond_api 0.18.0.pre → 0.18.2.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +33 -0
- data/CHANGELOG.md +16 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +29 -1
- data/Rakefile +4 -2
- data/beyond_api.gemspec +12 -8
- data/bin/console +2 -1
- data/lib/beyond_api/connection.rb +7 -4
- data/lib/beyond_api/error.rb +6 -6
- data/lib/beyond_api/ext.rb +16 -16
- data/lib/beyond_api/request.rb +4 -4
- data/lib/beyond_api/resources/carts.rb +52 -23
- data/lib/beyond_api/resources/categories_view.rb +16 -6
- data/lib/beyond_api/resources/newsletter_target.rb +10 -4
- data/lib/beyond_api/resources/orders.rb +152 -33
- data/lib/beyond_api/resources/payment_method_definitions.rb +11 -4
- data/lib/beyond_api/resources/product_attribute_definitions.rb +16 -4
- data/lib/beyond_api/resources/products/attachments.rb +0 -2
- data/lib/beyond_api/resources/products/availability.rb +20 -11
- data/lib/beyond_api/resources/products/cross_sells.rb +0 -1
- data/lib/beyond_api/resources/products/custom_attributes.rb +0 -1
- data/lib/beyond_api/resources/products/images.rb +12 -9
- data/lib/beyond_api/resources/products/searches.rb +2 -2
- data/lib/beyond_api/resources/products/variation_properties.rb +0 -1
- data/lib/beyond_api/resources/products/videos.rb +4 -3
- data/lib/beyond_api/resources/products.rb +28 -9
- data/lib/beyond_api/resources/products_view.rb +21 -5
- data/lib/beyond_api/resources/script_tags.rb +21 -5
- data/lib/beyond_api/resources/shipping_zones.rb +53 -12
- data/lib/beyond_api/resources/shop.rb +9 -2
- data/lib/beyond_api/resources/shops/address.rb +0 -1
- data/lib/beyond_api/resources/shops/attributes.rb +0 -1
- data/lib/beyond_api/resources/shops/images.rb +12 -9
- data/lib/beyond_api/resources/shops/legals.rb +14 -7
- data/lib/beyond_api/resources/shops/locations.rb +0 -1
- data/lib/beyond_api/resources/signers.rb +12 -3
- data/lib/beyond_api/resources/token.rb +6 -5
- data/lib/beyond_api/resources/users.rb +73 -15
- data/lib/beyond_api/resources/variations/availability.rb +17 -5
- data/lib/beyond_api/resources/variations/images.rb +32 -15
- data/lib/beyond_api/resources/variations.rb +14 -3
- data/lib/beyond_api/resources/webhook_subscriptions.rb +30 -8
- data/lib/beyond_api/session.rb +7 -1
- data/lib/beyond_api/utils.rb +44 -42
- data/lib/beyond_api/version.rb +3 -1
- data/lib/beyond_api.rb +3 -1
- data/lib/generators/beyond_api/install_generator.rb +1 -1
- metadata +52 -9
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beyond_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.2.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Unai Abrisketa
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: exe
|
13
13
|
cert_chain: []
|
14
|
-
date: 2021-
|
14
|
+
date: 2021-11-25 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -27,6 +27,34 @@ dependencies:
|
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '2.0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: dotenv
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - "~>"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '2.7'
|
37
|
+
type: :development
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '2.7'
|
44
|
+
- !ruby/object:Gem::Dependency
|
45
|
+
name: faker
|
46
|
+
requirement: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - "~>"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '2.2'
|
51
|
+
type: :development
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - "~>"
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '2.2'
|
30
58
|
- !ruby/object:Gem::Dependency
|
31
59
|
name: rake
|
32
60
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,7 +84,21 @@ dependencies:
|
|
56
84
|
- !ruby/object:Gem::Version
|
57
85
|
version: '3.0'
|
58
86
|
- !ruby/object:Gem::Dependency
|
59
|
-
name:
|
87
|
+
name: rubocop
|
88
|
+
requirement: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - "~>"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '1.20'
|
93
|
+
type: :development
|
94
|
+
prerelease: false
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '1.20'
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
name: rubocop-ordered_methods
|
60
102
|
requirement: !ruby/object:Gem::Requirement
|
61
103
|
requirements:
|
62
104
|
- - "~>"
|
@@ -70,33 +112,33 @@ dependencies:
|
|
70
112
|
- !ruby/object:Gem::Version
|
71
113
|
version: '0.9'
|
72
114
|
- !ruby/object:Gem::Dependency
|
73
|
-
name:
|
115
|
+
name: rubocop-rspec
|
74
116
|
requirement: !ruby/object:Gem::Requirement
|
75
117
|
requirements:
|
76
118
|
- - "~>"
|
77
119
|
- !ruby/object:Gem::Version
|
78
|
-
version: '2.
|
120
|
+
version: '2.4'
|
79
121
|
type: :development
|
80
122
|
prerelease: false
|
81
123
|
version_requirements: !ruby/object:Gem::Requirement
|
82
124
|
requirements:
|
83
125
|
- - "~>"
|
84
126
|
- !ruby/object:Gem::Version
|
85
|
-
version: '2.
|
127
|
+
version: '2.4'
|
86
128
|
- !ruby/object:Gem::Dependency
|
87
|
-
name:
|
129
|
+
name: yard
|
88
130
|
requirement: !ruby/object:Gem::Requirement
|
89
131
|
requirements:
|
90
132
|
- - "~>"
|
91
133
|
- !ruby/object:Gem::Version
|
92
|
-
version: '
|
134
|
+
version: '0.9'
|
93
135
|
type: :development
|
94
136
|
prerelease: false
|
95
137
|
version_requirements: !ruby/object:Gem::Requirement
|
96
138
|
requirements:
|
97
139
|
- - "~>"
|
98
140
|
- !ruby/object:Gem::Version
|
99
|
-
version: '
|
141
|
+
version: '0.9'
|
100
142
|
- !ruby/object:Gem::Dependency
|
101
143
|
name: faraday
|
102
144
|
requirement: !ruby/object:Gem::Requirement
|
@@ -119,6 +161,7 @@ extra_rdoc_files: []
|
|
119
161
|
files:
|
120
162
|
- ".gitignore"
|
121
163
|
- ".rspec"
|
164
|
+
- ".rubocop.yml"
|
122
165
|
- ".travis.yml"
|
123
166
|
- ".yardopts"
|
124
167
|
- CHANGELOG.md
|