mail-notify 0.2.3 → 1.0

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
  SHA256:
3
- metadata.gz: be33d10e002620f93face14dc8d5c5845f46e0700c451d401d7522d81733157f
4
- data.tar.gz: f4b0451905bc8214d1c5e9170a4211302a6a88bad95315db522b3b176450cf6b
3
+ metadata.gz: 9f36508ecc59051156b2be68986f684048edc3fd7dc658cde126b9c473efe730
4
+ data.tar.gz: 3c7f8e5e9eb5eaff953156826be0889b84bd2518a3034327e50eceb3c7f3efe5
5
5
  SHA512:
6
- metadata.gz: 19262c63c649f7ef51c2ec0ac7174da7047a39ef282da256f9d8a840d760fd40a7f56faada7f83faecdade07f0d43a83c47d76ac2bf729e21d0387d975cdb38d
7
- data.tar.gz: 2a8df8b69653273108ffb85109c765aa2597e6d9301c2a20ba100b7217e2a0874acc60dc867e94ab272759ee11ccbaa9df546f0bc49db83ed068cca12710e218
6
+ metadata.gz: 99c1f607b2fac7a132186ee9a9e81a5a497f61639ccdc3a0ebd87ae19f946d115b3e0b182df532d77b7e5db7ab48bcc4dd4d4b29b3cea727857ddc43fa47ab61
7
+ data.tar.gz: 485548b456350634e2cafca421c0547c6854ac739b2d702e46f0bde938d3bf74eaac5a2a4f9d9322a74d54ade47b29907f0514b03ec1dbc95bc9586cb8013c89
@@ -13,10 +13,17 @@ jobs:
13
13
  uses: actions/setup-ruby@v1
14
14
  with:
15
15
  ruby-version: 2.6.x
16
+ - name: Set up cache
17
+ uses: actions/cache@preview
18
+ with:
19
+ path: vendor/bundle
20
+ key: ${{ runner.os }}-gem-${{ hashFiles('**/mail-notify.gemspec') }}
21
+ restore-keys: |
22
+ ${{ runner.os }}-gem-
16
23
  - name: Build and test with Rake
17
24
  run: |
18
25
  sudo apt-get update
19
26
  sudo apt-get install sqlite3 libsqlite3-dev
20
27
  gem install bundler
21
- bundle install --jobs 4 --retry 3
28
+ bundle install --jobs 4 --retry 3 --path ./vendor/bundle
22
29
  bundle exec rake
data/.gitignore CHANGED
@@ -12,3 +12,4 @@
12
12
  .DS_Store
13
13
  /Gemfile.lock
14
14
  /spec/dummy/log/test.log
15
+ /vendor
@@ -6,6 +6,9 @@ The format is based on [Keep a Changelog]
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.0] - 2019-10-22
10
+
11
+ - Bump Notify gem to 5.1
9
12
  - Add error handling for blank variables
10
13
 
11
14
  ## [0.2.1] - 2019-10-22
@@ -33,10 +36,11 @@ The format is based on [Keep a Changelog]
33
36
 
34
37
  ## [0.0.1] - 2019-02-01
35
38
 
36
- - Inital release
39
+ - Initial release
37
40
 
38
41
  [unreleased]:
39
- https://github.com/DFE-Digital/dfe-teachers-payment-service/compare/0.1.0...HEAD
42
+ https://github.com/DFE-Digital/dfe-teachers-payment-service/compare/1.0...HEAD
43
+ [1.0]: https://github.com/dxw/mail-notify/compare/0.2.1...1.0
40
44
  [0.2.1]: https://github.com/dxw/mail-notify/compare/0.2.0...0.2.1
41
45
  [0.2.0]: https://github.com/dxw/mail-notify/compare/0.1.0...0.2.0
42
46
  [0.1.0]: https://github.com/dxw/mail-notify/compare/0.0.3...0.1.0
data/README.md CHANGED
@@ -73,7 +73,7 @@ class MyMailer < Mail::Notify::Mailer
73
73
  def send_email
74
74
  template_mail('YOUR_TEMPLATE_ID_GOES_HERE',
75
75
  to: 'mail@somewhere.com',
76
- personalisations: {
76
+ personalisation: {
77
77
  foo: 'bar'
78
78
  }
79
79
  )
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Mail
4
4
  module Notify
5
- VERSION = '0.2.3'
5
+ VERSION = '1.0'
6
6
  end
7
7
  end
@@ -33,5 +33,5 @@ Gem::Specification.new do |spec|
33
33
  spec.add_development_dependency 'sqlite3', '~> 1.4.1'
34
34
 
35
35
  spec.add_dependency 'actionmailer', '>= 5.0', '< 6.1'
36
- spec.add_dependency 'notifications-ruby-client', '~> 4.0.0'
36
+ spec.add_dependency 'notifications-ruby-client', '~> 5.1'
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail-notify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: '1.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Harrison
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2020-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -148,14 +148,14 @@ dependencies:
148
148
  requirements:
149
149
  - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: 4.0.0
151
+ version: '5.1'
152
152
  type: :runtime
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - "~>"
157
157
  - !ruby/object:Gem::Version
158
- version: 4.0.0
158
+ version: '5.1'
159
159
  description:
160
160
  email:
161
161
  - pezholio@gmail.com
@@ -171,7 +171,6 @@ files:
171
171
  - ".rspec"
172
172
  - ".rubocop.yml"
173
173
  - ".ruby-version"
174
- - ".travis.yml"
175
174
  - CHANGELOG.md
176
175
  - CODE_OF_CONDUCT.md
177
176
  - Gemfile
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.3.7
7
- before_install: gem install bundler -v 2.0.1