smtpapi 0.0.12 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +6 -5
- data/.travis.yml +1 -4
- data/CHANGELOG.md +8 -0
- data/README.md +5 -1
- data/lib/smtpapi/version.rb +1 -1
- data/smtpapi.gemspec +4 -3
- data/test/test.rb +1 -1
- metadata +21 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac48327f1e39cd10c190d8de7333db73cd406004
|
4
|
+
data.tar.gz: 8482c0dbd28b403477a7633d479306b6d1fd828d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b74ba4f6d51a9a5ba5ea75563ce9c59e5df4d635f2d68527c1549786951993d0b2c9d9642d107c68b42275c9b88753931e270a47dfa3283f11033706d43a44aa
|
7
|
+
data.tar.gz: 30b50e8473fb33ff252282868d92174a1ff906b3ac75f5e8aede372459b6324083f947b85d0c39988f2aa4d20da425a0a001e00fca33f97d0b94046a2f613f20
|
data/.rubocop.yml
CHANGED
@@ -1,25 +1,26 @@
|
|
1
|
-
#
|
1
|
+
# Allow "set_" and "get_" for prefix of method
|
2
2
|
AccessorMethodName:
|
3
3
|
Enabled: false
|
4
4
|
|
5
|
-
#
|
5
|
+
# Increase max line number of method
|
6
6
|
MethodLength:
|
7
7
|
CountComments: true # count full line comments?
|
8
8
|
Max: 20
|
9
9
|
|
10
|
-
#
|
10
|
+
# Increase the number of params
|
11
11
|
ParameterLists:
|
12
12
|
Max: 6
|
13
13
|
CountKeywordArgs: true
|
14
14
|
|
15
|
-
# AbcSize
|
15
|
+
# Increase the max AbcSize
|
16
16
|
AbcSize:
|
17
17
|
Max: 34
|
18
18
|
|
19
|
-
# %r
|
19
|
+
# Increase max number of "/" in %r
|
20
20
|
RegexpLiteral:
|
21
21
|
MaxSlashes: 0
|
22
22
|
|
23
|
+
# Increase the max line number of class
|
23
24
|
ClassLength:
|
24
25
|
Max: 200
|
25
26
|
CountComments: true
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
This ruby gem allows you to quickly and more easily generate SendGrid X-SMTPAPI headers.
|
4
4
|
|
5
|
-
[](https://travis-ci.org/SendGrid/smtpapi-ruby)
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -184,3 +184,7 @@ The existing tests in the `test` directory can be run using test gem with the fo
|
|
184
184
|
```bash
|
185
185
|
rake test
|
186
186
|
```
|
187
|
+
|
188
|
+
## Credits
|
189
|
+
|
190
|
+
This library was created by [Wataru Sato](https://github.com/awwa) and is now maintained by SendGrid.
|
data/lib/smtpapi/version.rb
CHANGED
data/smtpapi.gemspec
CHANGED
@@ -6,11 +6,11 @@ require 'smtpapi/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'smtpapi'
|
8
8
|
spec.version = Smtpapi::VERSION
|
9
|
-
spec.authors = ['Wataru Sato']
|
10
|
-
spec.email = ['awwa500@gmail.com']
|
9
|
+
spec.authors = ['Wataru Sato', 'SendGrid']
|
10
|
+
spec.email = ['awwa500@gmail.com', 'community@sendgrid.com']
|
11
11
|
spec.summary = 'Smtpapi library for SendGrid.'
|
12
12
|
spec.description = 'Smtpapi library for SendGrid.'
|
13
|
-
spec.homepage = 'https://github.com/
|
13
|
+
spec.homepage = 'https://github.com/sendgrid/smtpapi-ruby'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
@@ -21,4 +21,5 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_development_dependency 'bundler', '~> 1.5'
|
22
22
|
spec.add_development_dependency 'rake'
|
23
23
|
spec.add_development_dependency('rubocop', '>=0.29.0', '<0.30.0')
|
24
|
+
spec.add_development_dependency('test-unit', '~> 3.0')
|
24
25
|
end
|
data/test/test.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smtpapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wataru Sato
|
8
|
+
- SendGrid
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2015-
|
12
|
+
date: 2015-04-06 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
@@ -58,9 +59,24 @@ dependencies:
|
|
58
59
|
- - "<"
|
59
60
|
- !ruby/object:Gem::Version
|
60
61
|
version: 0.30.0
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: test-unit
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
type: :development
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.0'
|
61
76
|
description: Smtpapi library for SendGrid.
|
62
77
|
email:
|
63
78
|
- awwa500@gmail.com
|
79
|
+
- community@sendgrid.com
|
64
80
|
executables: []
|
65
81
|
extensions: []
|
66
82
|
extra_rdoc_files: []
|
@@ -68,6 +84,7 @@ files:
|
|
68
84
|
- ".gitignore"
|
69
85
|
- ".rubocop.yml"
|
70
86
|
- ".travis.yml"
|
87
|
+
- CHANGELOG.md
|
71
88
|
- Gemfile
|
72
89
|
- LICENSE.txt
|
73
90
|
- README.md
|
@@ -76,7 +93,7 @@ files:
|
|
76
93
|
- lib/smtpapi/version.rb
|
77
94
|
- smtpapi.gemspec
|
78
95
|
- test/test.rb
|
79
|
-
homepage: https://github.com/
|
96
|
+
homepage: https://github.com/sendgrid/smtpapi-ruby
|
80
97
|
licenses:
|
81
98
|
- MIT
|
82
99
|
metadata: {}
|
@@ -96,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
113
|
version: '0'
|
97
114
|
requirements: []
|
98
115
|
rubyforge_project:
|
99
|
-
rubygems_version: 2.4.
|
116
|
+
rubygems_version: 2.4.5
|
100
117
|
signing_key:
|
101
118
|
specification_version: 4
|
102
119
|
summary: Smtpapi library for SendGrid.
|