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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69c085d26804871906e6a332871b4f1bf3832ed3
4
- data.tar.gz: 4f6cbe38811409ad8e22a7c558b4ed5e44a46cfc
3
+ metadata.gz: 2e4015d6b5fa66f39c30385bec437ffb9545bca7
4
+ data.tar.gz: 612f242228358caf33271562305e95e18f0ffdf3
5
5
  SHA512:
6
- metadata.gz: a493c56a5432a3a49f7db420e0438e9528fc5c28175e06df7a585ae6b60e37707866c7a4e2ad00c097b8a9d2efadd2ca3c59c811f7b39a225d1ddebe2792e329
7
- data.tar.gz: ef72ea0c5c79c9504812b951c5f38f93f8fb46df2725a34768eea59f69f06dba64c1acff2c06b11fc8155896ceacbbcdaffb1ff3d98f1c98cfa50f365cdfbb8c
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://badge.fury.io/rb/hertz-courier-twilio.svg)](https://badge.fury.io/rb/hertz-courier-twilio)
4
- [![Dependency Status](https://gemnasium.com/badges/github.com/alessandro1997/hertz-courier-twilio.svg)](https://gemnasium.com/github.com/alessandro1997/hertz-courier-twilio)
5
- [![Code Climate](https://codeclimate.com/github/alessandro1997/hertz-courier-twilio/badges/gpa.svg)](https://codeclimate.com/github/alessandro1997/hertz-courier-twilio)
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
- begin
2
- require 'bundler/setup'
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
- require 'rdoc/task'
4
+ RSpec::Core::RakeTask.new(:spec)
8
5
 
9
- RDoc::Task.new(:rdoc) do |rdoc|
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
@@ -2,7 +2,7 @@
2
2
  module Hertz
3
3
  module Courier
4
4
  module Twilio
5
- VERSION = '1.0.1'
5
+ VERSION = '1.0.2'
6
6
  end
7
7
  end
8
8
  end
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.1
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: 2016-06-28 00:00:00.000000000 Z
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: 4.2.6
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: 4.2.6
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.5.1
223
+ rubygems_version: 2.6.8
218
224
  signing_key:
219
225
  specification_version: 4
220
226
  summary: A Twilio courier for Hertz.