close 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed73fa2146fd8957db21a0496e0ba480122cd352f6eca97661286593ec4ad374
4
- data.tar.gz: 70a0800988e93bf3ce2e6cb26408d13a9841692c25015691c36edb5d09add831
3
+ metadata.gz: 9b96218de9d48b51d11b6da08cd20976747d77bcc2e0d9e48ef1bfa875087db5
4
+ data.tar.gz: ab0ae2ae9463f006452b0872b8147d778dd7538469ff65e42a5295b2b62c00dd
5
5
  SHA512:
6
- metadata.gz: 3803b9d1d73b2f29d0ef73cdc2500b358e09f552aee4fc2bbba1da45362636ac46cfaa8bc2370117878d85dfd3cf1e90234cf47245848a05014107d93c843934
7
- data.tar.gz: 82b88a593e72097347966567530e7b648dac5875b360e5347e251189bba8af1901e182b1db47340869e2848b897393057973b8e22853d6bbd9d09a4f36a5431d
6
+ metadata.gz: 503f1df9634a4a348dd4d7f96b447499ea22961a2e3870c5ad46bf7e8912a6992d15ee144bbda8e9f7b5c40cf1cf4c1f9226f2c34ef2507734fa6d2682c48866
7
+ data.tar.gz: 1ca33c0d03a6cbf89ef0b4a050553cdacf52a585a6653ef6375af0e0b4cb44086332f04eb16af411dff6d7f098fcc945df42d45c2a4b7086df09fe25a3bff9dc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.3.0](https://www.github.com/joynerd/close/compare/v0.2.0...v0.3.0) (2022-10-20)
4
+
5
+
6
+ ### Features
7
+
8
+ * Added support for Activity endpoint ([32d01fc](https://www.github.com/joynerd/close/commit/32d01fc2a65e7ff30605e855cbea2693d2410848))
9
+
3
10
  ## [0.2.0](https://www.github.com/joynerd/close/compare/v0.1.5...v0.2.0) (2022-10-20)
4
11
 
5
12
 
data/Gemfile CHANGED
@@ -18,3 +18,5 @@ gem "webmock"
18
18
  gem "sinatra"
19
19
 
20
20
  gem 'simplecov', require: false, group: :test
21
+
22
+ gem 'simplecov_json_formatter', require: false, group: :test
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- close (0.2.0)
4
+ close (0.3.0)
5
5
  faraday (>= 2.0.0)
6
6
  ostruct
7
7
 
@@ -92,6 +92,7 @@ DEPENDENCIES
92
92
  rspec (~> 3.0)
93
93
  rubocop (~> 1.21)
94
94
  simplecov
95
+ simplecov_json_formatter
95
96
  sinatra
96
97
  webmock
97
98
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Close
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/close.svg)](https://badge.fury.io/rb/close) [![Test Coverage](https://api.codeclimate.com/v1/badges/d83380e81bfb459ea027/test_coverage)](https://codeclimate.com/github/joynerd/close/test_coverage)
3
+ [![Gem Version](https://badge.fury.io/rb/close.svg)](https://badge.fury.io/rb/close) ![Tests](https://github.com/joynerd/close/actions/workflows/spec.yml/badge.svg) [![Test Coverage](https://api.codeclimate.com/v1/badges/d83380e81bfb459ea027/test_coverage)](https://codeclimate.com/github/joynerd/close/test_coverage)
4
4
 
5
5
  This a ruby gem that provides a robust way to interact with the Close
6
6
  CRM API.
@@ -0,0 +1,9 @@
1
+ module Close
2
+ class Activity < APIResource
3
+
4
+ def self.resource_url
5
+ 'api/v1/activity/'
6
+ end
7
+
8
+ end
9
+ end
@@ -1,3 +1,4 @@
1
+ require_relative "resource/activity"
1
2
  require_relative "resource/lead"
2
3
  require_relative "resource/contact"
3
4
  require_relative "resource/custom_activity_type"
data/lib/close/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Close
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: close
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JoyNerd LLC
@@ -61,6 +61,7 @@ files:
61
61
  - lib/close/data/filters/find_lead_by_contact_email.json
62
62
  - lib/close/errors.rb
63
63
  - lib/close/filter.rb
64
+ - lib/close/resource/activity.rb
64
65
  - lib/close/resource/contact.rb
65
66
  - lib/close/resource/custom_activity_type.rb
66
67
  - lib/close/resource/lead.rb