nylas 4.6.4 → 4.6.5
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 +15 -0
- data/lib/nylas/file.rb +1 -0
- data/lib/nylas/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc59654b2a73962455afa89f51aa5bd9b5dcfe7867c6a10add1da68725982db6
|
|
4
|
+
data.tar.gz: 6df2f0c708e16d688666429edb793f736f9df1ae65fc310f3c1ffdf8fa197672
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c2bb1f816dbd759685097c76d7d03ee9a24870fd341a4cd2909cc33be5078f6a1bee9b72871d126a48f09e6e0edd047e2f1dd2b3b9b0205003f7cf8d2af6ac25
|
|
7
|
+
data.tar.gz: dd34aa4b46d5de885dc3c0acca19fe4f0adfedec97b2790e2bff402c3240aa5c26c78f4b413c8cf817e5914eb8cd6788770a652ff21af4484c80b832ba44909f
|
data/lib/nylas.rb
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
require "json"
|
|
4
4
|
require "rest-client"
|
|
5
5
|
|
|
6
|
+
# BUGFIX
|
|
7
|
+
# See https://github.com/sparklemotion/http-cookie/issues/27
|
|
8
|
+
# and https://github.com/sparklemotion/http-cookie/issues/6
|
|
9
|
+
#
|
|
10
|
+
# CookieJar uses unsafe class caching for dynamically loading cookie jars
|
|
11
|
+
# If 2 rest-client instances are instantiated at the same time, (in threads)
|
|
12
|
+
# non-deterministic behaviour can occur whereby the Hash cookie jar isn't
|
|
13
|
+
# properly loaded and cached.
|
|
14
|
+
# Forcing an instantiation of the jar onload will force the CookieJar to load
|
|
15
|
+
# before the system has a chance to spawn any threads.
|
|
16
|
+
# Note this should technically be fixed in rest-client itself however that
|
|
17
|
+
# library appears to be stagnant so we're forced to fix it here
|
|
18
|
+
# This object should get GC'd as it's not referenced by anything
|
|
19
|
+
HTTP::CookieJar.new
|
|
20
|
+
|
|
6
21
|
require "ostruct"
|
|
7
22
|
require "forwardable"
|
|
8
23
|
|
data/lib/nylas/file.rb
CHANGED
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.6.
|
|
4
|
+
version: 4.6.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nylas, Inc.
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-02-
|
|
11
|
+
date: 2021-02-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -331,7 +331,7 @@ files:
|
|
|
331
331
|
- lib/nylas/web_page.rb
|
|
332
332
|
- lib/nylas/webhook.rb
|
|
333
333
|
- lib/nylas/when.rb
|
|
334
|
-
homepage:
|
|
334
|
+
homepage:
|
|
335
335
|
licenses:
|
|
336
336
|
- MIT
|
|
337
337
|
metadata:
|
|
@@ -341,7 +341,7 @@ metadata:
|
|
|
341
341
|
homepage_uri: https://www.nylas.com
|
|
342
342
|
source_code_uri: https://github.com/nylas/nylas-ruby
|
|
343
343
|
wiki_uri: https://github.com/nylas/nylas-ruby/wiki
|
|
344
|
-
post_install_message:
|
|
344
|
+
post_install_message:
|
|
345
345
|
rdoc_options: []
|
|
346
346
|
require_paths:
|
|
347
347
|
- lib
|
|
@@ -356,8 +356,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
356
356
|
- !ruby/object:Gem::Version
|
|
357
357
|
version: '0'
|
|
358
358
|
requirements: []
|
|
359
|
-
rubygems_version: 3.2
|
|
360
|
-
signing_key:
|
|
359
|
+
rubygems_version: 3.1.2
|
|
360
|
+
signing_key:
|
|
361
361
|
specification_version: 4
|
|
362
362
|
summary: Gem for interacting with the Nylas API
|
|
363
363
|
test_files: []
|