diff --git a/LICENSE b/LICENSE index 615515f..effbb8f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright © 2015-2016, Instacart +Copyright © 2015-2021, Instacart Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above diff --git a/db/migrate/0_create_amounts.rb b/db/migrate/0_create_amounts.rb index 2dd42db..0163d1a 100644 --- a/db/migrate/0_create_amounts.rb +++ b/db/migrate/0_create_amounts.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2017, Instacart +# Copyright 2015-2021, Instacart class CreateAmounts < ActiveRecord::Migration def change diff --git a/lib/amountable.rb b/lib/amountable.rb index 085bf47..b2c29ad 100644 --- a/lib/amountable.rb +++ b/lib/amountable.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2017, Instacart +# Copyright 2015-2021, Instacart module Amountable extend ActiveSupport::Autoload diff --git a/lib/amountable/amount.rb b/lib/amountable/amount.rb index c37c7a6..6c33918 100644 --- a/lib/amountable/amount.rb +++ b/lib/amountable/amount.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2017, Instacart +# Copyright 2015-2021, Instacart module Amountable class Amount < ActiveRecord::Base diff --git a/lib/amountable/jsonb_methods.rb b/lib/amountable/jsonb_methods.rb index a74b3ab..baf3a2a 100644 --- a/lib/amountable/jsonb_methods.rb +++ b/lib/amountable/jsonb_methods.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2017, Instacart +# Copyright 2015-2021, Instacart module Amountable module JsonbMethods diff --git a/lib/amountable/nil_amount.rb b/lib/amountable/nil_amount.rb index 9f8e27a..d4c90b9 100644 --- a/lib/amountable/nil_amount.rb +++ b/lib/amountable/nil_amount.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2017, Instacart +# Copyright 2015-2021, Instacart module Amountable class NilAmount diff --git a/lib/amountable/operations.rb b/lib/amountable/operations.rb index 90633cf..2671128 100644 --- a/lib/amountable/operations.rb +++ b/lib/amountable/operations.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2017, Instacart +# Copyright 2015-2021, Instacart module Amountable module Operations diff --git a/lib/amountable/table_methods.rb b/lib/amountable/table_methods.rb index 055f2be..89cbefc 100644 --- a/lib/amountable/table_methods.rb +++ b/lib/amountable/table_methods.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2017, Instacart +# Copyright 2015-2021, Instacart module Amountable module TableMethods diff --git a/lib/amountable/version.rb b/lib/amountable/version.rb index 51c7dae..3f8e386 100644 --- a/lib/amountable/version.rb +++ b/lib/amountable/version.rb @@ -1,5 +1,5 @@ -# Copyright 2015-2017, Instacart +# Copyright 2015-2021, Instacart module Amountable - VERSION = '0.3.2' + VERSION = '0.4.0' end diff --git a/lib/amountable/virtual_amount.rb b/lib/amountable/virtual_amount.rb index cbe585d..4dfbf3b 100644 --- a/lib/amountable/virtual_amount.rb +++ b/lib/amountable/virtual_amount.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2017, Instacart +# Copyright 2015-2021, Instacart module Amountable class VirtualAmount diff --git a/spec/amountable/amount_spec.rb b/spec/amountable/amount_spec.rb index 3607131..c7fd0f4 100644 --- a/spec/amountable/amount_spec.rb +++ b/spec/amountable/amount_spec.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2016, Instacart +# Copyright 2015-2021, Instacart require 'spec_helper' diff --git a/spec/amountable/amountable_spec.rb b/spec/amountable/amountable_spec.rb index ae4f66b..ab8b9f8 100644 --- a/spec/amountable/amountable_spec.rb +++ b/spec/amountable/amountable_spec.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2016, Instacart +# Copyright 2015-2021, Instacart require 'spec_helper' diff --git a/spec/amountable/nil_amount_spec.rb b/spec/amountable/nil_amount_spec.rb index ea1ec51..b096ca0 100644 --- a/spec/amountable/nil_amount_spec.rb +++ b/spec/amountable/nil_amount_spec.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2016, Instacart +# Copyright 2015-2021, Instacart require 'spec_helper' diff --git a/spec/internal/app/models/order.rb b/spec/internal/app/models/order.rb index 454b37f..cd77c2d 100644 --- a/spec/internal/app/models/order.rb +++ b/spec/internal/app/models/order.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2016, Instacart +# Copyright 2015-2021, Instacart class Order < ActiveRecord::Base diff --git a/spec/internal/app/models/subscription.rb b/spec/internal/app/models/subscription.rb index 0f51cca..64d3784 100644 --- a/spec/internal/app/models/subscription.rb +++ b/spec/internal/app/models/subscription.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2016, Instacart +# Copyright 2015-2021, Instacart if jsonb_available? class Subscription < ActiveRecord::Base diff --git a/spec/internal/db/schema.rb b/spec/internal/db/schema.rb index a7ec2ae..39fc7dd 100644 --- a/spec/internal/db/schema.rb +++ b/spec/internal/db/schema.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2016, Instacart +# Copyright 2015-2021, Instacart ActiveRecord::Schema.define do diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b24914c..4dfe1b0 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2016, Instacart +# Copyright 2015-2021, Instacart ENV['RAILS_ENV'] = 'test' require 'rails' diff --git a/spec/support/database.rb b/spec/support/database.rb index 47c64ca..08a4325 100644 --- a/spec/support/database.rb +++ b/spec/support/database.rb @@ -1,4 +1,4 @@ -# Copyright 2015-2016, Instacart +# Copyright 2015-2021, Instacart db_name = ENV['DB'] || 'postgresql' spec_dir = Pathname.new(File.dirname(__FILE__)) / '..'