avo-money_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 +4 -4
- data/README.md +10 -1
- data/avo-money_field.gemspec +2 -0
- data/lib/avo/money_field/plugin.rb +0 -1
- data/lib/avo/money_field/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 257da427576ab32992dc00e71a7266a5110f1ccc831169dc1ff2e00a7f46f710
|
4
|
+
data.tar.gz: e45745630299684ef1137bba087941501d795bed94aa139f0447c72197652129
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7408c2125753a952fe59cef669386771901b5d45613efdff0d763c8fe258ede9e4422af06df3f72cb87c01e769a296c2f07d8909b17e09faef7101c58a407132
|
7
|
+
data.tar.gz: c0a86f1bb371867d52c55dc5c3d3ceff21fcf0ce5f65223b49c26b016a54b94b0c5937f5423da19445855eb1fcdf6e7afd4fc6e66609a34c152d45ba80127c54
|
data/README.md
CHANGED
@@ -1,3 +1,12 @@
|
|
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 https://github.com/avo-hq/avo.
|
4
|
+
|
5
|
+
Docs available at [https://docs.avohq.io/3.0/fields/money.html](https://docs.avohq.io/3.0/fields/money.html)
|
6
|
+
|
7
|
+
## Usage
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
field :price, as: :money, currencies: %w[EUR USD RON PEN]
|
11
|
+
```
|
12
|
+
|
data/avo-money_field.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrian Marin
|
@@ -9,7 +9,21 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
date: 2024-04-09 00:00:00.000000000 Z
|
12
|
-
dependencies:
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: money-rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
description: Money field for Avo.
|
14
28
|
email: adrian@adrianthedev.com
|
15
29
|
executables: []
|