spree_suppliers 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +22 -0
- data/LICENSE +26 -0
- data/README.md +80 -0
- data/Rakefile +31 -0
- data/Versionfile +9 -0
- data/app/assets/javascripts/admin/spree_suppliers.js +1 -0
- data/app/assets/javascripts/invoice_items.js.coffee +3 -0
- data/app/assets/javascripts/store/spree_suppliers.js +1 -0
- data/app/assets/javascripts/supplier_invoices.js.coffee +3 -0
- data/app/assets/javascripts/suppliers.js.coffee +3 -0
- data/app/assets/stylesheets/admin/spree_suppliers.css +3 -0
- data/app/assets/stylesheets/invoice_items.css.scss +3 -0
- data/app/assets/stylesheets/store/spree_suppliers.css +3 -0
- data/app/assets/stylesheets/supplier_invoices.css.scss +3 -0
- data/app/assets/stylesheets/suppliers.css.scss +4 -0
- data/app/controllers/admin/supplier_taxons_controller.rb +61 -0
- data/app/controllers/admin/suppliers_controller.rb +127 -0
- data/app/controllers/admin/vendor_overview_controller.rb +18 -0
- data/app/controllers/invoice_items_controller.rb +2 -0
- data/app/controllers/supplier_invoices_controller.rb +2 -0
- data/app/controllers/suppliers_controller.rb +15 -0
- data/app/models/invoice_item.rb +4 -0
- data/app/models/supplier.rb +8 -0
- data/app/models/supplier_invoice.rb +4 -0
- data/app/overrides/admin.rb +5 -0
- data/app/views/admin/orders/show.html.erb +34 -0
- data/app/views/admin/orders/user.html.erb +19 -0
- data/app/views/admin/products/_form.html.erb +114 -0
- data/app/views/admin/products/_suppliers_form.html.erb +4 -0
- data/app/views/admin/shared/_order_tabs_decide.html.erb +5 -0
- data/app/views/admin/shared/_vendor_order_tabs.html.erb +39 -0
- data/app/views/admin/supplier_taxons/_form.html.erb +23 -0
- data/app/views/admin/supplier_taxons/_taxon_table.html.erb +23 -0
- data/app/views/admin/supplier_taxons/available.js.erb +33 -0
- data/app/views/admin/supplier_taxons/edit.html.erb +11 -0
- data/app/views/admin/supplier_taxons/remove.html.erb +1 -0
- data/app/views/admin/supplier_taxons/select.js.erb +2 -0
- data/app/views/admin/supplier_taxons/selected.html.erb +18 -0
- data/app/views/admin/suppliers/_edit_form.html.erb +75 -0
- data/app/views/admin/suppliers/_edit_hours_form.html.erb +18 -0
- data/app/views/admin/suppliers/_form.html.erb +60 -0
- data/app/views/admin/suppliers/_hours_form.html.erb +11 -0
- data/app/views/admin/suppliers/_image_form.html.erb +11 -0
- data/app/views/admin/suppliers/_supplier.html.erb +24 -0
- data/app/views/admin/suppliers/_supplier_tabs.html.erb +12 -0
- data/app/views/admin/suppliers/_suppliers_table.html.erb +25 -0
- data/app/views/admin/suppliers/_upload_image.html.erb +14 -0
- data/app/views/admin/suppliers/available.js.erb +34 -0
- data/app/views/admin/suppliers/edit.html.erb +13 -0
- data/app/views/admin/suppliers/index.html.erb +97 -0
- data/app/views/admin/suppliers/line_items.html.erb +20 -0
- data/app/views/admin/suppliers/new.html.erb +13 -0
- data/app/views/admin/suppliers/remove.html.erb +1 -0
- data/app/views/admin/suppliers/select.html.erb +1 -0
- data/app/views/admin/suppliers/selected.html.erb +40 -0
- data/app/views/admin/suppliers/show.html.erb +2 -0
- data/app/views/admin/vendor_overview/index.html.erb +1 -0
- data/app/views/shared/_supplier_invoices.html.erb +47 -0
- data/app/views/suppliers/_supplier.html.erb +7 -0
- data/app/views/suppliers/_supplier_list.erb +13 -0
- data/app/views/suppliers/index.html.erb +13 -0
- data/app/views/suppliers/show.html.erb +11 -0
- data/app/views/suppliers/supplier_list.erb +11 -0
- data/config/routes.rb +37 -0
- data/db/migrate/20120131160039_create_suppliers.rb +8 -0
- data/db/migrate/20120131160855_add_fields_to_suppliers.rb +16 -0
- data/db/migrate/20120131161247_create_supplier_invoices.rb +12 -0
- data/db/migrate/20120131161610_create_invoice_items.rb +12 -0
- data/db/migrate/20120201160616_create_suppliers_taxons.rb +16 -0
- data/db/migrate/20120201170705_add_supplier_id_to_products.rb +5 -0
- data/db/seeds.rb +143 -0
- data/db/seeds/images/apple.gif +0 -0
- data/db/seeds/images/apple.jpg +0 -0
- data/db/seeds/images/banana.jpg +0 -0
- data/db/seeds/images/blueberry.jpg +0 -0
- data/db/seeds/images/cherries.jpg +0 -0
- data/db/seeds/images/chicken.jpg +0 -0
- data/db/seeds/images/cow.jpg +0 -0
- data/db/seeds/images/flower.jpg +0 -0
- data/db/seeds/images/goat.jpg +0 -0
- data/db/seeds/images/grapes.jpg +0 -0
- data/db/seeds/images/greenapple.jpg +0 -0
- data/db/seeds/images/greenbeans.jpg +0 -0
- data/db/seeds/images/indie_candy.jpg +0 -0
- data/db/seeds/images/orange.jpg +0 -0
- data/db/seeds/images/squash.jpg +0 -0
- data/db/seeds/images/stock_user.jpg +0 -0
- data/db/seeds/images/strawberry.jpg +0 -0
- data/db/seeds/images/watermelon.jpg +0 -0
- data/lib/generators/spree_suppliers/install/install_generator.rb +31 -0
- data/lib/spree_suppliers.rb +192 -0
- data/lib/spree_suppliers/engine.rb +24 -0
- data/lib/spree_suppliers_hooks.rb +19 -0
- data/script/rails +7 -0
- data/spec/spec_helper.rb +31 -0
- data/spree_suppliers.gemspec +24 -0
- data/test/fixtures/.gitkeep +0 -0
- data/test/fixtures/invoice_items.yml +13 -0
- data/test/fixtures/supplier_invoices.yml +13 -0
- data/test/fixtures/suppliers.yml +11 -0
- data/test/functional/.gitkeep +0 -0
- data/test/functional/invoice_items_controller_test.rb +7 -0
- data/test/functional/supplier_invoices_controller_test.rb +7 -0
- data/test/functional/suppliers_controller_test.rb +7 -0
- data/test/integration/.gitkeep +0 -0
- data/test/performance/browsing_test.rb +12 -0
- data/test/test_helper.rb +13 -0
- data/test/unit/helpers/invoice_items_helper_test.rb +4 -0
- data/test/unit/helpers/supplier_invoices_helper_test.rb +4 -0
- data/test/unit/helpers/suppliers_helper_test.rb +4 -0
- data/test/unit/invoice_item_test.rb +7 -0
- data/test/unit/supplier_invoice_test.rb +7 -0
- data/test/unit/supplier_test.rb +7 -0
- metadata +156 -37
@@ -0,0 +1,24 @@
|
|
1
|
+
module SpreeSupplier
|
2
|
+
class Engine < Rails::Engine
|
3
|
+
engine_name 'spree_suppliers'
|
4
|
+
|
5
|
+
config.autoload_paths += %W(#{config.root}/lib)
|
6
|
+
|
7
|
+
# use rspec for tests
|
8
|
+
config.generators do |g|
|
9
|
+
g.test_framework :rspec
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.activate
|
13
|
+
Dir.glob(File.join(File.dirname(__FILE__), "../../app/**/*_decorator*.rb")) do |c|
|
14
|
+
Rails.application.config.cache_classes ? require(c) : load(c)
|
15
|
+
end
|
16
|
+
|
17
|
+
Dir.glob(File.join(File.dirname(__FILE__), "../../app/overrides/*.rb")) do |c|
|
18
|
+
Rails.application.config.cache_classes ? require(c) : load(c)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
config.to_prepare &method(:activate).to_proc
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
class SpreeSuppliersHooks < Spree::ThemeSupport::HookListener
|
2
|
+
insert_below :admin_tabs do
|
3
|
+
%(<%= tab(:suppliers) %>)
|
4
|
+
end
|
5
|
+
|
6
|
+
insert_after :admin_configuration_menu do
|
7
|
+
%(<tr><td><%= link_to t("Suppliers"), admin_suppliers_url %><td><td><%= t("Suppliers_description") %></td></tr>)
|
8
|
+
end
|
9
|
+
|
10
|
+
# Add on_hand field to admin/products listing
|
11
|
+
insert_after :admin_products_index_headers do
|
12
|
+
%(<th><%= sort_link @search, :count_on_hand, t("count_on_hand") %></th>)
|
13
|
+
end
|
14
|
+
|
15
|
+
insert_after :admin_products_index_rows do
|
16
|
+
%(<td><%= product.count_on_hand %></td>)
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
data/script/rails
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
|
5
|
+
ENGINE_PATH = File.expand_path('../..', __FILE__)
|
6
|
+
load File.expand_path('../../spec/dummy/script/rails', __FILE__)
|
7
|
+
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
|
5
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
6
|
+
|
7
|
+
|
8
|
+
require 'rspec/rails'
|
9
|
+
|
10
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
11
|
+
# in spec/support/ and its subdirectories.
|
12
|
+
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
|
13
|
+
|
14
|
+
RSpec.configure do |config|
|
15
|
+
# == Mock Framework
|
16
|
+
#
|
17
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
18
|
+
#
|
19
|
+
# config.mock_with :mocha
|
20
|
+
# config.mock_with :flexmock
|
21
|
+
# config.mock_with :rr
|
22
|
+
config.mock_with :rspec
|
23
|
+
|
24
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
25
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
26
|
+
|
27
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
28
|
+
# examples within a transaction, remove the following line or assign false
|
29
|
+
# instead of true.
|
30
|
+
config.use_transactional_fixtures = true
|
31
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
Gem::Specification.new do |s|
|
3
|
+
s.platform = Gem::Platform::RUBY
|
4
|
+
s.name = 'spree_suppliers'
|
5
|
+
s.version = '1.0.1'
|
6
|
+
s.summary = 'This gem adds multiple suppliers to spree, with the ability to associate products with suppliers. Suppliers can be managed from the Admin interface.'
|
7
|
+
s.description = 'This gem (spree extension) provides support for multiple suppliers in one store. Products should be assigned to the supplier that they belong to, which allows you to select a supplier and view only their products. Orders are also broken up into supplier invoices (one for each different supplier in the order), which list only the products that were purchased from that supplier. A mailer is in place to send each supplier their unique invoice descrbing what products they have sold and to who. The spree order mailer has also been modified to show all of the supplier invoices to the customer, along with the standard spree order number and info. Suppliers can be associated with Taxons that allow the customer to search for suppliers by taxon. The checkout process is combined so the customer only makes one transaction - the transaction can then be divided up amongst the suppliers involved in the transaction, according to the supplier_invoices. There is also an option for the site administrator to charge a percentage fee on each transaction to suppliers (this is currently set to 0%, but can be changed).'
|
8
|
+
|
9
|
+
s.required_ruby_version = '>= 1.9.2'
|
10
|
+
|
11
|
+
s.author = 'JD Warren and Han Dao'
|
12
|
+
s.email = 'jd@isotope11.com'
|
13
|
+
s.homepage = 'http://github.com/johndavid400/spree_suppliers'
|
14
|
+
s.rubyforge_project = 'spree_suppliers'
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.require_path = 'lib'
|
19
|
+
s.requirements << 'none'
|
20
|
+
|
21
|
+
s.add_dependency 'spree_core', '>= 0.70.3'
|
22
|
+
s.add_development_dependency 'rspec-rails'
|
23
|
+
end
|
24
|
+
|
File without changes
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
File without changes
|
File without changes
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require 'rails/performance_test_help'
|
3
|
+
|
4
|
+
class BrowsingTest < ActionDispatch::PerformanceTest
|
5
|
+
# Refer to the documentation for all available options
|
6
|
+
# self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
|
7
|
+
# :output => 'tmp/performance', :formats => [:flat] }
|
8
|
+
|
9
|
+
def test_homepage
|
10
|
+
get '/'
|
11
|
+
end
|
12
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
7
|
+
#
|
8
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
9
|
+
# -- they do not yet inherit this setting
|
10
|
+
fixtures :all
|
11
|
+
|
12
|
+
# Add more helper methods to be used by all tests here...
|
13
|
+
end
|
metadata
CHANGED
@@ -1,68 +1,187 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_suppliers
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 1.0.1
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- JD Warren and Han Dao
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
|
13
|
+
date: 2012-02-06 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
15
16
|
name: spree_core
|
16
|
-
|
17
|
+
prerelease: false
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
19
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
21
23
|
version: 0.70.3
|
22
24
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
25
|
+
version_requirements: *id001
|
26
|
+
- !ruby/object:Gem::Dependency
|
26
27
|
name: rspec-rails
|
27
|
-
|
28
|
+
prerelease: false
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
30
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version:
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "0"
|
33
35
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
description: Add (optional) gem description here
|
36
|
+
version_requirements: *id002
|
37
|
+
description: This gem (spree extension) provides support for multiple suppliers in one store. Products should be assigned to the supplier that they belong to, which allows you to select a supplier and view only their products. Orders are also broken up into supplier invoices (one for each different supplier in the order), which list only the products that were purchased from that supplier. A mailer is in place to send each supplier their unique invoice descrbing what products they have sold and to who. The spree order mailer has also been modified to show all of the supplier invoices to the customer, along with the standard spree order number and info. Suppliers can be associated with Taxons that allow the customer to search for suppliers by taxon. The checkout process is combined so the customer only makes one transaction - the transaction can then be divided up amongst the suppliers involved in the transaction, according to the supplier_invoices. There is also an option for the site administrator to charge a percentage fee on each transaction to suppliers (this is currently set to 0%, but can be changed).
|
37
38
|
email: jd@isotope11.com
|
38
39
|
executables: []
|
40
|
+
|
39
41
|
extensions: []
|
42
|
+
|
40
43
|
extra_rdoc_files: []
|
41
|
-
|
44
|
+
|
45
|
+
files:
|
46
|
+
- Gemfile
|
47
|
+
- LICENSE
|
48
|
+
- README.md
|
49
|
+
- Rakefile
|
50
|
+
- Versionfile
|
51
|
+
- app/assets/javascripts/admin/spree_suppliers.js
|
52
|
+
- app/assets/javascripts/invoice_items.js.coffee
|
53
|
+
- app/assets/javascripts/store/spree_suppliers.js
|
54
|
+
- app/assets/javascripts/supplier_invoices.js.coffee
|
55
|
+
- app/assets/javascripts/suppliers.js.coffee
|
56
|
+
- app/assets/stylesheets/admin/spree_suppliers.css
|
57
|
+
- app/assets/stylesheets/invoice_items.css.scss
|
58
|
+
- app/assets/stylesheets/store/spree_suppliers.css
|
59
|
+
- app/assets/stylesheets/supplier_invoices.css.scss
|
60
|
+
- app/assets/stylesheets/suppliers.css.scss
|
61
|
+
- app/controllers/admin/supplier_taxons_controller.rb
|
62
|
+
- app/controllers/admin/suppliers_controller.rb
|
63
|
+
- app/controllers/admin/vendor_overview_controller.rb
|
64
|
+
- app/controllers/invoice_items_controller.rb
|
65
|
+
- app/controllers/supplier_invoices_controller.rb
|
66
|
+
- app/controllers/suppliers_controller.rb
|
67
|
+
- app/models/invoice_item.rb
|
68
|
+
- app/models/supplier.rb
|
69
|
+
- app/models/supplier_invoice.rb
|
70
|
+
- app/overrides/admin.rb
|
71
|
+
- app/views/admin/orders/show.html.erb
|
72
|
+
- app/views/admin/orders/user.html.erb
|
73
|
+
- app/views/admin/products/_form.html.erb
|
74
|
+
- app/views/admin/products/_suppliers_form.html.erb
|
75
|
+
- app/views/admin/shared/_order_tabs_decide.html.erb
|
76
|
+
- app/views/admin/shared/_vendor_order_tabs.html.erb
|
77
|
+
- app/views/admin/supplier_taxons/_form.html.erb
|
78
|
+
- app/views/admin/supplier_taxons/_taxon_table.html.erb
|
79
|
+
- app/views/admin/supplier_taxons/available.js.erb
|
80
|
+
- app/views/admin/supplier_taxons/edit.html.erb
|
81
|
+
- app/views/admin/supplier_taxons/remove.html.erb
|
82
|
+
- app/views/admin/supplier_taxons/select.js.erb
|
83
|
+
- app/views/admin/supplier_taxons/selected.html.erb
|
84
|
+
- app/views/admin/suppliers/_edit_form.html.erb
|
85
|
+
- app/views/admin/suppliers/_edit_hours_form.html.erb
|
86
|
+
- app/views/admin/suppliers/_form.html.erb
|
87
|
+
- app/views/admin/suppliers/_hours_form.html.erb
|
88
|
+
- app/views/admin/suppliers/_image_form.html.erb
|
89
|
+
- app/views/admin/suppliers/_supplier.html.erb
|
90
|
+
- app/views/admin/suppliers/_supplier_tabs.html.erb
|
91
|
+
- app/views/admin/suppliers/_suppliers_table.html.erb
|
92
|
+
- app/views/admin/suppliers/_upload_image.html.erb
|
93
|
+
- app/views/admin/suppliers/available.js.erb
|
94
|
+
- app/views/admin/suppliers/edit.html.erb
|
95
|
+
- app/views/admin/suppliers/index.html.erb
|
96
|
+
- app/views/admin/suppliers/line_items.html.erb
|
97
|
+
- app/views/admin/suppliers/new.html.erb
|
98
|
+
- app/views/admin/suppliers/remove.html.erb
|
99
|
+
- app/views/admin/suppliers/select.html.erb
|
100
|
+
- app/views/admin/suppliers/selected.html.erb
|
101
|
+
- app/views/admin/suppliers/show.html.erb
|
102
|
+
- app/views/admin/vendor_overview/index.html.erb
|
103
|
+
- app/views/shared/_supplier_invoices.html.erb
|
104
|
+
- app/views/suppliers/_supplier.html.erb
|
105
|
+
- app/views/suppliers/_supplier_list.erb
|
106
|
+
- app/views/suppliers/index.html.erb
|
107
|
+
- app/views/suppliers/show.html.erb
|
108
|
+
- app/views/suppliers/supplier_list.erb
|
109
|
+
- config/routes.rb
|
110
|
+
- db/migrate/20120131160039_create_suppliers.rb
|
111
|
+
- db/migrate/20120131160855_add_fields_to_suppliers.rb
|
112
|
+
- db/migrate/20120131161247_create_supplier_invoices.rb
|
113
|
+
- db/migrate/20120131161610_create_invoice_items.rb
|
114
|
+
- db/migrate/20120201160616_create_suppliers_taxons.rb
|
115
|
+
- db/migrate/20120201170705_add_supplier_id_to_products.rb
|
116
|
+
- db/seeds.rb
|
117
|
+
- db/seeds/images/apple.gif
|
118
|
+
- db/seeds/images/apple.jpg
|
119
|
+
- db/seeds/images/banana.jpg
|
120
|
+
- db/seeds/images/blueberry.jpg
|
121
|
+
- db/seeds/images/cherries.jpg
|
122
|
+
- db/seeds/images/chicken.jpg
|
123
|
+
- db/seeds/images/cow.jpg
|
124
|
+
- db/seeds/images/flower.jpg
|
125
|
+
- db/seeds/images/goat.jpg
|
126
|
+
- db/seeds/images/grapes.jpg
|
127
|
+
- db/seeds/images/greenapple.jpg
|
128
|
+
- db/seeds/images/greenbeans.jpg
|
129
|
+
- db/seeds/images/indie_candy.jpg
|
130
|
+
- db/seeds/images/orange.jpg
|
131
|
+
- db/seeds/images/squash.jpg
|
132
|
+
- db/seeds/images/stock_user.jpg
|
133
|
+
- db/seeds/images/strawberry.jpg
|
134
|
+
- db/seeds/images/watermelon.jpg
|
135
|
+
- lib/generators/spree_suppliers/install/install_generator.rb
|
136
|
+
- lib/spree_suppliers.rb
|
137
|
+
- lib/spree_suppliers/engine.rb
|
138
|
+
- lib/spree_suppliers_hooks.rb
|
139
|
+
- script/rails
|
140
|
+
- spec/spec_helper.rb
|
141
|
+
- spree_suppliers.gemspec
|
142
|
+
- test/fixtures/.gitkeep
|
143
|
+
- test/fixtures/invoice_items.yml
|
144
|
+
- test/fixtures/supplier_invoices.yml
|
145
|
+
- test/fixtures/suppliers.yml
|
146
|
+
- test/functional/.gitkeep
|
147
|
+
- test/functional/invoice_items_controller_test.rb
|
148
|
+
- test/functional/supplier_invoices_controller_test.rb
|
149
|
+
- test/functional/suppliers_controller_test.rb
|
150
|
+
- test/integration/.gitkeep
|
151
|
+
- test/performance/browsing_test.rb
|
152
|
+
- test/test_helper.rb
|
153
|
+
- test/unit/helpers/invoice_items_helper_test.rb
|
154
|
+
- test/unit/helpers/supplier_invoices_helper_test.rb
|
155
|
+
- test/unit/helpers/suppliers_helper_test.rb
|
156
|
+
- test/unit/invoice_item_test.rb
|
157
|
+
- test/unit/supplier_invoice_test.rb
|
158
|
+
- test/unit/supplier_test.rb
|
42
159
|
homepage: http://github.com/johndavid400/spree_suppliers
|
43
160
|
licenses: []
|
161
|
+
|
44
162
|
post_install_message:
|
45
163
|
rdoc_options: []
|
46
|
-
|
164
|
+
|
165
|
+
require_paths:
|
47
166
|
- lib
|
48
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
167
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
49
168
|
none: false
|
50
|
-
requirements:
|
51
|
-
- -
|
52
|
-
- !ruby/object:Gem::Version
|
169
|
+
requirements:
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
53
172
|
version: 1.9.2
|
54
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
173
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
174
|
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version:
|
60
|
-
requirements:
|
175
|
+
requirements:
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: "0"
|
179
|
+
requirements:
|
61
180
|
- none
|
62
181
|
rubyforge_project: spree_suppliers
|
63
|
-
rubygems_version: 1.8.
|
182
|
+
rubygems_version: 1.8.12
|
64
183
|
signing_key:
|
65
184
|
specification_version: 3
|
66
|
-
summary: This gem adds multiple suppliers to spree, with the ability to associate
|
67
|
-
products with suppliers. Suppliers can be managed from the Admin interface.
|
185
|
+
summary: This gem adds multiple suppliers to spree, with the ability to associate products with suppliers. Suppliers can be managed from the Admin interface.
|
68
186
|
test_files: []
|
187
|
+
|