kylekthompson_shoppe 1.0.9 → 1.1.0

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: 7d92a3e01c4a9f4a4b526a7b9603475cf169c198
4
- data.tar.gz: 71377d506d733eaa534cffa28d97fcd836d753f3
3
+ metadata.gz: 6324e4a0cfcd2436ec75d8a5fa8cf82cb9aced60
4
+ data.tar.gz: f5d860f0afdeccb4098811ba2bf564a8a3a562b0
5
5
  SHA512:
6
- metadata.gz: 01f91f1ad483a7f4987428d41784a6d443712b1d39cde2f513bb9f222765f2bd3b2a47cd7a24a5295ac977e1fd0512c0ad4f1518b23232a8c19a9b62100a3212
7
- data.tar.gz: ffa2e187500b66d135a28a4d1a0be8ff0bbb0dcefaa6d55e95e876ccd79278ab4becd78662394a9db1ae24f67de05a025ba66c835094eb52d8fba9210aac94ce
6
+ metadata.gz: d8570a067851439007294414e015b5c685884dfd339685ad935b9327c00ec6a8cdff8a16717fac71db7a1a769d2e7dd9befc3e9ef6d7c0a4e426551cebac9fd3
7
+ data.tar.gz: 7bef222405e60bfb197e69d7873206ad16f87fb34d7d3ef14755ecc89462121a75fe1ee4e8d448340e4533fed86033ef51ad0de6c3d1dbd26b13e4315508973d
@@ -1,6 +1,6 @@
1
1
  class AddIndexesToKylekthompsonShoppeOrderItems < ActiveRecord::Migration
2
2
  def change
3
- add_index :kylekthompson_shoppe_order_items, [:ordered_item_id, :ordered_item_type], name: 'index_kkt_shoppe_order_items_ordered_item'
4
- add_index :kylekthompson_shoppe_order_items, :order_id
3
+ add_index :kkt_shoppe_order_items, [:ordered_item_id, :ordered_item_type], name: 'index_kkt_shoppe_order_items_ordered_item'
4
+ add_index :kkt_shoppe_order_items, :order_id
5
5
  end
6
6
  end
@@ -1,7 +1,7 @@
1
1
  class AddIndexesToKylekthompsonShoppeOrders < ActiveRecord::Migration
2
2
  def change
3
- add_index :kylekthompson_shoppe_orders, :token
4
- add_index :kylekthompson_shoppe_orders, :delivery_service_id
5
- add_index :kylekthompson_shoppe_orders, :received_at
3
+ add_index :kkt_shoppe_orders, :token
4
+ add_index :kkt_shoppe_orders, :delivery_service_id
5
+ add_index :kkt_shoppe_orders, :received_at
6
6
  end
7
7
  end
@@ -1,6 +1,6 @@
1
1
  class AddIndexesToKylekthompsonShoppePayments < ActiveRecord::Migration
2
2
  def change
3
- add_index :kylekthompson_shoppe_payments, :order_id
4
- add_index :kylekthompson_shoppe_payments, :parent_payment_id
3
+ add_index :kkt_shoppe_payments, :order_id
4
+ add_index :kkt_shoppe_payments, :parent_payment_id
5
5
  end
6
6
  end
@@ -1,7 +1,7 @@
1
1
  class AddIndexesToKylekthompsonShoppeProductAttributes < ActiveRecord::Migration
2
2
  def change
3
- add_index :kylekthompson_shoppe_product_attributes, :product_id
4
- add_index :kylekthompson_shoppe_product_attributes, :key
5
- add_index :kylekthompson_shoppe_product_attributes, :position
3
+ add_index :kkt_shoppe_product_attributes, :product_id
4
+ add_index :kkt_shoppe_product_attributes, :key
5
+ add_index :kkt_shoppe_product_attributes, :position
6
6
  end
7
7
  end
@@ -1,5 +1,5 @@
1
1
  class AddIndexesToKylekthompsonShoppeProductCategories < ActiveRecord::Migration
2
2
  def change
3
- add_index :kylekthompson_shoppe_product_categories, :permalink
3
+ add_index :kkt_shoppe_product_categories, :permalink
4
4
  end
5
5
  end
@@ -1,8 +1,8 @@
1
1
  class AddIndexesToKylekthompsonShoppeProducts < ActiveRecord::Migration
2
2
  def change
3
- add_index :kylekthompson_shoppe_products, :parent_id
4
- add_index :kylekthompson_shoppe_products, :sku
5
- add_index :kylekthompson_shoppe_products, :product_category_id
6
- add_index :kylekthompson_shoppe_products, :permalink
3
+ add_index :kkt_shoppe_products, :parent_id
4
+ add_index :kkt_shoppe_products, :sku
5
+ add_index :kkt_shoppe_products, :product_category_id
6
+ add_index :kkt_shoppe_products, :permalink
7
7
  end
8
8
  end
@@ -1,5 +1,5 @@
1
1
  class AddIndexesToKylekthompsonShoppeSettings < ActiveRecord::Migration
2
2
  def change
3
- add_index :kylekthompson_shoppe_settings, :key
3
+ add_index :kkt_shoppe_settings, :key
4
4
  end
5
5
  end
@@ -1,6 +1,6 @@
1
1
  class AddIndexesToKylekthompsonShoppeStockLevelAdjustments < ActiveRecord::Migration
2
2
  def change
3
- add_index :kylekthompson_shoppe_stock_level_adjustments, [:item_id, :item_type], name: 'index_kkt_shoppe_stock_level_adjustments_items'
4
- add_index :kylekthompson_shoppe_stock_level_adjustments, [:parent_id, :parent_type], name: 'index_kkt_shoppe_stock_level_adjustments_parent'
3
+ add_index :kkt_shoppe_stock_level_adjustments, [:item_id, :item_type], name: 'index_kkt_shoppe_stock_level_adjustments_items'
4
+ add_index :kkt_shoppe_stock_level_adjustments, [:parent_id, :parent_type], name: 'index_kkt_shoppe_stock_level_adjustments_parent'
5
5
  end
6
6
  end
@@ -1,5 +1,5 @@
1
1
  class AddIndexesToKylekthompsonShoppeUsers < ActiveRecord::Migration
2
2
  def change
3
- add_index :kylekthompson_shoppe_users, :email_address
3
+ add_index :kkt_shoppe_users, :email_address
4
4
  end
5
5
  end
@@ -1,9 +1,9 @@
1
1
  class AddIndexesToKylekthompsonShoppeDeliveryServices < ActiveRecord::Migration
2
2
  def change
3
- add_index :kylekthompson_shoppe_delivery_services, :active
4
- add_index :kylekthompson_shoppe_delivery_service_prices, :delivery_service_id
5
- add_index :kylekthompson_shoppe_delivery_service_prices, :min_weight
6
- add_index :kylekthompson_shoppe_delivery_service_prices, :max_weight
7
- add_index :kylekthompson_shoppe_delivery_service_prices, :price
3
+ add_index :kkt_shoppe_delivery_services, :active
4
+ add_index :kkt_shoppe_delivery_service_prices, :delivery_service_id
5
+ add_index :kkt_shoppe_delivery_service_prices, :min_weight
6
+ add_index :kkt_shoppe_delivery_service_prices, :max_weight
7
+ add_index :kkt_shoppe_delivery_service_prices, :price
8
8
  end
9
9
  end
@@ -6,8 +6,8 @@ class AllowMultipleKylekthompsonShoppeProductsPerKylekthompsonShoppeProductCateg
6
6
  t.integer :product_id, null: false
7
7
  t.integer :product_category_id, null: false
8
8
  end
9
- add_index :kylekthompson_shoppe_product_categorizations, :product_id, name: 'categorization_by_product_id'
10
- add_index :kylekthompson_shoppe_product_categorizations, :product_category_id, name: 'categorization_by_product_category_id'
9
+ add_index :kkt_shoppe_product_categorizations, :product_id, name: 'categorization_by_product_id'
10
+ add_index :kkt_shoppe_product_categorizations, :product_category_id, name: 'categorization_by_product_category_id'
11
11
  # define the old belongs_to association (as it's no longer on the model)
12
12
  KylekthompsonShoppe::Product.class_eval do
13
13
  belongs_to :old_category,
@@ -27,7 +27,7 @@ class AllowMultipleKylekthompsonShoppeProductsPerKylekthompsonShoppeProductCateg
27
27
  def down
28
28
  # first, we re-add our column so we've got something to populate
29
29
  add_column :kylekthompson_shoppe_products, :product_category_id, :integer
30
- add_index :kylekthompson_shoppe_products, :product_category_id
30
+ add_index :kkt_shoppe_products, :product_category_id
31
31
  # define the old belongs_to association once again as we're going to re-add our goodies
32
32
  KylekthompsonShoppe::Product.class_eval do
33
33
  belongs_to :new_category,
@@ -5,8 +5,8 @@ class AddNestedToProductCategories < ActiveRecord::Migration
5
5
  add_column :kylekthompson_shoppe_product_categories, :rgt, :integer
6
6
  add_column :kylekthompson_shoppe_product_categories, :depth, :integer
7
7
 
8
- add_index :kylekthompson_shoppe_product_categories, :lft
9
- add_index :kylekthompson_shoppe_product_categories, :rgt
8
+ add_index :kkt_shoppe_product_categories, :lft
9
+ add_index :kkt_shoppe_product_categories, :rgt
10
10
 
11
11
  add_column :kylekthompson_shoppe_product_categories, :ancestral_permalink, :string
12
12
  add_column :kylekthompson_shoppe_product_categories, :permalink_includes_ancestors, :boolean, default: false
@@ -1,3 +1,3 @@
1
1
  module KylekthompsonShoppe
2
- VERSION = "1.0.9"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kylekthompson_shoppe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Thompson, Adam Cooke