mailfire 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,17 @@
1
+ ## Mailfire
2
+ (yes, its a bad name)
3
+ ##### For when you don't want to send emails for real, but still want an easy way to sanity check the content (i.e. on dev)
4
+
5
+ ```ruby
6
+ ActionMailer::Base.add_delivery_method :campfire,
7
+ Mailfire::TextToRoom,
8
+ account: 'youraccount',
9
+ token: '9s8d7fasfdasdfasdfsdfnskldf......',
10
+ room: 'mail'
11
+
12
+ if Rails.env.development?
13
+ ActionMailer::Base.delivery_method = :campfire
14
+ end
15
+ ```
16
+
17
+ And your email to, from, subject and body will be 'delivered' to your campfire room
@@ -1,3 +1,3 @@
1
1
  module Mailfire
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.email = ["ryan@academia.edu"]
10
10
  s.homepage = "https://github.com/academia-edu/mailfire"
11
11
  s.summary = %q{Send mail to campfire rooms}
12
- s.description = %q{Send mail to campfire rooms}
12
+ s.description = %q{When you don't want to send emails for real, but still want an easy way to sanity check the content, 'deliver' them to campfire}
13
13
 
14
14
  s.rubyforge_project = "mailfire"
15
15
 
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.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-16 00:00:00.000000000Z
12
+ date: 2012-02-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: tinder
16
- requirement: &70193613718700 !ruby/object:Gem::Requirement
16
+ requirement: &70121684843440 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,8 +21,9 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70193613718700
25
- description: Send mail to campfire rooms
24
+ version_requirements: *70121684843440
25
+ description: When you don't want to send emails for real, but still want an easy way
26
+ to sanity check the content, 'deliver' them to campfire
26
27
  email:
27
28
  - ryan@academia.edu
28
29
  executables: []
@@ -31,6 +32,7 @@ extra_rdoc_files: []
31
32
  files:
32
33
  - .gitignore
33
34
  - Gemfile
35
+ - README.md
34
36
  - Rakefile
35
37
  - lib/mailfire.rb
36
38
  - lib/mailfire/version.rb