avo-money_field 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/avo/money_field/fields/money_field.rb +1 -1
- data/lib/avo/money_field/railtie.rb +5 -1
- data/lib/avo/money_field/version.rb +1 -1
- metadata +6 -7
- data/lib/avo/money_field/plugin.rb +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db2847d919ef1db21422beb9a804c0792a830e38d1e25c5aa7d2e2e8d702c58e
|
4
|
+
data.tar.gz: b180428caac31558634e31ab63e2f9eda91ebb8d2037586b387c2748291b8ab5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e1f746d9870d8970f000c303a0a1274ae1a4ecb0ec410ba69dfbf5c15cf8a17fb673f2b6c057ebaea24941ac308c9bf29c48d7e79d6ebd32e48b2af5b5e582e
|
7
|
+
data.tar.gz: acbfb532bd83f6556c34f36ad21ca53e1b139ac8ab83e43e5e8c2e4d0488d3037ac9d79023244ff2586cffa1dff0fdb6a8a6d8ccd4c6396dd64e14cc110f7e86
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Avo Money Field
|
2
2
|
|
3
|
-
A simple money field for https://github.com/avo-hq/avo.
|
3
|
+
A simple money field for [avo-hq/avo](https://github.com/avo-hq/avo), a Rails Admin Panel and Internal Tool Builder.
|
4
4
|
|
5
5
|
Docs available at [https://docs.avohq.io/3.0/fields/money.html](https://docs.avohq.io/3.0/fields/money.html)
|
6
6
|
|
@@ -1,8 +1,12 @@
|
|
1
|
+
require_relative "fields/money_field"
|
2
|
+
|
1
3
|
module Avo
|
2
4
|
module MoneyField
|
3
5
|
class Railtie < Rails::Railtie
|
4
6
|
initializer "avo-money_field.init" do
|
5
|
-
|
7
|
+
ActiveSupport.on_load(:avo_boot) do
|
8
|
+
Avo.plugin_manager.register_field :money, Avo::MoneyField::Fields::MoneyField
|
9
|
+
end
|
6
10
|
end
|
7
11
|
end
|
8
12
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avo-money_field
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
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-
|
11
|
+
date: 2024-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: money-rails
|
@@ -40,14 +40,13 @@ files:
|
|
40
40
|
- lib/avo/money_field/fields/money_field/index_component.rb
|
41
41
|
- lib/avo/money_field/fields/money_field/show_component.html.erb
|
42
42
|
- lib/avo/money_field/fields/money_field/show_component.rb
|
43
|
-
- lib/avo/money_field/plugin.rb
|
44
43
|
- lib/avo/money_field/railtie.rb
|
45
44
|
- lib/avo/money_field/version.rb
|
46
45
|
homepage: https://avohq.io
|
47
46
|
licenses:
|
48
47
|
- MIT
|
49
48
|
metadata: {}
|
50
|
-
post_install_message:
|
49
|
+
post_install_message:
|
51
50
|
rdoc_options: []
|
52
51
|
require_paths:
|
53
52
|
- lib
|
@@ -62,8 +61,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
61
|
- !ruby/object:Gem::Version
|
63
62
|
version: '0'
|
64
63
|
requirements: []
|
65
|
-
rubygems_version: 3.
|
66
|
-
signing_key:
|
64
|
+
rubygems_version: 3.5.5
|
65
|
+
signing_key:
|
67
66
|
specification_version: 4
|
68
67
|
summary: Money field for Avo.
|
69
68
|
test_files: []
|
@@ -1,16 +0,0 @@
|
|
1
|
-
require_relative "fields/money_field"
|
2
|
-
|
3
|
-
module Avo
|
4
|
-
module MoneyField
|
5
|
-
class Plugin < Avo::Plugin
|
6
|
-
class << self
|
7
|
-
def boot
|
8
|
-
Avo.plugin_manager.register_field :money, Avo::MoneyField::Fields::MoneyField
|
9
|
-
end
|
10
|
-
|
11
|
-
def init
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|