gmailRubyUtilities 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/gmailRubyUtilities.rb +0 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 048f75deff9c7a7153f1c3d02edf0e1f74ec6d91
4
- data.tar.gz: 021c55dcfa451bde1f6f6a496d5883779a8e7511
3
+ metadata.gz: 828eb92de3872ef652bbab7a6416c25d48f722ae
4
+ data.tar.gz: 333c86fa3cc5cda039e911fa7a4c2534676cec82
5
5
  SHA512:
6
- metadata.gz: 0558658ecab420eb420c14f4899cdad7cec304693128857873b63bf6fb1664e2e8a67f250f288fececded498808f2eed111a7d60caa2626356c35edee395a948
7
- data.tar.gz: 13a1bd8874b3ecfa7c6bc92645e9e5c4808e90c91dca2601dd9c2e4e108f2e2951f0da8588dfcea193c447427bc5296385acf5c1d636679faf2907d1aef82241
6
+ metadata.gz: 13cc2b31852b71e024fb4e1cd2404d69a5995de83bf0bfb27df240731453cc9b1b6d27753a2d4a8f6f151ae8a12319e8f13ec1cbc3145f9cc82f635cb6c0c673
7
+ data.tar.gz: be1a9588c9053d34611ec0cca08cd18299067d02f2cc98428911e14a3f83741e50e446287811da96845609cd3ca3c1ffd56ca21bbcde8da059b438befa5658e6
@@ -5,19 +5,16 @@ class GmailRubyUtilities
5
5
  gmail = Gmail.connect(username, password)
6
6
  mail=gmail.inbox.find(:from => sender,:unread=> true).last
7
7
  linkInTheEmail=mail.html_part.decoded.scan(/<a.+?href="(.+?)".+?/)[0]
8
- puts linkInTheEmail
9
8
  end
10
9
  def self.readHtmlPartOfLatestMailFromGmail(username,password,sender)
11
10
  gmail = Gmail.connect(username, password)
12
11
  mail=gmail.inbox.find(:from => sender,:unread=> true).last
13
12
  htmlPart=mail.html_part.decoded
14
- puts htmlPart
15
13
  end
16
14
  def self.readTextPartOfLatestMailFromGmail(username,password,sender)
17
15
  gmail = Gmail.connect(username, password)
18
16
  mail=gmail.inbox.find(:from => sender,:unread=> true).last
19
17
  textPart=mail.text_part.decoded
20
- puts textPart
21
18
  end
22
19
 
23
20
  def self.markAllEmailsAsRead(username,password,sender)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gmailRubyUtilities
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adarsha
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-19 00:00:00.000000000 Z
11
+ date: 2015-10-20 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple hello world gem
14
14
  email: adarsha.shetty.89@live.in