munificent 2.0.1 → 2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 342de290198e0a3620175b8be52d56cda5e0ec637c024cba658bd84c012d0e0c
|
4
|
+
data.tar.gz: f74501c8561c19484fa93b9aad33912fd7e95c339db05eebe3b1caff35b49049
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2eb467e3f62cd5e8629ea7bc1587188faba0b409b2ad3f69bfe9a82eb2c60bbac454689356e88c86b14e0d11e2aba4e750bfaf8cb35971905afc850740a69a24
|
7
|
+
data.tar.gz: 9ea04f0a2cf48fb93bc4d7c20d3ed17f4d7e35176a22af5f6b127ba93c6425b92b42bc771033d75e05a5b70cf1a90af4923c9091ec61b8aa349f5908844f164f
|
@@ -1,11 +1,7 @@
|
|
1
|
-
require "aasm"
|
2
|
-
|
3
1
|
module Munificent
|
4
2
|
class ApplicationRecord < ActiveRecord::Base
|
5
3
|
self.abstract_class = true
|
6
4
|
|
7
|
-
include AASM
|
8
|
-
|
9
5
|
scope :where_money, -> (monies) {
|
10
6
|
conditions = monies.each_with_object({}) { |(field_prefix, money), hash|
|
11
7
|
hash["#{field_prefix}_decimals"] = money.cents
|
data/lib/munificent/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: munificent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elliot Crosby-McCullough
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aasm
|
@@ -487,7 +487,7 @@ licenses:
|
|
487
487
|
metadata:
|
488
488
|
homepage_uri: https://github.com/SmartCasual/munificent
|
489
489
|
source_code_uri: https://github.com/SmartCasual/munificent
|
490
|
-
changelog_uri: https://github.com/SmartCasual/munificent/blob/2.0.
|
490
|
+
changelog_uri: https://github.com/SmartCasual/munificent/blob/2.0.2/CHANGELOG.md
|
491
491
|
rubygems_mfa_required: 'true'
|
492
492
|
post_install_message:
|
493
493
|
rdoc_options: []
|