ruby_hubspot_api 0.1.2.1 → 0.2.1.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ruby.yml +47 -0
- data/.gitignore +1 -0
- data/CHANGELOG.md +36 -1
- data/Gemfile.lock +25 -20
- data/README.md +316 -24
- data/lib/hubspot/api_client.rb +42 -8
- data/lib/hubspot/batch.rb +252 -0
- data/lib/hubspot/config.rb +7 -6
- data/lib/hubspot/paged_batch.rb +56 -0
- data/lib/hubspot/paged_collection.rb +3 -18
- data/lib/hubspot/property.rb +4 -0
- data/lib/hubspot/resource.rb +36 -7
- data/lib/hubspot/version.rb +1 -1
- data/lib/hubspot.rb +15 -0
- data/lib/ruby_hubspot_api.rb +3 -0
- data/lib/support/patches.rb +38 -0
- data/ruby_hubspot_api.gemspec +5 -3
- metadata +46 -14
- data/.ruby-version +0 -1
data/ruby_hubspot_api.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.homepage = 'https://github.com/sensadrome/ruby_hubspot_api'
|
17
17
|
spec.license = 'MIT'
|
18
18
|
|
19
|
-
spec.required_ruby_version = '>= 2.
|
19
|
+
spec.required_ruby_version = '>= 2.4'
|
20
20
|
|
21
21
|
# Prevent pushing this gem to RubyGems.org.
|
22
22
|
# To allow pushes either set the 'allowed_push_host'
|
@@ -40,12 +40,14 @@ Gem::Specification.new do |spec|
|
|
40
40
|
# Define development dependencies
|
41
41
|
spec.add_development_dependency 'rake', '>= 11.0', '< 14.0'
|
42
42
|
|
43
|
-
spec.add_development_dependency 'bundler', '>= 2.0'
|
43
|
+
spec.add_development_dependency 'bundler', '>= 2.0', '< 2.4.0'
|
44
|
+
spec.add_development_dependency 'codecov'
|
44
45
|
spec.add_development_dependency 'dotenv', '>= 2.0'
|
45
46
|
spec.add_development_dependency 'pry', '>= 0.1'
|
46
47
|
spec.add_development_dependency 'pry-byebug', '>= 3.0'
|
47
48
|
spec.add_development_dependency 'rspec', '>= 3.0'
|
48
|
-
spec.add_development_dependency 'simplecov'
|
49
|
+
spec.add_development_dependency 'simplecov'
|
50
|
+
spec.add_development_dependency 'simplecov-lcov'
|
49
51
|
spec.add_development_dependency 'vcr', '>= 6.0'
|
50
52
|
spec.add_development_dependency 'webmock', '>= 3.0'
|
51
53
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_hubspot_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.2.1.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Brook
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -37,6 +37,9 @@ dependencies:
|
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
39
|
version: '2.0'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 2.4.0
|
40
43
|
type: :development
|
41
44
|
prerelease: false
|
42
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -44,6 +47,23 @@ dependencies:
|
|
44
47
|
- - ">="
|
45
48
|
- !ruby/object:Gem::Version
|
46
49
|
version: '2.0'
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 2.4.0
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: codecov
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: '0'
|
60
|
+
type: :development
|
61
|
+
prerelease: false
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
47
67
|
- !ruby/object:Gem::Dependency
|
48
68
|
name: dotenv
|
49
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,20 +126,28 @@ dependencies:
|
|
106
126
|
requirements:
|
107
127
|
- - ">="
|
108
128
|
- !ruby/object:Gem::Version
|
109
|
-
version: '0
|
110
|
-
- - "<"
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: '1.0'
|
129
|
+
version: '0'
|
113
130
|
type: :development
|
114
131
|
prerelease: false
|
115
132
|
version_requirements: !ruby/object:Gem::Requirement
|
116
133
|
requirements:
|
117
134
|
- - ">="
|
118
135
|
- !ruby/object:Gem::Version
|
119
|
-
version: '0
|
120
|
-
|
136
|
+
version: '0'
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: simplecov-lcov
|
139
|
+
requirement: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
121
142
|
- !ruby/object:Gem::Version
|
122
|
-
version: '
|
143
|
+
version: '0'
|
144
|
+
type: :development
|
145
|
+
prerelease: false
|
146
|
+
version_requirements: !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
148
|
+
- - ">="
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '0'
|
123
151
|
- !ruby/object:Gem::Dependency
|
124
152
|
name: vcr
|
125
153
|
requirement: !ruby/object:Gem::Requirement
|
@@ -176,10 +204,10 @@ extensions: []
|
|
176
204
|
extra_rdoc_files: []
|
177
205
|
files:
|
178
206
|
- ".env.sample"
|
207
|
+
- ".github/workflows/ruby.yml"
|
179
208
|
- ".gitignore"
|
180
209
|
- ".rspec"
|
181
210
|
- ".rubocop.yml"
|
182
|
-
- ".ruby-version"
|
183
211
|
- CHANGELOG.md
|
184
212
|
- Gemfile
|
185
213
|
- Gemfile.lock
|
@@ -190,16 +218,19 @@ files:
|
|
190
218
|
- bin/setup
|
191
219
|
- lib/hubspot.rb
|
192
220
|
- lib/hubspot/api_client.rb
|
221
|
+
- lib/hubspot/batch.rb
|
193
222
|
- lib/hubspot/company.rb
|
194
223
|
- lib/hubspot/config.rb
|
195
224
|
- lib/hubspot/contact.rb
|
196
225
|
- lib/hubspot/exceptions.rb
|
226
|
+
- lib/hubspot/paged_batch.rb
|
197
227
|
- lib/hubspot/paged_collection.rb
|
198
228
|
- lib/hubspot/property.rb
|
199
229
|
- lib/hubspot/resource.rb
|
200
230
|
- lib/hubspot/user.rb
|
201
231
|
- lib/hubspot/version.rb
|
202
232
|
- lib/ruby_hubspot_api.rb
|
233
|
+
- lib/support/patches.rb
|
203
234
|
- ruby_hubspot_api.gemspec
|
204
235
|
homepage: https://github.com/sensadrome/ruby_hubspot_api
|
205
236
|
licenses:
|
@@ -215,14 +246,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
215
246
|
requirements:
|
216
247
|
- - ">="
|
217
248
|
- !ruby/object:Gem::Version
|
218
|
-
version: '2.
|
249
|
+
version: '2.4'
|
219
250
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
251
|
requirements:
|
221
|
-
- - "
|
252
|
+
- - ">"
|
222
253
|
- !ruby/object:Gem::Version
|
223
|
-
version:
|
254
|
+
version: 1.3.1
|
224
255
|
requirements: []
|
225
|
-
|
256
|
+
rubyforge_project:
|
257
|
+
rubygems_version: 2.6.14.4
|
226
258
|
signing_key:
|
227
259
|
specification_version: 4
|
228
260
|
summary: ruby_hubspot_api is an ORM-like wrapper for the Hubspot API
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.5.3
|