active_wrapper 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,11 +1,14 @@
1
1
  require 'rubygems'
2
2
  require 'bundler'
3
+
4
+ Bundler.require(:lib)
5
+
6
+ require 'action_mailer'
7
+ require 'active_record'
3
8
  require 'fileutils'
4
9
  require 'logger'
5
10
  require 'yaml'
6
11
 
7
- Bundler.require(:lib)
8
-
9
12
  $:.unshift File.dirname(__FILE__) + '/active_wrapper'
10
13
 
11
14
  require 'version'
@@ -37,7 +37,7 @@ module ActiveWrapper
37
37
  Mailer.deliver_email(options)
38
38
  end
39
39
 
40
- class Mailer < ActionMailer::Base
40
+ class Mailer < ::ActionMailer::Base
41
41
  def email(options)
42
42
  from options[:from]
43
43
  recipients options[:to]
@@ -1,3 +1,3 @@
1
1
  module ActiveWrapper
2
- VERSION = "0.3.0" unless defined?(::ActiveWrapper::VERSION)
2
+ VERSION = "0.3.1" unless defined?(::ActiveWrapper::VERSION)
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Winton Welsh
@@ -21,26 +21,72 @@ dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  type: :runtime
23
23
  prerelease: false
24
- name: bundler
24
+ name: activerecord
25
25
  version_requirements: &id001 !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
28
28
  - - "="
29
29
  - !ruby/object:Gem::Version
30
- hash: 62196359
30
+ hash: 9
31
+ segments:
32
+ - 2
33
+ - 3
34
+ - 5
35
+ version: 2.3.5
36
+ requirement: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ type: :runtime
39
+ prerelease: false
40
+ name: actionmailer
41
+ version_requirements: &id002 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - "="
45
+ - !ruby/object:Gem::Version
46
+ hash: 9
47
+ segments:
48
+ - 2
49
+ - 3
50
+ - 5
51
+ version: 2.3.5
52
+ requirement: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ type: :runtime
55
+ prerelease: false
56
+ name: bundler
57
+ version_requirements: &id003 !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - "="
61
+ - !ruby/object:Gem::Version
62
+ hash: 62196361
31
63
  segments:
32
64
  - 1
33
65
  - 0
34
66
  - 0
35
67
  - beta
36
- - 2
37
- version: 1.0.0.beta.2
38
- requirement: *id001
68
+ - 5
69
+ version: 1.0.0.beta.5
70
+ requirement: *id003
71
+ - !ruby/object:Gem::Dependency
72
+ type: :runtime
73
+ prerelease: false
74
+ name: mysql
75
+ version_requirements: &id004 !ruby/object:Gem::Requirement
76
+ none: false
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ hash: 3
81
+ segments:
82
+ - 0
83
+ version: "0"
84
+ requirement: *id004
39
85
  - !ruby/object:Gem::Dependency
40
86
  type: :development
41
87
  prerelease: false
42
88
  name: rspec
43
- version_requirements: &id002 !ruby/object:Gem::Requirement
89
+ version_requirements: &id005 !ruby/object:Gem::Requirement
44
90
  none: false
45
91
  requirements:
46
92
  - - "="
@@ -51,7 +97,7 @@ dependencies:
51
97
  - 3
52
98
  - 0
53
99
  version: 1.3.0
54
- requirement: *id002
100
+ requirement: *id005
55
101
  description: Wraps ActiveRecord and Logger for use in non-Rails environments
56
102
  email:
57
103
  - mail@wintoni.us