effective_memberships 0.15.2 → 0.15.3

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: 80b3be5df02d20bffe856bbfead08ca00bbbe1275de73180222c4d5b68325905
4
- data.tar.gz: e446910960afadbc36f2f427e9bfdd5e5e286a1f59681ea523f15cd30e9da5ac
3
+ metadata.gz: e2cafda7d6dc70a59ef3d1589f5cab97c69d5b42af028d79828286b2303761b4
4
+ data.tar.gz: 8e9cab71adbb73b888f9910466e08c987c81c8e4861744cee471968cd24f9832
5
5
  SHA512:
6
- metadata.gz: 5e7fbe089ca906197c0fd7a6823b0100c60d0ac2b084ee9f6a77e5d0ee2e82de81be3ab2aaf356c58b9dfc220b2d6c26dc8e4c0157d7d1b7c83ac18f7f79e4dc
7
- data.tar.gz: b1305d1884b8a6c6f9bd67bfa5dcba9aa223caf22e11e961a85ff4c24f3d285d56dab1279ec1627ed7f4d0b64ae82147cab390454980cc48499902e553b5180a
6
+ metadata.gz: 9018813c526f99303b07116a8a431658cf47866cc1c1dfa31f85074f9d68450a714d8c0dc420240d725ef73ac0b3c428c6a3c2fd05639f4d2aacbe35371d929f
7
+ data.tar.gz: b3143712b61f5f7691c46b017db9901eb6fcf5ffcc6288f43767d7525298702f864f4e4220b4486d522a0fc05813f8dd139abaa1aca70a2fa365a097ec3b265b
@@ -263,6 +263,12 @@ module EffectiveMembershipsCategory
263
263
  tax_exempt
264
264
  end
265
265
 
266
+ # This enables the permission to use the effective products stamp wizard
267
+ # To buy a stamp outside of the applicant process
268
+ def can_stamp_wizard?
269
+ applicant_wizard_steps.include?(:stamp)
270
+ end
271
+
266
272
  def stamp_fee
267
273
  0
268
274
  end
@@ -91,4 +91,8 @@ module EffectiveMembershipsUser
91
91
  false
92
92
  end
93
93
 
94
+ def can_stamp_wizard?
95
+ is?(:member) && membership.category.can_stamp_wizard?
96
+ end
97
+
94
98
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveMemberships
2
- VERSION = '0.15.2'
2
+ VERSION = '0.15.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_memberships
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.2
4
+ version: 0.15.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect