gmail-api-ruby 0.0.6 → 0.0.7

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
  SHA1:
3
- metadata.gz: 4dc872b455aa318e9635be5a436b3b1d6b825c66
4
- data.tar.gz: 0fda002fcc083dd943c581c0c7f2a28f5dcf59ee
3
+ metadata.gz: f0c58ac957936dd838b4bc2d71b25f29d4490d97
4
+ data.tar.gz: 8fb4ad0bdf6c07646d83bb032e2db85719743e81
5
5
  SHA512:
6
- metadata.gz: 7a2ff33db280a9f8d309312a5199f62816d2299b0ffc069fc34d33f0dd90a7541b99808e06e70a0e61a8a7e3a19d889135de8f48df79d4b72af3a5ce64c8dc89
7
- data.tar.gz: e62fdebe6717a1c19f41bb3756008153e3591988634133d37608d5a7a00ac68ff55a803b32673c95b1e536f71c94a517ddab5a19d6271a0a78048e78dbc93554
6
+ metadata.gz: 23cbd0a3902f57d72cd370612f7af1735f4d3804a5e7e9a80ec6f16a3197a4315a90289227824d4d405b6eb3af652426677963121274123acbe8f8981b5cb418
7
+ data.tar.gz: be66ca913df591e1872ecfcbd5e8c5af0dc12289ce14571d0caa402665c062324b71425f1b822e98be90cbd33cf58fe19073194e39eb3b7dcf8a8af974a9de60
@@ -19,3 +19,7 @@
19
19
 
20
20
  * Added insert method for Message and some minor improvements
21
21
 
22
+ ## 0.0.7 / 2015-01-19
23
+
24
+ * Fix array empty errors for listing method
25
+
@@ -10,7 +10,7 @@ module Gmail
10
10
  filters.merge!({maxResults: 100})
11
11
  end
12
12
  response = Gmail.request(base_method.send("list"), filters)
13
- items = response["#{class_name.downcase}s".to_sym]
13
+ items = response["#{class_name.downcase}s".to_sym] || []
14
14
  next_page_token = response[:nextPageToken]
15
15
  opts[:items] = opts[:items] + items
16
16
 
@@ -1,3 +1,3 @@
1
1
  module Gmail
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end # Gmail
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gmail-api-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Hobeika
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-16 00:00:00.000000000 Z
11
+ date: 2015-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime