api_mailer 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.gitignore +2 -0
- data/.travis.yml +2 -2
- data/gemfiles/Gemfile.rails-5.1.x +8 -0
- data/lib/api_mailer/base.rb +1 -1
- data/lib/api_mailer/version.rb +1 -1
- data/spec/spec_helper.rb +4 -1
- metadata +14 -14
- data/Gemfile.lock +0 -54
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZGEyMmQ4YWNlMTQ4YTgyMzllNzgyMDc4NDE0NzNiOWZjNDU1OThmMg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 41447ae41842474f5c463144446c9a5a8b17d025
|
4
|
+
data.tar.gz: 2548e6d6e08fb44922166ca0cf25e684ebc8ea84
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YTJjYzNjMjE2NDhkOWFmYzUzNzJkZmIxZDU1NGIzNzAzMTg4NjJkNDZhYzM4
|
11
|
-
NGRhZjM1YzA0ZGMzMmY3MzIyNWQ4MzlhYzdhMWU1MWZkMzViZDU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MTkyYjQ1NzhmZWQ2NWFjOWMxM2UwZGZjMGIwYjQyMTQ4YTI3YTdmMzllYTY4
|
14
|
-
YzBmZjRiNmU3OTU1MWIzZjY0ZTYyYjMyNzRkM2E2ZWE5MDJkNTZkYmRkZTE0
|
15
|
-
ZmQzODg3OGQ2YmM2YTcyYTIwNGM3ZmZjYmE1ZjAwMGE0ZGY3MjA=
|
6
|
+
metadata.gz: 152eeead25f8af991c4b724968b32903feea990850655049e83a530d0f2d843c2690ee383332b13e5388d43f838756199ee611c7a22d2a99aaed856c29a24803
|
7
|
+
data.tar.gz: 8db56087afc300d02eb60d9a4232bb1f6758843280915540d06f52f93fda83206d29cb39d527667c9e4797a06a3304ad9d249ca8911f2428814ae98292c76884
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/lib/api_mailer/base.rb
CHANGED
@@ -117,7 +117,7 @@ module ApiMailer
|
|
117
117
|
}
|
118
118
|
|
119
119
|
ActiveSupport::Notifications.instrument("process.api_mailer", payload) do
|
120
|
-
lookup_context.skip_default_locale!
|
120
|
+
lookup_context.skip_default_locale! if lookup_context.respond_to?(:skip_default_locale!)
|
121
121
|
|
122
122
|
super
|
123
123
|
end
|
data/lib/api_mailer/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -7,6 +7,10 @@
|
|
7
7
|
|
8
8
|
require 'active_support/hash_with_indifferent_access'
|
9
9
|
require "api_mailer"
|
10
|
+
|
11
|
+
module Rails
|
12
|
+
end
|
13
|
+
|
10
14
|
RSpec.configure do |config|
|
11
15
|
config.treat_symbols_as_metadata_keys_with_true_values = true
|
12
16
|
config.run_all_when_everything_filtered = true
|
@@ -19,7 +23,6 @@ RSpec.configure do |config|
|
|
19
23
|
config.order = 'random'
|
20
24
|
|
21
25
|
config.before(:each) do
|
22
|
-
Rails = double(:rails) unless defined?(Rails)
|
23
26
|
Rails.stub(:root).and_return(Pathname.new(__FILE__).dirname)
|
24
27
|
Rails.stub(:env).and_return(double(to_s: "test", test?: true))
|
25
28
|
end
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api_mailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carl Allen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: actionpack
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '3.2'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '3.2'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: activesupport
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '>='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '3.2'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.2'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: hashie
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
description: A simple replication of ActionMailer for API based mailing that doesn't
|
@@ -77,7 +77,6 @@ files:
|
|
77
77
|
- .gitignore
|
78
78
|
- .travis.yml
|
79
79
|
- Gemfile
|
80
|
-
- Gemfile.lock
|
81
80
|
- MIT-LICENSE
|
82
81
|
- README.md
|
83
82
|
- Rakefile
|
@@ -85,6 +84,7 @@ files:
|
|
85
84
|
- gemfiles/Gemfile.rails-3.2.x
|
86
85
|
- gemfiles/Gemfile.rails-4.0.x
|
87
86
|
- gemfiles/Gemfile.rails-4.1.x
|
87
|
+
- gemfiles/Gemfile.rails-5.1.x
|
88
88
|
- lib/api_mailer.rb
|
89
89
|
- lib/api_mailer/base.rb
|
90
90
|
- lib/api_mailer/configuration.rb
|
@@ -103,17 +103,17 @@ require_paths:
|
|
103
103
|
- lib
|
104
104
|
required_ruby_version: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
|
-
- -
|
106
|
+
- - '>='
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '0'
|
109
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- -
|
111
|
+
- - '>='
|
112
112
|
- !ruby/object:Gem::Version
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
115
|
rubyforge_project:
|
116
|
-
rubygems_version: 2.
|
116
|
+
rubygems_version: 2.6.14
|
117
117
|
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: A simple replication of ActionMailer for API based mailing that doesn't require
|
data/Gemfile.lock
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
api_mailer (0.0.4)
|
5
|
-
actionpack (>= 3.2)
|
6
|
-
activesupport (>= 3.2)
|
7
|
-
hashie
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
actionpack (4.1.4)
|
13
|
-
actionview (= 4.1.4)
|
14
|
-
activesupport (= 4.1.4)
|
15
|
-
rack (~> 1.5.2)
|
16
|
-
rack-test (~> 0.6.2)
|
17
|
-
actionview (4.1.4)
|
18
|
-
activesupport (= 4.1.4)
|
19
|
-
builder (~> 3.1)
|
20
|
-
erubis (~> 2.7.0)
|
21
|
-
activesupport (4.1.4)
|
22
|
-
i18n (~> 0.6, >= 0.6.9)
|
23
|
-
json (~> 1.7, >= 1.7.7)
|
24
|
-
minitest (~> 5.1)
|
25
|
-
thread_safe (~> 0.1)
|
26
|
-
tzinfo (~> 1.1)
|
27
|
-
builder (3.2.2)
|
28
|
-
diff-lcs (1.2.4)
|
29
|
-
erubis (2.7.0)
|
30
|
-
hashie (3.2.0)
|
31
|
-
i18n (0.6.11)
|
32
|
-
json (1.8.1)
|
33
|
-
minitest (5.4.0)
|
34
|
-
rack (1.5.2)
|
35
|
-
rack-test (0.6.2)
|
36
|
-
rack (>= 1.0)
|
37
|
-
rspec (2.14.1)
|
38
|
-
rspec-core (~> 2.14.0)
|
39
|
-
rspec-expectations (~> 2.14.0)
|
40
|
-
rspec-mocks (~> 2.14.0)
|
41
|
-
rspec-core (2.14.6)
|
42
|
-
rspec-expectations (2.14.3)
|
43
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
44
|
-
rspec-mocks (2.14.4)
|
45
|
-
thread_safe (0.3.4)
|
46
|
-
tzinfo (1.2.1)
|
47
|
-
thread_safe (~> 0.1)
|
48
|
-
|
49
|
-
PLATFORMS
|
50
|
-
ruby
|
51
|
-
|
52
|
-
DEPENDENCIES
|
53
|
-
api_mailer!
|
54
|
-
rspec
|