gmail-api-ruby 0.0.7 → 0.0.8

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: f0c58ac957936dd838b4bc2d71b25f29d4490d97
4
- data.tar.gz: 8fb4ad0bdf6c07646d83bb032e2db85719743e81
3
+ metadata.gz: 5273a95744838014133f8e73a0f46fd460718c77
4
+ data.tar.gz: d5bfd5f961dfd1d4922b91ab6fd2ec690c1bce43
5
5
  SHA512:
6
- metadata.gz: 23cbd0a3902f57d72cd370612f7af1735f4d3804a5e7e9a80ec6f16a3197a4315a90289227824d4d405b6eb3af652426677963121274123acbe8f8981b5cb418
7
- data.tar.gz: be66ca913df591e1872ecfcbd5e8c5af0dc12289ce14571d0caa402665c062324b71425f1b822e98be90cbd33cf58fe19073194e39eb3b7dcf8a8af974a9de60
6
+ metadata.gz: ebbf9e37b8ae3ae567f98cc264ffd8af56f22148b32b52a5d81eeaf922d5462f415e799434585c1232e285a747c3ff67c09e52ce86cdfc21a82cf53ada203759
7
+ data.tar.gz: c8464d8203da235e1cf0cad899e94c3f97e2e8b027f333df27a7bc67656ed2abf92d422a49111cc7d556f0c7c56c58c00c6c0bf080fb879f757c8ffe91024b62
data/CHANGELOG.md CHANGED
@@ -23,3 +23,7 @@
23
23
 
24
24
  * Fix array empty errors for listing method
25
25
 
26
+ ## 0.0.8 / 2015-01-29
27
+
28
+ * minor fix
29
+
data/README.md CHANGED
@@ -55,11 +55,11 @@ this will work for Messages and Threads
55
55
 
56
56
  ```ruby
57
57
  some_message.archive
58
- some_message.un_archive
58
+ some_message.unarchive
59
59
  some_message.trash
60
- some_message.un_trash
60
+ some_message.untrash
61
61
  some_message.star
62
- some_message.un_star
62
+ some_message.unstar
63
63
  some_message.mark_as_read
64
64
  some_message.mark_as_unread
65
65
 
data/lib/gmail/message.rb CHANGED
@@ -139,7 +139,7 @@ module Gmail
139
139
  to_ar = []
140
140
  split_regexp = Regexp.new("\s*,\s*")
141
141
  own_email = delivered_to || Gmail.mailbox_email
142
- to_ar = to.split(split_regexp) + (cc || []).split(split_regexp)
142
+ to_ar = to.split(split_regexp) + (cc || "").split(split_regexp)
143
143
  result = to_ar.grep(Regexp.new(own_email, "i"))
144
144
  to_ar = to_ar - result
145
145
 
data/lib/gmail/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Gmail
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
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.7
4
+ version: 0.0.8
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-19 00:00:00.000000000 Z
11
+ date: 2015-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime