amountable 0.2.7 → 0.2.8
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 +4 -4
- data/lib/amountable.rb +0 -1
- data/lib/amountable/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6b550023b833cb60747b7b9fa15e3d10b6ebbada
|
|
4
|
+
data.tar.gz: 0a6f0a5deaa1ca23545626debdbea1cbf5b0df6f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2854582ba8a38cae2e22c6efce04e433771226fe8c38c130060ab88daaf17903cc4629b26a3a234f478f3b6880cca91f3517b0b08cd71616e859beaa78cba866
|
|
7
|
+
data.tar.gz: c9be64517ccc33672379e0ae9829e24bca3197ec7fe7f0fcf9a0dd48d2062f39ae5586a8bc7dcb78be65665606091665cb83dc12e745e98a68a4671cda8d7a90
|
data/lib/amountable.rb
CHANGED
|
@@ -71,7 +71,6 @@ module Amountable
|
|
|
71
71
|
include Amountable::TableMethods
|
|
72
72
|
when :jsonb
|
|
73
73
|
self.amounts_column_name = options[:column].to_s if options[:column]
|
|
74
|
-
raise MissingColumn.new("You need an amounts jsonb field on the #{self.table_name} table.") unless column_names.include?(self.amounts_column_name)
|
|
75
74
|
include Amountable::JsonbMethods
|
|
76
75
|
else
|
|
77
76
|
raise ArgumentError.new("Please specify a storage: #{ALLOWED_STORAGE}")
|
data/lib/amountable/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: amountable
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Emmanuel Turlay
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-03-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -244,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
244
244
|
version: '0'
|
|
245
245
|
requirements: []
|
|
246
246
|
rubyforge_project:
|
|
247
|
-
rubygems_version: 2.5.2
|
|
247
|
+
rubygems_version: 2.5.2.2
|
|
248
248
|
signing_key:
|
|
249
249
|
specification_version: 4
|
|
250
250
|
summary: Easy Money fields for your Rails models.
|