mallet 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/lib/mallet/mail.rb +4 -2
- data/lib/mallet/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20a22a894d34fabb23ea057f9e9afc63c9f77c7d
|
4
|
+
data.tar.gz: 6512395df890e8a236f40ba7cc25cb21995824cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03f2eff8d3ff75351c02f3df1e712cb9046182b009dd4a6408c3dd4a5d9e439c58c6603495adaa100dcd2b31e04d4a9594de225dfcdc5c9594ee4bdcea8d481e
|
7
|
+
data.tar.gz: 9df4378a0384dd88febcaa1f04e6a4e2f4a61c093f3190e4fd302a516e469a0b1d98d652df02a19470552f846f1d39ac337c98e5d7ab37dd7e7750eabc9b33d4
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mallet (0.1.
|
5
|
-
actionmailer
|
6
|
-
activerecord
|
4
|
+
mallet (0.1.6)
|
5
|
+
actionmailer
|
6
|
+
activerecord
|
7
7
|
activesupport
|
8
8
|
delayed_job_active_record
|
9
9
|
i18n
|
@@ -121,7 +121,7 @@ PLATFORMS
|
|
121
121
|
ruby
|
122
122
|
|
123
123
|
DEPENDENCIES
|
124
|
-
combustion
|
124
|
+
combustion
|
125
125
|
database_cleaner (>= 0.9.1)
|
126
126
|
mallet!
|
127
127
|
rspec
|
data/lib/mallet/mail.rb
CHANGED
@@ -4,8 +4,10 @@ module Mallet
|
|
4
4
|
include ::Workflow
|
5
5
|
|
6
6
|
serialize :data
|
7
|
-
|
8
|
-
|
7
|
+
|
8
|
+
def self.for(malletable)
|
9
|
+
where(malletable_type: malletable.class.name, malletable_id: malletable.id)
|
10
|
+
end
|
9
11
|
|
10
12
|
validates_presence_of :definition
|
11
13
|
validates_presence_of :malletable
|
data/lib/mallet/version.rb
CHANGED