motor-admin 0.3.9 → 0.3.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/motor/api_config.rb +3 -3
- data/lib/motor/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: f4d2d0831f0cf45e8cccfeaff5cdb7710f36f8f22be28d24b26dd79cda65955a
|
4
|
+
data.tar.gz: 024dc7ac23622a17671d27cb69246242195c3e5bfbd758fea48d9d38df77cf1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc3931e9d9e70515e98a3acdf47330a7a82c7084f703461e360c083e1ec044f65d1ff160064c9bf7297cd959e8fdd9d4d8d4c6b84fc00bde9caad41264cc0b39
|
7
|
+
data.tar.gz: 322e8d603f75e61ff485ca24b10e335490fbec0d679dde983d0df089cd97747b60e4355604794bea8008071ec442018f5de2931ae46d2c9d4532ce99c56f5726
|
@@ -4,12 +4,12 @@ module Motor
|
|
4
4
|
class ApiConfig < ::Motor::ApplicationRecord
|
5
5
|
encrypts :credentials if defined?(::Motor::EncryptedConfig)
|
6
6
|
|
7
|
-
serialize :credentials, Motor::HashSerializer
|
8
|
-
serialize :preferences, Motor::HashSerializer
|
9
|
-
|
10
7
|
attribute :preferences, default: -> { HashWithIndifferentAccess.new }
|
11
8
|
attribute :credentials, default: -> { HashWithIndifferentAccess.new }
|
12
9
|
|
10
|
+
serialize :credentials, Motor::HashSerializer
|
11
|
+
serialize :preferences, Motor::HashSerializer
|
12
|
+
|
13
13
|
has_one :form, dependent: nil, foreign_key: :api_config_name, primary_key: :name, inverse_of: :api_config
|
14
14
|
|
15
15
|
scope :active, -> { where(deleted_at: nil) }
|
data/lib/motor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motor-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Matsyburka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ar_lazy_preload
|