surety 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/surety/message.rb +3 -1
- data/surety.gemspec +1 -1
- metadata +3 -3
data/lib/surety/message.rb
CHANGED
@@ -4,7 +4,9 @@ module Surety
|
|
4
4
|
establish_connection Surety::Configuration.database
|
5
5
|
|
6
6
|
scope :unprocessed, where(:state => 'unprocessed')
|
7
|
-
scope :
|
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
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:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 9
|
10
|
+
version: 0.1.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Monica McArthur
|