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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34b8766028b5a0c018d296d77eceeb52fef2b4aa39a8d5a50acbdc0044c57791
4
- data.tar.gz: eeeec8761595541d34b0a4ac33aca73f5308b40d11c1fc064de781c0142acdcc
3
+ metadata.gz: f4d2d0831f0cf45e8cccfeaff5cdb7710f36f8f22be28d24b26dd79cda65955a
4
+ data.tar.gz: 024dc7ac23622a17671d27cb69246242195c3e5bfbd758fea48d9d38df77cf1e
5
5
  SHA512:
6
- metadata.gz: 3f35819099fa89be904b1a20a6ee7b43d3288ae87c41bcb4cb07f32c9c2ed4b6152bc7e5922cf239409e4e0809a8bd55cae311f24341083ebd4767fc07b10db4
7
- data.tar.gz: 14ffafaba6b7e1ecd404c1250a07f87f09d5da61e920c6f773e0fb78bb65410ad1c23271b48980e37be1f318bba681b6e3131043c7177f65abf59e10c0400ca2
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Motor
4
- VERSION = '0.3.9'
4
+ VERSION = '0.3.10'
5
5
  end
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.9
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-27 00:00:00.000000000 Z
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