effective_products 0.0.7 → 0.0.8

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
  SHA256:
3
- metadata.gz: 36f1b24a9da60c9e39f6d27fd085283bd0f5b061f80c14a53f7a4a59edb1d31a
4
- data.tar.gz: 713caaaaa536356ede62d6d207166a8861190bb3d8ea41c16296637f49033c84
3
+ metadata.gz: a355433e74133bc2d4eb3217105b107bd7bda886da225da1a8a28aaa66b18ee8
4
+ data.tar.gz: a4e568829f7d037dfe62993ed6b8540328fcf53a9b687c738fa6e9723c83886a
5
5
  SHA512:
6
- metadata.gz: 8bc5e5606f1fe01fde2bc06429ba9f4813a0f6115cfafaa7fa657aaee71c4440f61a00bf523446a4b82af4e2513bf5593c19801030f50e1d7f82aafd87bddead
7
- data.tar.gz: aa6f08d926456c04c97f34b7ad4d53b26e021339a98c3e54781ce3475056771b22ec46063d6daf0a47af990362c7e1d84213bc5392c07725673e71f3cf44db7c
6
+ metadata.gz: 346b3a090af9dee0399a7307d276e340a70955e46eab95ed191149716a46ca0c898b65de68396d82f9c3dbd73760abe326acc38ecf3eb549287ad79a7c60101a
7
+ data.tar.gz: b3a4642a05c2e54077a98639fe548164da79c81b00f6c6039d310ca3905fdd4e8f6a630e11babf4a72f2be76fe28d5df913ba355469db9d624c72c1eefd8b545
@@ -52,7 +52,7 @@ module Effective
52
52
  scope :with_stamp_wizards, -> { where(applicant_id: nil).where.not(stamp_wizard_id: nil) }
53
53
 
54
54
  scope :ready_to_issue, -> {
55
- with_approved_applicants.or(with_stamp_wizards).purchased.where.not(issued_at: nil)
55
+ with_approved_applicants.or(with_stamp_wizards).purchased.where.not(status: :issued)
56
56
  }
57
57
 
58
58
  validates :category, presence: true, inclusion: { in: CATEGORIES }
@@ -71,10 +71,6 @@ module Effective
71
71
  ['Professional Stamp', *name.presence].join(' ')
72
72
  end
73
73
 
74
- def issued?
75
- issued_at.present?
76
- end
77
-
78
74
  def mark_as_issued!
79
75
  issued!
80
76
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveProducts
2
- VERSION = '0.0.7'.freeze
2
+ VERSION = '0.0.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_products
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect