ish_models 0.0.33.190 → 0.0.33.191

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ish/email_context.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d30c2589ea47b3dd3339a6ec79d263b0fe367fca764342cb70838397ce1996df
4
- data.tar.gz: 94caf059572cc7ac3635b4e5cd262cb52053edbbc8263e8b61e1617c5f65c7c0
3
+ metadata.gz: 0d6a32875f72d683db8e0ceb5fe80d8e4ec97763069cd9b440d6dbf596186dfb
4
+ data.tar.gz: c12b5d7614616ee9138a6349e330d76dd8856129c13836deca7cb40a06594ace
5
5
  SHA512:
6
- metadata.gz: 31b95e22f45f825385566f8503a75d08676266b5b085516cd7894fdea2ed61deb247c555420aba28dd84a76e33b1e3a98fde3604460eca28d28600c8860a3a53
7
- data.tar.gz: 9afb6134095e3b09001f5d49b515da6e069e6345e8edeb677c2a10d1bf0e9ab905def170459758d1a185a6dfac86d10f35f9bfe56300ebaa9bfc82d80fd58f0f
6
+ metadata.gz: 217723c9b7e8e728eec1faa918d79bca3134ccf3cd4a9115f0182f32dabcd5474c5ded002605999e99b8c5692452b911af6ad581dad8ddbc14a441bbc0521dda
7
+ data.tar.gz: 5b79b4986bb4e3ab4be66350a6d3cf511fd395c5ea06d8266b3ced8114e42181856eb8a2452b646aa673cc2ceb187bdc81f5144d94d6d9b25fb77508e648c395
@@ -65,7 +65,7 @@ class Ish::EmailContext
65
65
  new.unsent
66
66
  end
67
67
  def unsent
68
- where( sent_at: nil )
68
+ Ish::EmailContext.where( sent_at: nil )
69
69
  end
70
70
 
71
71
  def self.current
@@ -73,7 +73,7 @@ class Ish::EmailContext
73
73
  end
74
74
  def current
75
75
  # or({ :send_at.lte => Time.now }, { :send_at => nil }) ## This won't work b/c I need draft state!
76
- where({ :send_at.lte => Time.now })
76
+ Ish::EmailContext.where({ :send_at.lte => Time.now })
77
77
  end
78
78
 
79
79
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.190
4
+ version: 0.0.33.191
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox