mm-blog 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/.DS_Store +0 -0
  2. data/VERSION +1 -1
  3. data/lib/mm-blog.rb +6 -8
  4. data/mm-blog.gemspec +3 -2
  5. metadata +3 -3
data/.DS_Store CHANGED
Binary file
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -45,16 +45,14 @@ module MMBlog
45
45
  :to => MMBlog::Application.config[:email_to],
46
46
  :subject => params[:name] + "<" + params[:email] + ">" + " has contacted you",
47
47
  :body => params[:message],
48
- :port => '587',
49
48
  :via => :smtp,
50
- :via_options => {
51
- :address => 'smtp.gmail.com',
52
- :port => '587',
49
+ :smtp => {
50
+ :address => 'smtp.postmarkapp.com',
51
+ :port => '25',
53
52
  :enable_starttls_auto => true,
54
- :user_name => MMBlog::Application.config[:gmail_username],
55
- :password => MMBlog::Application.config[:gmail_password],
56
- :authentication => :plain,
57
- :domain => 'localhost.localdomain'
53
+ :user_name => MMBlog::Application.config[:postmark_api_key],
54
+ :password => MMBlog::Application.config[:postmark_api_key],
55
+ :authentication => :plain
58
56
  })
59
57
  redirect '/success'
60
58
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mm-blog}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Mark McConachie"]
12
- s.date = %q{2011-03-15}
12
+ s.date = %q{2011-03-22}
13
13
  s.description = %q{A simple wee blog platform}
14
14
  s.email = %q{mark@markmcconachie.com}
15
15
  s.extra_rdoc_files = [
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
26
26
  "Rakefile",
27
27
  "VERSION",
28
28
  "lib/mm-blog.rb",
29
+ "mm-blog.gemspec",
29
30
  "test/helper.rb",
30
31
  "test/test_mm-blog.rb"
31
32
  ]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mm-blog
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.1
5
+ version: 0.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mark McConachie
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-15 00:00:00 +01:00
13
+ date: 2011-03-22 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -159,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
159
159
  requirements:
160
160
  - - ">="
161
161
  - !ruby/object:Gem::Version
162
- hash: -4129912209497609234
162
+ hash: -1641167104551097948
163
163
  segments:
164
164
  - 0
165
165
  version: "0"