hertz-courier-twilio 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/Rakefile +4 -28
- data/lib/hertz/courier/twilio/version.rb +1 -1
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e4015d6b5fa66f39c30385bec437ffb9545bca7
|
4
|
+
data.tar.gz: 612f242228358caf33271562305e95e18f0ffdf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b33f0fefc685b69aadb45f44488d51c3d0f1521599b2a6e79855ccf5245ec04f9d56189961ceeeeb2304ec54b88462183fceb4a0d2d96b4e311af0aee533e6c8
|
7
|
+
data.tar.gz: 49cd42723bb5bb57e35ab4e7c1ffb904be2cc1699b7a95e2da646010f5c64bbb3a6eae7cb94d106ed7595432cb88c250eafed77fe49d857185ebed223f0a4ff0
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Hertz::Courier::Twilio
|
2
2
|
|
3
|
-
[![Gem Version](https://
|
4
|
-
[![Dependency Status](https://
|
5
|
-
[![Code Climate](https://
|
3
|
+
[![Gem Version](https://img.shields.io/gem/v/hertz-courier-twilio.svg?maxAge=3600&style=flat-square)](https://rubygems.org/gems/hertz-courier-twilio)
|
4
|
+
[![Dependency Status](https://img.shields.io/gemnasium/alessandro1997/hertz-courier-twilio.svg?maxAge=3600&style=flat-square)](https://gemnasium.com/github.com/alessandro1997/hertz-courier-twilio)
|
5
|
+
[![Code Climate](https://img.shields.io/codeclimate/github/alessandro1997/hertz-courier-twilio.svg?maxAge=3600&style=flat-square)](https://codeclimate.com/github/alessandro1997/hertz-courier-twilio)
|
6
6
|
|
7
7
|
This is a [Hertz](https://github.com/alessandro1997/hertz) courier for sending
|
8
8
|
notifications to your users via SMS by leveraging the
|
@@ -82,6 +82,9 @@ end
|
|
82
82
|
|
83
83
|
All `CommentNotification`s will now be delivered by SMS! :)
|
84
84
|
|
85
|
+
**NOTE:** This courier uses the [deliveries API](https://github.com/alessandro1997/hertz#tracking-delivery-status)
|
86
|
+
to prevent double deliveries.
|
87
|
+
|
85
88
|
## Contributing
|
86
89
|
|
87
90
|
Bug reports and pull requests are welcome on GitHub at
|
@@ -95,4 +98,3 @@ The gem is available as open source under the terms of the
|
|
95
98
|
# To do
|
96
99
|
|
97
100
|
- [ ] Allow changing the job's queue
|
98
|
-
- [ ] Store notification delivery in the DB to avoid resending
|
data/Rakefile
CHANGED
@@ -1,30 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
rescue LoadError
|
4
|
-
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
5
|
-
end
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
require "rspec/core/rake_task"
|
6
3
|
|
7
|
-
|
4
|
+
RSpec::Core::RakeTask.new(:spec)
|
8
5
|
|
9
|
-
|
10
|
-
rdoc.rdoc_dir = 'rdoc'
|
11
|
-
rdoc.title = 'Hertz'
|
12
|
-
rdoc.options << '--line-numbers'
|
13
|
-
rdoc.rdoc_files.include('README.rdoc')
|
14
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
15
|
-
end
|
16
|
-
|
17
|
-
APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
|
18
|
-
load 'rails/tasks/engine.rake'
|
19
|
-
load 'rails/tasks/statistics.rake'
|
20
|
-
|
21
|
-
Bundler::GemHelper.install_tasks
|
22
|
-
|
23
|
-
Rake::TestTask.new(:spec) do |t|
|
24
|
-
t.libs << 'lib'
|
25
|
-
t.libs << 'spec'
|
26
|
-
t.pattern = 'spec/**/*_spec.rb'
|
27
|
-
t.verbose = false
|
28
|
-
end
|
29
|
-
|
30
|
-
task default: :spec
|
6
|
+
task :default => :spec
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hertz-courier-twilio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alessandro Desantis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.0.0
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: '6'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 4.0.0
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: '6'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: hertz
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
220
|
version: '0'
|
215
221
|
requirements: []
|
216
222
|
rubyforge_project:
|
217
|
-
rubygems_version: 2.
|
223
|
+
rubygems_version: 2.6.8
|
218
224
|
signing_key:
|
219
225
|
specification_version: 4
|
220
226
|
summary: A Twilio courier for Hertz.
|