effective_products 0.3.2 → 0.3.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: 80bac2e7b1ed3a48a5c5f2caca7174e2e3ec02df57d03cf33981dc9b590ac4d4
4
- data.tar.gz: 28647f5ddc1d5481c6cb2e97d9e1d77410e74f5e1940290989f84071e71e79e0
3
+ metadata.gz: 608edbc080f05b93e5f96bf6ad8923aef1c935662e6fb7548d3bd246187968bc
4
+ data.tar.gz: c28497ba83e4b1c441bebd385a4c842a31b40b22fbb1a3631a350957f57ae1eb
5
5
  SHA512:
6
- metadata.gz: d5fbe389767f3391a11b774e33a14bf9a65af863797ee665149ac7a89312c62c2f2a01943ffd0bf0c5ec2ea7e61dce2e5b7429214a7505fb917caa3848a6d1b4
7
- data.tar.gz: 4b5b4bf6a5bb5953ec889e82fd88cb206d7a364646cf063fff75d0e7e1d0abaa0fce1fe0d8e766c6eb7b06e6f5a2ce676e8c5df5e032d9fa17c3a1599a5250b3
6
+ metadata.gz: 327f222af6cf10256ac77a4919b1ce1646e1e3b8213ab8329c1e49e35a85c381a464c6d3503b991575dec6519fd61891dde52a879c4ed6322830295c327c0cd7
7
+ data.tar.gz: f3fd02fb3527434fb3a78336fc87e2ebd745d4a44a50e11f5b25be901ece93d357fe18619f4711d7441dcab88b4ca8c4f9b84573494e04b7813bc2486f1e85e7
@@ -84,7 +84,7 @@ module Effective
84
84
  end
85
85
 
86
86
  def to_s
87
- [model_name.human, *name.presence].join(' ')
87
+ [model_name.human, *name.presence, ("- #{category}" if category.present?)].join(' ')
88
88
  end
89
89
 
90
90
  def mark_as_submitted!
@@ -1,3 +1,3 @@
1
1
  module EffectiveProducts
2
- VERSION = '0.3.2'.freeze
2
+ VERSION = '0.3.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_products
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-04 00:00:00.000000000 Z
11
+ date: 2024-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails