nylas 4.0.1 → 4.2.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/lib/nylas.rb +0 -2
- data/lib/nylas/contact.rb +0 -1
- data/lib/nylas/version.rb +1 -1
- metadata +3 -4
- data/lib/nylas/contact_group.rb +0 -12
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a0309597ec61422795c191d902f0869b199bdc1d
|
|
4
|
+
data.tar.gz: 3b0534a7844f8182f4bc3d5597f8e28cfe8e5eb8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b5186ac266d2986be98076f6dac22e1df8bd305ae0ae0a41f31b56670682d626114b01b4f00c89f77bc3743938b837ad68e429a3bd136b361bc1be7e793d258
|
|
7
|
+
data.tar.gz: 114f8ab0eaad1018d267cefe1d7a79fc6f6a37d491aa60c2d108d67307967275afe0ab879ea94cfd7c2fa3765ba7dc1717cddd7748dd8927f70b4e811b39ba4e
|
data/lib/nylas.rb
CHANGED
|
@@ -42,7 +42,6 @@ require_relative "nylas/deltas_collection"
|
|
|
42
42
|
require_relative "nylas/account"
|
|
43
43
|
require_relative "nylas/calendar"
|
|
44
44
|
require_relative "nylas/contact"
|
|
45
|
-
require_relative "nylas/contact_group"
|
|
46
45
|
require_relative "nylas/current_account"
|
|
47
46
|
require_relative "nylas/deltas"
|
|
48
47
|
require_relative "nylas/delta"
|
|
@@ -83,5 +82,4 @@ module Nylas
|
|
|
83
82
|
Types.registry[:timespan] = Types::ModelType.new(model: Timespan)
|
|
84
83
|
Types.registry[:web_page] = Types::ModelType.new(model: WebPage)
|
|
85
84
|
Types.registry[:nylas_date] = NylasDateType.new
|
|
86
|
-
Types.registry[:contact_group] = Types::ModelType.new(model: ContactGroup)
|
|
87
85
|
end
|
data/lib/nylas/contact.rb
CHANGED
|
@@ -29,7 +29,6 @@ module Nylas
|
|
|
29
29
|
attribute :notes, :string
|
|
30
30
|
attribute :web_page, :web_page
|
|
31
31
|
|
|
32
|
-
has_n_of_attribute :groups, :contact_group
|
|
33
32
|
has_n_of_attribute :emails, :email_address
|
|
34
33
|
has_n_of_attribute :im_addresses, :im_address
|
|
35
34
|
has_n_of_attribute :physical_addresses, :physical_address
|
data/lib/nylas/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nylas
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0
|
|
4
|
+
version: 4.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nylas, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-02-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -253,7 +253,6 @@ files:
|
|
|
253
253
|
- lib/nylas/collection.rb
|
|
254
254
|
- lib/nylas/constraints.rb
|
|
255
255
|
- lib/nylas/contact.rb
|
|
256
|
-
- lib/nylas/contact_group.rb
|
|
257
256
|
- lib/nylas/current_account.rb
|
|
258
257
|
- lib/nylas/delta.rb
|
|
259
258
|
- lib/nylas/deltas.rb
|
|
@@ -320,7 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
320
319
|
version: '0'
|
|
321
320
|
requirements: []
|
|
322
321
|
rubyforge_project:
|
|
323
|
-
rubygems_version: 2.
|
|
322
|
+
rubygems_version: 2.6.13
|
|
324
323
|
signing_key:
|
|
325
324
|
specification_version: 4
|
|
326
325
|
summary: Gem for interacting with the Nylas API
|
data/lib/nylas/contact_group.rb
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
module Nylas
|
|
2
|
-
# Structure to represent the Contact Group schema
|
|
3
|
-
# @see https://docs.nylas.com/reference#contactsid
|
|
4
|
-
class ContactGroup
|
|
5
|
-
include Model::Attributable
|
|
6
|
-
attribute :id, :string
|
|
7
|
-
attribute :object, :string
|
|
8
|
-
attribute :account_id, :string
|
|
9
|
-
attribute :name, :string
|
|
10
|
-
attribute :path, :string
|
|
11
|
-
end
|
|
12
|
-
end
|