avo-record_link_field 0.0.1 → 0.0.2

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: f6fbdb1c3f2e5fbc2279dfff61b81a493bd1098e9eb5399cd8585098835529c8
4
- data.tar.gz: 39c30aa5ca96c059699c67ac5fc843a5b4ac4243ac0d2cc66beebf3e622e038e
3
+ metadata.gz: d12549d02000a84872487d3e70db7985f6f00940906bb69421429a90e897ac4c
4
+ data.tar.gz: 5bce391d5e9666b3b6479424ba6ea64eb25b52a4beca8d6dc295445337d6eb63
5
5
  SHA512:
6
- metadata.gz: 7fa148ad3a375f94a72b666cdc87e026e42ac6c329080017819ed8ae58025bd6339257729163b338d72eccd779c8d19fa8e024093db0a2708f3b9dc20fae3df3
7
- data.tar.gz: 88d1abadf49606b6dc22bb449e2848fd148140de787ddaf2b6e83beaaf4d5f6e5d097de23142aaf83a18a884c2151412bb4f6374e5eca48c6ac5037c194ca3c2
6
+ metadata.gz: f6cd7ffbdc4151987d26ddb19216c0aae7b737475ced44785e5a89637141e967af0efed68ca5dfeff0c2ec7bd35c7f883d6aa34960ebfe2ccee6311761fa14ef
7
+ data.tar.gz: 74fdd38d9b44b668efa1f0c4f6028ceeaac571150f7947923c1816048f8089b3c6a2b3594778057c091fd41b483c2a2b88a33460da417d3c747c51da7bc5ff5e
data/README.md CHANGED
@@ -9,4 +9,3 @@ Docs available at [https://docs.avohq.io/3.0/fields/record_link.html](https://do
9
9
  ```ruby
10
10
  field :post, as: :record_link
11
11
  ```
12
-
@@ -1,11 +1,9 @@
1
- require_relative "fields/record_link_field"
2
1
 
3
2
  module Avo
4
3
  module RecordLinkField
5
4
  class Plugin < Avo::Plugin
6
5
  class << self
7
6
  def boot
8
- Avo.plugin_manager.register_field :record_link, Avo::RecordLinkField::Fields::RecordLinkField
9
7
  end
10
8
 
11
9
  def init
@@ -1,8 +1,12 @@
1
+ require_relative "fields/record_link_field"
2
+
1
3
  module Avo
2
4
  module RecordLinkField
3
5
  class Railtie < Rails::Railtie
4
6
  initializer "avo-record_link_field.init" do
5
- Avo.plugin_manager.register Avo::RecordLinkField::Plugin
7
+ ActiveSupport.on_load(:avo_boot) do
8
+ Avo.plugin_manager.register_field :record_link, Avo::RecordLinkField::Fields::RecordLinkField
9
+ end
6
10
  end
7
11
  end
8
12
  end
@@ -1,5 +1,5 @@
1
1
  module Avo
2
2
  module RecordLinkField
3
- VERSION = "0.0.1" unless const_defined?(:VERSION)
3
+ VERSION = "0.0.2" unless const_defined?(:VERSION)
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo-record_link_field
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-12 00:00:00.000000000 Z
11
+ date: 2024-10-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Record link field for Avo.
14
14
  email: adrian@adrianthedev.com
@@ -33,7 +33,7 @@ homepage: https://avohq.io
33
33
  licenses:
34
34
  - MIT
35
35
  metadata: {}
36
- post_install_message:
36
+ post_install_message:
37
37
  rdoc_options: []
38
38
  require_paths:
39
39
  - lib
@@ -48,8 +48,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
48
  - !ruby/object:Gem::Version
49
49
  version: '0'
50
50
  requirements: []
51
- rubygems_version: 3.4.10
52
- signing_key:
51
+ rubygems_version: 3.5.5
52
+ signing_key:
53
53
  specification_version: 4
54
54
  summary: Record link field for Avo.
55
55
  test_files: []