hubspot-api-client 3.1.0.pre.beta → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/lib/hubspot-api-client.rb +66 -1
- data/lib/hubspot/codegen/cms/audit-logs/api/default_api.rb +106 -0
- data/lib/hubspot/codegen/cms/audit-logs/api_client.rb +422 -0
- data/lib/hubspot/codegen/cms/audit-logs/api_error.rb +61 -0
- data/lib/hubspot/codegen/cms/audit-logs/configuration.rb +258 -0
- data/lib/hubspot/codegen/cms/audit-logs/models/collection_response_public_audit_log.rb +226 -0
- data/lib/hubspot/codegen/cms/audit-logs/models/error.rb +292 -0
- data/lib/hubspot/codegen/cms/audit-logs/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/cms/audit-logs/models/next_page.rb +224 -0
- data/lib/hubspot/codegen/cms/audit-logs/models/paging.rb +210 -0
- data/lib/hubspot/codegen/cms/audit-logs/models/public_audit_log.rb +352 -0
- data/lib/hubspot/codegen/cms/domains/api/domains_api.rb +183 -0
- data/lib/hubspot/codegen/cms/domains/api_client.rb +422 -0
- data/lib/hubspot/codegen/cms/domains/api_error.rb +61 -0
- data/lib/hubspot/codegen/cms/domains/configuration.rb +258 -0
- data/lib/hubspot/codegen/cms/domains/models/collection_response_with_total_domain.rb +240 -0
- data/lib/hubspot/codegen/cms/domains/models/domain.rb +1091 -0
- data/lib/hubspot/codegen/cms/domains/models/domain_cdn_config.rb +497 -0
- data/lib/hubspot/codegen/cms/domains/models/domain_setup_info.rb +231 -0
- data/lib/hubspot/codegen/cms/domains/models/error.rb +292 -0
- data/lib/hubspot/codegen/cms/domains/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/cms/domains/models/next_page.rb +224 -0
- data/lib/hubspot/codegen/cms/domains/models/paging.rb +210 -0
- data/lib/hubspot/codegen/cms/performance/api/default_api.rb +186 -0
- data/lib/hubspot/codegen/cms/performance/api_client.rb +422 -0
- data/lib/hubspot/codegen/cms/performance/api_error.rb +61 -0
- data/lib/hubspot/codegen/cms/performance/configuration.rb +258 -0
- data/lib/hubspot/codegen/cms/performance/models/error.rb +292 -0
- data/lib/hubspot/codegen/cms/performance/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/cms/performance/models/performance_view.rb +528 -0
- data/lib/hubspot/codegen/cms/performance/models/public_performance_response.rb +332 -0
- data/lib/hubspot/codegen/cms/site-search/api/default_api.rb +225 -0
- data/lib/hubspot/codegen/cms/site-search/api_client.rb +422 -0
- data/lib/hubspot/codegen/cms/site-search/api_error.rb +61 -0
- data/lib/hubspot/codegen/cms/site-search/configuration.rb +258 -0
- data/lib/hubspot/codegen/cms/site-search/models/content_search_result.rb +427 -0
- data/lib/hubspot/codegen/cms/site-search/models/error.rb +292 -0
- data/lib/hubspot/codegen/cms/site-search/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/cms/site-search/models/indexed_data.rb +279 -0
- data/lib/hubspot/codegen/cms/site-search/models/public_search_results.rb +282 -0
- data/lib/hubspot/codegen/cms/site-search/models/search_hit_field.rb +259 -0
- data/lib/hubspot/codegen/cms/url-redirects/api/redirects_api.rb +368 -0
- data/lib/hubspot/codegen/cms/url-redirects/api_client.rb +422 -0
- data/lib/hubspot/codegen/cms/url-redirects/api_error.rb +61 -0
- data/lib/hubspot/codegen/cms/url-redirects/configuration.rb +258 -0
- data/lib/hubspot/codegen/cms/url-redirects/models/collection_response_with_total_url_mapping.rb +242 -0
- data/lib/hubspot/codegen/cms/url-redirects/models/error.rb +292 -0
- data/lib/hubspot/codegen/cms/url-redirects/models/error_detail.rb +258 -0
- data/lib/hubspot/codegen/cms/url-redirects/models/next_page.rb +224 -0
- data/lib/hubspot/codegen/cms/url-redirects/models/paging.rb +210 -0
- data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping.rb +596 -0
- data/lib/hubspot/codegen/cms/url-redirects/models/url_mapping_create_request_body.rb +306 -0
- data/lib/hubspot/codegen/crm/imports/api/core_api.rb +41 -41
- data/lib/hubspot/codegen/webhooks/api/subscriptions_api.rb +70 -0
- data/lib/hubspot/codegen/webhooks/models/batch_input_subscription_batch_update_request.rb +215 -0
- data/lib/hubspot/codegen/webhooks/models/batch_response_subscription_response.rb +331 -0
- data/lib/hubspot/codegen/webhooks/models/subscription_batch_update_request.rb +227 -0
- data/lib/hubspot/exceptions.rb +11 -0
- data/lib/hubspot/helpers/webhooks_helper.rb +31 -0
- data/lib/hubspot/version.rb +1 -1
- data/sample-apps/imports-contacts-app/.env.template +2 -0
- data/sample-apps/imports-contacts-app/.env.test.template +3 -0
- data/sample-apps/imports-contacts-app/.gitignore +37 -0
- data/sample-apps/imports-contacts-app/.rspec +1 -0
- data/sample-apps/imports-contacts-app/.ruby-version +1 -0
- data/sample-apps/imports-contacts-app/Dockerfile +22 -0
- data/sample-apps/imports-contacts-app/Gemfile +33 -0
- data/sample-apps/imports-contacts-app/Gemfile.lock +271 -0
- data/sample-apps/imports-contacts-app/README.md +27 -0
- data/sample-apps/imports-contacts-app/Rakefile +6 -0
- data/sample-apps/imports-contacts-app/app/assets/config/manifest.js +3 -0
- data/sample-apps/imports-contacts-app/app/assets/images/.keep +0 -0
- data/sample-apps/imports-contacts-app/app/assets/javascripts/application.js +15 -0
- data/sample-apps/imports-contacts-app/app/assets/javascripts/cable.js +13 -0
- data/sample-apps/imports-contacts-app/app/assets/javascripts/channels/.keep +0 -0
- data/sample-apps/imports-contacts-app/app/assets/stylesheets/application.css +87 -0
- data/sample-apps/imports-contacts-app/app/controllers/application_controller.rb +12 -0
- data/sample-apps/imports-contacts-app/app/controllers/concerns/.keep +0 -0
- data/sample-apps/imports-contacts-app/app/controllers/concerns/exception_handler.rb +12 -0
- data/sample-apps/imports-contacts-app/app/controllers/imports_controller.rb +24 -0
- data/sample-apps/imports-contacts-app/app/controllers/oauth/authorization_controller.rb +19 -0
- data/sample-apps/imports-contacts-app/app/helpers/application_helper.rb +2 -0
- data/sample-apps/{webhooks-contacts-app → imports-contacts-app}/app/lib/services/authorization/authorize_hubspot.rb +0 -0
- data/sample-apps/{webhooks-contacts-app → imports-contacts-app}/app/lib/services/authorization/get_authorization_uri.rb +1 -1
- data/sample-apps/{webhooks-contacts-app → imports-contacts-app}/app/lib/services/authorization/tokens/base.rb +0 -0
- data/sample-apps/{webhooks-contacts-app → imports-contacts-app}/app/lib/services/authorization/tokens/generate.rb +2 -2
- data/sample-apps/{webhooks-contacts-app → imports-contacts-app}/app/lib/services/authorization/tokens/refresh.rb +3 -4
- data/sample-apps/imports-contacts-app/app/lib/services/hubspot/imports/create.rb +52 -0
- data/sample-apps/imports-contacts-app/app/models/application_record.rb +3 -0
- data/sample-apps/imports-contacts-app/app/models/concerns/.keep +0 -0
- data/sample-apps/imports-contacts-app/app/views/imports/index.html.erb +70 -0
- data/sample-apps/imports-contacts-app/app/views/layouts/application.html.erb +23 -0
- data/sample-apps/imports-contacts-app/app/views/oauth/authorization/login.html.erb +15 -0
- data/sample-apps/imports-contacts-app/app/views/shared/_header.html.erb +15 -0
- data/sample-apps/imports-contacts-app/bin/bundle +3 -0
- data/sample-apps/imports-contacts-app/bin/rails +9 -0
- data/sample-apps/imports-contacts-app/bin/rake +9 -0
- data/sample-apps/imports-contacts-app/bin/setup +36 -0
- data/sample-apps/imports-contacts-app/bin/spring +17 -0
- data/sample-apps/imports-contacts-app/bin/update +31 -0
- data/sample-apps/imports-contacts-app/bin/yarn +11 -0
- data/sample-apps/imports-contacts-app/config.ru +5 -0
- data/sample-apps/imports-contacts-app/config/application.rb +19 -0
- data/sample-apps/imports-contacts-app/config/boot.rb +3 -0
- data/sample-apps/imports-contacts-app/config/cable.yml +10 -0
- data/sample-apps/imports-contacts-app/config/database.yml +25 -0
- data/sample-apps/imports-contacts-app/config/environment.rb +5 -0
- data/sample-apps/imports-contacts-app/config/environments/development.rb +61 -0
- data/sample-apps/imports-contacts-app/config/environments/production.rb +94 -0
- data/sample-apps/imports-contacts-app/config/environments/test.rb +46 -0
- data/sample-apps/imports-contacts-app/config/initializers/assets.rb +14 -0
- data/sample-apps/imports-contacts-app/config/initializers/filter_parameter_logging.rb +4 -0
- data/sample-apps/imports-contacts-app/config/initializers/hubspot-api-client.rb +3 -0
- data/sample-apps/imports-contacts-app/config/initializers/mime_types.rb +1 -0
- data/sample-apps/imports-contacts-app/config/initializers/wrap_parameters.rb +14 -0
- data/sample-apps/imports-contacts-app/config/locales/en.yml +33 -0
- data/sample-apps/imports-contacts-app/config/puma.rb +34 -0
- data/sample-apps/imports-contacts-app/config/routes.rb +11 -0
- data/sample-apps/imports-contacts-app/config/spring.rb +6 -0
- data/sample-apps/imports-contacts-app/db/seeds.rb +7 -0
- data/sample-apps/imports-contacts-app/docker-compose.yml +11 -0
- data/sample-apps/imports-contacts-app/docker-entrypoint.sh +8 -0
- data/sample-apps/imports-contacts-app/lib/assets/.keep +0 -0
- data/sample-apps/imports-contacts-app/lib/tasks/.keep +0 -0
- data/sample-apps/imports-contacts-app/log/.keep +0 -0
- data/sample-apps/imports-contacts-app/package.json +5 -0
- data/sample-apps/imports-contacts-app/public/404.html +67 -0
- data/sample-apps/imports-contacts-app/public/422.html +67 -0
- data/sample-apps/imports-contacts-app/public/500.html +66 -0
- data/sample-apps/imports-contacts-app/public/apple-touch-icon-precomposed.png +0 -0
- data/sample-apps/imports-contacts-app/public/apple-touch-icon.png +0 -0
- data/sample-apps/imports-contacts-app/public/examples/example.csv +2 -0
- data/sample-apps/imports-contacts-app/public/favicon.ico +0 -0
- data/sample-apps/imports-contacts-app/public/robots.txt +1 -0
- data/sample-apps/imports-contacts-app/tmp/.keep +0 -0
- data/sample-apps/search-result-paging-app/.env.template +4 -0
- data/sample-apps/search-result-paging-app/.gitignore +35 -0
- data/sample-apps/search-result-paging-app/.rspec +1 -0
- data/sample-apps/search-result-paging-app/.ruby-version +1 -0
- data/sample-apps/search-result-paging-app/Dockerfile +22 -0
- data/sample-apps/search-result-paging-app/Gemfile +35 -0
- data/sample-apps/search-result-paging-app/Gemfile.lock +279 -0
- data/sample-apps/search-result-paging-app/README.md +0 -0
- data/sample-apps/search-result-paging-app/Rakefile +6 -0
- data/sample-apps/search-result-paging-app/app/assets/config/manifest.js +3 -0
- data/sample-apps/search-result-paging-app/app/assets/images/.keep +0 -0
- data/sample-apps/search-result-paging-app/app/assets/javascripts/application.js +25 -0
- data/sample-apps/search-result-paging-app/app/assets/javascripts/cable.js +13 -0
- data/sample-apps/search-result-paging-app/app/assets/javascripts/channels/.keep +0 -0
- data/sample-apps/search-result-paging-app/app/assets/stylesheets/application.css +77 -0
- data/sample-apps/search-result-paging-app/app/controllers/application_controller.rb +12 -0
- data/sample-apps/search-result-paging-app/app/controllers/concerns/.keep +0 -0
- data/sample-apps/search-result-paging-app/app/controllers/concerns/exception_handler.rb +12 -0
- data/sample-apps/search-result-paging-app/app/controllers/home_controller.rb +14 -0
- data/sample-apps/search-result-paging-app/app/controllers/oauth/authorization_controller.rb +19 -0
- data/sample-apps/search-result-paging-app/app/helpers/application_helper.rb +2 -0
- data/sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/authorize.rb +17 -0
- data/sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/get_authorization_uri.rb +35 -0
- data/sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/tokens/base.rb +21 -0
- data/sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/tokens/generate.rb +28 -0
- data/sample-apps/search-result-paging-app/app/lib/services/hubspot/authorization/tokens/refresh.rb +35 -0
- data/sample-apps/search-result-paging-app/app/lib/services/hubspot/contacts/get_page.rb +26 -0
- data/sample-apps/search-result-paging-app/app/lib/services/hubspot/contacts/search.rb +35 -0
- data/sample-apps/search-result-paging-app/app/lib/services/hubspot/properties/create.rb +23 -0
- data/sample-apps/search-result-paging-app/app/lib/services/hubspot/properties/destroy.rb +16 -0
- data/sample-apps/search-result-paging-app/app/models/application_record.rb +3 -0
- data/sample-apps/search-result-paging-app/app/models/concerns/.keep +0 -0
- data/sample-apps/search-result-paging-app/app/views/home/index.html.erb +13 -0
- data/sample-apps/search-result-paging-app/app/views/layouts/application.html.erb +23 -0
- data/sample-apps/search-result-paging-app/app/views/oauth/authorization/login.html.erb +15 -0
- data/sample-apps/search-result-paging-app/app/views/shared/_header.html.erb +18 -0
- data/sample-apps/search-result-paging-app/bin/bundle +3 -0
- data/sample-apps/search-result-paging-app/bin/rails +9 -0
- data/sample-apps/search-result-paging-app/bin/rake +9 -0
- data/sample-apps/search-result-paging-app/bin/setup +36 -0
- data/sample-apps/search-result-paging-app/bin/spring +17 -0
- data/sample-apps/search-result-paging-app/bin/update +31 -0
- data/sample-apps/search-result-paging-app/bin/yarn +11 -0
- data/sample-apps/search-result-paging-app/config.ru +5 -0
- data/sample-apps/search-result-paging-app/config/application.rb +19 -0
- data/sample-apps/search-result-paging-app/config/boot.rb +3 -0
- data/sample-apps/search-result-paging-app/config/cable.yml +10 -0
- data/sample-apps/search-result-paging-app/config/database.yml +25 -0
- data/sample-apps/search-result-paging-app/config/environment.rb +5 -0
- data/sample-apps/search-result-paging-app/config/environments/development.rb +61 -0
- data/sample-apps/search-result-paging-app/config/environments/production.rb +94 -0
- data/sample-apps/search-result-paging-app/config/environments/test.rb +46 -0
- data/sample-apps/search-result-paging-app/config/initializers/assets.rb +14 -0
- data/sample-apps/search-result-paging-app/config/initializers/filter_parameter_logging.rb +4 -0
- data/sample-apps/search-result-paging-app/config/initializers/hubspot-api-client.rb +3 -0
- data/sample-apps/search-result-paging-app/config/initializers/mime_types.rb +1 -0
- data/sample-apps/search-result-paging-app/config/initializers/wrap_parameters.rb +14 -0
- data/sample-apps/search-result-paging-app/config/locales/en.yml +33 -0
- data/sample-apps/search-result-paging-app/config/puma.rb +34 -0
- data/sample-apps/search-result-paging-app/config/routes.rb +7 -0
- data/sample-apps/search-result-paging-app/config/spring.rb +6 -0
- data/sample-apps/search-result-paging-app/db/seeds.rb +7 -0
- data/sample-apps/search-result-paging-app/docker-compose.yml +11 -0
- data/sample-apps/search-result-paging-app/docker-entrypoint.sh +8 -0
- data/sample-apps/search-result-paging-app/lib/assets/.keep +0 -0
- data/sample-apps/search-result-paging-app/lib/tasks/.keep +0 -0
- data/sample-apps/search-result-paging-app/lib/tasks/search_contacts.rake +36 -0
- data/sample-apps/search-result-paging-app/log/.keep +0 -0
- data/sample-apps/search-result-paging-app/package.json +5 -0
- data/sample-apps/search-result-paging-app/public/404.html +67 -0
- data/sample-apps/search-result-paging-app/public/422.html +67 -0
- data/sample-apps/search-result-paging-app/public/500.html +66 -0
- data/sample-apps/search-result-paging-app/public/apple-touch-icon-precomposed.png +0 -0
- data/sample-apps/search-result-paging-app/public/apple-touch-icon.png +0 -0
- data/sample-apps/search-result-paging-app/public/favicon.ico +0 -0
- data/sample-apps/search-result-paging-app/public/robots.txt +1 -0
- data/sample-apps/search-result-paging-app/tmp/.keep +0 -0
- data/sample-apps/webhooks-contacts-app/.env.template +3 -1
- data/sample-apps/webhooks-contacts-app/Gemfile.lock +1 -1
- data/sample-apps/webhooks-contacts-app/README.md +24 -21
- data/sample-apps/webhooks-contacts-app/app/assets/stylesheets/application.css +7 -55
- data/sample-apps/webhooks-contacts-app/app/controllers/events_controller.rb +8 -10
- data/sample-apps/webhooks-contacts-app/app/controllers/home_controller.rb +44 -0
- data/sample-apps/webhooks-contacts-app/app/controllers/oauth/authorization_controller.rb +6 -6
- data/sample-apps/webhooks-contacts-app/app/controllers/webhooks_controller.rb +1 -1
- data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/authorize.rb +17 -0
- data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/get_authorization_uri.rb +35 -0
- data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/tokens/base.rb +21 -0
- data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/tokens/generate.rb +28 -0
- data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/authorization/tokens/refresh.rb +35 -0
- data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/webhooks/configure_target_url.rb +25 -0
- data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/webhooks/create_or_activate_subscription.rb +44 -0
- data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/webhooks/handle.rb +13 -1
- data/sample-apps/webhooks-contacts-app/app/lib/services/hubspot/webhooks/pause_active_subscriptions.rb +39 -0
- data/sample-apps/webhooks-contacts-app/app/models/event.rb +3 -0
- data/sample-apps/webhooks-contacts-app/app/views/events/index.html.erb +14 -16
- data/sample-apps/webhooks-contacts-app/app/views/home/index.html.erb +47 -0
- data/sample-apps/webhooks-contacts-app/app/views/oauth/authorization/login.html.erb +6 -6
- data/sample-apps/webhooks-contacts-app/app/views/shared/_header.html.erb +3 -0
- data/sample-apps/webhooks-contacts-app/config/database.yml +9 -9
- data/sample-apps/webhooks-contacts-app/config/routes.rb +2 -0
- data/sample-apps/webhooks-contacts-app/db/schema.rb +2 -5
- data/sample-apps/webhooks-contacts-app/docker-compose.yml +13 -10
- metadata +612 -10
@@ -0,0 +1,227 @@
|
|
1
|
+
=begin
|
2
|
+
#Webhooks API
|
3
|
+
|
4
|
+
#Provides a way for apps to subscribe to certain change events in HubSpot. Once configured, apps will receive event payloads containing details about the changes at a specified target URL. There can only be one target URL for receiving event notifications per app.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module Hubspot
|
16
|
+
module Webhooks
|
17
|
+
class SubscriptionBatchUpdateRequest
|
18
|
+
attr_accessor :id
|
19
|
+
|
20
|
+
attr_accessor :active
|
21
|
+
|
22
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
23
|
+
def self.attribute_map
|
24
|
+
{
|
25
|
+
:'id' => :'id',
|
26
|
+
:'active' => :'active'
|
27
|
+
}
|
28
|
+
end
|
29
|
+
|
30
|
+
# Attribute type mapping.
|
31
|
+
def self.openapi_types
|
32
|
+
{
|
33
|
+
:'id' => :'Integer',
|
34
|
+
:'active' => :'Boolean'
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
# List of attributes with nullable: true
|
39
|
+
def self.openapi_nullable
|
40
|
+
Set.new([
|
41
|
+
])
|
42
|
+
end
|
43
|
+
|
44
|
+
# Initializes the object
|
45
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
46
|
+
def initialize(attributes = {})
|
47
|
+
if (!attributes.is_a?(Hash))
|
48
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Hubspot::Webhooks::SubscriptionBatchUpdateRequest` initialize method"
|
49
|
+
end
|
50
|
+
|
51
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
52
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
53
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
54
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Hubspot::Webhooks::SubscriptionBatchUpdateRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
55
|
+
end
|
56
|
+
h[k.to_sym] = v
|
57
|
+
}
|
58
|
+
|
59
|
+
if attributes.key?(:'id')
|
60
|
+
self.id = attributes[:'id']
|
61
|
+
end
|
62
|
+
|
63
|
+
if attributes.key?(:'active')
|
64
|
+
self.active = attributes[:'active']
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
69
|
+
# @return Array for valid properties with the reasons
|
70
|
+
def list_invalid_properties
|
71
|
+
invalid_properties = Array.new
|
72
|
+
if @id.nil?
|
73
|
+
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
74
|
+
end
|
75
|
+
|
76
|
+
if @active.nil?
|
77
|
+
invalid_properties.push('invalid value for "active", active cannot be nil.')
|
78
|
+
end
|
79
|
+
|
80
|
+
invalid_properties
|
81
|
+
end
|
82
|
+
|
83
|
+
# Check to see if the all the properties in the model are valid
|
84
|
+
# @return true if the model is valid
|
85
|
+
def valid?
|
86
|
+
return false if @id.nil?
|
87
|
+
return false if @active.nil?
|
88
|
+
true
|
89
|
+
end
|
90
|
+
|
91
|
+
# Checks equality by comparing each attribute.
|
92
|
+
# @param [Object] Object to be compared
|
93
|
+
def ==(o)
|
94
|
+
return true if self.equal?(o)
|
95
|
+
self.class == o.class &&
|
96
|
+
id == o.id &&
|
97
|
+
active == o.active
|
98
|
+
end
|
99
|
+
|
100
|
+
# @see the `==` method
|
101
|
+
# @param [Object] Object to be compared
|
102
|
+
def eql?(o)
|
103
|
+
self == o
|
104
|
+
end
|
105
|
+
|
106
|
+
# Calculates hash code according to all attributes.
|
107
|
+
# @return [Integer] Hash code
|
108
|
+
def hash
|
109
|
+
[id, active].hash
|
110
|
+
end
|
111
|
+
|
112
|
+
# Builds the object from hash
|
113
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
114
|
+
# @return [Object] Returns the model itself
|
115
|
+
def self.build_from_hash(attributes)
|
116
|
+
new.build_from_hash(attributes)
|
117
|
+
end
|
118
|
+
|
119
|
+
# Builds the object from hash
|
120
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
121
|
+
# @return [Object] Returns the model itself
|
122
|
+
def build_from_hash(attributes)
|
123
|
+
return nil unless attributes.is_a?(Hash)
|
124
|
+
self.class.openapi_types.each_pair do |key, type|
|
125
|
+
if type =~ /\AArray<(.*)>/i
|
126
|
+
# check to ensure the input is an array given that the attribute
|
127
|
+
# is documented as an array but the input is not
|
128
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
129
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
130
|
+
end
|
131
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
132
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
133
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
134
|
+
end
|
135
|
+
|
136
|
+
self
|
137
|
+
end
|
138
|
+
|
139
|
+
# Deserializes the data based on type
|
140
|
+
# @param string type Data type
|
141
|
+
# @param string value Value to be deserialized
|
142
|
+
# @return [Object] Deserialized data
|
143
|
+
def _deserialize(type, value)
|
144
|
+
case type.to_sym
|
145
|
+
when :DateTime
|
146
|
+
DateTime.parse(value)
|
147
|
+
when :Date
|
148
|
+
Date.parse(value)
|
149
|
+
when :String
|
150
|
+
value.to_s
|
151
|
+
when :Integer
|
152
|
+
value.to_i
|
153
|
+
when :Float
|
154
|
+
value.to_f
|
155
|
+
when :Boolean
|
156
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
157
|
+
true
|
158
|
+
else
|
159
|
+
false
|
160
|
+
end
|
161
|
+
when :Object
|
162
|
+
# generic object (usually a Hash), return directly
|
163
|
+
value
|
164
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
165
|
+
inner_type = Regexp.last_match[:inner_type]
|
166
|
+
value.map { |v| _deserialize(inner_type, v) }
|
167
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
168
|
+
k_type = Regexp.last_match[:k_type]
|
169
|
+
v_type = Regexp.last_match[:v_type]
|
170
|
+
{}.tap do |hash|
|
171
|
+
value.each do |k, v|
|
172
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
173
|
+
end
|
174
|
+
end
|
175
|
+
else # model
|
176
|
+
Hubspot::Webhooks.const_get(type).build_from_hash(value)
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
# Returns the string representation of the object
|
181
|
+
# @return [String] String presentation of the object
|
182
|
+
def to_s
|
183
|
+
to_hash.to_s
|
184
|
+
end
|
185
|
+
|
186
|
+
# to_body is an alias to to_hash (backward compatibility)
|
187
|
+
# @return [Hash] Returns the object in the form of hash
|
188
|
+
def to_body
|
189
|
+
to_hash
|
190
|
+
end
|
191
|
+
|
192
|
+
# Returns the object in the form of hash
|
193
|
+
# @return [Hash] Returns the object in the form of hash
|
194
|
+
def to_hash
|
195
|
+
hash = {}
|
196
|
+
self.class.attribute_map.each_pair do |attr, param|
|
197
|
+
value = self.send(attr)
|
198
|
+
if value.nil?
|
199
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
200
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
201
|
+
end
|
202
|
+
|
203
|
+
hash[param] = _to_hash(value)
|
204
|
+
end
|
205
|
+
hash
|
206
|
+
end
|
207
|
+
|
208
|
+
# Outputs non-array value in the form of hash
|
209
|
+
# For object, use to_hash. Otherwise, just return the value
|
210
|
+
# @param [Object] value Any valid value
|
211
|
+
# @return [Hash] Returns the value in the form of hash
|
212
|
+
def _to_hash(value)
|
213
|
+
if value.is_a?(Array)
|
214
|
+
value.compact.map { |v| _to_hash(v) }
|
215
|
+
elsif value.is_a?(Hash)
|
216
|
+
{}.tap do |hash|
|
217
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
218
|
+
end
|
219
|
+
elsif value.respond_to? :to_hash
|
220
|
+
value.to_hash
|
221
|
+
else
|
222
|
+
value
|
223
|
+
end
|
224
|
+
end
|
225
|
+
end
|
226
|
+
end
|
227
|
+
end
|
data/lib/hubspot/exceptions.rb
CHANGED
@@ -1,3 +1,14 @@
|
|
1
1
|
module Hubspot
|
2
2
|
class ConfigurationError < StandardError; end
|
3
|
+
|
4
|
+
class InvalidSignatureError < StandardError
|
5
|
+
def initialize(msg: nil, signature: nil, signature_version: nil, hash_result: nil)
|
6
|
+
@signature = signature
|
7
|
+
@signature_version = signature_version
|
8
|
+
@hash_result = hash_result
|
9
|
+
msg = "Invalid signature passed to request" if msg.nil?
|
10
|
+
|
11
|
+
super(msg)
|
12
|
+
end
|
13
|
+
end
|
3
14
|
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module Hubspot
|
2
|
+
module Helpers
|
3
|
+
class WebhooksHelper
|
4
|
+
def self.validate_signature(
|
5
|
+
signature:,
|
6
|
+
client_secret:,
|
7
|
+
http_uri:,
|
8
|
+
request_body:,
|
9
|
+
http_method: 'POST',
|
10
|
+
signature_version: 'v2'
|
11
|
+
)
|
12
|
+
|
13
|
+
if signature_version == 'v1'
|
14
|
+
source_string = client_secret + request_body.to_s
|
15
|
+
else
|
16
|
+
source_string = client_secret + http_method + http_uri + request_body.to_s
|
17
|
+
end
|
18
|
+
|
19
|
+
hash_result = Digest::SHA2.hexdigest(source_string.encode('utf-8'))
|
20
|
+
|
21
|
+
if hash_result != signature
|
22
|
+
raise InvalidSignatureError.new(
|
23
|
+
signature: signature,
|
24
|
+
signature_version: signature_version,
|
25
|
+
hash_result: hash_result
|
26
|
+
)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
data/lib/hubspot/version.rb
CHANGED
@@ -0,0 +1,37 @@
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
2
|
+
#
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
5
|
+
# git config --global core.excludesfile '~/.gitignore_global'
|
6
|
+
|
7
|
+
# Ignore bundler config.
|
8
|
+
/.bundle
|
9
|
+
|
10
|
+
# Ignore the default SQLite database.
|
11
|
+
/db/*.sqlite3
|
12
|
+
/db/*.sqlite3-journal
|
13
|
+
|
14
|
+
# Ignore all logfiles and tempfiles.
|
15
|
+
/log/*
|
16
|
+
/tmp/*
|
17
|
+
!/log/.keep
|
18
|
+
!/tmp/.keep
|
19
|
+
|
20
|
+
# Ignore uploaded files in development
|
21
|
+
/storage/*
|
22
|
+
!/storage/.keep
|
23
|
+
|
24
|
+
/node_modules
|
25
|
+
/yarn-error.log
|
26
|
+
|
27
|
+
/public/assets
|
28
|
+
.byebug_history
|
29
|
+
|
30
|
+
# Ignore master key for decrypting credentials and more.
|
31
|
+
/config/master.key
|
32
|
+
|
33
|
+
.rubocop.yml
|
34
|
+
.env
|
35
|
+
.env.test
|
36
|
+
|
37
|
+
/public/uploads
|
@@ -0,0 +1 @@
|
|
1
|
+
--require spec_helper
|
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.6.3
|
@@ -0,0 +1,22 @@
|
|
1
|
+
FROM ruby:2.6.3
|
2
|
+
RUN apt-get update -qq && apt-get install -y nodejs postgresql-client
|
3
|
+
RUN mkdir /hubspot-api-client
|
4
|
+
|
5
|
+
COPY ./lib /hubspot-api-client/lib
|
6
|
+
COPY ./sample-apps /hubspot-api-client/sample-apps
|
7
|
+
COPY ./spec /hubspot-api-client/spec
|
8
|
+
COPY ./Gemfile /hubspot-api-client/Gemfile
|
9
|
+
COPY ./Gemfile.lock /hubspot-api-client/Gemfile.lock
|
10
|
+
COPY ./hubspot-api-client.gemspec /hubspot-api-client/hubspot-api-client.gemspec
|
11
|
+
|
12
|
+
WORKDIR /hubspot-api-client/sample-apps/imports-contacts-app
|
13
|
+
RUN bundle install
|
14
|
+
|
15
|
+
# Add a script to be executed every time the container starts.
|
16
|
+
COPY ./sample-apps/imports-contacts-app/docker-entrypoint.sh /usr/bin/
|
17
|
+
RUN chmod +x /usr/bin/docker-entrypoint.sh
|
18
|
+
ENTRYPOINT ["docker-entrypoint.sh"]
|
19
|
+
EXPOSE 3000
|
20
|
+
|
21
|
+
# Start the main process.
|
22
|
+
CMD ["rails", "server", "-b", "0.0.0.0"]
|
@@ -0,0 +1,33 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
3
|
+
|
4
|
+
ruby '2.6.3'
|
5
|
+
|
6
|
+
gem 'rails', '~> 5.2.3'
|
7
|
+
gem 'sqlite3'
|
8
|
+
gem 'puma', '~> 4.3'
|
9
|
+
gem 'sass-rails', '~> 5.0'
|
10
|
+
gem 'uglifier', '>= 1.3.0'
|
11
|
+
gem 'jbuilder', '~> 2.5'
|
12
|
+
gem 'csv'
|
13
|
+
|
14
|
+
gem 'hubspot-api-client', path: '../../'
|
15
|
+
|
16
|
+
group :development, :test do
|
17
|
+
gem 'dotenv-rails', require: 'dotenv/rails-now'
|
18
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
19
|
+
gem 'rspec-rails', '~> 3.5'
|
20
|
+
gem 'capybara'
|
21
|
+
gem 'capybara-mechanize', '~> 1.11'
|
22
|
+
gem 'selenium-webdriver', '3.4.3'
|
23
|
+
gem 'geckodriver-helper'
|
24
|
+
gem 'pry'
|
25
|
+
gem 'pry-byebug'
|
26
|
+
end
|
27
|
+
|
28
|
+
group :development do
|
29
|
+
gem 'web-console', '>= 3.3.0'
|
30
|
+
gem 'listen', '>= 3.0.5', '< 3.2'
|
31
|
+
end
|
32
|
+
|
33
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
@@ -0,0 +1,271 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../..
|
3
|
+
specs:
|
4
|
+
hubspot-api-client (3.2.0)
|
5
|
+
faraday (>= 0.14.0)
|
6
|
+
json (~> 2.1, >= 2.1.0)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
actioncable (5.2.3)
|
12
|
+
actionpack (= 5.2.3)
|
13
|
+
nio4r (~> 2.0)
|
14
|
+
websocket-driver (>= 0.6.1)
|
15
|
+
actionmailer (5.2.3)
|
16
|
+
actionpack (= 5.2.3)
|
17
|
+
actionview (= 5.2.3)
|
18
|
+
activejob (= 5.2.3)
|
19
|
+
mail (~> 2.5, >= 2.5.4)
|
20
|
+
rails-dom-testing (~> 2.0)
|
21
|
+
actionpack (5.2.3)
|
22
|
+
actionview (= 5.2.3)
|
23
|
+
activesupport (= 5.2.3)
|
24
|
+
rack (~> 2.0)
|
25
|
+
rack-test (>= 0.6.3)
|
26
|
+
rails-dom-testing (~> 2.0)
|
27
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
28
|
+
actionview (5.2.3)
|
29
|
+
activesupport (= 5.2.3)
|
30
|
+
builder (~> 3.1)
|
31
|
+
erubi (~> 1.4)
|
32
|
+
rails-dom-testing (~> 2.0)
|
33
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
34
|
+
activejob (5.2.3)
|
35
|
+
activesupport (= 5.2.3)
|
36
|
+
globalid (>= 0.3.6)
|
37
|
+
activemodel (5.2.3)
|
38
|
+
activesupport (= 5.2.3)
|
39
|
+
activerecord (5.2.3)
|
40
|
+
activemodel (= 5.2.3)
|
41
|
+
activesupport (= 5.2.3)
|
42
|
+
arel (>= 9.0)
|
43
|
+
activestorage (5.2.3)
|
44
|
+
actionpack (= 5.2.3)
|
45
|
+
activerecord (= 5.2.3)
|
46
|
+
marcel (~> 0.3.1)
|
47
|
+
activesupport (5.2.3)
|
48
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
49
|
+
i18n (>= 0.7, < 2)
|
50
|
+
minitest (~> 5.1)
|
51
|
+
tzinfo (~> 1.1)
|
52
|
+
addressable (2.7.0)
|
53
|
+
public_suffix (>= 2.0.2, < 5.0)
|
54
|
+
archive-zip (0.12.0)
|
55
|
+
io-like (~> 0.3.0)
|
56
|
+
arel (9.0.0)
|
57
|
+
bindex (0.8.1)
|
58
|
+
builder (3.2.3)
|
59
|
+
byebug (11.0.1)
|
60
|
+
capybara (3.29.0)
|
61
|
+
addressable
|
62
|
+
mini_mime (>= 0.1.3)
|
63
|
+
nokogiri (~> 1.8)
|
64
|
+
rack (>= 1.6.0)
|
65
|
+
rack-test (>= 0.6.3)
|
66
|
+
regexp_parser (~> 1.5)
|
67
|
+
xpath (~> 3.2)
|
68
|
+
capybara-mechanize (1.11.0)
|
69
|
+
capybara (>= 2.4.4, < 4)
|
70
|
+
mechanize (~> 2.7.0)
|
71
|
+
childprocess (0.9.0)
|
72
|
+
ffi (~> 1.0, >= 1.0.11)
|
73
|
+
coderay (1.1.2)
|
74
|
+
concurrent-ruby (1.1.5)
|
75
|
+
connection_pool (2.2.2)
|
76
|
+
crass (1.0.5)
|
77
|
+
csv (3.1.2)
|
78
|
+
diff-lcs (1.3)
|
79
|
+
domain_name (0.5.20190701)
|
80
|
+
unf (>= 0.0.5, < 1.0.0)
|
81
|
+
dotenv (2.7.5)
|
82
|
+
dotenv-rails (2.7.5)
|
83
|
+
dotenv (= 2.7.5)
|
84
|
+
railties (>= 3.2, < 6.1)
|
85
|
+
erubi (1.9.0)
|
86
|
+
execjs (2.7.0)
|
87
|
+
faraday (1.0.1)
|
88
|
+
multipart-post (>= 1.2, < 3)
|
89
|
+
ffi (1.11.1)
|
90
|
+
geckodriver-helper (0.24.0)
|
91
|
+
archive-zip (~> 0.7)
|
92
|
+
globalid (0.4.2)
|
93
|
+
activesupport (>= 4.2.0)
|
94
|
+
http-cookie (1.0.3)
|
95
|
+
domain_name (~> 0.5)
|
96
|
+
i18n (1.7.0)
|
97
|
+
concurrent-ruby (~> 1.0)
|
98
|
+
io-like (0.3.0)
|
99
|
+
jbuilder (2.9.1)
|
100
|
+
activesupport (>= 4.2.0)
|
101
|
+
json (2.3.0)
|
102
|
+
listen (3.1.5)
|
103
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
104
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
105
|
+
ruby_dep (~> 1.2)
|
106
|
+
loofah (2.3.1)
|
107
|
+
crass (~> 1.0.2)
|
108
|
+
nokogiri (>= 1.5.9)
|
109
|
+
mail (2.7.1)
|
110
|
+
mini_mime (>= 0.1.1)
|
111
|
+
marcel (0.3.3)
|
112
|
+
mimemagic (~> 0.3.2)
|
113
|
+
mechanize (2.7.6)
|
114
|
+
domain_name (~> 0.5, >= 0.5.1)
|
115
|
+
http-cookie (~> 1.0)
|
116
|
+
mime-types (>= 1.17.2)
|
117
|
+
net-http-digest_auth (~> 1.1, >= 1.1.1)
|
118
|
+
net-http-persistent (>= 2.5.2)
|
119
|
+
nokogiri (~> 1.6)
|
120
|
+
ntlm-http (~> 0.1, >= 0.1.1)
|
121
|
+
webrobots (>= 0.0.9, < 0.2)
|
122
|
+
method_source (0.9.2)
|
123
|
+
mime-types (3.3)
|
124
|
+
mime-types-data (~> 3.2015)
|
125
|
+
mime-types-data (3.2019.1009)
|
126
|
+
mimemagic (0.3.3)
|
127
|
+
mini_mime (1.0.2)
|
128
|
+
mini_portile2 (2.4.0)
|
129
|
+
minitest (5.13.0)
|
130
|
+
multipart-post (2.1.1)
|
131
|
+
net-http-digest_auth (1.4.1)
|
132
|
+
net-http-persistent (3.1.0)
|
133
|
+
connection_pool (~> 2.2)
|
134
|
+
nio4r (2.5.2)
|
135
|
+
nokogiri (1.10.5)
|
136
|
+
mini_portile2 (~> 2.4.0)
|
137
|
+
ntlm-http (0.1.1)
|
138
|
+
pry (0.12.2)
|
139
|
+
coderay (~> 1.1.0)
|
140
|
+
method_source (~> 0.9.0)
|
141
|
+
pry-byebug (3.7.0)
|
142
|
+
byebug (~> 11.0)
|
143
|
+
pry (~> 0.10)
|
144
|
+
public_suffix (4.0.1)
|
145
|
+
puma (4.3.1)
|
146
|
+
nio4r (~> 2.0)
|
147
|
+
rack (2.2.2)
|
148
|
+
rack-test (1.1.0)
|
149
|
+
rack (>= 1.0, < 3)
|
150
|
+
rails (5.2.3)
|
151
|
+
actioncable (= 5.2.3)
|
152
|
+
actionmailer (= 5.2.3)
|
153
|
+
actionpack (= 5.2.3)
|
154
|
+
actionview (= 5.2.3)
|
155
|
+
activejob (= 5.2.3)
|
156
|
+
activemodel (= 5.2.3)
|
157
|
+
activerecord (= 5.2.3)
|
158
|
+
activestorage (= 5.2.3)
|
159
|
+
activesupport (= 5.2.3)
|
160
|
+
bundler (>= 1.3.0)
|
161
|
+
railties (= 5.2.3)
|
162
|
+
sprockets-rails (>= 2.0.0)
|
163
|
+
rails-dom-testing (2.0.3)
|
164
|
+
activesupport (>= 4.2.0)
|
165
|
+
nokogiri (>= 1.6)
|
166
|
+
rails-html-sanitizer (1.3.0)
|
167
|
+
loofah (~> 2.3)
|
168
|
+
railties (5.2.3)
|
169
|
+
actionpack (= 5.2.3)
|
170
|
+
activesupport (= 5.2.3)
|
171
|
+
method_source
|
172
|
+
rake (>= 0.8.7)
|
173
|
+
thor (>= 0.19.0, < 2.0)
|
174
|
+
rake (13.0.0)
|
175
|
+
rb-fsevent (0.10.3)
|
176
|
+
rb-inotify (0.10.0)
|
177
|
+
ffi (~> 1.0)
|
178
|
+
regexp_parser (1.6.0)
|
179
|
+
rspec-core (3.9.0)
|
180
|
+
rspec-support (~> 3.9.0)
|
181
|
+
rspec-expectations (3.9.0)
|
182
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
183
|
+
rspec-support (~> 3.9.0)
|
184
|
+
rspec-mocks (3.9.0)
|
185
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
186
|
+
rspec-support (~> 3.9.0)
|
187
|
+
rspec-rails (3.9.0)
|
188
|
+
actionpack (>= 3.0)
|
189
|
+
activesupport (>= 3.0)
|
190
|
+
railties (>= 3.0)
|
191
|
+
rspec-core (~> 3.9.0)
|
192
|
+
rspec-expectations (~> 3.9.0)
|
193
|
+
rspec-mocks (~> 3.9.0)
|
194
|
+
rspec-support (~> 3.9.0)
|
195
|
+
rspec-support (3.9.0)
|
196
|
+
ruby_dep (1.5.0)
|
197
|
+
rubyzip (1.3.0)
|
198
|
+
sass (3.7.4)
|
199
|
+
sass-listen (~> 4.0.0)
|
200
|
+
sass-listen (4.0.0)
|
201
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
202
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
203
|
+
sass-rails (5.1.0)
|
204
|
+
railties (>= 5.2.0)
|
205
|
+
sass (~> 3.1)
|
206
|
+
sprockets (>= 2.8, < 4.0)
|
207
|
+
sprockets-rails (>= 2.0, < 4.0)
|
208
|
+
tilt (>= 1.1, < 3)
|
209
|
+
selenium-webdriver (3.4.3)
|
210
|
+
childprocess (~> 0.5)
|
211
|
+
rubyzip (~> 1.0)
|
212
|
+
sprockets (3.7.2)
|
213
|
+
concurrent-ruby (~> 1.0)
|
214
|
+
rack (> 1, < 3)
|
215
|
+
sprockets-rails (3.2.1)
|
216
|
+
actionpack (>= 4.0)
|
217
|
+
activesupport (>= 4.0)
|
218
|
+
sprockets (>= 3.0.0)
|
219
|
+
sqlite3 (1.4.1)
|
220
|
+
thor (0.20.3)
|
221
|
+
thread_safe (0.3.6)
|
222
|
+
tilt (2.0.10)
|
223
|
+
tzinfo (1.2.5)
|
224
|
+
thread_safe (~> 0.1)
|
225
|
+
uglifier (4.2.0)
|
226
|
+
execjs (>= 0.3.0, < 3)
|
227
|
+
unf (0.1.4)
|
228
|
+
unf_ext
|
229
|
+
unf_ext (0.0.7.6)
|
230
|
+
web-console (3.7.0)
|
231
|
+
actionview (>= 5.0)
|
232
|
+
activemodel (>= 5.0)
|
233
|
+
bindex (>= 0.4.0)
|
234
|
+
railties (>= 5.0)
|
235
|
+
webrobots (0.1.2)
|
236
|
+
websocket-driver (0.7.1)
|
237
|
+
websocket-extensions (>= 0.1.0)
|
238
|
+
websocket-extensions (0.1.4)
|
239
|
+
xpath (3.2.0)
|
240
|
+
nokogiri (~> 1.8)
|
241
|
+
|
242
|
+
PLATFORMS
|
243
|
+
ruby
|
244
|
+
|
245
|
+
DEPENDENCIES
|
246
|
+
byebug
|
247
|
+
capybara
|
248
|
+
capybara-mechanize (~> 1.11)
|
249
|
+
csv
|
250
|
+
dotenv-rails
|
251
|
+
geckodriver-helper
|
252
|
+
hubspot-api-client!
|
253
|
+
jbuilder (~> 2.5)
|
254
|
+
listen (>= 3.0.5, < 3.2)
|
255
|
+
pry
|
256
|
+
pry-byebug
|
257
|
+
puma (~> 4.3)
|
258
|
+
rails (~> 5.2.3)
|
259
|
+
rspec-rails (~> 3.5)
|
260
|
+
sass-rails (~> 5.0)
|
261
|
+
selenium-webdriver (= 3.4.3)
|
262
|
+
sqlite3
|
263
|
+
tzinfo-data
|
264
|
+
uglifier (>= 1.3.0)
|
265
|
+
web-console (>= 3.3.0)
|
266
|
+
|
267
|
+
RUBY VERSION
|
268
|
+
ruby 2.6.3p62
|
269
|
+
|
270
|
+
BUNDLED WITH
|
271
|
+
1.17.3
|