mechanize-store 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +58 -0
- data/Rakefile +32 -0
- data/app/assets/javascripts/mechanize_store/application.js +22 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/bootstrap.js +1951 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/custom.js +58 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/flot/excanvas.min.js +1 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/flot/jquery.flot.js +3137 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/flot/jquery.flot.pie.js +817 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/flot/main.js +20 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/jquery-ui.js +2256 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/jquery.activity-indicator-1.0.0.min.js +223 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/dataTables/dataTables.bootstrap.js +245 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/dataTables/jquery.dataTables.js +14013 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/excanvas.min.js +1 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/jquery.flot.js +2599 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/jquery.flot.pie.js +750 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/jquery.flot.resize.js +60 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/jquery.flot.tooltip.min.js +12 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/metisMenu/jquery.metisMenu.js +45 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/morris/morris.js +1888 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/plugins/morris/raphael-2.1.0.min.js +10 -0
- data/app/assets/javascripts/mechanize_store/sb-admin/sb-admin.js +18 -0
- data/app/assets/stylesheets/mechanize_store/application.css +199 -0
- data/app/assets/stylesheets/mechanize_store/sb-admin/bootstrap.css +5831 -0
- data/app/assets/stylesheets/mechanize_store/sb-admin/plugins/dataTables/dataTables.bootstrap.css +233 -0
- data/app/assets/stylesheets/mechanize_store/sb-admin/plugins/morris/morris-0.4.3.min.css +2 -0
- data/app/assets/stylesheets/mechanize_store/sb-admin/plugins/social-buttons/social-buttons.css +68 -0
- data/app/assets/stylesheets/mechanize_store/sb-admin/plugins/timeline/timeline.css +144 -0
- data/app/assets/stylesheets/mechanize_store/sb-admin/sb-admin.css +307 -0
- data/app/controllers/mechanize_store/application_controller.rb +4 -0
- data/app/controllers/mechanize_store/flags_controller.rb +77 -0
- data/app/controllers/mechanize_store/order_statuses_controller.rb +77 -0
- data/app/controllers/mechanize_store/orders_controller.rb +28 -0
- data/app/controllers/mechanize_store/payment_statuses_controller.rb +77 -0
- data/app/controllers/mechanize_store/payment_types_controller.rb +77 -0
- data/app/controllers/mechanize_store/product_categories_controller.rb +77 -0
- data/app/controllers/mechanize_store/products_controller.rb +77 -0
- data/app/helpers/mechanize_store/application_helper.rb +7 -0
- data/app/models/mechanize_store/flag.rb +4 -0
- data/app/models/mechanize_store/freight.rb +5 -0
- data/app/models/mechanize_store/order.rb +8 -0
- data/app/models/mechanize_store/order_status.rb +5 -0
- data/app/models/mechanize_store/payment.rb +6 -0
- data/app/models/mechanize_store/payment_status.rb +4 -0
- data/app/models/mechanize_store/payment_type.rb +4 -0
- data/app/models/mechanize_store/product.rb +5 -0
- data/app/models/mechanize_store/product_category.rb +5 -0
- data/app/models/mechanize_store/product_photo.rb +5 -0
- data/app/models/mechanize_store/store.rb +5 -0
- data/app/views/layouts/store/application.html.erb +93 -0
- data/app/views/mechanize_store/flags/_form.html.erb +11 -0
- data/app/views/mechanize_store/flags/edit.html.erb +12 -0
- data/app/views/mechanize_store/flags/index.html.erb +46 -0
- data/app/views/mechanize_store/flags/new.html.erb +9 -0
- data/app/views/mechanize_store/flags/show.html.erb +15 -0
- data/app/views/mechanize_store/order_statuses/_form.html.erb +11 -0
- data/app/views/mechanize_store/order_statuses/edit.html.erb +12 -0
- data/app/views/mechanize_store/order_statuses/index.html.erb +46 -0
- data/app/views/mechanize_store/order_statuses/new.html.erb +9 -0
- data/app/views/mechanize_store/order_statuses/show.html.erb +15 -0
- data/app/views/mechanize_store/orders/index.html.erb +84 -0
- data/app/views/mechanize_store/orders/show.html.erb +0 -0
- data/app/views/mechanize_store/payment_statuses/_form.html.erb +11 -0
- data/app/views/mechanize_store/payment_statuses/edit.html.erb +12 -0
- data/app/views/mechanize_store/payment_statuses/index.html.erb +46 -0
- data/app/views/mechanize_store/payment_statuses/new.html.erb +9 -0
- data/app/views/mechanize_store/payment_statuses/show.html.erb +15 -0
- data/app/views/mechanize_store/payment_types/_form.html.erb +11 -0
- data/app/views/mechanize_store/payment_types/edit.html.erb +12 -0
- data/app/views/mechanize_store/payment_types/index.html.erb +46 -0
- data/app/views/mechanize_store/payment_types/new.html.erb +9 -0
- data/app/views/mechanize_store/payment_types/show.html.erb +15 -0
- data/app/views/mechanize_store/product_categories/_form.html.erb +12 -0
- data/app/views/mechanize_store/product_categories/edit.html.erb +12 -0
- data/app/views/mechanize_store/product_categories/index.html.erb +48 -0
- data/app/views/mechanize_store/product_categories/new.html.erb +9 -0
- data/app/views/mechanize_store/product_categories/show.html.erb +19 -0
- data/app/views/mechanize_store/products/_form.html.erb +18 -0
- data/app/views/mechanize_store/products/edit.html.erb +12 -0
- data/app/views/mechanize_store/products/index.html.erb +50 -0
- data/app/views/mechanize_store/products/new.html.erb +9 -0
- data/app/views/mechanize_store/products/show.html.erb +43 -0
- data/app/views/shared/_flashes.html.erb +8 -0
- data/config/locales/store.pt-BR.yml +22 -0
- data/config/routes.rb +10 -0
- data/db/migrate/20140401203200_create_mechanize_store_freights.rb +12 -0
- data/db/migrate/20140401203246_create_mechanize_store_order_statuses.rb +9 -0
- data/db/migrate/20140402140318_create_mechanize_store_payment_statuses.rb +9 -0
- data/db/migrate/20140402140325_create_mechanize_store_payment_types.rb +9 -0
- data/db/migrate/20140402140539_create_mechanize_store_payments.rb +16 -0
- data/db/migrate/20140402140549_create_mechanize_store_flags.rb +9 -0
- data/db/migrate/20140402140832_create_mechanize_store_products.rb +16 -0
- data/db/migrate/20140402140942_create_mechanize_store_product_photos.rb +10 -0
- data/db/migrate/20140402141340_create_mechanize_store_stores.rb +12 -0
- data/db/migrate/20140402153139_create_mechanize_store_orders.rb +11 -0
- data/db/migrate/20140402192058_create_mechanize_store_product_categories.rb +10 -0
- data/lib/mechanize_store.rb +4 -0
- data/lib/mechanize_store/engine.rb +16 -0
- data/lib/mechanize_store/version.rb +3 -0
- data/lib/tasks/store_tasks.rake +4 -0
- data/lib/templates/erb/scaffold/_form.html.erb +13 -0
- data/lib/templates/erb/scaffold/edit.html.erb +12 -0
- data/lib/templates/erb/scaffold/index.html.erb +50 -0
- data/lib/templates/erb/scaffold/new.html.erb +9 -0
- data/lib/templates/erb/scaffold/show.html.erb +17 -0
- data/lib/templates/rails/scaffold_controller/controller.rb +79 -0
- metadata +265 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
class CreateMechanizeStoreOrders < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :mechanize_store_orders do |t|
|
4
|
+
t.references :order_status, index: true
|
5
|
+
t.references :mechanize_store, index: true
|
6
|
+
t.datetime :delivery_date
|
7
|
+
|
8
|
+
t.timestamps
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module MechanizeStore
|
2
|
+
class Engine < ::Rails::Engine
|
3
|
+
isolate_namespace MechanizeStore
|
4
|
+
|
5
|
+
config.generators.templates.unshift File.expand_path("lib/templates", root)
|
6
|
+
|
7
|
+
config.generators do |g|
|
8
|
+
g.test_framework :rspec, :fixture => false
|
9
|
+
g.fixture_replacement :factory_girl, :dir => 'spec/factories'
|
10
|
+
g.assets false
|
11
|
+
g.helper false
|
12
|
+
end
|
13
|
+
|
14
|
+
MechanizeStore::Engine.config.i18n.default_locale = I18n.default_locale
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<%%= simple_form_for(@<%= singular_table_name %>) do |f| %>
|
2
|
+
<%%= f.error_notification %>
|
3
|
+
|
4
|
+
<div class="form-group">
|
5
|
+
<%- attributes.each do |attribute| -%>
|
6
|
+
<%%= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %> %>
|
7
|
+
<%- end -%>
|
8
|
+
</div>
|
9
|
+
|
10
|
+
<div class="form-actions">
|
11
|
+
<%%= f.button :submit, class: "btn btn-primary" %>
|
12
|
+
</div>
|
13
|
+
<%% end %>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<%%= title t(:editing, model: t("<%= singular_table_name %>", scope: "activerecord.models")) %>
|
2
|
+
|
3
|
+
<%% content_for :right do -%>
|
4
|
+
<li class="active">
|
5
|
+
<%%= link_to t(:details), @<%= singular_table_name %> %>
|
6
|
+
</li>
|
7
|
+
<li class="active">
|
8
|
+
<%%= link_to t(:back), <%= index_helper %>_path %>
|
9
|
+
</li>
|
10
|
+
<%% end -%>
|
11
|
+
|
12
|
+
<%%= render 'form' %>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<%%= title t("<%= singular_table_name %>", scope: "activerecord.models").pluralize %>
|
2
|
+
|
3
|
+
<%% content_for :right do -%>
|
4
|
+
<li class="active">
|
5
|
+
<%%= link_to t("new_<%= singular_table_name %>"), new_<%= singular_table_name %>_path %>
|
6
|
+
</li>
|
7
|
+
<%% end -%>
|
8
|
+
|
9
|
+
<table class="table table-striped">
|
10
|
+
<thead>
|
11
|
+
<tr>
|
12
|
+
<th><%%= sort_link @search, :id, t(:id, scope: "activerecord.attributes") %></th>
|
13
|
+
<% attributes.each do |attribute| -%>
|
14
|
+
<th><%%= sort_link @search, :<%= attribute.name %>, t(:<%= attribute.name %>, scope: "activerecord.attributes.<%= singular_table_name %>") %></th>
|
15
|
+
<% end -%>
|
16
|
+
<th colspan="3"></th>
|
17
|
+
</tr>
|
18
|
+
</thead>
|
19
|
+
|
20
|
+
<tbody>
|
21
|
+
|
22
|
+
<%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %>
|
23
|
+
<tr>
|
24
|
+
<td><%%= <%= singular_table_name %>.id %></td>
|
25
|
+
<% attributes.each do |attribute| -%>
|
26
|
+
<td><%%= <%= singular_table_name %>.<%= attribute.name %> %></td>
|
27
|
+
<% end -%>
|
28
|
+
<td>
|
29
|
+
<%%= link_to <%= singular_table_name %> do %>
|
30
|
+
<i class="fa fa-file"></i>
|
31
|
+
<%% end -%>
|
32
|
+
</td>
|
33
|
+
<td>
|
34
|
+
<%%= link_to edit_<%= singular_table_name %>_path(<%= singular_table_name %>) do %>
|
35
|
+
<i class="fa fa-edit"></i>
|
36
|
+
<%% end -%>
|
37
|
+
</td>
|
38
|
+
<td>
|
39
|
+
<%%= link_to <%= singular_table_name %>, method: :delete, data: { confirm: t(:are_you_sure) } do %>
|
40
|
+
<i class="fa fa-trash"></i>
|
41
|
+
<%% end -%>
|
42
|
+
</td>
|
43
|
+
</tr>
|
44
|
+
<%% end %>
|
45
|
+
</tbody>
|
46
|
+
</table>
|
47
|
+
|
48
|
+
<br>
|
49
|
+
|
50
|
+
<%%= will_paginate @<%= plural_table_name %> %>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<%%= title t("<%= singular_table_name %>") %>
|
2
|
+
|
3
|
+
<%% content_for :right do -%>
|
4
|
+
<li class="active">
|
5
|
+
<%%= link_to t(:edit), edit_<%= singular_table_name %>_path(@<%= singular_table_name %>) %>
|
6
|
+
</li>
|
7
|
+
<li class="active">
|
8
|
+
<%%= link_to t(:back), <%= index_helper %>_path %>
|
9
|
+
</li>
|
10
|
+
<%% end -%>
|
11
|
+
|
12
|
+
<% attributes.each do |attribute| -%>
|
13
|
+
<p>
|
14
|
+
<small><%%= t(:<%= attribute.name %>, scope: "activerecord.attributes.<%= singular_table_name %>") %>:</small>
|
15
|
+
<h3><%%= @<%= singular_table_name %>.<%= attribute.name %> %></h3>
|
16
|
+
</p>
|
17
|
+
<% end -%>
|
@@ -0,0 +1,79 @@
|
|
1
|
+
class <%= controller_class_name %>Controller < ApplicationController
|
2
|
+
before_action :set_<%= singular_table_name %>, only: [:show, :edit, :update, :destroy]
|
3
|
+
|
4
|
+
respond_to :html, :json, :xml
|
5
|
+
|
6
|
+
def index
|
7
|
+
@search = <%= class_name %>.search(params[:q])
|
8
|
+
|
9
|
+
@<%= plural_table_name %> = @search.result.paginate(page: params[:page])
|
10
|
+
|
11
|
+
respond_with @<%= plural_table_name %>
|
12
|
+
end
|
13
|
+
|
14
|
+
def show
|
15
|
+
respond_with @<%= singular_table_name %>
|
16
|
+
end
|
17
|
+
|
18
|
+
def new
|
19
|
+
@<%= singular_table_name %> = <%= orm_class.build(class_name) %>
|
20
|
+
respond_with @<%= singular_table_name %>
|
21
|
+
end
|
22
|
+
|
23
|
+
def edit
|
24
|
+
respond_with @<%= singular_table_name %>
|
25
|
+
end
|
26
|
+
|
27
|
+
def create
|
28
|
+
@<%= singular_table_name %> = <%= orm_class.build(class_name, "#{singular_table_name}_params") %>
|
29
|
+
|
30
|
+
respond_with @<%= singular_table_name %> do |format|
|
31
|
+
if @<%= orm_instance.save %>
|
32
|
+
format.html do
|
33
|
+
flash[:notice] = I18n.t(:created, model: I18n.t(:<%= singular_table_name %>, scope: "activerecord.models"))
|
34
|
+
redirect_to @<%= singular_table_name %>
|
35
|
+
end
|
36
|
+
else
|
37
|
+
format.html { render action: "new" }
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
def update
|
43
|
+
@<%= singular_table_name %> = <%= orm_class.find(class_name, "params[:id]") %>
|
44
|
+
|
45
|
+
respond_with @<%= singular_table_name %> do |format|
|
46
|
+
if @<%= orm_instance.update("#{singular_table_name}_params") %>
|
47
|
+
format.html do
|
48
|
+
flash[:notice] = I18n.t(:updated, model: I18n.t(:<%= singular_table_name %>, scope: "activerecord.models"))
|
49
|
+
redirect_to @<%= singular_table_name %>
|
50
|
+
end
|
51
|
+
else
|
52
|
+
format.html { render action: "edit" }
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def destroy
|
58
|
+
@<%= singular_table_name %> = <%= orm_class.find(class_name, "params[:id]") %>
|
59
|
+
|
60
|
+
flash[:alert] = I18n.t(:removed, model: I18n.t(:<%= singular_table_name %>, scope: "activerecord.models")) if @<%= orm_instance.destroy %>
|
61
|
+
|
62
|
+
respond_with @<%= singular_table_name %>, :location => <%= index_helper %>_url
|
63
|
+
end
|
64
|
+
|
65
|
+
private
|
66
|
+
# Use callbacks to share common setup or constraints between actions.
|
67
|
+
def set_<%= singular_table_name %>
|
68
|
+
@<%= singular_table_name %> = <%= orm_class.find(class_name, "params[:id]") %>
|
69
|
+
end
|
70
|
+
|
71
|
+
# Only allow a trusted parameter "white list" through.
|
72
|
+
def <%= "#{singular_table_name}_params" %>
|
73
|
+
<%- if attributes_names.empty? -%>
|
74
|
+
params[:<%= singular_table_name %>]
|
75
|
+
<%- else -%>
|
76
|
+
params.require(:<%= singular_table_name %>).permit(<%= attributes_names.map { |name| ":#{name}" }.join(', ') %>)
|
77
|
+
<%- end -%>
|
78
|
+
end
|
79
|
+
end
|
metadata
ADDED
@@ -0,0 +1,265 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mechanize-store
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Wilbert Ribeiro
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-04-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: simple_form
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 3.0.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.0.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: ransack
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.1.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.1.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: will_paginate
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 3.0.5
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 3.0.5
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bootstrap-will_paginate
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.0.10
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.0.10
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: font-awesome-rails
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 4.0.3.1
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 4.0.3.1
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: paperclip
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 4.1.1
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 4.1.1
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: sqlite3
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.3.9
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.3.9
|
125
|
+
description: With mechanize store you already have implemented Product, ProductPhoto,
|
126
|
+
ProductCategory, Order, OrderStatus, Payment, PaymentStatus, OrderItem and ProductItem
|
127
|
+
email:
|
128
|
+
- wkelyson@gmail.com
|
129
|
+
executables: []
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- MIT-LICENSE
|
134
|
+
- README.rdoc
|
135
|
+
- Rakefile
|
136
|
+
- app/assets/javascripts/mechanize_store/application.js
|
137
|
+
- app/assets/javascripts/mechanize_store/sb-admin/bootstrap.js
|
138
|
+
- app/assets/javascripts/mechanize_store/sb-admin/custom.js
|
139
|
+
- app/assets/javascripts/mechanize_store/sb-admin/flot/excanvas.min.js
|
140
|
+
- app/assets/javascripts/mechanize_store/sb-admin/flot/jquery.flot.js
|
141
|
+
- app/assets/javascripts/mechanize_store/sb-admin/flot/jquery.flot.pie.js
|
142
|
+
- app/assets/javascripts/mechanize_store/sb-admin/flot/main.js
|
143
|
+
- app/assets/javascripts/mechanize_store/sb-admin/jquery-ui.js
|
144
|
+
- app/assets/javascripts/mechanize_store/sb-admin/jquery.activity-indicator-1.0.0.min.js
|
145
|
+
- app/assets/javascripts/mechanize_store/sb-admin/plugins/dataTables/dataTables.bootstrap.js
|
146
|
+
- app/assets/javascripts/mechanize_store/sb-admin/plugins/dataTables/jquery.dataTables.js
|
147
|
+
- app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/excanvas.min.js
|
148
|
+
- app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/jquery.flot.js
|
149
|
+
- app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/jquery.flot.pie.js
|
150
|
+
- app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/jquery.flot.resize.js
|
151
|
+
- app/assets/javascripts/mechanize_store/sb-admin/plugins/flot/jquery.flot.tooltip.min.js
|
152
|
+
- app/assets/javascripts/mechanize_store/sb-admin/plugins/metisMenu/jquery.metisMenu.js
|
153
|
+
- app/assets/javascripts/mechanize_store/sb-admin/plugins/morris/morris.js
|
154
|
+
- app/assets/javascripts/mechanize_store/sb-admin/plugins/morris/raphael-2.1.0.min.js
|
155
|
+
- app/assets/javascripts/mechanize_store/sb-admin/sb-admin.js
|
156
|
+
- app/assets/stylesheets/mechanize_store/application.css
|
157
|
+
- app/assets/stylesheets/mechanize_store/sb-admin/bootstrap.css
|
158
|
+
- app/assets/stylesheets/mechanize_store/sb-admin/plugins/dataTables/dataTables.bootstrap.css
|
159
|
+
- app/assets/stylesheets/mechanize_store/sb-admin/plugins/morris/morris-0.4.3.min.css
|
160
|
+
- app/assets/stylesheets/mechanize_store/sb-admin/plugins/social-buttons/social-buttons.css
|
161
|
+
- app/assets/stylesheets/mechanize_store/sb-admin/plugins/timeline/timeline.css
|
162
|
+
- app/assets/stylesheets/mechanize_store/sb-admin/sb-admin.css
|
163
|
+
- app/controllers/mechanize_store/application_controller.rb
|
164
|
+
- app/controllers/mechanize_store/flags_controller.rb
|
165
|
+
- app/controllers/mechanize_store/order_statuses_controller.rb
|
166
|
+
- app/controllers/mechanize_store/orders_controller.rb
|
167
|
+
- app/controllers/mechanize_store/payment_statuses_controller.rb
|
168
|
+
- app/controllers/mechanize_store/payment_types_controller.rb
|
169
|
+
- app/controllers/mechanize_store/product_categories_controller.rb
|
170
|
+
- app/controllers/mechanize_store/products_controller.rb
|
171
|
+
- app/helpers/mechanize_store/application_helper.rb
|
172
|
+
- app/models/mechanize_store/flag.rb
|
173
|
+
- app/models/mechanize_store/freight.rb
|
174
|
+
- app/models/mechanize_store/order.rb
|
175
|
+
- app/models/mechanize_store/order_status.rb
|
176
|
+
- app/models/mechanize_store/payment.rb
|
177
|
+
- app/models/mechanize_store/payment_status.rb
|
178
|
+
- app/models/mechanize_store/payment_type.rb
|
179
|
+
- app/models/mechanize_store/product.rb
|
180
|
+
- app/models/mechanize_store/product_category.rb
|
181
|
+
- app/models/mechanize_store/product_photo.rb
|
182
|
+
- app/models/mechanize_store/store.rb
|
183
|
+
- app/views/layouts/store/application.html.erb
|
184
|
+
- app/views/mechanize_store/flags/_form.html.erb
|
185
|
+
- app/views/mechanize_store/flags/edit.html.erb
|
186
|
+
- app/views/mechanize_store/flags/index.html.erb
|
187
|
+
- app/views/mechanize_store/flags/new.html.erb
|
188
|
+
- app/views/mechanize_store/flags/show.html.erb
|
189
|
+
- app/views/mechanize_store/order_statuses/_form.html.erb
|
190
|
+
- app/views/mechanize_store/order_statuses/edit.html.erb
|
191
|
+
- app/views/mechanize_store/order_statuses/index.html.erb
|
192
|
+
- app/views/mechanize_store/order_statuses/new.html.erb
|
193
|
+
- app/views/mechanize_store/order_statuses/show.html.erb
|
194
|
+
- app/views/mechanize_store/orders/index.html.erb
|
195
|
+
- app/views/mechanize_store/orders/show.html.erb
|
196
|
+
- app/views/mechanize_store/payment_statuses/_form.html.erb
|
197
|
+
- app/views/mechanize_store/payment_statuses/edit.html.erb
|
198
|
+
- app/views/mechanize_store/payment_statuses/index.html.erb
|
199
|
+
- app/views/mechanize_store/payment_statuses/new.html.erb
|
200
|
+
- app/views/mechanize_store/payment_statuses/show.html.erb
|
201
|
+
- app/views/mechanize_store/payment_types/_form.html.erb
|
202
|
+
- app/views/mechanize_store/payment_types/edit.html.erb
|
203
|
+
- app/views/mechanize_store/payment_types/index.html.erb
|
204
|
+
- app/views/mechanize_store/payment_types/new.html.erb
|
205
|
+
- app/views/mechanize_store/payment_types/show.html.erb
|
206
|
+
- app/views/mechanize_store/product_categories/_form.html.erb
|
207
|
+
- app/views/mechanize_store/product_categories/edit.html.erb
|
208
|
+
- app/views/mechanize_store/product_categories/index.html.erb
|
209
|
+
- app/views/mechanize_store/product_categories/new.html.erb
|
210
|
+
- app/views/mechanize_store/product_categories/show.html.erb
|
211
|
+
- app/views/mechanize_store/products/_form.html.erb
|
212
|
+
- app/views/mechanize_store/products/edit.html.erb
|
213
|
+
- app/views/mechanize_store/products/index.html.erb
|
214
|
+
- app/views/mechanize_store/products/new.html.erb
|
215
|
+
- app/views/mechanize_store/products/show.html.erb
|
216
|
+
- app/views/shared/_flashes.html.erb
|
217
|
+
- config/locales/store.pt-BR.yml
|
218
|
+
- config/routes.rb
|
219
|
+
- db/migrate/20140401203200_create_mechanize_store_freights.rb
|
220
|
+
- db/migrate/20140401203246_create_mechanize_store_order_statuses.rb
|
221
|
+
- db/migrate/20140402140318_create_mechanize_store_payment_statuses.rb
|
222
|
+
- db/migrate/20140402140325_create_mechanize_store_payment_types.rb
|
223
|
+
- db/migrate/20140402140539_create_mechanize_store_payments.rb
|
224
|
+
- db/migrate/20140402140549_create_mechanize_store_flags.rb
|
225
|
+
- db/migrate/20140402140832_create_mechanize_store_products.rb
|
226
|
+
- db/migrate/20140402140942_create_mechanize_store_product_photos.rb
|
227
|
+
- db/migrate/20140402141340_create_mechanize_store_stores.rb
|
228
|
+
- db/migrate/20140402153139_create_mechanize_store_orders.rb
|
229
|
+
- db/migrate/20140402192058_create_mechanize_store_product_categories.rb
|
230
|
+
- lib/mechanize_store.rb
|
231
|
+
- lib/mechanize_store/engine.rb
|
232
|
+
- lib/mechanize_store/version.rb
|
233
|
+
- lib/tasks/store_tasks.rake
|
234
|
+
- lib/templates/erb/scaffold/_form.html.erb
|
235
|
+
- lib/templates/erb/scaffold/edit.html.erb
|
236
|
+
- lib/templates/erb/scaffold/index.html.erb
|
237
|
+
- lib/templates/erb/scaffold/new.html.erb
|
238
|
+
- lib/templates/erb/scaffold/show.html.erb
|
239
|
+
- lib/templates/rails/scaffold_controller/controller.rb
|
240
|
+
homepage: http://www.github.com/wilbert/mechanize-store
|
241
|
+
licenses:
|
242
|
+
- MIT
|
243
|
+
metadata: {}
|
244
|
+
post_install_message:
|
245
|
+
rdoc_options: []
|
246
|
+
require_paths:
|
247
|
+
- lib
|
248
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
249
|
+
requirements:
|
250
|
+
- - ! '>='
|
251
|
+
- !ruby/object:Gem::Version
|
252
|
+
version: '0'
|
253
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ! '>='
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
requirements: []
|
259
|
+
rubyforge_project:
|
260
|
+
rubygems_version: 2.2.2
|
261
|
+
signing_key:
|
262
|
+
specification_version: 4
|
263
|
+
summary: Mechanize store is a couple of models that allows you create a simple products
|
264
|
+
store with rails.
|
265
|
+
test_files: []
|