ish_models 3.1.0.13 → 3.1.0.14

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/wco/profile.rb +4 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c46fe1a3c912f44bfea7b3c8860504d9e43dc58ac5c61d2b78f54d9b3604d5df
4
- data.tar.gz: 24db6889ed4f929a9efb76f8ecb583923468902b49b41a189c2552d0d68ecfa9
3
+ metadata.gz: 1aab599eebe7e7fcb66958056c67d337fc71feddc43f98f562fe28a796e29e69
4
+ data.tar.gz: 045e67c9ab3c47f4ec686655e02cad051e908b209081c0e88d6d0e59cb0a3309
5
5
  SHA512:
6
- metadata.gz: 47ad49ab1c7a3890c57da215dbdc261d0d04d55b61d8c1f1e286bccbed161f445f69a73e9fee8ad2a4c6e24be2b1d18fc9ebffdd61df085f78e00779799893be
7
- data.tar.gz: 89322ee3df01c880d551299c79f13015fb80e25fb31d9e3a73f09e8d7ed34ebc74e550d33acee70680484f38cf14d94e59dcc9b7e05802592436fcdb1e226f37
6
+ metadata.gz: 372ba4f962dfdfaad225c65d2480442f88687b9dbcec47e140a3091fe3a10c3a0a6d0b075a0f7820f5ab13538ce981ddc1def307bb52009121118d3c38227e40
7
+ data.tar.gz: b00cc88b5c384d4fc683d59529bc3363c0e340387d27407af96162e8f0c53d0de780d250154e3ebaa4d99d6d73dd7d5115d632b93b684c909e240d6b633d37a8
data/lib/wco/profile.rb CHANGED
@@ -12,4 +12,8 @@ class Wco::Profile
12
12
 
13
13
  belongs_to :leadset, class_name: 'Wco::Leadset', inverse_of: :profile, optional: true
14
14
 
15
+ def self.list
16
+ all.map { |p| [ p.email, p.id ] }
17
+ end
18
+
15
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.13
4
+ version: 3.1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - mac_a2141
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-17 00:00:00.000000000 Z
11
+ date: 2023-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails