null_delivery 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +2 -0
- data/Gemfile +3 -0
- data/README.md +29 -0
- data/Rakefile +6 -0
- data/lib/null_delivery.rb +3 -0
- data/lib/null_delivery/delivery_method.rb +10 -0
- data/lib/null_delivery/railtie.rb +10 -0
- data/lib/null_delivery/version.rb +3 -0
- data/null_delivery.gemspec +24 -0
- metadata +109 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 34f1efcd934409da6f49e4e35fbe97f2d4990ac75ef92e879d0136e4a710a174
|
4
|
+
data.tar.gz: 7e3bb96820e63f2299b62f671b4d279ae963be7e57ae6997813675370468ab76
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 272990222bb99389ef24c00993d977c717616037b711e66bdb67dcd5616bebd9cee88845f0e097d8921ab70ec1e698bd367bff83152054383388dd742e59e223
|
7
|
+
data.tar.gz: 86723cc012530e607fa7b3e637273925f1d99f3fd1878583f17b8fd2657273b2d359ec14cf19a1dab61dd9942cf8726504fe94ae0d46f9f8f1761e0456b227f6
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# NullDelivery
|
2
|
+
|
3
|
+
A Rails delivery method that does nothing.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
In you `Gemfile` :
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem "null_delivery"
|
11
|
+
```
|
12
|
+
|
13
|
+
Or :
|
14
|
+
|
15
|
+
```
|
16
|
+
gem install null_delivery
|
17
|
+
```
|
18
|
+
|
19
|
+
## Configuration
|
20
|
+
|
21
|
+
In `config/environments/development.rb` :
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
config.action_mailer.delivery_method = :null_delivery
|
25
|
+
```
|
26
|
+
|
27
|
+
## Licence
|
28
|
+
|
29
|
+
[WTFPL](https://en.wikipedia.org/wiki/WTFPL)
|
data/Rakefile
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "null_delivery/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "null_delivery"
|
7
|
+
spec.version = NullDelivery::VERSION
|
8
|
+
spec.authors = ["Benoit MARTIN-CHAVE"]
|
9
|
+
spec.email = ["benoit@martin-chave.ch"]
|
10
|
+
|
11
|
+
spec.summary = %(A Rails delivery method that does nothing.)
|
12
|
+
spec.description = %(A Rails delivery method that does nothing.)
|
13
|
+
spec.homepage = "https://github.com/BenoitMC/null_delivery"
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
16
|
+
spec.bindir = "exe"
|
17
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
18
|
+
spec.require_paths = ["lib"]
|
19
|
+
|
20
|
+
spec.add_development_dependency "bundler", "~> 1.11"
|
21
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
22
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
23
|
+
spec.add_development_dependency "mail"
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: null_delivery
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Benoit MARTIN-CHAVE
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-07-25 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.11'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.11'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: mail
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: A Rails delivery method that does nothing.
|
70
|
+
email:
|
71
|
+
- benoit@martin-chave.ch
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- ".rspec"
|
78
|
+
- Gemfile
|
79
|
+
- README.md
|
80
|
+
- Rakefile
|
81
|
+
- lib/null_delivery.rb
|
82
|
+
- lib/null_delivery/delivery_method.rb
|
83
|
+
- lib/null_delivery/railtie.rb
|
84
|
+
- lib/null_delivery/version.rb
|
85
|
+
- null_delivery.gemspec
|
86
|
+
homepage: https://github.com/BenoitMC/null_delivery
|
87
|
+
licenses: []
|
88
|
+
metadata: {}
|
89
|
+
post_install_message:
|
90
|
+
rdoc_options: []
|
91
|
+
require_paths:
|
92
|
+
- lib
|
93
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
requirements: []
|
104
|
+
rubyforge_project:
|
105
|
+
rubygems_version: 2.7.6
|
106
|
+
signing_key:
|
107
|
+
specification_version: 4
|
108
|
+
summary: A Rails delivery method that does nothing.
|
109
|
+
test_files: []
|