lockstep_rails 0.3.72 → 0.3.73
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/lockstep/connection.rb +2 -1
- data/lib/lockstep_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fcb46b4df1534d7fa736686ffbedf749a1a578aec9f7c187abf6217193ce772
|
4
|
+
data.tar.gz: ba6d8d38b3ae0de5f5df13dcded545da3d97106aa8c8b8f6b86f21260ebf78cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dfe1a0ff3b7404ab7b32434045ab8a0560aef807f31b2650054a6aa2d38d237983b153e9f12dc496efcf3769ec14772a07d755153c002d501b6ec600611f0ff
|
7
|
+
data.tar.gz: 10712af1f384b8705373f2995f7faf31289f3914c488e0cf12eb71e46f31134dfa33a9389da2592b3e33aa468af1404fb5ecf454bd24674513025d269cedb440
|
@@ -11,10 +11,11 @@ class Lockstep::Connection < Lockstep::ApiRecord
|
|
11
11
|
|
12
12
|
validates :company_name, presence: true
|
13
13
|
|
14
|
-
default_scope { where(company_type: %w[Customer Vendor Group Company]).or(where(company_type: nil)) }
|
14
|
+
default_scope { where(company_type: %w[Customer Vendor Group Company CompanyProfile]).or(where(company_type: nil)) }
|
15
15
|
|
16
16
|
scope :customers, -> { where(company_type: 'Customer') }
|
17
17
|
scope :vendors, -> { where(company_type: 'Vendor') }
|
18
18
|
scope :internal_connections, -> { where(company_type: 'Company') }
|
19
|
+
scope :company_profiles, -> { where(company_type: 'CompanyProfile') }
|
19
20
|
scope :company_type_null, -> { where(company_type: nil) }
|
20
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lockstep_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.73
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vivek AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|