amountable 0.2.7 → 0.2.8

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
  SHA1:
3
- metadata.gz: 38e5aad7e7246e55d83ff7e5688d7a457de24004
4
- data.tar.gz: 151baa58f088ebb8436a8b1a7662c42c6bbbc1c6
3
+ metadata.gz: 6b550023b833cb60747b7b9fa15e3d10b6ebbada
4
+ data.tar.gz: 0a6f0a5deaa1ca23545626debdbea1cbf5b0df6f
5
5
  SHA512:
6
- metadata.gz: 3b48cc8db135bbac543c55a306c7a76b69a9ec1501abc11cd10ec235b748a9a6a06ac3194c000df32ed21670bbe72ddd00d33db22c1d3537f28d2d2da0a8cc0d
7
- data.tar.gz: 5fef1118f77194b550dc7f015e75c19292df7d54cfed468433abf306a7a90034ba5c0a8cf1108a2b295f8ebc294563531b482512cd821117c7e1df14a92b363c
6
+ metadata.gz: 2854582ba8a38cae2e22c6efce04e433771226fe8c38c130060ab88daaf17903cc4629b26a3a234f478f3b6880cca91f3517b0b08cd71616e859beaa78cba866
7
+ data.tar.gz: c9be64517ccc33672379e0ae9829e24bca3197ec7fe7f0fcf9a0dd48d2062f39ae5586a8bc7dcb78be65665606091665cb83dc12e745e98a68a4671cda8d7a90
@@ -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}")
@@ -1,5 +1,5 @@
1
1
  # Copyright 2015-2017, Instacart
2
2
 
3
3
  module Amountable
4
- VERSION = '0.2.7'
4
+ VERSION = '0.2.8'
5
5
  end
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.7
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: 2017-11-14 00:00:00.000000000 Z
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.