avo-record_link_field 0.0.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6fbdb1c3f2e5fbc2279dfff61b81a493bd1098e9eb5399cd8585098835529c8
4
- data.tar.gz: 39c30aa5ca96c059699c67ac5fc843a5b4ac4243ac0d2cc66beebf3e622e038e
3
+ metadata.gz: 9755b254cab9fd5cde516e7c07695e0e52e9c752d5f0b056110fb365a7a32672
4
+ data.tar.gz: 66af1cea380a3b6bb3c9668d8befae56a96f137892533811b2a11c383e348b64
5
5
  SHA512:
6
- metadata.gz: 7fa148ad3a375f94a72b666cdc87e026e42ac6c329080017819ed8ae58025bd6339257729163b338d72eccd779c8d19fa8e024093db0a2708f3b9dc20fae3df3
7
- data.tar.gz: 88d1abadf49606b6dc22bb449e2848fd148140de787ddaf2b6e83beaaf4d5f6e5d097de23142aaf83a18a884c2151412bb4f6374e5eca48c6ac5037c194ca3c2
6
+ metadata.gz: 4a9240b1a0546ad0db615b65e8ac88e187274d314d1f23ea05b7f2b771e62de8597710d8337313433cee7c6dc64cc2f7c7c01b7d144dee9eeaae4bb92e3ccb11
7
+ data.tar.gz: 9d3420a36438402dc014a8db19e8308486fc47f41bf0b4d43b67127557bae2ee0d3b55d35c6d145823dc56ddf7af615e856bcab70ad08f8a95d4217f34da88d6
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 = "1.0.0" unless const_defined?(:VERSION)
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
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: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-04-12 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Record link field for Avo.
14
13
  email: adrian@adrianthedev.com
@@ -33,7 +32,6 @@ homepage: https://avohq.io
33
32
  licenses:
34
33
  - MIT
35
34
  metadata: {}
36
- post_install_message:
37
35
  rdoc_options: []
38
36
  require_paths:
39
37
  - lib
@@ -48,8 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
46
  - !ruby/object:Gem::Version
49
47
  version: '0'
50
48
  requirements: []
51
- rubygems_version: 3.4.10
52
- signing_key:
49
+ rubygems_version: 4.0.16
53
50
  specification_version: 4
54
51
  summary: Record link field for Avo.
55
52
  test_files: []