ecom 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +35 -0
- data/app/assets/config/ecom_manifest.js +2 -0
- data/app/assets/javascripts/ecom/application.js +13 -0
- data/app/assets/javascripts/ecom/cart.js +2 -0
- data/app/assets/javascripts/ecom/categories.js +2 -0
- data/app/assets/javascripts/ecom/products.js +2 -0
- data/app/assets/stylesheets/ecom/application.css +15 -0
- data/app/assets/stylesheets/ecom/cart.css +4 -0
- data/app/assets/stylesheets/ecom/categories.css +4 -0
- data/app/assets/stylesheets/ecom/products.css +4 -0
- data/app/assets/stylesheets/scaffold.css +84 -0
- data/app/controllers/ecom/application_controller.rb +5 -0
- data/app/controllers/ecom/cart_controller.rb +47 -0
- data/app/controllers/ecom/categories_controller.rb +62 -0
- data/app/controllers/ecom/products_controller.rb +62 -0
- data/app/helpers/ecom/application_helper.rb +4 -0
- data/app/helpers/ecom/cart_helper.rb +4 -0
- data/app/helpers/ecom/categories_helper.rb +4 -0
- data/app/helpers/ecom/products_helper.rb +4 -0
- data/app/jobs/ecom/application_job.rb +4 -0
- data/app/mailers/ecom/application_mailer.rb +6 -0
- data/app/models/ecom/application_record.rb +5 -0
- data/app/models/ecom/category.rb +6 -0
- data/app/models/ecom/line_item.rb +21 -0
- data/app/models/ecom/product.rb +15 -0
- data/app/models/ecom/purchase.rb +13 -0
- data/app/models/ecom/user.rb +40 -0
- data/app/uploaders/ecom/image_uploader.rb +51 -0
- data/app/views/ecom/cart/show.html.erb +30 -0
- data/app/views/ecom/categories/_form.html.erb +22 -0
- data/app/views/ecom/categories/edit.html.erb +6 -0
- data/app/views/ecom/categories/index.html.erb +27 -0
- data/app/views/ecom/categories/new.html.erb +5 -0
- data/app/views/ecom/categories/show.html.erb +9 -0
- data/app/views/ecom/products/_form.html.erb +37 -0
- data/app/views/ecom/products/edit.html.erb +6 -0
- data/app/views/ecom/products/index.html.erb +10 -0
- data/app/views/ecom/products/new.html.erb +5 -0
- data/app/views/ecom/products/show.html.erb +27 -0
- data/app/views/layouts/ecom/application.html.erb +14 -0
- data/config/initializers/devise.rb +274 -0
- data/config/initializers/line_items.rb +1 -0
- data/config/initializers/product.rb +1 -0
- data/config/initializers/purchase.rb +1 -0
- data/config/locales/devise.en.yml +62 -0
- data/config/locales/en.yml +5 -0
- data/config/routes.rb +15 -0
- data/lib/ecom/engine.rb +6 -0
- data/lib/ecom/version.rb +3 -0
- data/lib/ecom.rb +5 -0
- data/lib/generators/ecom/install_generator.rb +10 -0
- data/lib/tasks/ecom_tasks.rake +4 -0
- metadata +146 -0
metadata
ADDED
@@ -0,0 +1,146 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ecom
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Adam Falck
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-12-15 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: 5.0.0
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 5.0.0.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 5.0.0
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 5.0.0.1
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: mongoid
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: devise
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
description: Description of Ecom.
|
62
|
+
email:
|
63
|
+
- adam.falck@gmail.com
|
64
|
+
executables: []
|
65
|
+
extensions: []
|
66
|
+
extra_rdoc_files: []
|
67
|
+
files:
|
68
|
+
- MIT-LICENSE
|
69
|
+
- README.md
|
70
|
+
- Rakefile
|
71
|
+
- app/assets/config/ecom_manifest.js
|
72
|
+
- app/assets/javascripts/ecom/application.js
|
73
|
+
- app/assets/javascripts/ecom/cart.js
|
74
|
+
- app/assets/javascripts/ecom/categories.js
|
75
|
+
- app/assets/javascripts/ecom/products.js
|
76
|
+
- app/assets/stylesheets/ecom/application.css
|
77
|
+
- app/assets/stylesheets/ecom/cart.css
|
78
|
+
- app/assets/stylesheets/ecom/categories.css
|
79
|
+
- app/assets/stylesheets/ecom/products.css
|
80
|
+
- app/assets/stylesheets/scaffold.css
|
81
|
+
- app/controllers/ecom/application_controller.rb
|
82
|
+
- app/controllers/ecom/cart_controller.rb
|
83
|
+
- app/controllers/ecom/categories_controller.rb
|
84
|
+
- app/controllers/ecom/products_controller.rb
|
85
|
+
- app/helpers/ecom/application_helper.rb
|
86
|
+
- app/helpers/ecom/cart_helper.rb
|
87
|
+
- app/helpers/ecom/categories_helper.rb
|
88
|
+
- app/helpers/ecom/products_helper.rb
|
89
|
+
- app/jobs/ecom/application_job.rb
|
90
|
+
- app/mailers/ecom/application_mailer.rb
|
91
|
+
- app/models/ecom/application_record.rb
|
92
|
+
- app/models/ecom/category.rb
|
93
|
+
- app/models/ecom/line_item.rb
|
94
|
+
- app/models/ecom/product.rb
|
95
|
+
- app/models/ecom/purchase.rb
|
96
|
+
- app/models/ecom/user.rb
|
97
|
+
- app/uploaders/ecom/image_uploader.rb
|
98
|
+
- app/views/ecom/cart/show.html.erb
|
99
|
+
- app/views/ecom/categories/_form.html.erb
|
100
|
+
- app/views/ecom/categories/edit.html.erb
|
101
|
+
- app/views/ecom/categories/index.html.erb
|
102
|
+
- app/views/ecom/categories/new.html.erb
|
103
|
+
- app/views/ecom/categories/show.html.erb
|
104
|
+
- app/views/ecom/products/_form.html.erb
|
105
|
+
- app/views/ecom/products/edit.html.erb
|
106
|
+
- app/views/ecom/products/index.html.erb
|
107
|
+
- app/views/ecom/products/new.html.erb
|
108
|
+
- app/views/ecom/products/show.html.erb
|
109
|
+
- app/views/layouts/ecom/application.html.erb
|
110
|
+
- config/initializers/devise.rb
|
111
|
+
- config/initializers/line_items.rb
|
112
|
+
- config/initializers/product.rb
|
113
|
+
- config/initializers/purchase.rb
|
114
|
+
- config/locales/devise.en.yml
|
115
|
+
- config/locales/en.yml
|
116
|
+
- config/routes.rb
|
117
|
+
- lib/ecom.rb
|
118
|
+
- lib/ecom/engine.rb
|
119
|
+
- lib/ecom/version.rb
|
120
|
+
- lib/generators/ecom/install_generator.rb
|
121
|
+
- lib/tasks/ecom_tasks.rake
|
122
|
+
homepage: https://adamonrails.tk
|
123
|
+
licenses:
|
124
|
+
- MIT
|
125
|
+
metadata: {}
|
126
|
+
post_install_message:
|
127
|
+
rdoc_options: []
|
128
|
+
require_paths:
|
129
|
+
- lib
|
130
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
135
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
requirements: []
|
141
|
+
rubyforge_project:
|
142
|
+
rubygems_version: 2.5.1
|
143
|
+
signing_key:
|
144
|
+
specification_version: 4
|
145
|
+
summary: Summary of Ecom.
|
146
|
+
test_files: []
|