surety 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/surety/message.rb +3 -1
  2. data/surety.gemspec +1 -1
  3. metadata +3 -3
@@ -4,7 +4,9 @@ module Surety
4
4
  establish_connection Surety::Configuration.database
5
5
 
6
6
  scope :unprocessed, where(:state => 'unprocessed')
7
- scope :processed, where(:state => 'processed')
7
+ scope :processing, where(:state => 'processing')
8
+ scope :completed, where(:state => 'completed')
9
+ scope :failed, where(:state => 'failed')
8
10
 
9
11
  scope :needs_processing, lambda {
10
12
  puts ActiveRecord::Base.default_timezone
data/surety.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'surety'
3
- s.version = '0.1.8'
3
+ s.version = '0.1.9'
4
4
  s.date = Time.now.strftime('%Y-%m-%d')
5
5
  s.summary = 'A lightweight guaranteed-delivery messaging system.'
6
6
  s.homepage = ''
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: surety
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 8
10
- version: 0.1.8
9
+ - 9
10
+ version: 0.1.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Monica McArthur