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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d917ee0f2d4b07dd2d13151701c17c42bc77a61f95363e18fb62480c5b51c59e
4
- data.tar.gz: bce93413a0d1b60decdb69dc137c323555dd0a272992ecc43260ee84831bc2d7
3
+ metadata.gz: 0fcb46b4df1534d7fa736686ffbedf749a1a578aec9f7c187abf6217193ce772
4
+ data.tar.gz: ba6d8d38b3ae0de5f5df13dcded545da3d97106aa8c8b8f6b86f21260ebf78cc
5
5
  SHA512:
6
- metadata.gz: 47831ddf735b0510a5e63b31aeb2f4a249155463f738d68084239d63e9e83318666394210f3bb5aa2765bd3d520197b508ee1818fe54fd7a1e72169e9d0bc986
7
- data.tar.gz: 8b6a4ca48837595396e0d5e9cedf6a530b5b3143f6f89547804ce0130676b525f78ee3b7409971274f04dbc9d55a980ba5c23bf523eb0593d660f97f47974b29
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LockstepRails
4
- VERSION = '0.3.72'
4
+ VERSION = '0.3.73'
5
5
  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.72
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-10-31 00:00:00.000000000 Z
11
+ date: 2023-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails