umbrellio-sequel-plugins 0.4.0.112 → 0.4.0.114
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8c7ff5ac5ebea27eafa18c31cd1d662265d4f482ef5918cadf94d0aa4f08f7f
|
4
|
+
data.tar.gz: 3fa003eb8fa8c4f8fe5b0f5bb5bc43305a14248f02eeece91013329dfe7be17d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b252fd339fa0b4fc0c48861ae344b199cec544b81ad1b39524fc3a787e7a92ddcd7f8bf7160f5b97255ee99cdf08a1c9887872c2d4b28a0878adec9f3de41a6
|
7
|
+
data.tar.gz: 077edb4f06abb73764d73eaab2ef3ee5a9bad1897e5faf9e7b1c892b775ff487b8d3273a74613aad4822336a180f59bd38aa83f50a7e10330007f386ffd8f534
|
data/README.md
CHANGED
@@ -28,6 +28,7 @@ And then execute:
|
|
28
28
|
|
29
29
|
- `Duplicate`
|
30
30
|
- `GetColumnValue`
|
31
|
+
- `MoneyAccessors`
|
31
32
|
- `StoreAccessors`
|
32
33
|
- `Synchronize`
|
33
34
|
- `Upsert`
|
@@ -239,14 +240,14 @@ item.get_column_value(:amount) # => 0.5e2
|
|
239
240
|
|
240
241
|
## MoneyAccessors
|
241
242
|
|
242
|
-
**Important:** requires `money` gem described
|
243
|
+
**Important:** requires `money` gem described below.
|
243
244
|
|
244
245
|
Plugin for using money field keys as model properties.
|
245
246
|
|
246
247
|
Enable:
|
247
248
|
|
248
249
|
```ruby
|
249
|
-
|
250
|
+
gem "money"
|
250
251
|
Sequel::Model.plugin :money_accessors
|
251
252
|
````
|
252
253
|
|
@@ -311,7 +312,7 @@ user.data # => {"first_name": "John"}
|
|
311
312
|
|
312
313
|
## Synchronize
|
313
314
|
|
314
|
-
**Important:** requires a `synchronize` extension described
|
315
|
+
**Important:** requires a `synchronize` extension described below.
|
315
316
|
|
316
317
|
Same as `DB#synchronize_with`
|
317
318
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: umbrellio-sequel-plugins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.0.
|
4
|
+
version: 0.4.0.114
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nulldef
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sequel
|