winton-active_wrapper 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/active_wrapper.gemspec +2 -2
- data/gemspec.rb +1 -1
- data/lib/active_wrapper/mail.rb +3 -1
- metadata +2 -2
data/active_wrapper.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{active_wrapper}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Winton Welsh"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-07-03}
|
10
10
|
s.email = %q{mail@wintoni.us}
|
11
11
|
s.extra_rdoc_files = ["README.markdown"]
|
12
12
|
s.files = ["active_wrapper.gemspec", "gemspec.rb", "lib", "lib/active_wrapper", "lib/active_wrapper/db.rb", "lib/active_wrapper/log.rb", "lib/active_wrapper/mail.rb", "lib/active_wrapper/tasks.rb", "lib/active_wrapper.rb", "MIT-LICENSE", "Rakefile", "README.markdown", "resources", "resources/migration.template", "spec", "spec/spec.opts", "spec/spec_helper.rb"]
|
data/gemspec.rb
CHANGED
data/lib/active_wrapper/mail.rb
CHANGED
@@ -9,7 +9,9 @@ module ActiveWrapper
|
|
9
9
|
|
10
10
|
path = "#{base}/config/mail.yml"
|
11
11
|
|
12
|
-
if
|
12
|
+
if @env == 'test'
|
13
|
+
ActionMailer::Base.delivery_method = :test
|
14
|
+
elsif File.exists?(path)
|
13
15
|
@config = YAML::load(File.open(path))
|
14
16
|
if @config && @config = @config[@env]
|
15
17
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: winton-active_wrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Winton Welsh
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-03 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|