gmailer 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +5 -0
- data/gmailer.gempsec +1 -1
- data/gmailer.rb +5 -12
- metadata +2 -2
data/CHANGES
CHANGED
data/gmailer.gempsec
CHANGED
data/gmailer.rb
CHANGED
@@ -52,7 +52,7 @@ GM_ACT_DELSPAM = 20 # delete spam, forever
|
|
52
52
|
GM_ACT_DELTRASH = 21 # delete trash message, forever
|
53
53
|
|
54
54
|
module GMailer
|
55
|
-
VERSION = "0.1.
|
55
|
+
VERSION = "0.1.8"
|
56
56
|
attr_accessor :connection
|
57
57
|
|
58
58
|
# the main class.
|
@@ -1328,9 +1328,9 @@ module GMailer
|
|
1328
1328
|
|
1329
1329
|
def edit_contact(contact_id, name, email, notes, details=[])
|
1330
1330
|
if connected?
|
1331
|
-
|
1331
|
+
postdata = {}
|
1332
1332
|
postdata["act"] = "ec"
|
1333
|
-
|
1333
|
+
postdata["ct_id"] = contact_id.to_s
|
1334
1334
|
postdata["ct_nm"] = name
|
1335
1335
|
postdata["ct_em"] = email
|
1336
1336
|
postdata["ctf_n"] = notes
|
@@ -1635,18 +1635,11 @@ module GMailer
|
|
1635
1635
|
@conv = []
|
1636
1636
|
b = Conversation.new
|
1637
1637
|
raw["mg"].each do |r|
|
1638
|
-
puts "KKKKKKKKKKK"
|
1639
|
-
puts r[0]
|
1640
|
-
puts "================"
|
1641
1638
|
if (r[0] == "mb")
|
1642
1639
|
b.body = '' if b.body.nil?
|
1643
1640
|
b.body += r[1]
|
1644
|
-
puts b.body
|
1645
|
-
puts "###################"
|
1646
1641
|
if (r[2] == 0)
|
1647
1642
|
b.body = decode(b.body)
|
1648
|
-
puts b.body
|
1649
|
-
puts "******************"
|
1650
1643
|
@conv.push(b)
|
1651
1644
|
b = Conversation.new
|
1652
1645
|
end
|
@@ -1721,11 +1714,11 @@ puts "******************"
|
|
1721
1714
|
end
|
1722
1715
|
elsif type == GM_CONTACT
|
1723
1716
|
@contacts = []
|
1724
|
-
@
|
1717
|
+
@contacts_groups = []
|
1725
1718
|
@contacts_total = 0
|
1726
1719
|
|
1727
1720
|
if raw["cls"]
|
1728
|
-
@
|
1721
|
+
@contacts_total = (raw["cls"][1]).to_i
|
1729
1722
|
@contacts_shown = (raw["cls"][3]).to_i
|
1730
1723
|
end
|
1731
1724
|
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
3
3
|
specification_version: 1
|
4
4
|
name: gmailer
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.1.
|
7
|
-
date: 2007-
|
6
|
+
version: 0.1.8
|
7
|
+
date: 2007-09-29 00:00:00 +09:00
|
8
8
|
summary: An class interface of the Google's webmail service
|
9
9
|
require_paths:
|
10
10
|
- ""
|