Skip to content

Commit

Permalink
changed directory name to get classes to auto load when required
Browse files Browse the repository at this point in the history
  • Loading branch information
joelvh committed Jun 11, 2012
1 parent ae6e389 commit 9203f95
Show file tree
Hide file tree
Showing 26 changed files with 47 additions and 46 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
pkg/*
.project
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.3.2
0.3.3
44 changes: 22 additions & 22 deletions lib/magentor.rb
Expand Up @@ -14,28 +14,28 @@
XMLRPC::Config.send(:remove_const, :ENABLE_NIL_CREATE)
XMLRPC::Config.send(:const_set, :ENABLE_NIL_CREATE, true)

require 'magento/connection'
require 'magento/base'
require 'magentor/connection'
require 'magentor/base'

module Magento
autoload :CategoryAttribute, "magento/category_attribute"
autoload :Category, "magento/category"
autoload :Country, "magento/country"
autoload :CustomerAddress, "magento/customer_address"
autoload :CustomerGroup, "magento/customer_group"
autoload :Customer, "magento/customer"
autoload :Inventory, "magento/inventory"
autoload :Invoice, "magento/invoice"
autoload :OrderItem, "magento/order_item"
autoload :Order, "magento/order"
autoload :ProductAttribute, "magento/product_attribute"
autoload :ProductAttributeSet, "magento/product_attribute_set"
autoload :ProductLink, "magento/product_link"
autoload :ProductMedia, "magento/product_media"
autoload :Product, "magento/product"
autoload :ProductStock, "magento/product_stock"
autoload :ProductTierPrice, "magento/product_tier_price"
autoload :ProductType, "magento/product_type"
autoload :Region, "magento/region"
autoload :Shipment, "magento/shipment"
autoload :CategoryAttribute, "magentor/category_attribute"
autoload :Category, "magentor/category"
autoload :Country, "magentor/country"
autoload :CustomerAddress, "magentor/customer_address"
autoload :CustomerGroup, "magentor/customer_group"
autoload :Customer, "magentor/customer"
autoload :Inventory, "magentor/inventory"
autoload :Invoice, "magentor/invoice"
autoload :OrderItem, "magentor/order_item"
autoload :Order, "magentor/order"
autoload :ProductAttribute, "magentor/product_attribute"
autoload :ProductAttributeSet, "magentor/product_attribute_set"
autoload :ProductLink, "magentor/product_link"
autoload :ProductMedia, "magentor/product_media"
autoload :Product, "magentor/product"
autoload :ProductStock, "magentor/product_stock"
autoload :ProductTierPrice, "magentor/product_tier_price"
autoload :ProductType, "magentor/product_type"
autoload :Region, "magentor/region"
autoload :Shipment, "magentor/shipment"
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
46 changes: 23 additions & 23 deletions magentor.gemspec
Expand Up @@ -5,7 +5,7 @@

Gem::Specification.new do |s|
s.name = %q{magentor}
s.version = "0.3.2"
s.version = "0.3.3"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Preston Stuteville"]
Expand All @@ -22,28 +22,28 @@ Gem::Specification.new do |s|
"TODOS",
"VERSION",
"init.rb",
"lib/magento/base.rb",
"lib/magento/category.rb",
"lib/magento/category_attribute.rb",
"lib/magento/connection.rb",
"lib/magento/country.rb",
"lib/magento/customer.rb",
"lib/magento/customer_address.rb",
"lib/magento/customer_group.rb",
"lib/magento/inventory.rb",
"lib/magento/invoice.rb",
"lib/magento/order.rb",
"lib/magento/order_item.rb",
"lib/magento/product.rb",
"lib/magento/product_attribute.rb",
"lib/magento/product_attribute_set.rb",
"lib/magento/product_link.rb",
"lib/magento/product_media.rb",
"lib/magento/product_stock.rb",
"lib/magento/product_tier_price.rb",
"lib/magento/product_type.rb",
"lib/magento/region.rb",
"lib/magento/shipment.rb",
"lib/magentor/base.rb",
"lib/magentor/category.rb",
"lib/magentor/category_attribute.rb",
"lib/magentor/connection.rb",
"lib/magentor/country.rb",
"lib/magentor/customer.rb",
"lib/magentor/customer_address.rb",
"lib/magentor/customer_group.rb",
"lib/magentor/inventory.rb",
"lib/magentor/invoice.rb",
"lib/magentor/order.rb",
"lib/magentor/order_item.rb",
"lib/magentor/product.rb",
"lib/magentor/product_attribute.rb",
"lib/magentor/product_attribute_set.rb",
"lib/magentor/product_link.rb",
"lib/magentor/product_media.rb",
"lib/magentor/product_stock.rb",
"lib/magentor/product_tier_price.rb",
"lib/magentor/product_type.rb",
"lib/magentor/region.rb",
"lib/magentor/shipment.rb",
"lib/magentor.rb",
"magentor.gemspec"
]
Expand Down

0 comments on commit 9203f95

Please sign in to comment.