tb_redirects 1.0 → 1.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee0bed06fd85233fb51c6aea56439a7554030c43
4
- data.tar.gz: aa45ebcabcca2b19c8b0563095ee9f265063c698
3
+ metadata.gz: f3d9aecd0a3a06806b0438567c29a66cdcd0dc13
4
+ data.tar.gz: 47d359ae1672c491ed8ccd12d1a38f9cde7eae91
5
5
  SHA512:
6
- metadata.gz: daab6866fc7b2cdd96e70f80d896b5ba4bb6bd4104173a0922db99424f98a3ed869dcca3ec411c5bd2e60339dd5c1952f4e1eb4b5d823027397b3834b068d7cf
7
- data.tar.gz: 5c11561e6818db5dc8770b8cc5b053f84a6b6038b90d0d87f53f6c0c5ced08c8c0ca7af2d242a563f3340fed70502609a3678b6773d8654ca9d22f0f8577836e
6
+ metadata.gz: 0bef32225d6b27065bd967ae6f76d0af43f14d88ef9de75b27deef325c3711b2fa39990b9863748b4994ff42fd88e0127a7a546e027c13e6ac359d7f2ac4a113
7
+ data.tar.gz: b13461c361ddbb96357d27db51108eabcd58941139da574d15973056c35d080b4654ef49b4fec023835488edabbdd45c50096df3395a5cf1acec075e3a71cf62
@@ -1,4 +1,4 @@
1
- class CreateTbRedirects < ActiveRecord::Migration
1
+ class CreateTbRedirects < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :tb_redirects do |t|
4
4
  t.string :owner_type
@@ -20,7 +20,7 @@ module TbRedirects
20
20
 
21
21
  initializer 'tb_redirects.controllers' do |_config|
22
22
  ActiveSupport.on_load(:action_controller) do
23
- Spud::ApplicationController.send :include, TbRedirects::HandleRedirects
23
+ TbCore::ApplicationController.send :include, TbRedirects::HandleRedirects
24
24
  end
25
25
  end
26
26
 
@@ -1,3 +1,3 @@
1
1
  module TbRedirects
2
- VERSION = '1.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
  end
@@ -1,3 +1,3 @@
1
- class ApplicationController < Spud::ApplicationController
1
+ class ApplicationController < TbCore::ApplicationController
2
2
  protect_from_forgery
3
3
  end
@@ -1,5 +1,5 @@
1
1
  # This migration comes from tb_core (originally 20111214161011)
2
- class CreateSpudAdminPermissions < ActiveRecord::Migration
2
+ class CreateSpudAdminPermissions < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :spud_admin_permissions do |t|
5
5
  t.integer :user_id
@@ -1,5 +1,5 @@
1
1
  # This migration comes from tb_core (originally 20111214161146)
2
- class CreateSpudUsers < ActiveRecord::Migration
2
+ class CreateSpudUsers < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :spud_users do |t|
5
5
  t.string :first_name
@@ -1,5 +1,5 @@
1
1
  # This migration comes from tb_core (originally 20120327124229)
2
- class AddTimeZoneToSpudUser < ActiveRecord::Migration
2
+ class AddTimeZoneToSpudUser < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  add_column :spud_users, :time_zone, :string
5
5
  end
@@ -1,5 +1,5 @@
1
1
  # This migration comes from tb_core (originally 20120328235431)
2
- class AddScopeToSpudAdminPermissions < ActiveRecord::Migration
2
+ class AddScopeToSpudAdminPermissions < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  add_column :spud_admin_permissions, :scope, :string
5
5
  end
@@ -1,5 +1,5 @@
1
1
  # This migration comes from tb_core (originally 20120329174000)
2
- class CreateSpudUserSettings < ActiveRecord::Migration
2
+ class CreateSpudUserSettings < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :spud_user_settings do |t|
5
5
  t.integer :spud_user_id
@@ -1,5 +1,5 @@
1
1
  # This migration comes from tb_core (originally 20130620143010)
2
- class CreateSpudRoles < ActiveRecord::Migration
2
+ class CreateSpudRoles < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :spud_roles do |t|
5
5
  t.string :name
@@ -1,5 +1,5 @@
1
1
  # This migration comes from tb_core (originally 20130620143941)
2
- class CreateSpudPermissions < ActiveRecord::Migration
2
+ class CreateSpudPermissions < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :spud_permissions do |t|
5
5
  t.string :name, null: false
@@ -1,5 +1,5 @@
1
1
  # This migration comes from tb_core (originally 20130620151132)
2
- class CreateSpudRolePermissions < ActiveRecord::Migration
2
+ class CreateSpudRolePermissions < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :spud_role_permissions do |t|
5
5
  t.integer :spud_role_id, null: false
@@ -1,5 +1,5 @@
1
1
  # This migration comes from tb_core (originally 20130620163144)
2
- class DropSpudAdminPermissions < ActiveRecord::Migration
2
+ class DropSpudAdminPermissions < ActiveRecord::Migration[4.2]
3
3
  def up
4
4
  drop_table :spud_admin_permissions
5
5
  end
@@ -1,5 +1,5 @@
1
1
  # This migration comes from tb_core (originally 20150610143438)
2
- class AddRequiresPasswordChangeToSpudUsers < ActiveRecord::Migration
2
+ class AddRequiresPasswordChangeToSpudUsers < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  add_column :spud_users, :requires_password_change, :boolean, default: false
5
5
  end
@@ -1,4 +1,4 @@
1
- class CreateWidgets < ActiveRecord::Migration
1
+ class CreateWidgets < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  create_table :widgets do |t|
4
4
  t.string :name
@@ -1,5 +1,5 @@
1
1
  # This migration comes from tb_redirects (originally 20160211162513)
2
- class CreateTbRedirects < ActiveRecord::Migration
2
+ class CreateTbRedirects < ActiveRecord::Migration[4.2]
3
3
  def change
4
4
  create_table :tb_redirects do |t|
5
5
  t.string :owner_type
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tb_redirects
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Woods
@@ -252,7 +252,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
252
  version: '0'
253
253
  requirements: []
254
254
  rubyforge_project:
255
- rubygems_version: 2.6.12
255
+ rubygems_version: 2.5.1
256
256
  signing_key:
257
257
  specification_version: 4
258
258
  summary: Simple redirect management for Twice Baked