From 9e2ddd639667b5952e647cf41517572e397edaa5 Mon Sep 17 00:00:00 2001 From: tworrall Date: Thu, 9 Jul 2020 15:13:38 -0400 Subject: [PATCH] add 5.2 version number to the migration files --- ...0193241_cond_create_blacklight_cornell_requests_requests.rb | 2 +- ...cond_create_blacklight_cornell_requests_circ_policy_locs.rb | 2 +- db/migrate/20141205183450_add_new_delivery_location.rb | 2 +- db/migrate/20170920143824_change_circ_policy_group.rb | 2 +- lib/blacklight_cornell_requests/version.rb | 2 +- release_notes.md | 3 +++ 6 files changed, 8 insertions(+), 5 deletions(-) diff --git a/db/migrate/20140430193241_cond_create_blacklight_cornell_requests_requests.rb b/db/migrate/20140430193241_cond_create_blacklight_cornell_requests_requests.rb index ebc3829..66fefdc 100755 --- a/db/migrate/20140430193241_cond_create_blacklight_cornell_requests_requests.rb +++ b/db/migrate/20140430193241_cond_create_blacklight_cornell_requests_requests.rb @@ -1,4 +1,4 @@ -class CondCreateBlacklightCornellRequestsRequests < ActiveRecord::Migration +class CondCreateBlacklightCornellRequestsRequests < ActiveRecord::Migration[5.2] def up if !ActiveRecord::Base.connection.table_exists? :blacklight_cornell_requests_requests create_table :blacklight_cornell_requests_requests do |t| diff --git a/db/migrate/20141205183449_cond_create_blacklight_cornell_requests_circ_policy_locs.rb b/db/migrate/20141205183449_cond_create_blacklight_cornell_requests_circ_policy_locs.rb index 99827e7..8bef1e0 100644 --- a/db/migrate/20141205183449_cond_create_blacklight_cornell_requests_circ_policy_locs.rb +++ b/db/migrate/20141205183449_cond_create_blacklight_cornell_requests_circ_policy_locs.rb @@ -1,4 +1,4 @@ -class CondCreateBlacklightCornellRequestsCircPolicyLocs < ActiveRecord::Migration +class CondCreateBlacklightCornellRequestsCircPolicyLocs < ActiveRecord::Migration[5.2] # the attributes in the model are defined in upper case so these must be upper case. def up if !ActiveRecord::Base.connection.table_exists? :blacklight_cornell_requests_circ_policy_locs diff --git a/db/migrate/20141205183450_add_new_delivery_location.rb b/db/migrate/20141205183450_add_new_delivery_location.rb index ab65ede..6e5f9c7 100644 --- a/db/migrate/20141205183450_add_new_delivery_location.rb +++ b/db/migrate/20141205183450_add_new_delivery_location.rb @@ -1,4 +1,4 @@ -class AddNewDeliveryLocation < ActiveRecord::Migration +class AddNewDeliveryLocation < ActiveRecord::Migration[5.2] def change # Add new row for NYC-CFEM program BlacklightCornellRequests::Circ_policy_locs.create :circ_group_id => 1, :location_id => 250, :pickup_location => 'Y' diff --git a/db/migrate/20170920143824_change_circ_policy_group.rb b/db/migrate/20170920143824_change_circ_policy_group.rb index 78149d2..47b5a96 100644 --- a/db/migrate/20170920143824_change_circ_policy_group.rb +++ b/db/migrate/20170920143824_change_circ_policy_group.rb @@ -1,4 +1,4 @@ -class ChangeCircPolicyGroup < ActiveRecord::Migration +class ChangeCircPolicyGroup < ActiveRecord::Migration[5.2] def change av = BlacklightCornellRequests::Circ_policy_locs.where(:LOCATION_ID => 216).first if !av.nil? diff --git a/lib/blacklight_cornell_requests/version.rb b/lib/blacklight_cornell_requests/version.rb index 485217b..daea979 100755 --- a/lib/blacklight_cornell_requests/version.rb +++ b/lib/blacklight_cornell_requests/version.rb @@ -1,3 +1,3 @@ module BlacklightCornellRequests - VERSION = "3.2.0" + VERSION = "3.2.1" end diff --git a/release_notes.md b/release_notes.md index 79e5007..be8ad48 100644 --- a/release_notes.md +++ b/release_notes.md @@ -1,5 +1,8 @@ # Release Notes - blacklight-cornell-requests +## v3.2.1 +- Add version number ([5.2]) to migration files. + ## v3.2.0 - Some requests are pulling copies from libraries that are currently invalid due to Covid-19. Can only request from 1 of the 5 valid libraries.