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 +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +3 -3
- data/lib/gmail/message.rb +1 -1
- data/lib/gmail/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5273a95744838014133f8e73a0f46fd460718c77
|
4
|
+
data.tar.gz: d5bfd5f961dfd1d4922b91ab6fd2ec690c1bce43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebbf9e37b8ae3ae567f98cc264ffd8af56f22148b32b52a5d81eeaf922d5462f415e799434585c1232e285a747c3ff67c09e52ce86cdfc21a82cf53ada203759
|
7
|
+
data.tar.gz: c8464d8203da235e1cf0cad899e94c3f97e2e8b027f333df27a7bc67656ed2abf92d422a49111cc7d556f0c7c56c58c00c6c0bf080fb879f757c8ffe91024b62
|
data/CHANGELOG.md
CHANGED
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.
|
58
|
+
some_message.unarchive
|
59
59
|
some_message.trash
|
60
|
-
some_message.
|
60
|
+
some_message.untrash
|
61
61
|
some_message.star
|
62
|
-
some_message.
|
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 ||
|
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
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.
|
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-
|
11
|
+
date: 2015-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mime
|