mailfire 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,7 +40,11 @@ module Mailfire
40
40
  @rooms.each do |room|
41
41
  room.speak "To: #{mail.to}, From: #{mail.from}"
42
42
  room.speak mail.subject
43
- room.paste mail.text_part.to_s
43
+ if mail.multipart?
44
+ room.paste mail.text_part.to_s
45
+ else
46
+ room.paste mail.body
47
+ end
44
48
  end
45
49
  end
46
50
 
@@ -1,3 +1,3 @@
1
1
  module Mailfire
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.version = Mailfire::VERSION
8
8
  s.authors = ["ryanlower"]
9
9
  s.email = ["ryan@academia.edu"]
10
- s.homepage = "http://academia.edu"
10
+ s.homepage = "https://github.com/academia-edu/mailfire"
11
11
  s.summary = %q{Send mail to campfire rooms}
12
12
  s.description = %q{Send mail to campfire rooms}
13
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailfire
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-16 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: tinder
16
- requirement: &70136558638380 !ruby/object:Gem::Requirement
16
+ requirement: &70193613718700 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70136558638380
24
+ version_requirements: *70193613718700
25
25
  description: Send mail to campfire rooms
26
26
  email:
27
27
  - ryan@academia.edu
@@ -35,7 +35,7 @@ files:
35
35
  - lib/mailfire.rb
36
36
  - lib/mailfire/version.rb
37
37
  - mailfire.gemspec
38
- homepage: http://academia.edu
38
+ homepage: https://github.com/academia-edu/mailfire
39
39
  licenses: []
40
40
  post_install_message:
41
41
  rdoc_options: []