trollied 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/LICENSE +294 -0
- data/README.rdoc +96 -0
- data/Rakefile +55 -0
- data/VERSION +1 -0
- data/app/controllers/line_items_controller.rb +168 -0
- data/app/controllers/notes_controller.rb +121 -0
- data/app/controllers/orders_controller.rb +210 -0
- data/app/controllers/trolleys_controller.rb +26 -0
- data/app/helpers/gets_trollied_helper.rb +31 -0
- data/app/helpers/line_items_helper.rb +5 -0
- data/app/helpers/orders_helper.rb +184 -0
- data/app/models/line_item.rb +14 -0
- data/app/models/note.rb +15 -0
- data/app/models/order.rb +29 -0
- data/app/models/trolley.rb +51 -0
- data/app/views/line_items/_form.html.erb +8 -0
- data/app/views/line_items/_line_item.html.erb +12 -0
- data/app/views/line_items/new.html.erb +11 -0
- data/app/views/notes/_form.html.erb +7 -0
- data/app/views/notes/_new.html.erb +14 -0
- data/app/views/notes/_note.html.erb +4 -0
- data/app/views/notes/index.html.erb +13 -0
- data/app/views/notes/new.html.erb +5 -0
- data/app/views/orders/_date_pickers.html.erb +15 -0
- data/app/views/orders/_order.html.erb +53 -0
- data/app/views/orders/index.html.erb +22 -0
- data/app/views/orders/show.html.erb +14 -0
- data/app/views/trolleys/_orders.html.erb +13 -0
- data/app/views/trolleys/show.html.erb +16 -0
- data/config/locales/en.yml +115 -0
- data/config/routes.rb +8 -0
- data/generators/trollied_migrations/USAGE +2 -0
- data/generators/trollied_migrations/templates/line_items_migration.rb +16 -0
- data/generators/trollied_migrations/templates/notes_migration.rb +15 -0
- data/generators/trollied_migrations/templates/orders_migration.rb +15 -0
- data/generators/trollied_migrations/templates/trolleys_migration.rb +14 -0
- data/generators/trollied_migrations/trollied_migrations_generator.rb +13 -0
- data/lib/gets_trollied.rb +38 -0
- data/lib/gets_trollied_controller_helpers.rb +29 -0
- data/lib/has_trolley.rb +42 -0
- data/lib/has_trolley_controller_helpers.rb +43 -0
- data/lib/order_status.rb +121 -0
- data/lib/trollied.rb +5 -0
- data/rails/init.rb +10 -0
- data/test/full_2_3_5_app_with_tests/.gitignore +27 -0
- data/test/full_2_3_5_app_with_tests/README +1 -0
- data/test/full_2_3_5_app_with_tests/Rakefile +10 -0
- data/test/full_2_3_5_app_with_tests/app/controllers/application_controller.rb +14 -0
- data/test/full_2_3_5_app_with_tests/app/controllers/items_controller.rb +85 -0
- data/test/full_2_3_5_app_with_tests/app/controllers/user_controller.rb +2 -0
- data/test/full_2_3_5_app_with_tests/app/helpers/application_helper.rb +3 -0
- data/test/full_2_3_5_app_with_tests/app/helpers/items_helper.rb +2 -0
- data/test/full_2_3_5_app_with_tests/app/helpers/user_helper.rb +2 -0
- data/test/full_2_3_5_app_with_tests/app/models/item.rb +4 -0
- data/test/full_2_3_5_app_with_tests/app/models/user.rb +3 -0
- data/test/full_2_3_5_app_with_tests/app/views/items/edit.html.erb +20 -0
- data/test/full_2_3_5_app_with_tests/app/views/items/index.html.erb +22 -0
- data/test/full_2_3_5_app_with_tests/app/views/items/new.html.erb +19 -0
- data/test/full_2_3_5_app_with_tests/app/views/items/show.html.erb +13 -0
- data/test/full_2_3_5_app_with_tests/app/views/layouts/application.html.erb +19 -0
- data/test/full_2_3_5_app_with_tests/app/views/layouts/items.html.erb +19 -0
- data/test/full_2_3_5_app_with_tests/config/boot.rb +110 -0
- data/test/full_2_3_5_app_with_tests/config/database.yml +22 -0
- data/test/full_2_3_5_app_with_tests/config/environment.rb +57 -0
- data/test/full_2_3_5_app_with_tests/config/environments/development.rb +17 -0
- data/test/full_2_3_5_app_with_tests/config/environments/production.rb +28 -0
- data/test/full_2_3_5_app_with_tests/config/environments/test.rb +28 -0
- data/test/full_2_3_5_app_with_tests/config/initializers/backtrace_silencers.rb +7 -0
- data/test/full_2_3_5_app_with_tests/config/initializers/inflections.rb +10 -0
- data/test/full_2_3_5_app_with_tests/config/initializers/mime_types.rb +5 -0
- data/test/full_2_3_5_app_with_tests/config/initializers/new_rails_defaults.rb +21 -0
- data/test/full_2_3_5_app_with_tests/config/initializers/session_store.rb +15 -0
- data/test/full_2_3_5_app_with_tests/config/locales/en.yml +4 -0
- data/test/full_2_3_5_app_with_tests/config/locales/fr.yml +4 -0
- data/test/full_2_3_5_app_with_tests/config/locales/zh.yml +4 -0
- data/test/full_2_3_5_app_with_tests/config/locales.yml +5 -0
- data/test/full_2_3_5_app_with_tests/config/routes.rb +8 -0
- data/test/full_2_3_5_app_with_tests/config.ru +6 -0
- data/test/full_2_3_5_app_with_tests/db/migrate/20100407010602_create_items.rb +13 -0
- data/test/full_2_3_5_app_with_tests/db/migrate/20110426030509_create_users.rb +13 -0
- data/test/full_2_3_5_app_with_tests/db/migrate/20110426033906_create_trolleys.rb +14 -0
- data/test/full_2_3_5_app_with_tests/db/migrate/20110426033907_create_orders.rb +15 -0
- data/test/full_2_3_5_app_with_tests/db/migrate/20110426033908_create_line_items.rb +16 -0
- data/test/full_2_3_5_app_with_tests/db/migrate/20110615234040_create_notes.rb +15 -0
- data/test/full_2_3_5_app_with_tests/db/schema.rb +56 -0
- data/test/full_2_3_5_app_with_tests/db/seeds.rb +7 -0
- data/test/full_2_3_5_app_with_tests/doc/README_FOR_APP +2 -0
- data/test/full_2_3_5_app_with_tests/public/404.html +30 -0
- data/test/full_2_3_5_app_with_tests/public/422.html +30 -0
- data/test/full_2_3_5_app_with_tests/public/500.html +30 -0
- data/test/full_2_3_5_app_with_tests/public/favicon.ico +0 -0
- data/test/full_2_3_5_app_with_tests/public/images/rails.png +0 -0
- data/test/full_2_3_5_app_with_tests/public/index.html +275 -0
- data/test/full_2_3_5_app_with_tests/public/javascripts/application.js +2 -0
- data/test/full_2_3_5_app_with_tests/public/javascripts/controls.js +963 -0
- data/test/full_2_3_5_app_with_tests/public/javascripts/dragdrop.js +973 -0
- data/test/full_2_3_5_app_with_tests/public/javascripts/effects.js +1128 -0
- data/test/full_2_3_5_app_with_tests/public/javascripts/prototype.js +4320 -0
- data/test/full_2_3_5_app_with_tests/public/robots.txt +5 -0
- data/test/full_2_3_5_app_with_tests/public/stylesheets/scaffold.css +54 -0
- data/test/full_2_3_5_app_with_tests/script/about +4 -0
- data/test/full_2_3_5_app_with_tests/script/console +3 -0
- data/test/full_2_3_5_app_with_tests/script/dbconsole +3 -0
- data/test/full_2_3_5_app_with_tests/script/destroy +3 -0
- data/test/full_2_3_5_app_with_tests/script/generate +3 -0
- data/test/full_2_3_5_app_with_tests/script/performance/benchmarker +3 -0
- data/test/full_2_3_5_app_with_tests/script/performance/profiler +3 -0
- data/test/full_2_3_5_app_with_tests/script/plugin +3 -0
- data/test/full_2_3_5_app_with_tests/script/runner +3 -0
- data/test/full_2_3_5_app_with_tests/script/server +3 -0
- data/test/full_2_3_5_app_with_tests/test/factories.rb +22 -0
- data/test/full_2_3_5_app_with_tests/test/functional/line_items_controller_test.rb +69 -0
- data/test/full_2_3_5_app_with_tests/test/functional/orders_controller_test.rb +75 -0
- data/test/full_2_3_5_app_with_tests/test/integration/gets_trollied_test.rb +38 -0
- data/test/full_2_3_5_app_with_tests/test/integration/order_test.rb +79 -0
- data/test/full_2_3_5_app_with_tests/test/integration/trolley_test.rb +71 -0
- data/test/full_2_3_5_app_with_tests/test/performance/browsing_test.rb +9 -0
- data/test/full_2_3_5_app_with_tests/test/selenium.rb +83 -0
- data/test/full_2_3_5_app_with_tests/test/test_helper.rb +54 -0
- data/test/full_2_3_5_app_with_tests/test/unit/gets_trollied_test.rb +29 -0
- data/test/full_2_3_5_app_with_tests/test/unit/helpers/gets_trollied_helper_test.rb +75 -0
- data/test/full_2_3_5_app_with_tests/test/unit/helpers/orders_helper_test.rb +34 -0
- data/test/full_2_3_5_app_with_tests/test/unit/line_item_test.rb +28 -0
- data/test/full_2_3_5_app_with_tests/test/unit/note_test.rb +14 -0
- data/test/full_2_3_5_app_with_tests/test/unit/order_test.rb +65 -0
- data/test/full_2_3_5_app_with_tests/test/unit/trolley_test.rb +80 -0
- data/test/full_2_3_5_app_with_tests/tmp/restart.txt +0 -0
- data/test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/init.rb +1 -0
- data/test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/base.rb +31 -0
- data/test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/force_extension.rb +57 -0
- data/test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/locale.rb +70 -0
- data/test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/pagination.rb +33 -0
- data/test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/uuid_token.rb +78 -0
- data/test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter.rb +94 -0
- data/test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/force_extension_spec.rb +65 -0
- data/test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/generation_spec.rb +367 -0
- data/test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/pagination_extension_spec.rb +19 -0
- data/test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/recognition_spec.rb +76 -0
- data/test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/routing_filter_spec.rb +114 -0
- data/test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/spec_helper.rb +108 -0
- data/test/helper.rb +10 -0
- metadata +345 -0
@@ -0,0 +1,108 @@
|
|
1
|
+
$: << File.dirname(__FILE__)
|
2
|
+
$: << File.dirname(__FILE__) + '/../lib/'
|
3
|
+
|
4
|
+
require 'rubygems'
|
5
|
+
require 'action_pack'
|
6
|
+
require 'active_support'
|
7
|
+
require 'action_controller'
|
8
|
+
require 'action_controller/test_process'
|
9
|
+
require 'active_support/vendor'
|
10
|
+
require 'spec'
|
11
|
+
|
12
|
+
require 'routing_filter'
|
13
|
+
require 'routing_filter/locale'
|
14
|
+
require 'routing_filter/pagination'
|
15
|
+
|
16
|
+
class Site
|
17
|
+
end
|
18
|
+
|
19
|
+
class Section
|
20
|
+
def id; 1 end
|
21
|
+
alias :to_param :id
|
22
|
+
def type; 'Section' end
|
23
|
+
def path; 'section' end
|
24
|
+
end
|
25
|
+
|
26
|
+
class Article
|
27
|
+
def to_param; 1 end
|
28
|
+
end
|
29
|
+
|
30
|
+
module RoutingFilterHelpers
|
31
|
+
def draw_routes(&block)
|
32
|
+
set = returning ActionController::Routing::RouteSet.new do |set|
|
33
|
+
class << set; def clear!; end; end
|
34
|
+
set.draw &block
|
35
|
+
silence_warnings{ ActionController::Routing.const_set 'Routes', set }
|
36
|
+
end
|
37
|
+
set
|
38
|
+
end
|
39
|
+
|
40
|
+
def instantiate_controller(params)
|
41
|
+
returning ActionController::Base.new do |controller|
|
42
|
+
request = ActionController::TestRequest.new
|
43
|
+
url = ActionController::UrlRewriter.new(request, params)
|
44
|
+
controller.stub!(:request).and_return request
|
45
|
+
controller.instance_variable_set :@url, url
|
46
|
+
controller
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
def should_recognize_path(path, params)
|
51
|
+
@set.recognize_path(path, {}).should == params
|
52
|
+
end
|
53
|
+
|
54
|
+
def home_path(*args)
|
55
|
+
@controller.send :home_path, *args
|
56
|
+
end
|
57
|
+
|
58
|
+
def home_url(*args)
|
59
|
+
@controller.send :home_url, *args
|
60
|
+
end
|
61
|
+
|
62
|
+
def section_path(*args)
|
63
|
+
@controller.send :section_path, *args
|
64
|
+
end
|
65
|
+
|
66
|
+
def section_article_path(*args)
|
67
|
+
@controller.send :section_article_path, *args
|
68
|
+
end
|
69
|
+
|
70
|
+
def admin_articles_path(*args)
|
71
|
+
@controller.send :admin_articles_path, *args
|
72
|
+
end
|
73
|
+
|
74
|
+
def url_for(*args)
|
75
|
+
@controller.send :url_for, *args
|
76
|
+
end
|
77
|
+
|
78
|
+
def setup_environment(*filters)
|
79
|
+
RoutingFilter::Locale.locales = [:en, 'en-US', :de, :fi, 'en-UK']
|
80
|
+
RoutingFilter::Locale.include_default_locale = true
|
81
|
+
I18n.default_locale = :en
|
82
|
+
I18n.locale = :en
|
83
|
+
|
84
|
+
@controller = instantiate_controller :locale => 'de', :id => 1
|
85
|
+
@set = draw_routes do |map|
|
86
|
+
yield map if block_given?
|
87
|
+
filters.each { |filter| map.filter filter }
|
88
|
+
map.section 'sections/:id.:format', :controller => 'sections', :action => "show"
|
89
|
+
map.section_article 'sections/:section_id/articles/:id', :controller => 'articles', :action => "show"
|
90
|
+
map.admin_articles 'admin/articles/:id', :controller => 'admin/articles', :action => "index"
|
91
|
+
map.home '/', :controller => 'home', :action => 'index'
|
92
|
+
end
|
93
|
+
|
94
|
+
@section_params = {:controller => 'sections', :action => "show", :id => "1"}
|
95
|
+
@article_params = {:controller => 'articles', :action => "show", :section_id => "1", :id => "1"}
|
96
|
+
@locale_filter = @set.filters.first
|
97
|
+
@pagination_filter = @set.filters.last
|
98
|
+
end
|
99
|
+
|
100
|
+
def with_deactivated_filters(*filters, &block)
|
101
|
+
states = filters.inject({}) do |states, filter|
|
102
|
+
states[filter], filter.active = filter.active, false
|
103
|
+
states
|
104
|
+
end
|
105
|
+
yield
|
106
|
+
states.each { |filter, state| filter.active = state }
|
107
|
+
end
|
108
|
+
end
|
data/test/helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,345 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: trollied
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Walter McGinnis
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-06-28 00:00:00 +12:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: workflow
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 63
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 8
|
33
|
+
- 0
|
34
|
+
version: 0.8.0
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: will_paginate
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - <=
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 29
|
46
|
+
segments:
|
47
|
+
- 2
|
48
|
+
- 3
|
49
|
+
- 15
|
50
|
+
version: 2.3.15
|
51
|
+
type: :runtime
|
52
|
+
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: shoulda
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 33
|
62
|
+
segments:
|
63
|
+
- 2
|
64
|
+
- 10
|
65
|
+
- 3
|
66
|
+
version: 2.10.3
|
67
|
+
type: :development
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: factory_girl
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - "="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 25
|
78
|
+
segments:
|
79
|
+
- 1
|
80
|
+
- 2
|
81
|
+
- 3
|
82
|
+
version: 1.2.3
|
83
|
+
type: :development
|
84
|
+
version_requirements: *id004
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: webrat
|
87
|
+
prerelease: false
|
88
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
hash: 13
|
94
|
+
segments:
|
95
|
+
- 0
|
96
|
+
- 5
|
97
|
+
- 3
|
98
|
+
version: 0.5.3
|
99
|
+
type: :development
|
100
|
+
version_requirements: *id005
|
101
|
+
description: Extendable Ruby on Rails engine for adding shopping cart functionality to a Rails application. It does not assume shipping, price, or having a quantity. However, it does allow for more than one order per user placed in a trolley. Meant to be well suited to ordering digital records.
|
102
|
+
email: walter@katipo.co.nz
|
103
|
+
executables: []
|
104
|
+
|
105
|
+
extensions: []
|
106
|
+
|
107
|
+
extra_rdoc_files:
|
108
|
+
- LICENSE
|
109
|
+
- README.rdoc
|
110
|
+
files:
|
111
|
+
- .document
|
112
|
+
- .gitignore
|
113
|
+
- LICENSE
|
114
|
+
- README.rdoc
|
115
|
+
- Rakefile
|
116
|
+
- VERSION
|
117
|
+
- app/controllers/line_items_controller.rb
|
118
|
+
- app/controllers/notes_controller.rb
|
119
|
+
- app/controllers/orders_controller.rb
|
120
|
+
- app/controllers/trolleys_controller.rb
|
121
|
+
- app/helpers/gets_trollied_helper.rb
|
122
|
+
- app/helpers/line_items_helper.rb
|
123
|
+
- app/helpers/orders_helper.rb
|
124
|
+
- app/models/line_item.rb
|
125
|
+
- app/models/note.rb
|
126
|
+
- app/models/order.rb
|
127
|
+
- app/models/trolley.rb
|
128
|
+
- app/views/line_items/_form.html.erb
|
129
|
+
- app/views/line_items/_line_item.html.erb
|
130
|
+
- app/views/line_items/new.html.erb
|
131
|
+
- app/views/notes/_form.html.erb
|
132
|
+
- app/views/notes/_new.html.erb
|
133
|
+
- app/views/notes/_note.html.erb
|
134
|
+
- app/views/notes/index.html.erb
|
135
|
+
- app/views/notes/new.html.erb
|
136
|
+
- app/views/orders/_date_pickers.html.erb
|
137
|
+
- app/views/orders/_order.html.erb
|
138
|
+
- app/views/orders/index.html.erb
|
139
|
+
- app/views/orders/show.html.erb
|
140
|
+
- app/views/trolleys/_orders.html.erb
|
141
|
+
- app/views/trolleys/show.html.erb
|
142
|
+
- config/locales/en.yml
|
143
|
+
- config/routes.rb
|
144
|
+
- generators/trollied_migrations/USAGE
|
145
|
+
- generators/trollied_migrations/templates/line_items_migration.rb
|
146
|
+
- generators/trollied_migrations/templates/notes_migration.rb
|
147
|
+
- generators/trollied_migrations/templates/orders_migration.rb
|
148
|
+
- generators/trollied_migrations/templates/trolleys_migration.rb
|
149
|
+
- generators/trollied_migrations/trollied_migrations_generator.rb
|
150
|
+
- lib/gets_trollied.rb
|
151
|
+
- lib/gets_trollied_controller_helpers.rb
|
152
|
+
- lib/has_trolley.rb
|
153
|
+
- lib/has_trolley_controller_helpers.rb
|
154
|
+
- lib/order_status.rb
|
155
|
+
- lib/trollied.rb
|
156
|
+
- rails/init.rb
|
157
|
+
- test/full_2_3_5_app_with_tests/.gitignore
|
158
|
+
- test/full_2_3_5_app_with_tests/README
|
159
|
+
- test/full_2_3_5_app_with_tests/Rakefile
|
160
|
+
- test/full_2_3_5_app_with_tests/app/controllers/application_controller.rb
|
161
|
+
- test/full_2_3_5_app_with_tests/app/controllers/items_controller.rb
|
162
|
+
- test/full_2_3_5_app_with_tests/app/controllers/user_controller.rb
|
163
|
+
- test/full_2_3_5_app_with_tests/app/helpers/application_helper.rb
|
164
|
+
- test/full_2_3_5_app_with_tests/app/helpers/items_helper.rb
|
165
|
+
- test/full_2_3_5_app_with_tests/app/helpers/user_helper.rb
|
166
|
+
- test/full_2_3_5_app_with_tests/app/models/item.rb
|
167
|
+
- test/full_2_3_5_app_with_tests/app/models/user.rb
|
168
|
+
- test/full_2_3_5_app_with_tests/app/views/items/edit.html.erb
|
169
|
+
- test/full_2_3_5_app_with_tests/app/views/items/index.html.erb
|
170
|
+
- test/full_2_3_5_app_with_tests/app/views/items/new.html.erb
|
171
|
+
- test/full_2_3_5_app_with_tests/app/views/items/show.html.erb
|
172
|
+
- test/full_2_3_5_app_with_tests/app/views/layouts/application.html.erb
|
173
|
+
- test/full_2_3_5_app_with_tests/app/views/layouts/items.html.erb
|
174
|
+
- test/full_2_3_5_app_with_tests/config.ru
|
175
|
+
- test/full_2_3_5_app_with_tests/config/boot.rb
|
176
|
+
- test/full_2_3_5_app_with_tests/config/database.yml
|
177
|
+
- test/full_2_3_5_app_with_tests/config/environment.rb
|
178
|
+
- test/full_2_3_5_app_with_tests/config/environments/development.rb
|
179
|
+
- test/full_2_3_5_app_with_tests/config/environments/production.rb
|
180
|
+
- test/full_2_3_5_app_with_tests/config/environments/test.rb
|
181
|
+
- test/full_2_3_5_app_with_tests/config/initializers/backtrace_silencers.rb
|
182
|
+
- test/full_2_3_5_app_with_tests/config/initializers/inflections.rb
|
183
|
+
- test/full_2_3_5_app_with_tests/config/initializers/mime_types.rb
|
184
|
+
- test/full_2_3_5_app_with_tests/config/initializers/new_rails_defaults.rb
|
185
|
+
- test/full_2_3_5_app_with_tests/config/initializers/session_store.rb
|
186
|
+
- test/full_2_3_5_app_with_tests/config/locales.yml
|
187
|
+
- test/full_2_3_5_app_with_tests/config/locales/en.yml
|
188
|
+
- test/full_2_3_5_app_with_tests/config/locales/fr.yml
|
189
|
+
- test/full_2_3_5_app_with_tests/config/locales/zh.yml
|
190
|
+
- test/full_2_3_5_app_with_tests/config/routes.rb
|
191
|
+
- test/full_2_3_5_app_with_tests/db/migrate/20100407010602_create_items.rb
|
192
|
+
- test/full_2_3_5_app_with_tests/db/migrate/20110426030509_create_users.rb
|
193
|
+
- test/full_2_3_5_app_with_tests/db/migrate/20110426033906_create_trolleys.rb
|
194
|
+
- test/full_2_3_5_app_with_tests/db/migrate/20110426033907_create_orders.rb
|
195
|
+
- test/full_2_3_5_app_with_tests/db/migrate/20110426033908_create_line_items.rb
|
196
|
+
- test/full_2_3_5_app_with_tests/db/migrate/20110615234040_create_notes.rb
|
197
|
+
- test/full_2_3_5_app_with_tests/db/schema.rb
|
198
|
+
- test/full_2_3_5_app_with_tests/db/seeds.rb
|
199
|
+
- test/full_2_3_5_app_with_tests/doc/README_FOR_APP
|
200
|
+
- test/full_2_3_5_app_with_tests/public/404.html
|
201
|
+
- test/full_2_3_5_app_with_tests/public/422.html
|
202
|
+
- test/full_2_3_5_app_with_tests/public/500.html
|
203
|
+
- test/full_2_3_5_app_with_tests/public/favicon.ico
|
204
|
+
- test/full_2_3_5_app_with_tests/public/images/rails.png
|
205
|
+
- test/full_2_3_5_app_with_tests/public/index.html
|
206
|
+
- test/full_2_3_5_app_with_tests/public/javascripts/application.js
|
207
|
+
- test/full_2_3_5_app_with_tests/public/javascripts/controls.js
|
208
|
+
- test/full_2_3_5_app_with_tests/public/javascripts/dragdrop.js
|
209
|
+
- test/full_2_3_5_app_with_tests/public/javascripts/effects.js
|
210
|
+
- test/full_2_3_5_app_with_tests/public/javascripts/prototype.js
|
211
|
+
- test/full_2_3_5_app_with_tests/public/robots.txt
|
212
|
+
- test/full_2_3_5_app_with_tests/public/stylesheets/scaffold.css
|
213
|
+
- test/full_2_3_5_app_with_tests/script/about
|
214
|
+
- test/full_2_3_5_app_with_tests/script/console
|
215
|
+
- test/full_2_3_5_app_with_tests/script/dbconsole
|
216
|
+
- test/full_2_3_5_app_with_tests/script/destroy
|
217
|
+
- test/full_2_3_5_app_with_tests/script/generate
|
218
|
+
- test/full_2_3_5_app_with_tests/script/performance/benchmarker
|
219
|
+
- test/full_2_3_5_app_with_tests/script/performance/profiler
|
220
|
+
- test/full_2_3_5_app_with_tests/script/plugin
|
221
|
+
- test/full_2_3_5_app_with_tests/script/runner
|
222
|
+
- test/full_2_3_5_app_with_tests/script/server
|
223
|
+
- test/full_2_3_5_app_with_tests/test/factories.rb
|
224
|
+
- test/full_2_3_5_app_with_tests/test/functional/line_items_controller_test.rb
|
225
|
+
- test/full_2_3_5_app_with_tests/test/functional/orders_controller_test.rb
|
226
|
+
- test/full_2_3_5_app_with_tests/test/integration/gets_trollied_test.rb
|
227
|
+
- test/full_2_3_5_app_with_tests/test/integration/order_test.rb
|
228
|
+
- test/full_2_3_5_app_with_tests/test/integration/trolley_test.rb
|
229
|
+
- test/full_2_3_5_app_with_tests/test/performance/browsing_test.rb
|
230
|
+
- test/full_2_3_5_app_with_tests/test/selenium.rb
|
231
|
+
- test/full_2_3_5_app_with_tests/test/test_helper.rb
|
232
|
+
- test/full_2_3_5_app_with_tests/test/unit/gets_trollied_test.rb
|
233
|
+
- test/full_2_3_5_app_with_tests/test/unit/helpers/gets_trollied_helper_test.rb
|
234
|
+
- test/full_2_3_5_app_with_tests/test/unit/helpers/orders_helper_test.rb
|
235
|
+
- test/full_2_3_5_app_with_tests/test/unit/line_item_test.rb
|
236
|
+
- test/full_2_3_5_app_with_tests/test/unit/note_test.rb
|
237
|
+
- test/full_2_3_5_app_with_tests/test/unit/order_test.rb
|
238
|
+
- test/full_2_3_5_app_with_tests/test/unit/trolley_test.rb
|
239
|
+
- test/full_2_3_5_app_with_tests/tmp/restart.txt
|
240
|
+
- test/helper.rb
|
241
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/init.rb
|
242
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/base.rb
|
243
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/force_extension.rb
|
244
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/locale.rb
|
245
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/pagination.rb
|
246
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/uuid_token.rb
|
247
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter.rb
|
248
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/force_extension_spec.rb
|
249
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/generation_spec.rb
|
250
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/pagination_extension_spec.rb
|
251
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/recognition_spec.rb
|
252
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/routing_filter_spec.rb
|
253
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/spec_helper.rb
|
254
|
+
has_rdoc: true
|
255
|
+
homepage: http://github.com/kete/trollied
|
256
|
+
licenses: []
|
257
|
+
|
258
|
+
post_install_message:
|
259
|
+
rdoc_options:
|
260
|
+
- --charset=UTF-8
|
261
|
+
require_paths:
|
262
|
+
- lib
|
263
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
264
|
+
none: false
|
265
|
+
requirements:
|
266
|
+
- - ">="
|
267
|
+
- !ruby/object:Gem::Version
|
268
|
+
hash: 3
|
269
|
+
segments:
|
270
|
+
- 0
|
271
|
+
version: "0"
|
272
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
273
|
+
none: false
|
274
|
+
requirements:
|
275
|
+
- - ">="
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
hash: 3
|
278
|
+
segments:
|
279
|
+
- 0
|
280
|
+
version: "0"
|
281
|
+
requirements: []
|
282
|
+
|
283
|
+
rubyforge_project:
|
284
|
+
rubygems_version: 1.3.7
|
285
|
+
signing_key:
|
286
|
+
specification_version: 3
|
287
|
+
summary: Extendable Ruby on Rails engine for adding shopping cart functionality to a Rails application. It does not assume shipping, price, or having a quantity.
|
288
|
+
test_files:
|
289
|
+
- test/full_2_3_5_app_with_tests/app/controllers/application_controller.rb
|
290
|
+
- test/full_2_3_5_app_with_tests/app/controllers/items_controller.rb
|
291
|
+
- test/full_2_3_5_app_with_tests/app/controllers/user_controller.rb
|
292
|
+
- test/full_2_3_5_app_with_tests/app/helpers/application_helper.rb
|
293
|
+
- test/full_2_3_5_app_with_tests/app/helpers/items_helper.rb
|
294
|
+
- test/full_2_3_5_app_with_tests/app/helpers/user_helper.rb
|
295
|
+
- test/full_2_3_5_app_with_tests/app/models/item.rb
|
296
|
+
- test/full_2_3_5_app_with_tests/app/models/user.rb
|
297
|
+
- test/full_2_3_5_app_with_tests/config/boot.rb
|
298
|
+
- test/full_2_3_5_app_with_tests/config/environment.rb
|
299
|
+
- test/full_2_3_5_app_with_tests/config/environments/development.rb
|
300
|
+
- test/full_2_3_5_app_with_tests/config/environments/production.rb
|
301
|
+
- test/full_2_3_5_app_with_tests/config/environments/test.rb
|
302
|
+
- test/full_2_3_5_app_with_tests/config/initializers/backtrace_silencers.rb
|
303
|
+
- test/full_2_3_5_app_with_tests/config/initializers/inflections.rb
|
304
|
+
- test/full_2_3_5_app_with_tests/config/initializers/mime_types.rb
|
305
|
+
- test/full_2_3_5_app_with_tests/config/initializers/new_rails_defaults.rb
|
306
|
+
- test/full_2_3_5_app_with_tests/config/initializers/session_store.rb
|
307
|
+
- test/full_2_3_5_app_with_tests/config/routes.rb
|
308
|
+
- test/full_2_3_5_app_with_tests/db/migrate/20100407010602_create_items.rb
|
309
|
+
- test/full_2_3_5_app_with_tests/db/migrate/20110426030509_create_users.rb
|
310
|
+
- test/full_2_3_5_app_with_tests/db/migrate/20110426033906_create_trolleys.rb
|
311
|
+
- test/full_2_3_5_app_with_tests/db/migrate/20110426033907_create_orders.rb
|
312
|
+
- test/full_2_3_5_app_with_tests/db/migrate/20110426033908_create_line_items.rb
|
313
|
+
- test/full_2_3_5_app_with_tests/db/migrate/20110615234040_create_notes.rb
|
314
|
+
- test/full_2_3_5_app_with_tests/db/schema.rb
|
315
|
+
- test/full_2_3_5_app_with_tests/db/seeds.rb
|
316
|
+
- test/full_2_3_5_app_with_tests/test/factories.rb
|
317
|
+
- test/full_2_3_5_app_with_tests/test/functional/line_items_controller_test.rb
|
318
|
+
- test/full_2_3_5_app_with_tests/test/functional/orders_controller_test.rb
|
319
|
+
- test/full_2_3_5_app_with_tests/test/integration/gets_trollied_test.rb
|
320
|
+
- test/full_2_3_5_app_with_tests/test/integration/order_test.rb
|
321
|
+
- test/full_2_3_5_app_with_tests/test/integration/trolley_test.rb
|
322
|
+
- test/full_2_3_5_app_with_tests/test/performance/browsing_test.rb
|
323
|
+
- test/full_2_3_5_app_with_tests/test/selenium.rb
|
324
|
+
- test/full_2_3_5_app_with_tests/test/test_helper.rb
|
325
|
+
- test/full_2_3_5_app_with_tests/test/unit/gets_trollied_test.rb
|
326
|
+
- test/full_2_3_5_app_with_tests/test/unit/helpers/gets_trollied_helper_test.rb
|
327
|
+
- test/full_2_3_5_app_with_tests/test/unit/helpers/orders_helper_test.rb
|
328
|
+
- test/full_2_3_5_app_with_tests/test/unit/line_item_test.rb
|
329
|
+
- test/full_2_3_5_app_with_tests/test/unit/note_test.rb
|
330
|
+
- test/full_2_3_5_app_with_tests/test/unit/order_test.rb
|
331
|
+
- test/full_2_3_5_app_with_tests/test/unit/trolley_test.rb
|
332
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/init.rb
|
333
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/base.rb
|
334
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/force_extension.rb
|
335
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/locale.rb
|
336
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/pagination.rb
|
337
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter/uuid_token.rb
|
338
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/lib/routing_filter.rb
|
339
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/force_extension_spec.rb
|
340
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/generation_spec.rb
|
341
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/pagination_extension_spec.rb
|
342
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/recognition_spec.rb
|
343
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/routing_filter_spec.rb
|
344
|
+
- test/full_2_3_5_app_with_tests/vendor/plugins/routing-filter/spec/spec_helper.rb
|
345
|
+
- test/helper.rb
|