apostle-rails 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e40feb7201325989310cb29d4ae0686695f2dfd6
4
- data.tar.gz: bdd50f8383d0cc19773eaaac7b6e57835fd32da4
3
+ metadata.gz: a33d685215635bf89e0c804c86cccb6b2c200ef6
4
+ data.tar.gz: 95f4aa25a7f29d581d8feafddafc7cd1894d8363
5
5
  SHA512:
6
- metadata.gz: 7c4617edd9f93720619ca0adbd3f5c1eb78d20d5d0059042d84e58c116052332bf0778e6d89f4e5d2c53a9613ae0fe2563154fd1dd9eaa184eee9be21cf63b01
7
- data.tar.gz: c094aa154c827351edaa7111ab5dad6cc16941edd90babc8f139c456325f133a33db71836802fcefc19153be273eb32651ec56602ba92129fc68c966c5831fb2
6
+ metadata.gz: 128d74368ac125beff20f66e71955ca43a8fd124fc3f29ce713740415613709d271edb137cd4947742ebb5a33ad7b159e85e5bebdfdd616106305af98061083d
7
+ data.tar.gz: 6f83eeaf953483105f77758ba7ae33dbf58c8e42c9ec8a167e6cc6b8aaeeef9b74d9c6973700bae24b48d57f67468910f2c012305fd9f86d5983d51fdba9fbd6
@@ -16,9 +16,11 @@ module Apostle
16
16
 
17
17
  def process(method_name, *args)
18
18
  self.send(method_name, *args)
19
+ @_message = ActionMailer::Base::NullMail.new unless @_mail_was_called
19
20
  end
20
21
 
21
22
  def mail(template, variables = {}, &block)
23
+ @_mail_was_called = true
22
24
  m = @_message
23
25
  m.template_id = template
24
26
 
@@ -1,3 +1,3 @@
1
1
  module ApostleRails
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apostle-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mal Curtis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-13 00:00:00.000000000 Z
11
+ date: 2014-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.4'
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: '1.4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
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: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: apostle
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
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: '0'
55
55
  description: Rails Bindings for Apostle
@@ -59,8 +59,8 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
63
- - .travis.yml
62
+ - ".gitignore"
63
+ - ".travis.yml"
64
64
  - Gemfile
65
65
  - LICENSE.txt
66
66
  - README.md
@@ -80,17 +80,17 @@ require_paths:
80
80
  - lib
81
81
  required_ruby_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - '>='
83
+ - - ">="
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.0.3
93
+ rubygems_version: 2.2.2
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Easy Rails integration for Apostle