requestsproxy-rest 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +149 -0
  4. data/Rakefile +8 -0
  5. data/docs/ProtobufListValue.md +8 -0
  6. data/docs/ProtobufNullValue.md +7 -0
  7. data/docs/ProtobufStruct.md +8 -0
  8. data/docs/ProtobufValue.md +13 -0
  9. data/docs/RequestsproxyAccountStarRatingResponse.md +9 -0
  10. data/docs/RequestsproxyApi.md +1008 -0
  11. data/docs/RequestsproxyAuthInfoResponse.md +9 -0
  12. data/docs/RequestsproxyCategory.md +9 -0
  13. data/docs/RequestsproxyComment.md +11 -0
  14. data/docs/RequestsproxyCoupon.md +8 -0
  15. data/docs/RequestsproxyCreateDynamicCouponsCodesResponse.md +9 -0
  16. data/docs/RequestsproxyCreateWebhookParams.md +9 -0
  17. data/docs/RequestsproxyDynamicCouponError.md +9 -0
  18. data/docs/RequestsproxyDynamicCouponsResponse.md +8 -0
  19. data/docs/RequestsproxyDynamicCouponsStatisticsResponse.md +8 -0
  20. data/docs/RequestsproxyDynamicCouponsStats.md +9 -0
  21. data/docs/RequestsproxyFeature.md +12 -0
  22. data/docs/RequestsproxyFeaturesResponse.md +8 -0
  23. data/docs/RequestsproxyImageData.md +10 -0
  24. data/docs/RequestsproxyOrdersResponse.md +8 -0
  25. data/docs/RequestsproxyPagination.md +10 -0
  26. data/docs/RequestsproxyProductImage.md +11 -0
  27. data/docs/RequestsproxyProductResponse.md +19 -0
  28. data/docs/RequestsproxyProductSpecs.md +9 -0
  29. data/docs/RequestsproxyProductStarRatingResponse.md +10 -0
  30. data/docs/RequestsproxyProductsResponse.md +8 -0
  31. data/docs/RequestsproxyProductsStarRatingResponse.md +8 -0
  32. data/docs/RequestsproxyPromotedProduct.md +10 -0
  33. data/docs/RequestsproxyPromotedProductsResponse.md +8 -0
  34. data/docs/RequestsproxyPurchase.md +16 -0
  35. data/docs/RequestsproxyResponse.md +28 -0
  36. data/docs/RequestsproxyReview.md +24 -0
  37. data/docs/RequestsproxyReviewCustomField.md +11 -0
  38. data/docs/RequestsproxyReviewResponse.md +8 -0
  39. data/docs/RequestsproxyReviewsResponse.md +8 -0
  40. data/docs/RequestsproxyStatus.md +9 -0
  41. data/docs/RequestsproxyTopReview.md +13 -0
  42. data/docs/RequestsproxyTopReviewsResponse.md +8 -0
  43. data/docs/RequestsproxyUserResponse.md +11 -0
  44. data/docs/RequestsproxyWebhook.md +11 -0
  45. data/docs/RequestsproxyWebhookEvent.md +9 -0
  46. data/docs/RequestsproxyWebhookEventsResponse.md +8 -0
  47. data/docs/RequestsproxyWebhookResponse.md +8 -0
  48. data/docs/RequestsproxyWebhooksResponse.md +8 -0
  49. data/git_push.sh +55 -0
  50. data/lib/requestsproxy-rest.rb +83 -0
  51. data/lib/requestsproxy-rest/api/requestsproxy_api.rb +1161 -0
  52. data/lib/requestsproxy-rest/api_client.rb +388 -0
  53. data/lib/requestsproxy-rest/api_error.rb +38 -0
  54. data/lib/requestsproxy-rest/configuration.rb +202 -0
  55. data/lib/requestsproxy-rest/models/protobuf_list_value.rb +187 -0
  56. data/lib/requestsproxy-rest/models/protobuf_null_value.rb +29 -0
  57. data/lib/requestsproxy-rest/models/protobuf_struct.rb +187 -0
  58. data/lib/requestsproxy-rest/models/protobuf_value.rb +235 -0
  59. data/lib/requestsproxy-rest/models/requestsproxy_account_star_rating_response.rb +192 -0
  60. data/lib/requestsproxy-rest/models/requestsproxy_auth_info_response.rb +194 -0
  61. data/lib/requestsproxy-rest/models/requestsproxy_category.rb +192 -0
  62. data/lib/requestsproxy-rest/models/requestsproxy_comment.rb +210 -0
  63. data/lib/requestsproxy-rest/models/requestsproxy_coupon.rb +183 -0
  64. data/lib/requestsproxy-rest/models/requestsproxy_create_dynamic_coupons_codes_response.rb +194 -0
  65. data/lib/requestsproxy-rest/models/requestsproxy_create_webhook_params.rb +192 -0
  66. data/lib/requestsproxy-rest/models/requestsproxy_dynamic_coupon_error.rb +192 -0
  67. data/lib/requestsproxy-rest/models/requestsproxy_dynamic_coupons_response.rb +185 -0
  68. data/lib/requestsproxy-rest/models/requestsproxy_dynamic_coupons_statistics_response.rb +183 -0
  69. data/lib/requestsproxy-rest/models/requestsproxy_dynamic_coupons_stats.rb +192 -0
  70. data/lib/requestsproxy-rest/models/requestsproxy_feature.rb +219 -0
  71. data/lib/requestsproxy-rest/models/requestsproxy_features_response.rb +185 -0
  72. data/lib/requestsproxy-rest/models/requestsproxy_image_data.rb +201 -0
  73. data/lib/requestsproxy-rest/models/requestsproxy_orders_response.rb +185 -0
  74. data/lib/requestsproxy-rest/models/requestsproxy_pagination.rb +201 -0
  75. data/lib/requestsproxy-rest/models/requestsproxy_product_image.rb +210 -0
  76. data/lib/requestsproxy-rest/models/requestsproxy_product_response.rb +286 -0
  77. data/lib/requestsproxy-rest/models/requestsproxy_product_specs.rb +192 -0
  78. data/lib/requestsproxy-rest/models/requestsproxy_product_star_rating_response.rb +201 -0
  79. data/lib/requestsproxy-rest/models/requestsproxy_products_response.rb +185 -0
  80. data/lib/requestsproxy-rest/models/requestsproxy_products_star_rating_response.rb +185 -0
  81. data/lib/requestsproxy-rest/models/requestsproxy_promoted_product.rb +201 -0
  82. data/lib/requestsproxy-rest/models/requestsproxy_promoted_products_response.rb +185 -0
  83. data/lib/requestsproxy-rest/models/requestsproxy_purchase.rb +255 -0
  84. data/lib/requestsproxy-rest/models/requestsproxy_response.rb +363 -0
  85. data/lib/requestsproxy-rest/models/requestsproxy_review.rb +331 -0
  86. data/lib/requestsproxy-rest/models/requestsproxy_review_custom_field.rb +210 -0
  87. data/lib/requestsproxy-rest/models/requestsproxy_review_response.rb +183 -0
  88. data/lib/requestsproxy-rest/models/requestsproxy_reviews_response.rb +185 -0
  89. data/lib/requestsproxy-rest/models/requestsproxy_status.rb +192 -0
  90. data/lib/requestsproxy-rest/models/requestsproxy_top_review.rb +228 -0
  91. data/lib/requestsproxy-rest/models/requestsproxy_top_reviews_response.rb +185 -0
  92. data/lib/requestsproxy-rest/models/requestsproxy_user_response.rb +210 -0
  93. data/lib/requestsproxy-rest/models/requestsproxy_webhook.rb +210 -0
  94. data/lib/requestsproxy-rest/models/requestsproxy_webhook_event.rb +192 -0
  95. data/lib/requestsproxy-rest/models/requestsproxy_webhook_events_response.rb +185 -0
  96. data/lib/requestsproxy-rest/models/requestsproxy_webhook_response.rb +183 -0
  97. data/lib/requestsproxy-rest/models/requestsproxy_webhooks_response.rb +185 -0
  98. data/lib/requestsproxy-rest/version.rb +15 -0
  99. data/requestsproxy-rest.gemspec +45 -0
  100. data/spec/api/requestsproxy_api_spec.rb +271 -0
  101. data/spec/api_client_spec.rb +226 -0
  102. data/spec/configuration_spec.rb +42 -0
  103. data/spec/models/protobuf_list_value_spec.rb +41 -0
  104. data/spec/models/protobuf_null_value_spec.rb +35 -0
  105. data/spec/models/protobuf_struct_spec.rb +41 -0
  106. data/spec/models/protobuf_value_spec.rb +71 -0
  107. data/spec/models/requestsproxy_account_star_rating_response_spec.rb +47 -0
  108. data/spec/models/requestsproxy_auth_info_response_spec.rb +47 -0
  109. data/spec/models/requestsproxy_category_spec.rb +47 -0
  110. data/spec/models/requestsproxy_comment_spec.rb +59 -0
  111. data/spec/models/requestsproxy_coupon_spec.rb +41 -0
  112. data/spec/models/requestsproxy_create_dynamic_coupons_codes_response_spec.rb +47 -0
  113. data/spec/models/requestsproxy_create_webhook_params_spec.rb +47 -0
  114. data/spec/models/requestsproxy_dynamic_coupon_error_spec.rb +47 -0
  115. data/spec/models/requestsproxy_dynamic_coupons_response_spec.rb +41 -0
  116. data/spec/models/requestsproxy_dynamic_coupons_statistics_response_spec.rb +41 -0
  117. data/spec/models/requestsproxy_dynamic_coupons_stats_spec.rb +47 -0
  118. data/spec/models/requestsproxy_feature_spec.rb +65 -0
  119. data/spec/models/requestsproxy_features_response_spec.rb +41 -0
  120. data/spec/models/requestsproxy_image_data_spec.rb +53 -0
  121. data/spec/models/requestsproxy_orders_response_spec.rb +41 -0
  122. data/spec/models/requestsproxy_pagination_spec.rb +53 -0
  123. data/spec/models/requestsproxy_product_image_spec.rb +59 -0
  124. data/spec/models/requestsproxy_product_response_spec.rb +107 -0
  125. data/spec/models/requestsproxy_product_specs_spec.rb +47 -0
  126. data/spec/models/requestsproxy_product_star_rating_response_spec.rb +53 -0
  127. data/spec/models/requestsproxy_products_response_spec.rb +41 -0
  128. data/spec/models/requestsproxy_products_star_rating_response_spec.rb +41 -0
  129. data/spec/models/requestsproxy_promoted_product_spec.rb +53 -0
  130. data/spec/models/requestsproxy_promoted_products_response_spec.rb +41 -0
  131. data/spec/models/requestsproxy_purchase_spec.rb +89 -0
  132. data/spec/models/requestsproxy_response_spec.rb +161 -0
  133. data/spec/models/requestsproxy_review_custom_field_spec.rb +59 -0
  134. data/spec/models/requestsproxy_review_response_spec.rb +41 -0
  135. data/spec/models/requestsproxy_review_spec.rb +137 -0
  136. data/spec/models/requestsproxy_reviews_response_spec.rb +41 -0
  137. data/spec/models/requestsproxy_status_spec.rb +47 -0
  138. data/spec/models/requestsproxy_top_review_spec.rb +71 -0
  139. data/spec/models/requestsproxy_top_reviews_response_spec.rb +41 -0
  140. data/spec/models/requestsproxy_user_response_spec.rb +59 -0
  141. data/spec/models/requestsproxy_webhook_event_spec.rb +47 -0
  142. data/spec/models/requestsproxy_webhook_events_response_spec.rb +41 -0
  143. data/spec/models/requestsproxy_webhook_response_spec.rb +41 -0
  144. data/spec/models/requestsproxy_webhook_spec.rb +59 -0
  145. data/spec/models/requestsproxy_webhooks_response_spec.rb +41 -0
  146. data/spec/spec_helper.rb +111 -0
  147. metadata +416 -0
@@ -0,0 +1,47 @@
1
+ =begin
2
+ #requestsproxy.proto
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: version not set
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Requestsproxy::RequestsproxyWebhookEvent
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'RequestsproxyWebhookEvent' do
21
+ before do
22
+ # run before each test
23
+ @instance = Requestsproxy::RequestsproxyWebhookEvent.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RequestsproxyWebhookEvent' do
31
+ it 'should create an instance of RequestsproxyWebhookEvent' do
32
+ expect(@instance).to be_instance_of(Requestsproxy::RequestsproxyWebhookEvent)
33
+ end
34
+ end
35
+ describe 'test attribute "name"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "description"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #requestsproxy.proto
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: version not set
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Requestsproxy::RequestsproxyWebhookEventsResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'RequestsproxyWebhookEventsResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = Requestsproxy::RequestsproxyWebhookEventsResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RequestsproxyWebhookEventsResponse' do
31
+ it 'should create an instance of RequestsproxyWebhookEventsResponse' do
32
+ expect(@instance).to be_instance_of(Requestsproxy::RequestsproxyWebhookEventsResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "webhook_events"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #requestsproxy.proto
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: version not set
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Requestsproxy::RequestsproxyWebhookResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'RequestsproxyWebhookResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = Requestsproxy::RequestsproxyWebhookResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RequestsproxyWebhookResponse' do
31
+ it 'should create an instance of RequestsproxyWebhookResponse' do
32
+ expect(@instance).to be_instance_of(Requestsproxy::RequestsproxyWebhookResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "webhook"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #requestsproxy.proto
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: version not set
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Requestsproxy::RequestsproxyWebhook
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'RequestsproxyWebhook' do
21
+ before do
22
+ # run before each test
23
+ @instance = Requestsproxy::RequestsproxyWebhook.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RequestsproxyWebhook' do
31
+ it 'should create an instance of RequestsproxyWebhook' do
32
+ expect(@instance).to be_instance_of(Requestsproxy::RequestsproxyWebhook)
33
+ end
34
+ end
35
+ describe 'test attribute "id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "webhook_event_id"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "webhook_event_name"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "url"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
@@ -0,0 +1,41 @@
1
+ =begin
2
+ #requestsproxy.proto
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: version not set
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Requestsproxy::RequestsproxyWebhooksResponse
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'RequestsproxyWebhooksResponse' do
21
+ before do
22
+ # run before each test
23
+ @instance = Requestsproxy::RequestsproxyWebhooksResponse.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of RequestsproxyWebhooksResponse' do
31
+ it 'should create an instance of RequestsproxyWebhooksResponse' do
32
+ expect(@instance).to be_instance_of(Requestsproxy::RequestsproxyWebhooksResponse)
33
+ end
34
+ end
35
+ describe 'test attribute "webhooks"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ end
@@ -0,0 +1,111 @@
1
+ =begin
2
+ #requestsproxy.proto
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: version not set
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ # load the gem
14
+ require 'requestsproxy-rest'
15
+
16
+ # The following was generated by the `rspec --init` command. Conventionally, all
17
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
18
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
19
+ # this file to always be loaded, without a need to explicitly require it in any
20
+ # files.
21
+ #
22
+ # Given that it is always loaded, you are encouraged to keep this file as
23
+ # light-weight as possible. Requiring heavyweight dependencies from this file
24
+ # will add to the boot time of your test suite on EVERY test run, even for an
25
+ # individual file that may not need all of that loaded. Instead, consider making
26
+ # a separate helper file that requires the additional dependencies and performs
27
+ # the additional setup, and require it from the spec files that actually need
28
+ # it.
29
+ #
30
+ # The `.rspec` file also contains a few flags that are not defaults but that
31
+ # users commonly want.
32
+ #
33
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
34
+ RSpec.configure do |config|
35
+ # rspec-expectations config goes here. You can use an alternate
36
+ # assertion/expectation library such as wrong or the stdlib/minitest
37
+ # assertions if you prefer.
38
+ config.expect_with :rspec do |expectations|
39
+ # This option will default to `true` in RSpec 4. It makes the `description`
40
+ # and `failure_message` of custom matchers include text for helper methods
41
+ # defined using `chain`, e.g.:
42
+ # be_bigger_than(2).and_smaller_than(4).description
43
+ # # => "be bigger than 2 and smaller than 4"
44
+ # ...rather than:
45
+ # # => "be bigger than 2"
46
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
47
+ end
48
+
49
+ # rspec-mocks config goes here. You can use an alternate test double
50
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
51
+ config.mock_with :rspec do |mocks|
52
+ # Prevents you from mocking or stubbing a method that does not exist on
53
+ # a real object. This is generally recommended, and will default to
54
+ # `true` in RSpec 4.
55
+ mocks.verify_partial_doubles = true
56
+ end
57
+
58
+ # The settings below are suggested to provide a good initial experience
59
+ # with RSpec, but feel free to customize to your heart's content.
60
+ =begin
61
+ # These two settings work together to allow you to limit a spec run
62
+ # to individual examples or groups you care about by tagging them with
63
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
64
+ # get run.
65
+ config.filter_run :focus
66
+ config.run_all_when_everything_filtered = true
67
+
68
+ # Allows RSpec to persist some state between runs in order to support
69
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
70
+ # you configure your source control system to ignore this file.
71
+ config.example_status_persistence_file_path = "spec/examples.txt"
72
+
73
+ # Limits the available syntax to the non-monkey patched syntax that is
74
+ # recommended. For more details, see:
75
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
76
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
77
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
78
+ config.disable_monkey_patching!
79
+
80
+ # This setting enables warnings. It's recommended, but in some cases may
81
+ # be too noisy due to issues in dependencies.
82
+ config.warnings = true
83
+
84
+ # Many RSpec users commonly either run the entire suite or an individual
85
+ # file, and it's useful to allow more verbose output when running an
86
+ # individual spec file.
87
+ if config.files_to_run.one?
88
+ # Use the documentation formatter for detailed output,
89
+ # unless a formatter has already been configured
90
+ # (e.g. via a command-line flag).
91
+ config.default_formatter = 'doc'
92
+ end
93
+
94
+ # Print the 10 slowest examples and example groups at the
95
+ # end of the spec run, to help surface which specs are running
96
+ # particularly slow.
97
+ config.profile_examples = 10
98
+
99
+ # Run specs in random order to surface order dependencies. If you find an
100
+ # order dependency and want to debug it, you can fix the order by providing
101
+ # the seed, which is printed after each run.
102
+ # --seed 1234
103
+ config.order = :random
104
+
105
+ # Seed global randomization in this process using the `--seed` CLI option.
106
+ # Setting this allows you to use `--seed` to deterministically reproduce
107
+ # test failures related to randomization by passing the same `--seed` value
108
+ # as the one that triggered the failure.
109
+ Kernel.srand config.seed
110
+ =end
111
+ end
metadata ADDED
@@ -0,0 +1,416 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: requestsproxy-rest
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Vladislav Shub
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-05-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: typhoeus
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.0'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.1
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '1.0'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.0.1
33
+ - !ruby/object:Gem::Dependency
34
+ name: json
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '2.1'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.1.0
43
+ type: :runtime
44
+ prerelease: false
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '2.1'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.1.0
53
+ - !ruby/object:Gem::Dependency
54
+ name: rspec
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '3.6'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 3.6.0
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.6'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 3.6.0
73
+ - !ruby/object:Gem::Dependency
74
+ name: vcr
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: '3.0'
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 3.0.1
83
+ type: :development
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.0'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 3.0.1
93
+ - !ruby/object:Gem::Dependency
94
+ name: webmock
95
+ requirement: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '1.24'
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 1.24.3
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '1.24'
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: 1.24.3
113
+ - !ruby/object:Gem::Dependency
114
+ name: autotest
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - "~>"
118
+ - !ruby/object:Gem::Version
119
+ version: '4.4'
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 4.4.6
123
+ type: :development
124
+ prerelease: false
125
+ version_requirements: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - "~>"
128
+ - !ruby/object:Gem::Version
129
+ version: '4.4'
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: 4.4.6
133
+ - !ruby/object:Gem::Dependency
134
+ name: autotest-rails-pure
135
+ requirement: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '4.1'
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: 4.1.2
143
+ type: :development
144
+ prerelease: false
145
+ version_requirements: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - "~>"
148
+ - !ruby/object:Gem::Version
149
+ version: '4.1'
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: 4.1.2
153
+ - !ruby/object:Gem::Dependency
154
+ name: autotest-growl
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '0.2'
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: 0.2.16
163
+ type: :development
164
+ prerelease: false
165
+ version_requirements: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - "~>"
168
+ - !ruby/object:Gem::Version
169
+ version: '0.2'
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 0.2.16
173
+ - !ruby/object:Gem::Dependency
174
+ name: autotest-fsevent
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - "~>"
178
+ - !ruby/object:Gem::Version
179
+ version: '0.2'
180
+ - - ">="
181
+ - !ruby/object:Gem::Version
182
+ version: 0.2.12
183
+ type: :development
184
+ prerelease: false
185
+ version_requirements: !ruby/object:Gem::Requirement
186
+ requirements:
187
+ - - "~>"
188
+ - !ruby/object:Gem::Version
189
+ version: '0.2'
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: 0.2.12
193
+ description: No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
194
+ email:
195
+ - vlad@yotpo.com
196
+ executables: []
197
+ extensions: []
198
+ extra_rdoc_files: []
199
+ files:
200
+ - Gemfile
201
+ - README.md
202
+ - Rakefile
203
+ - docs/ProtobufListValue.md
204
+ - docs/ProtobufNullValue.md
205
+ - docs/ProtobufStruct.md
206
+ - docs/ProtobufValue.md
207
+ - docs/RequestsproxyAccountStarRatingResponse.md
208
+ - docs/RequestsproxyApi.md
209
+ - docs/RequestsproxyAuthInfoResponse.md
210
+ - docs/RequestsproxyCategory.md
211
+ - docs/RequestsproxyComment.md
212
+ - docs/RequestsproxyCoupon.md
213
+ - docs/RequestsproxyCreateDynamicCouponsCodesResponse.md
214
+ - docs/RequestsproxyCreateWebhookParams.md
215
+ - docs/RequestsproxyDynamicCouponError.md
216
+ - docs/RequestsproxyDynamicCouponsResponse.md
217
+ - docs/RequestsproxyDynamicCouponsStatisticsResponse.md
218
+ - docs/RequestsproxyDynamicCouponsStats.md
219
+ - docs/RequestsproxyFeature.md
220
+ - docs/RequestsproxyFeaturesResponse.md
221
+ - docs/RequestsproxyImageData.md
222
+ - docs/RequestsproxyOrdersResponse.md
223
+ - docs/RequestsproxyPagination.md
224
+ - docs/RequestsproxyProductImage.md
225
+ - docs/RequestsproxyProductResponse.md
226
+ - docs/RequestsproxyProductSpecs.md
227
+ - docs/RequestsproxyProductStarRatingResponse.md
228
+ - docs/RequestsproxyProductsResponse.md
229
+ - docs/RequestsproxyProductsStarRatingResponse.md
230
+ - docs/RequestsproxyPromotedProduct.md
231
+ - docs/RequestsproxyPromotedProductsResponse.md
232
+ - docs/RequestsproxyPurchase.md
233
+ - docs/RequestsproxyResponse.md
234
+ - docs/RequestsproxyReview.md
235
+ - docs/RequestsproxyReviewCustomField.md
236
+ - docs/RequestsproxyReviewResponse.md
237
+ - docs/RequestsproxyReviewsResponse.md
238
+ - docs/RequestsproxyStatus.md
239
+ - docs/RequestsproxyTopReview.md
240
+ - docs/RequestsproxyTopReviewsResponse.md
241
+ - docs/RequestsproxyUserResponse.md
242
+ - docs/RequestsproxyWebhook.md
243
+ - docs/RequestsproxyWebhookEvent.md
244
+ - docs/RequestsproxyWebhookEventsResponse.md
245
+ - docs/RequestsproxyWebhookResponse.md
246
+ - docs/RequestsproxyWebhooksResponse.md
247
+ - git_push.sh
248
+ - lib/requestsproxy-rest.rb
249
+ - lib/requestsproxy-rest/api/requestsproxy_api.rb
250
+ - lib/requestsproxy-rest/api_client.rb
251
+ - lib/requestsproxy-rest/api_error.rb
252
+ - lib/requestsproxy-rest/configuration.rb
253
+ - lib/requestsproxy-rest/models/protobuf_list_value.rb
254
+ - lib/requestsproxy-rest/models/protobuf_null_value.rb
255
+ - lib/requestsproxy-rest/models/protobuf_struct.rb
256
+ - lib/requestsproxy-rest/models/protobuf_value.rb
257
+ - lib/requestsproxy-rest/models/requestsproxy_account_star_rating_response.rb
258
+ - lib/requestsproxy-rest/models/requestsproxy_auth_info_response.rb
259
+ - lib/requestsproxy-rest/models/requestsproxy_category.rb
260
+ - lib/requestsproxy-rest/models/requestsproxy_comment.rb
261
+ - lib/requestsproxy-rest/models/requestsproxy_coupon.rb
262
+ - lib/requestsproxy-rest/models/requestsproxy_create_dynamic_coupons_codes_response.rb
263
+ - lib/requestsproxy-rest/models/requestsproxy_create_webhook_params.rb
264
+ - lib/requestsproxy-rest/models/requestsproxy_dynamic_coupon_error.rb
265
+ - lib/requestsproxy-rest/models/requestsproxy_dynamic_coupons_response.rb
266
+ - lib/requestsproxy-rest/models/requestsproxy_dynamic_coupons_statistics_response.rb
267
+ - lib/requestsproxy-rest/models/requestsproxy_dynamic_coupons_stats.rb
268
+ - lib/requestsproxy-rest/models/requestsproxy_feature.rb
269
+ - lib/requestsproxy-rest/models/requestsproxy_features_response.rb
270
+ - lib/requestsproxy-rest/models/requestsproxy_image_data.rb
271
+ - lib/requestsproxy-rest/models/requestsproxy_orders_response.rb
272
+ - lib/requestsproxy-rest/models/requestsproxy_pagination.rb
273
+ - lib/requestsproxy-rest/models/requestsproxy_product_image.rb
274
+ - lib/requestsproxy-rest/models/requestsproxy_product_response.rb
275
+ - lib/requestsproxy-rest/models/requestsproxy_product_specs.rb
276
+ - lib/requestsproxy-rest/models/requestsproxy_product_star_rating_response.rb
277
+ - lib/requestsproxy-rest/models/requestsproxy_products_response.rb
278
+ - lib/requestsproxy-rest/models/requestsproxy_products_star_rating_response.rb
279
+ - lib/requestsproxy-rest/models/requestsproxy_promoted_product.rb
280
+ - lib/requestsproxy-rest/models/requestsproxy_promoted_products_response.rb
281
+ - lib/requestsproxy-rest/models/requestsproxy_purchase.rb
282
+ - lib/requestsproxy-rest/models/requestsproxy_response.rb
283
+ - lib/requestsproxy-rest/models/requestsproxy_review.rb
284
+ - lib/requestsproxy-rest/models/requestsproxy_review_custom_field.rb
285
+ - lib/requestsproxy-rest/models/requestsproxy_review_response.rb
286
+ - lib/requestsproxy-rest/models/requestsproxy_reviews_response.rb
287
+ - lib/requestsproxy-rest/models/requestsproxy_status.rb
288
+ - lib/requestsproxy-rest/models/requestsproxy_top_review.rb
289
+ - lib/requestsproxy-rest/models/requestsproxy_top_reviews_response.rb
290
+ - lib/requestsproxy-rest/models/requestsproxy_user_response.rb
291
+ - lib/requestsproxy-rest/models/requestsproxy_webhook.rb
292
+ - lib/requestsproxy-rest/models/requestsproxy_webhook_event.rb
293
+ - lib/requestsproxy-rest/models/requestsproxy_webhook_events_response.rb
294
+ - lib/requestsproxy-rest/models/requestsproxy_webhook_response.rb
295
+ - lib/requestsproxy-rest/models/requestsproxy_webhooks_response.rb
296
+ - lib/requestsproxy-rest/version.rb
297
+ - requestsproxy-rest.gemspec
298
+ - spec/api/requestsproxy_api_spec.rb
299
+ - spec/api_client_spec.rb
300
+ - spec/configuration_spec.rb
301
+ - spec/models/protobuf_list_value_spec.rb
302
+ - spec/models/protobuf_null_value_spec.rb
303
+ - spec/models/protobuf_struct_spec.rb
304
+ - spec/models/protobuf_value_spec.rb
305
+ - spec/models/requestsproxy_account_star_rating_response_spec.rb
306
+ - spec/models/requestsproxy_auth_info_response_spec.rb
307
+ - spec/models/requestsproxy_category_spec.rb
308
+ - spec/models/requestsproxy_comment_spec.rb
309
+ - spec/models/requestsproxy_coupon_spec.rb
310
+ - spec/models/requestsproxy_create_dynamic_coupons_codes_response_spec.rb
311
+ - spec/models/requestsproxy_create_webhook_params_spec.rb
312
+ - spec/models/requestsproxy_dynamic_coupon_error_spec.rb
313
+ - spec/models/requestsproxy_dynamic_coupons_response_spec.rb
314
+ - spec/models/requestsproxy_dynamic_coupons_statistics_response_spec.rb
315
+ - spec/models/requestsproxy_dynamic_coupons_stats_spec.rb
316
+ - spec/models/requestsproxy_feature_spec.rb
317
+ - spec/models/requestsproxy_features_response_spec.rb
318
+ - spec/models/requestsproxy_image_data_spec.rb
319
+ - spec/models/requestsproxy_orders_response_spec.rb
320
+ - spec/models/requestsproxy_pagination_spec.rb
321
+ - spec/models/requestsproxy_product_image_spec.rb
322
+ - spec/models/requestsproxy_product_response_spec.rb
323
+ - spec/models/requestsproxy_product_specs_spec.rb
324
+ - spec/models/requestsproxy_product_star_rating_response_spec.rb
325
+ - spec/models/requestsproxy_products_response_spec.rb
326
+ - spec/models/requestsproxy_products_star_rating_response_spec.rb
327
+ - spec/models/requestsproxy_promoted_product_spec.rb
328
+ - spec/models/requestsproxy_promoted_products_response_spec.rb
329
+ - spec/models/requestsproxy_purchase_spec.rb
330
+ - spec/models/requestsproxy_response_spec.rb
331
+ - spec/models/requestsproxy_review_custom_field_spec.rb
332
+ - spec/models/requestsproxy_review_response_spec.rb
333
+ - spec/models/requestsproxy_review_spec.rb
334
+ - spec/models/requestsproxy_reviews_response_spec.rb
335
+ - spec/models/requestsproxy_status_spec.rb
336
+ - spec/models/requestsproxy_top_review_spec.rb
337
+ - spec/models/requestsproxy_top_reviews_response_spec.rb
338
+ - spec/models/requestsproxy_user_response_spec.rb
339
+ - spec/models/requestsproxy_webhook_event_spec.rb
340
+ - spec/models/requestsproxy_webhook_events_response_spec.rb
341
+ - spec/models/requestsproxy_webhook_response_spec.rb
342
+ - spec/models/requestsproxy_webhook_spec.rb
343
+ - spec/models/requestsproxy_webhooks_response_spec.rb
344
+ - spec/spec_helper.rb
345
+ homepage: https://github.com/swagger-api/swagger-codegen
346
+ licenses:
347
+ - Unlicense
348
+ metadata: {}
349
+ post_install_message:
350
+ rdoc_options: []
351
+ require_paths:
352
+ - lib
353
+ required_ruby_version: !ruby/object:Gem::Requirement
354
+ requirements:
355
+ - - ">="
356
+ - !ruby/object:Gem::Version
357
+ version: '1.9'
358
+ required_rubygems_version: !ruby/object:Gem::Requirement
359
+ requirements:
360
+ - - ">="
361
+ - !ruby/object:Gem::Version
362
+ version: '0'
363
+ requirements: []
364
+ rubyforge_project:
365
+ rubygems_version: 2.5.2.1
366
+ signing_key:
367
+ specification_version: 4
368
+ summary: requestsproxy.proto Ruby Gem
369
+ test_files:
370
+ - spec/api/requestsproxy_api_spec.rb
371
+ - spec/api_client_spec.rb
372
+ - spec/configuration_spec.rb
373
+ - spec/models/requestsproxy_product_response_spec.rb
374
+ - spec/models/requestsproxy_dynamic_coupons_statistics_response_spec.rb
375
+ - spec/models/requestsproxy_webhook_spec.rb
376
+ - spec/models/requestsproxy_feature_spec.rb
377
+ - spec/models/requestsproxy_status_spec.rb
378
+ - spec/models/requestsproxy_webhook_events_response_spec.rb
379
+ - spec/models/requestsproxy_account_star_rating_response_spec.rb
380
+ - spec/models/requestsproxy_purchase_spec.rb
381
+ - spec/models/requestsproxy_auth_info_response_spec.rb
382
+ - spec/models/requestsproxy_products_star_rating_response_spec.rb
383
+ - spec/models/requestsproxy_pagination_spec.rb
384
+ - spec/models/requestsproxy_comment_spec.rb
385
+ - spec/models/protobuf_struct_spec.rb
386
+ - spec/models/requestsproxy_category_spec.rb
387
+ - spec/models/requestsproxy_product_image_spec.rb
388
+ - spec/models/requestsproxy_webhook_event_spec.rb
389
+ - spec/models/requestsproxy_webhook_response_spec.rb
390
+ - spec/models/requestsproxy_product_specs_spec.rb
391
+ - spec/models/requestsproxy_create_webhook_params_spec.rb
392
+ - spec/models/requestsproxy_webhooks_response_spec.rb
393
+ - spec/models/requestsproxy_dynamic_coupons_stats_spec.rb
394
+ - spec/models/protobuf_null_value_spec.rb
395
+ - spec/models/requestsproxy_top_review_spec.rb
396
+ - spec/models/requestsproxy_coupon_spec.rb
397
+ - spec/models/protobuf_list_value_spec.rb
398
+ - spec/models/requestsproxy_reviews_response_spec.rb
399
+ - spec/models/requestsproxy_orders_response_spec.rb
400
+ - spec/models/requestsproxy_top_reviews_response_spec.rb
401
+ - spec/models/requestsproxy_features_response_spec.rb
402
+ - spec/models/requestsproxy_review_custom_field_spec.rb
403
+ - spec/models/requestsproxy_review_response_spec.rb
404
+ - spec/models/requestsproxy_create_dynamic_coupons_codes_response_spec.rb
405
+ - spec/models/requestsproxy_response_spec.rb
406
+ - spec/models/requestsproxy_products_response_spec.rb
407
+ - spec/models/requestsproxy_promoted_products_response_spec.rb
408
+ - spec/models/requestsproxy_promoted_product_spec.rb
409
+ - spec/models/requestsproxy_image_data_spec.rb
410
+ - spec/models/protobuf_value_spec.rb
411
+ - spec/models/requestsproxy_user_response_spec.rb
412
+ - spec/models/requestsproxy_dynamic_coupon_error_spec.rb
413
+ - spec/models/requestsproxy_review_spec.rb
414
+ - spec/models/requestsproxy_dynamic_coupons_response_spec.rb
415
+ - spec/models/requestsproxy_product_star_rating_response_spec.rb
416
+ - spec/spec_helper.rb