nylas 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/restful_model_collection.rb +10 -1
- data/lib/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 999719960074186f77ac3eef0bf60cef352dd7b5
|
4
|
+
data.tar.gz: 8f77bcb3c45108e06dae0fd9be0d91c378e5b63b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8d3944cf80027d4bb226e0863651156f665fb9aa18397a3f2d3b83eb88c1efb617b10dd1f41efdba732c39de7696eef38315c7e2346af1ea7d3d7c76519a419
|
7
|
+
data.tar.gz: cb8ea4a706dfa3f5920d898b94ee2550ecae7f61dc11b87e184719bc53a01770a1f19a4a8586e883272b873c328ac266554fb439627368e6fbe908953520fcde
|
@@ -44,7 +44,16 @@ module Inbox
|
|
44
44
|
|
45
45
|
def where(filters)
|
46
46
|
collection = self.clone
|
47
|
-
|
47
|
+
|
48
|
+
# deep copy the object, otherwise filter is shared among all
|
49
|
+
# the instances of the collection, which leads to confusing behaviour.
|
50
|
+
# - karim
|
51
|
+
if collection.filters == nil
|
52
|
+
collection.filters = {}
|
53
|
+
else
|
54
|
+
collection.filters = Marshal.load(Marshal.dump(collection.filters))
|
55
|
+
end
|
56
|
+
|
48
57
|
collection.filters.merge!(filters)
|
49
58
|
collection
|
50
59
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nylas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.16.
|
4
|
+
version: 0.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Gotow
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-06-
|
13
|
+
date: 2015-06-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rest-client
|
@@ -174,8 +174,6 @@ extra_rdoc_files:
|
|
174
174
|
- LICENSE.txt
|
175
175
|
- README.md
|
176
176
|
files:
|
177
|
-
- LICENSE.txt
|
178
|
-
- README.md
|
179
177
|
- lib/account.rb
|
180
178
|
- lib/api_thread.rb
|
181
179
|
- lib/calendar.rb
|
@@ -194,6 +192,8 @@ files:
|
|
194
192
|
- lib/tag.rb
|
195
193
|
- lib/time_attr_accessor.rb
|
196
194
|
- lib/version.rb
|
195
|
+
- LICENSE.txt
|
196
|
+
- README.md
|
197
197
|
homepage: http://github.com/nylas/nylas-ruby
|
198
198
|
licenses:
|
199
199
|
- MIT
|
@@ -214,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
214
|
version: '0'
|
215
215
|
requirements: []
|
216
216
|
rubyforge_project:
|
217
|
-
rubygems_version: 2.
|
217
|
+
rubygems_version: 2.0.14
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: Gem for interacting with the Nylas API
|