mints 0.0.27 → 0.0.29
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/Gemfile +2 -1
- data/lib/client.rb +287 -385
- data/lib/contact/config/appointments.rb +201 -0
- data/lib/contact/config/config.rb +7 -0
- data/lib/contact/content/content.rb +7 -0
- data/lib/contact/content/conversations.rb +121 -0
- data/lib/contact/ecommerce/ecommerce.rb +12 -0
- data/lib/contact/ecommerce/order_items.rb +19 -0
- data/lib/contact/ecommerce/order_items_groups.rb +95 -0
- data/lib/contact/ecommerce/orders.rb +133 -0
- data/lib/contact.rb +57 -607
- data/lib/errors.rb +4 -2
- data/lib/generators/mints_assets_controller.rb +4 -1
- data/lib/generators/mints_config.yml.erb +0 -2
- data/lib/generators/mints_contact_controller.rb +4 -1
- data/lib/generators/mints_files_generator.rb +16 -13
- data/lib/generators/mints_link.rb +9 -6
- data/lib/generators/mints_public_controller.rb +4 -1
- data/lib/generators/mints_user_controller.rb +3 -0
- data/lib/generators/short_link_controller.rb +4 -1
- data/lib/mints/controllers/admin_base_controller.rb +5 -3
- data/lib/mints/controllers/base_api_controller.rb +6 -4
- data/lib/mints/controllers/base_controller.rb +5 -3
- data/lib/mints/controllers/concerns/mints_clients.rb +4 -2
- data/lib/mints/controllers/concerns/read_config_file.rb +3 -1
- data/lib/mints/controllers/contact_api_controller.rb +12 -10
- data/lib/mints/controllers/public_api_controller.rb +10 -8
- data/lib/mints/controllers/user_api_controller.rb +11 -9
- data/lib/mints/helpers/contact_auth_helper.rb +3 -1
- data/lib/mints/helpers/mints_helper.rb +39 -38
- data/lib/mints/helpers/proxy_controllers_methods.rb +24 -24
- data/lib/mints/helpers/user_auth_helper.rb +5 -3
- data/lib/mints.rb +12 -10
- data/lib/pub.rb +75 -93
- data/lib/user/config/api_keys.rb +63 -61
- data/lib/user/config/appointments.rb +217 -215
- data/lib/user/config/attribute_groups.rb +74 -72
- data/lib/user/config/attributes.rb +83 -81
- data/lib/user/config/calendars.rb +88 -86
- data/lib/user/config/config.rb +31 -63
- data/lib/user/config/public_folders.rb +105 -104
- data/lib/user/config/relationships.rb +135 -132
- data/lib/user/config/roles.rb +76 -79
- data/lib/user/config/seeds.rb +52 -51
- data/lib/user/config/system_settings.rb +50 -49
- data/lib/user/config/tags.rb +57 -59
- data/lib/user/config/taxonomies.rb +115 -119
- data/lib/user/config/teams.rb +69 -68
- data/lib/user/config/users.rb +72 -71
- data/lib/user/contacts/contacts.rb +21 -20
- data/lib/user/content/assets.rb +275 -280
- data/lib/user/content/content.rb +236 -235
- data/lib/user/content/content_instances.rb +138 -138
- data/lib/user/content/content_templates.rb +105 -103
- data/lib/user/content/conversations.rb +195 -193
- data/lib/user/content/dam.rb +85 -80
- data/lib/user/content/forms.rb +231 -233
- data/lib/user/content/message_templates.rb +154 -151
- data/lib/user/content/messages.rb +89 -87
- data/lib/user/content/pages.rb +84 -82
- data/lib/user/content/stories.rb +101 -101
- data/lib/user/content/story_templates.rb +90 -88
- data/lib/user/content/story_versions.rb +117 -117
- data/lib/user/crm/companies.rb +106 -106
- data/lib/user/crm/contacts.rb +287 -292
- data/lib/user/crm/crm.rb +21 -19
- data/lib/user/crm/deals.rb +105 -103
- data/lib/user/crm/favorites.rb +16 -13
- data/lib/user/crm/segments.rb +123 -123
- data/lib/user/crm/users.rb +22 -20
- data/lib/user/crm/workflow_step_objects.rb +86 -84
- data/lib/user/crm/workflow_steps.rb +47 -45
- data/lib/user/crm/workflows.rb +67 -65
- data/lib/user/ecommerce/ecommerce.rb +29 -27
- data/lib/user/ecommerce/item_prices.rb +84 -81
- data/lib/user/ecommerce/locations.rb +162 -160
- data/lib/user/ecommerce/order_items_groups.rb +110 -106
- data/lib/user/ecommerce/order_statuses.rb +26 -24
- data/lib/user/ecommerce/orders.rb +253 -246
- data/lib/user/ecommerce/price_lists.rb +70 -68
- data/lib/user/ecommerce/product_templates.rb +101 -99
- data/lib/user/ecommerce/product_variations.rb +124 -120
- data/lib/user/ecommerce/products.rb +162 -159
- data/lib/user/ecommerce/skus.rb +87 -85
- data/lib/user/ecommerce/taxes.rb +81 -79
- data/lib/user/ecommerce/variant_options.rb +68 -66
- data/lib/user/ecommerce/variant_values.rb +71 -69
- data/lib/user/helpers/helpers.rb +104 -101
- data/lib/user/helpers/object_activities.rb +80 -78
- data/lib/user/helpers/object_folders.rb +78 -76
- data/lib/user/helpers/user_folders.rb +79 -77
- data/lib/user/marketing/marketing.rb +116 -113
- data/lib/user/profile/profile.rb +96 -103
- data/lib/user.rb +32 -41
- metadata +50 -43
- data/lib/user/config/importers.rb +0 -184
data/lib/user/profile/profile.rb
CHANGED
|
@@ -1,111 +1,104 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
module Profile
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
##
|
|
5
|
+
# === Me.
|
|
6
|
+
# Get contact logged info.
|
|
7
|
+
#
|
|
8
|
+
# ==== Example
|
|
9
|
+
# @data = @mints_user.me
|
|
10
|
+
def me(options = nil)
|
|
11
|
+
@client.raw('get', '/profile/me', options)
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
##
|
|
15
|
+
# == User Preferences
|
|
16
|
+
#
|
|
11
17
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
18
|
+
##
|
|
19
|
+
# === Get preferences.
|
|
20
|
+
# Get preferences of current user logged.
|
|
21
|
+
#
|
|
22
|
+
# ==== Example
|
|
23
|
+
# @data = @mints_user.get_preferences
|
|
24
|
+
def get_preferences
|
|
25
|
+
@client.raw('get', '/profile/preferences')
|
|
26
|
+
end
|
|
15
27
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
# data:: (Hash) -- Data to be submitted.
|
|
32
|
-
#
|
|
33
|
-
# ==== Example
|
|
34
|
-
# data = {
|
|
35
|
-
# "time_zone": "GMT-5"
|
|
36
|
-
# }
|
|
37
|
-
# @data = @mints_user.create_preferences(data)
|
|
38
|
-
def create_preferences(data)
|
|
39
|
-
@client.raw("post", "/profile/preferences", nil, data_transform(data))
|
|
40
|
-
end
|
|
28
|
+
##
|
|
29
|
+
# === Create preferences.
|
|
30
|
+
# Create preferences of current user logged with data.
|
|
31
|
+
#
|
|
32
|
+
# ==== Parameters
|
|
33
|
+
# data:: (Hash) -- Data to be submitted.
|
|
34
|
+
#
|
|
35
|
+
# ==== Example
|
|
36
|
+
# data = {
|
|
37
|
+
# time_zone: 'GMT-5'
|
|
38
|
+
# }
|
|
39
|
+
# @data = @mints_user.create_preferences(data)
|
|
40
|
+
def create_preferences(data)
|
|
41
|
+
@client.raw('post', '/profile/preferences', nil, data_transform(data))
|
|
42
|
+
end
|
|
41
43
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
44
|
+
##
|
|
45
|
+
# === Get preferences by setting key.
|
|
46
|
+
# Get preferences using a setting key.
|
|
47
|
+
#
|
|
48
|
+
# ==== Parameters
|
|
49
|
+
# setting_key:: (String) -- Setting key.
|
|
50
|
+
#
|
|
51
|
+
# ==== Example
|
|
52
|
+
# @data = @mints_user.get_preferences_by_setting_key('time_zone')
|
|
53
|
+
def get_preferences_by_setting_key(setting_key)
|
|
54
|
+
@client.raw('get', "/profile/preferences/#{setting_key}")
|
|
55
|
+
end
|
|
54
56
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
57
|
+
##
|
|
58
|
+
# == Notifications
|
|
59
|
+
#
|
|
58
60
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
61
|
+
# === Get notifications.
|
|
62
|
+
# Get a collection of notifications.
|
|
63
|
+
#
|
|
64
|
+
# ==== Example
|
|
65
|
+
# @data = @mints_user.get_notifications
|
|
66
|
+
def get_notifications(options = nil)
|
|
67
|
+
@client.raw('get', '/profile/notifications', options)
|
|
68
|
+
end
|
|
67
69
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
70
|
+
# === Read notifications.
|
|
71
|
+
# Read notifications by data.
|
|
72
|
+
#
|
|
73
|
+
# ==== Parameters
|
|
74
|
+
# data:: (Hash) -- Data to be submitted.
|
|
75
|
+
#
|
|
76
|
+
# ==== Example
|
|
77
|
+
# data = {
|
|
78
|
+
# ids: %w[406e9b74-4a9d-42f2-afc6-1587bad6147c a2d9f582-1bdb-4e55-8af0-cd1962eaa88c],
|
|
79
|
+
# read: true
|
|
80
|
+
# }
|
|
81
|
+
# @data = @mints_user.read_notifications(data)
|
|
82
|
+
def read_notifications(data)
|
|
83
|
+
# TODO: Inform NotificationController.read method has been modified
|
|
84
|
+
# TODO: Method in controller didnt return data
|
|
85
|
+
@client.raw('post', '/profile/notifications/read', nil, data_transform(data))
|
|
86
|
+
end
|
|
76
87
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
# === Delete notifications.
|
|
96
|
-
# Delete notifications by data.
|
|
97
|
-
#
|
|
98
|
-
# ==== Parameters
|
|
99
|
-
# data:: (Hash) -- Data to be submitted.
|
|
100
|
-
#
|
|
101
|
-
# ==== Example
|
|
102
|
-
# data = {
|
|
103
|
-
# "ids": ["179083e3-3678-4cf6-b75e-5a8b9761245e"]
|
|
104
|
-
# }
|
|
105
|
-
# @data = @mints_user.delete_notifications(data)
|
|
106
|
-
def delete_notifications(data)
|
|
107
|
-
#TODO: Inform NotificationController.delete method has been modified
|
|
108
|
-
#TODO: Method in controller didnt return data
|
|
109
|
-
@client.raw("post", "/profile/notifications/delete", nil, data_transform(data))
|
|
110
|
-
end
|
|
111
|
-
end
|
|
88
|
+
# === Delete notifications.
|
|
89
|
+
# Delete notifications by data.
|
|
90
|
+
#
|
|
91
|
+
# ==== Parameters
|
|
92
|
+
# data:: (Hash) -- Data to be submitted.
|
|
93
|
+
#
|
|
94
|
+
# ==== Example
|
|
95
|
+
# data = {
|
|
96
|
+
# ids: ['179083e3-3678-4cf6-b75e-5a8b9761245e']
|
|
97
|
+
# }
|
|
98
|
+
# @data = @mints_user.delete_notifications(data)
|
|
99
|
+
def delete_notifications(data)
|
|
100
|
+
# TODO: Inform NotificationController.delete method has been modified
|
|
101
|
+
# TODO: Method in controller didnt return data
|
|
102
|
+
@client.raw('post', '/profile/notifications/delete', nil, data_transform(data))
|
|
103
|
+
end
|
|
104
|
+
end
|
data/lib/user.rb
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
require_relative './
|
|
4
|
-
require_relative './
|
|
5
|
-
require_relative './user/
|
|
6
|
-
require_relative './user/
|
|
7
|
-
require_relative './user/
|
|
8
|
-
require_relative './user/
|
|
9
|
-
require_relative './user/
|
|
10
|
-
require_relative './user/
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require_relative './client'
|
|
4
|
+
require_relative './mints/helpers/mints_helper'
|
|
5
|
+
require_relative './user/crm/crm'
|
|
6
|
+
require_relative './user/content/content'
|
|
7
|
+
require_relative './user/marketing/marketing'
|
|
8
|
+
require_relative './user/ecommerce/ecommerce'
|
|
9
|
+
require_relative './user/config/config'
|
|
10
|
+
require_relative './user/profile/profile'
|
|
11
|
+
require_relative './user/helpers/helpers'
|
|
12
|
+
require_relative './user/contacts/contacts'
|
|
11
13
|
|
|
12
14
|
module Mints
|
|
13
15
|
##
|
|
@@ -21,21 +23,19 @@ module Mints
|
|
|
21
23
|
# == Single resource options
|
|
22
24
|
# * +include+ - [String] include a relationship
|
|
23
25
|
# * +attributes+ - [Boolean] attach attributes to response
|
|
24
|
-
# * +categories+ - [Boolean] attach categories to response
|
|
25
26
|
# * +tags+ - [Boolean] attach tags to response
|
|
26
|
-
#
|
|
27
|
+
# * +taxonomies+ - [Boolean] attach categories to response
|
|
28
|
+
# == Resource collections options
|
|
27
29
|
# * +search+ - [String] filter by a search word
|
|
28
30
|
# * +scopes+ - [String] filter by a scope
|
|
29
31
|
# * +filters+ - [String] filter by where clauses
|
|
30
|
-
# * +jfilters+ - [String] filter using complex condition objects
|
|
31
|
-
# * +
|
|
32
|
+
# * +jfilters+ - [String] filter using complex condition objects (this filter use mongo queries)
|
|
33
|
+
# * +afilters+ - [String] filter using complex condition objects (this filter use postgresql queries)
|
|
34
|
+
# * +rfilters+ - [String] filter using complex condition objects from relationships
|
|
35
|
+
# * +dfilters+ - [String] filter using conditions based on dates
|
|
32
36
|
# * +fields+ - [String] indicates the columns that will be selected
|
|
33
37
|
# * +sort+ - [String] indicates the columns that will be selected
|
|
34
|
-
|
|
35
|
-
# * +attributes+ - [Boolean] attach attributes to response
|
|
36
|
-
# * +categories+ - [Boolean] attach categories to response
|
|
37
|
-
# * +taxonomies+ - [Boolean] attach categories to response
|
|
38
|
-
# * +tags+ - [Boolean] attach tags to response
|
|
38
|
+
|
|
39
39
|
class User
|
|
40
40
|
include CRM
|
|
41
41
|
include Content
|
|
@@ -45,44 +45,35 @@ module Mints
|
|
|
45
45
|
include Profile
|
|
46
46
|
include Helpers
|
|
47
47
|
include Contacts
|
|
48
|
+
include MintsHelper
|
|
48
49
|
|
|
49
50
|
attr_reader :client
|
|
51
|
+
|
|
50
52
|
def initialize(host, api_key, session_token = nil, debug = false)
|
|
51
53
|
@client = Mints::Client.new(host, api_key, 'user', session_token, nil, nil, debug)
|
|
52
54
|
end
|
|
53
55
|
|
|
54
56
|
def login(email, password)
|
|
55
|
-
data = {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
response
|
|
60
|
-
if response.key? "api_token"
|
|
61
|
-
@client.session_token = response["api_token"]
|
|
62
|
-
end
|
|
63
|
-
return response
|
|
57
|
+
data = { email: email, password: password }
|
|
58
|
+
response = @client.raw('post', '/users/login', nil, data.to_json, '/api/v1', { no_content_type: true })
|
|
59
|
+
@client.session_token = response['api_token'] if response.key? 'api_token'
|
|
60
|
+
|
|
61
|
+
response
|
|
64
62
|
end
|
|
65
63
|
|
|
66
64
|
def magic_link_login(token)
|
|
67
|
-
|
|
68
|
-
return response
|
|
65
|
+
@client.raw('get', "/users/magic-link-login/#{token}", nil, nil, '/api/v1')
|
|
69
66
|
end
|
|
70
67
|
|
|
71
68
|
##
|
|
72
69
|
# === Send magic link to user
|
|
73
|
-
def send_magic_link(email,
|
|
70
|
+
def send_magic_link(email, redirect_url = '', life_time = 24)
|
|
74
71
|
data = {
|
|
75
72
|
email: email,
|
|
76
|
-
redirectUrl:
|
|
77
|
-
lifeTime:
|
|
73
|
+
redirectUrl: redirect_url,
|
|
74
|
+
lifeTime: life_time
|
|
78
75
|
}
|
|
79
|
-
|
|
80
|
-
return response
|
|
76
|
+
@client.raw('post', '/users/magic-link', nil, { data: data }, '/api/v1')
|
|
81
77
|
end
|
|
82
|
-
|
|
83
|
-
private
|
|
84
|
-
|
|
85
|
-
include MintsHelper
|
|
86
|
-
|
|
87
|
-
end
|
|
78
|
+
end
|
|
88
79
|
end
|
metadata
CHANGED
|
@@ -1,109 +1,109 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mints
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.29
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ruben Gomez Garcia, Omar Mora, Luis Payan, Oscar Castillo, Fabian Garcia
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-03-
|
|
11
|
+
date: 2023-03-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name:
|
|
14
|
+
name: addressable
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
19
|
+
version: 2.7.0
|
|
20
|
+
- - "~>"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 2.7.0
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
27
|
- - ">="
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
|
-
version:
|
|
29
|
+
version: 2.7.0
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 2.7.0
|
|
27
33
|
- !ruby/object:Gem::Dependency
|
|
28
34
|
name: httparty
|
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
|
30
36
|
requirements:
|
|
31
|
-
- - "~>"
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.18.0
|
|
34
37
|
- - ">="
|
|
35
38
|
- !ruby/object:Gem::Version
|
|
36
|
-
version: 0.18
|
|
39
|
+
version: '0.18'
|
|
40
|
+
- - "<"
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: '0.22'
|
|
37
43
|
type: :runtime
|
|
38
44
|
prerelease: false
|
|
39
45
|
version_requirements: !ruby/object:Gem::Requirement
|
|
40
46
|
requirements:
|
|
41
|
-
- - "~>"
|
|
42
|
-
- !ruby/object:Gem::Version
|
|
43
|
-
version: 0.18.0
|
|
44
47
|
- - ">="
|
|
45
48
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: 0.18
|
|
49
|
+
version: '0.18'
|
|
50
|
+
- - "<"
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: '0.22'
|
|
47
53
|
- !ruby/object:Gem::Dependency
|
|
48
|
-
name:
|
|
54
|
+
name: json
|
|
49
55
|
requirement: !ruby/object:Gem::Requirement
|
|
50
56
|
requirements:
|
|
51
|
-
- - "~>"
|
|
52
|
-
- !ruby/object:Gem::Version
|
|
53
|
-
version: 4.2.2
|
|
54
57
|
- - ">="
|
|
55
58
|
- !ruby/object:Gem::Version
|
|
56
|
-
version:
|
|
59
|
+
version: 1.8.3
|
|
57
60
|
type: :runtime
|
|
58
61
|
prerelease: false
|
|
59
62
|
version_requirements: !ruby/object:Gem::Requirement
|
|
60
63
|
requirements:
|
|
61
|
-
- - "~>"
|
|
62
|
-
- !ruby/object:Gem::Version
|
|
63
|
-
version: 4.2.2
|
|
64
64
|
- - ">="
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
|
-
version:
|
|
66
|
+
version: 1.8.3
|
|
67
67
|
- !ruby/object:Gem::Dependency
|
|
68
|
-
name:
|
|
68
|
+
name: rails-reverse-proxy
|
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
|
70
70
|
requirements:
|
|
71
|
-
- - "~>"
|
|
72
|
-
- !ruby/object:Gem::Version
|
|
73
|
-
version: 2.7.0
|
|
74
71
|
- - ">="
|
|
75
72
|
- !ruby/object:Gem::Version
|
|
76
|
-
version:
|
|
73
|
+
version: 0.9.1
|
|
74
|
+
- - "~>"
|
|
75
|
+
- !ruby/object:Gem::Version
|
|
76
|
+
version: 0.9.1
|
|
77
77
|
type: :runtime
|
|
78
78
|
prerelease: false
|
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
|
80
80
|
requirements:
|
|
81
|
-
- - "~>"
|
|
82
|
-
- !ruby/object:Gem::Version
|
|
83
|
-
version: 2.7.0
|
|
84
81
|
- - ">="
|
|
85
82
|
- !ruby/object:Gem::Version
|
|
86
|
-
version:
|
|
87
|
-
- !ruby/object:Gem::Dependency
|
|
88
|
-
name: rails-reverse-proxy
|
|
89
|
-
requirement: !ruby/object:Gem::Requirement
|
|
90
|
-
requirements:
|
|
83
|
+
version: 0.9.1
|
|
91
84
|
- - "~>"
|
|
92
85
|
- !ruby/object:Gem::Version
|
|
93
86
|
version: 0.9.1
|
|
87
|
+
- !ruby/object:Gem::Dependency
|
|
88
|
+
name: redis
|
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
|
90
|
+
requirements:
|
|
94
91
|
- - ">="
|
|
95
92
|
- !ruby/object:Gem::Version
|
|
96
|
-
version:
|
|
93
|
+
version: 4.2.2
|
|
94
|
+
- - "~>"
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: 4.2.2
|
|
97
97
|
type: :runtime
|
|
98
98
|
prerelease: false
|
|
99
99
|
version_requirements: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
|
-
- - "~>"
|
|
102
|
-
- !ruby/object:Gem::Version
|
|
103
|
-
version: 0.9.1
|
|
104
101
|
- - ">="
|
|
105
102
|
- !ruby/object:Gem::Version
|
|
106
|
-
version:
|
|
103
|
+
version: 4.2.2
|
|
104
|
+
- - "~>"
|
|
105
|
+
- !ruby/object:Gem::Version
|
|
106
|
+
version: 4.2.2
|
|
107
107
|
description:
|
|
108
108
|
email:
|
|
109
109
|
executables: []
|
|
@@ -114,6 +114,14 @@ files:
|
|
|
114
114
|
- README.md
|
|
115
115
|
- lib/client.rb
|
|
116
116
|
- lib/contact.rb
|
|
117
|
+
- lib/contact/config/appointments.rb
|
|
118
|
+
- lib/contact/config/config.rb
|
|
119
|
+
- lib/contact/content/content.rb
|
|
120
|
+
- lib/contact/content/conversations.rb
|
|
121
|
+
- lib/contact/ecommerce/ecommerce.rb
|
|
122
|
+
- lib/contact/ecommerce/order_items.rb
|
|
123
|
+
- lib/contact/ecommerce/order_items_groups.rb
|
|
124
|
+
- lib/contact/ecommerce/orders.rb
|
|
117
125
|
- lib/errors.rb
|
|
118
126
|
- lib/generators/mints_assets_controller.rb
|
|
119
127
|
- lib/generators/mints_config.yml.erb
|
|
@@ -144,7 +152,6 @@ files:
|
|
|
144
152
|
- lib/user/config/attributes.rb
|
|
145
153
|
- lib/user/config/calendars.rb
|
|
146
154
|
- lib/user/config/config.rb
|
|
147
|
-
- lib/user/config/importers.rb
|
|
148
155
|
- lib/user/config/public_folders.rb
|
|
149
156
|
- lib/user/config/relationships.rb
|
|
150
157
|
- lib/user/config/roles.rb
|
|
@@ -210,14 +217,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
210
217
|
requirements:
|
|
211
218
|
- - ">="
|
|
212
219
|
- !ruby/object:Gem::Version
|
|
213
|
-
version:
|
|
220
|
+
version: 2.6.0
|
|
214
221
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
222
|
requirements:
|
|
216
223
|
- - ">="
|
|
217
224
|
- !ruby/object:Gem::Version
|
|
218
225
|
version: '0'
|
|
219
226
|
requirements: []
|
|
220
|
-
rubygems_version: 3.1
|
|
227
|
+
rubygems_version: 3.0.3.1
|
|
221
228
|
signing_key:
|
|
222
229
|
specification_version: 4
|
|
223
230
|
summary: MINTS gem allows to connect your Rails App to MINTS.CLOUD
|