chili_pepper 0.0.2
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.rdoc +3 -0
- data/Rakefile +27 -0
- data/app/assets/javascripts/chili_pepper/dishes.js.coffee +9 -0
- data/app/assets/javascripts/chili_pepper/items.js.coffee +10 -0
- data/app/assets/javascripts/chili_pepper/layout.js.coffee +10 -0
- data/app/assets/javascripts/chili_pepper/menus.js.coffee +0 -0
- data/app/assets/javascripts/chili_pepper/sections.js.coffee +12 -0
- data/app/assets/javascripts/chili_pepper.js +15 -0
- data/app/assets/stylesheets/chili_pepper/application.css +13 -0
- data/app/assets/stylesheets/chili_pepper/dishes.css +4 -0
- data/app/assets/stylesheets/chili_pepper/items.css +4 -0
- data/app/assets/stylesheets/chili_pepper/menus.css +4 -0
- data/app/assets/stylesheets/chili_pepper/sections.css +4 -0
- data/app/controllers/chili_pepper/application_controller.rb +4 -0
- data/app/controllers/chili_pepper/dishes_controller.rb +82 -0
- data/app/controllers/chili_pepper/items_controller.rb +34 -0
- data/app/controllers/chili_pepper/menus_controller.rb +95 -0
- data/app/controllers/chili_pepper/sections_controller.rb +80 -0
- data/app/decorators/chili_pepper/item_decorator.rb +54 -0
- data/app/decorators/chili_pepper/menu_decorator.rb +97 -0
- data/app/decorators/chili_pepper/section_decorator.rb +19 -0
- data/app/helpers/chili_pepper/application_helper.rb +23 -0
- data/app/helpers/chili_pepper/dishes_helper.rb +4 -0
- data/app/helpers/chili_pepper/items_helper.rb +4 -0
- data/app/helpers/chili_pepper/menus_helper.rb +4 -0
- data/app/helpers/chili_pepper/sections_helper.rb +4 -0
- data/app/models/chili_pepper/admin.rb +26 -0
- data/app/models/chili_pepper/dish.rb +28 -0
- data/app/models/chili_pepper/item.rb +32 -0
- data/app/models/chili_pepper/menu.rb +70 -0
- data/app/models/chili_pepper/section.rb +29 -0
- data/app/views/chili_pepper/dishes/_form.html.haml +26 -0
- data/app/views/chili_pepper/dishes/edit.html.haml +9 -0
- data/app/views/chili_pepper/dishes/new.html.haml +9 -0
- data/app/views/chili_pepper/items/_item.html.haml +18 -0
- data/app/views/chili_pepper/menus/_form.html.haml +29 -0
- data/app/views/chili_pepper/menus/_navigation.html.haml +12 -0
- data/app/views/chili_pepper/menus/edit.html.haml +7 -0
- data/app/views/chili_pepper/menus/new.html.haml +7 -0
- data/app/views/chili_pepper/menus/show.html.haml +13 -0
- data/app/views/chili_pepper/sections/_column.html.haml +8 -0
- data/app/views/chili_pepper/sections/_form.html.haml +10 -0
- data/app/views/chili_pepper/sections/_section_nav_item.html.haml +6 -0
- data/app/views/chili_pepper/sections/edit.html.haml +8 -0
- data/app/views/chili_pepper/sections/new.html.haml +8 -0
- data/app/views/chili_pepper/sections/show.html.haml +25 -0
- data/app/views/devise/confirmations/new.html.haml +9 -0
- data/app/views/devise/mailer/confirmation_instructions.html.haml +4 -0
- data/app/views/devise/mailer/reset_password_instructions.html.haml +6 -0
- data/app/views/devise/mailer/unlock_instructions.html.haml +5 -0
- data/app/views/devise/passwords/edit.html.haml +14 -0
- data/app/views/devise/passwords/new.html.haml +9 -0
- data/app/views/devise/registrations/edit.html.haml +30 -0
- data/app/views/devise/registrations/new.html.haml +17 -0
- data/app/views/devise/sessions/new.html.haml +16 -0
- data/app/views/devise/shared/_links.haml +19 -0
- data/app/views/devise/unlocks/new.html.haml +9 -0
- data/app/views/layouts/chili_pepper/menu.html.haml +42 -0
- data/config/initializers/devise.rb +259 -0
- data/config/initializers/friendly_id.rb +88 -0
- data/config/initializers/simple_form.rb +145 -0
- data/config/locales/devise.en.yml +59 -0
- data/config/locales/simple_form.en.yml +26 -0
- data/config/routes.rb +21 -0
- data/db/migrate/20140428211712_create_chili_pepper_menus.rb +11 -0
- data/db/migrate/20140508093442_add_attributes_to_menus.rb +9 -0
- data/db/migrate/20140508094807_create_friendly_id_slugs.rb +15 -0
- data/db/migrate/20140514134818_create_chili_pepper_sections.rb +12 -0
- data/db/migrate/20140514141708_add_slug_to_chili_pepper_sections.rb +6 -0
- data/db/migrate/20140514143903_create_chili_pepper_dishes.rb +11 -0
- data/db/migrate/20140514144108_create_chili_pepper_items.rb +13 -0
- data/db/migrate/20140514144550_add_vegetarian_option_to_chili_pepper_dishes.rb +5 -0
- data/db/migrate/20140514153016_add_published_status_to_menus.rb +5 -0
- data/db/migrate/20140612152411_devise_create_chili_pepper_admins.rb +42 -0
- data/db/migrate/20140616162854_add_pictures_to_dishes.rb +5 -0
- data/db/migrate/20140616163025_add_attachements_to_menus.rb +6 -0
- data/db/migrate/20140616163238_add_attachments_to_sections.rb +5 -0
- data/lib/chili_pepper/configuration.rb +9 -0
- data/lib/chili_pepper/engine.rb +45 -0
- data/lib/chili_pepper/version.rb +3 -0
- data/lib/chili_pepper.rb +17 -0
- data/lib/tasks/auto_annotate_models.rake +34 -0
- data/lib/tasks/chili_pepper_tasks.rake +4 -0
- data/lib/templates/haml/scaffold/_form.html.haml +10 -0
- metadata +464 -0
@@ -0,0 +1,13 @@
|
|
1
|
+
class CreateChiliPepperItems < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :chili_pepper_items do |t|
|
4
|
+
t.integer :section_id
|
5
|
+
t.integer :dish_id
|
6
|
+
t.integer :position
|
7
|
+
t.decimal :price, precision: 5, scale: 2
|
8
|
+
t.integer :column
|
9
|
+
|
10
|
+
t.timestamps
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
class DeviseCreateChiliPepperAdmins < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table(:chili_pepper_admins) do |t|
|
4
|
+
## Database authenticatable
|
5
|
+
t.string :email, null: false, default: ""
|
6
|
+
t.string :encrypted_password, null: false, default: ""
|
7
|
+
|
8
|
+
## Recoverable
|
9
|
+
t.string :reset_password_token
|
10
|
+
t.datetime :reset_password_sent_at
|
11
|
+
|
12
|
+
## Rememberable
|
13
|
+
t.datetime :remember_created_at
|
14
|
+
|
15
|
+
## Trackable
|
16
|
+
t.integer :sign_in_count, default: 0, null: false
|
17
|
+
t.datetime :current_sign_in_at
|
18
|
+
t.datetime :last_sign_in_at
|
19
|
+
t.string :current_sign_in_ip
|
20
|
+
t.string :last_sign_in_ip
|
21
|
+
|
22
|
+
## Confirmable
|
23
|
+
# t.string :confirmation_token
|
24
|
+
# t.datetime :confirmed_at
|
25
|
+
# t.datetime :confirmation_sent_at
|
26
|
+
# t.string :unconfirmed_email # Only if using reconfirmable
|
27
|
+
|
28
|
+
## Lockable
|
29
|
+
# t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts
|
30
|
+
# t.string :unlock_token # Only if unlock strategy is :email or :both
|
31
|
+
# t.datetime :locked_at
|
32
|
+
|
33
|
+
|
34
|
+
t.timestamps
|
35
|
+
end
|
36
|
+
|
37
|
+
add_index :chili_pepper_admins, :email, unique: true
|
38
|
+
add_index :chili_pepper_admins, :reset_password_token, unique: true
|
39
|
+
# add_index :chili_pepper_admins, :confirmation_token, unique: true
|
40
|
+
# add_index :chili_pepper_admins, :unlock_token, unique: true
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'acts_as_list'
|
3
|
+
require 'friendly_id'
|
4
|
+
require 'paperclip'
|
5
|
+
require 'haml-rails'
|
6
|
+
require 'simple_form'
|
7
|
+
require 'draper'
|
8
|
+
require 'redcarpet'
|
9
|
+
require 'jquery-rails'
|
10
|
+
require 'jquery-ui-rails'
|
11
|
+
require 'rails3-jquery-autocomplete'
|
12
|
+
|
13
|
+
module ChiliPepper
|
14
|
+
|
15
|
+
|
16
|
+
class << self
|
17
|
+
mattr_accessor :columns_number, :menu_medium_image, :restaurant_name
|
18
|
+
self.columns_number = 2
|
19
|
+
self.menu_medium_image = '430x184>'
|
20
|
+
self.restaurant_name = 'Restaurant'
|
21
|
+
|
22
|
+
# add default values of more config vars here
|
23
|
+
end
|
24
|
+
|
25
|
+
# this function maps the vars from your app into your engine
|
26
|
+
def self.setup(&block)
|
27
|
+
yield self
|
28
|
+
end
|
29
|
+
|
30
|
+
class Engine < ::Rails::Engine
|
31
|
+
isolate_namespace ChiliPepper
|
32
|
+
|
33
|
+
config.generators do |g|
|
34
|
+
g.test_framework :rspec
|
35
|
+
g.fixture_replacement :factory_girl, dir: 'spec/factories'
|
36
|
+
end
|
37
|
+
|
38
|
+
# config.to_prepare do
|
39
|
+
# ApplicationController.helper(ActionView::Helpers::ApplicationHelper)
|
40
|
+
# end
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
end
|
45
|
+
end
|
data/lib/chili_pepper.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'devise'
|
2
|
+
require 'chili_pepper/engine'
|
3
|
+
require 'chili_pepper/configuration'
|
4
|
+
|
5
|
+
module ChiliPepper
|
6
|
+
class << self
|
7
|
+
attr_writer :configuration
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.configuration
|
11
|
+
@configuration ||= Configuration.new
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.configure
|
15
|
+
yield(configuration)
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# NOTE: only doing this in development as some production environments (Heroku)
|
2
|
+
# NOTE: are sensitive to local FS writes, and besides -- it's just not proper
|
3
|
+
# NOTE: to have a dev-mode tool do its thing in production.
|
4
|
+
if Rails.env.development?
|
5
|
+
task :set_annotation_options do
|
6
|
+
# You can override any of these by setting an environment variable of the
|
7
|
+
# same name.
|
8
|
+
Annotate.set_defaults({
|
9
|
+
'position_in_routes' => "before",
|
10
|
+
'position_in_class' => "before",
|
11
|
+
'position_in_test' => "before",
|
12
|
+
'position_in_fixture' => "before",
|
13
|
+
'position_in_factory' => "before",
|
14
|
+
'show_indexes' => "true",
|
15
|
+
'simple_indexes' => "false",
|
16
|
+
'model_dir' => "app/models",
|
17
|
+
'include_version' => "false",
|
18
|
+
'require' => "",
|
19
|
+
'exclude_tests' => "false",
|
20
|
+
'exclude_fixtures' => "false",
|
21
|
+
'exclude_factories' => "false",
|
22
|
+
'ignore_model_sub_dir' => "false",
|
23
|
+
'skip_on_db_migrate' => "false",
|
24
|
+
'format_bare' => "true",
|
25
|
+
'format_rdoc' => "false",
|
26
|
+
'format_markdown' => "false",
|
27
|
+
'sort' => "false",
|
28
|
+
'force' => "false",
|
29
|
+
'trace' => "false",
|
30
|
+
})
|
31
|
+
end
|
32
|
+
|
33
|
+
Annotate.load_tasks
|
34
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
= simple_form_for(@<%= singular_table_name %>) do |f|
|
2
|
+
= f.error_notification
|
3
|
+
|
4
|
+
.form-inputs
|
5
|
+
<%- attributes.each do |attribute| -%>
|
6
|
+
= f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %>
|
7
|
+
<%- end -%>
|
8
|
+
|
9
|
+
.form-actions
|
10
|
+
= f.button :submit
|
metadata
ADDED
@@ -0,0 +1,464 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: chili_pepper
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Loic Seigland
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-08-08 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.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jquery-rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: jquery-ui-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: coffee-rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: acts_as_list
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.4.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.4.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: friendly_id
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 5.0.0
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 5.0.0
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: devise
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '3.2'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '3.2'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: paperclip
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '4.1'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '4.1'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: haml-rails
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.5.3
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.5.3
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: simple_form
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '3.0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '3.0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: draper
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '1.3'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '1.3'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: redcarpet
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '3.1'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '3.1'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rails3-jquery-autocomplete
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: codeclimate-test-reporter
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rspec-rails
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: capybara
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: guard-rspec
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: guard-spork
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: poltergeist
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
type: :development
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: factory_girl_rails
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
type: :development
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: sqlite3
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - ">="
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '0'
|
300
|
+
type: :development
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - ">="
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0'
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: database_cleaner
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - ">="
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: '0'
|
314
|
+
type: :development
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - ">="
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: '0'
|
321
|
+
- !ruby/object:Gem::Dependency
|
322
|
+
name: launchy
|
323
|
+
requirement: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - ">="
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: '0'
|
328
|
+
type: :development
|
329
|
+
prerelease: false
|
330
|
+
version_requirements: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - ">="
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: '0'
|
335
|
+
- !ruby/object:Gem::Dependency
|
336
|
+
name: annotate
|
337
|
+
requirement: !ruby/object:Gem::Requirement
|
338
|
+
requirements:
|
339
|
+
- - ">="
|
340
|
+
- !ruby/object:Gem::Version
|
341
|
+
version: 2.6.0
|
342
|
+
type: :development
|
343
|
+
prerelease: false
|
344
|
+
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
requirements:
|
346
|
+
- - ">="
|
347
|
+
- !ruby/object:Gem::Version
|
348
|
+
version: 2.6.0
|
349
|
+
description: Using in-place editing etc.
|
350
|
+
email:
|
351
|
+
- loic@loicseigland.ie
|
352
|
+
executables: []
|
353
|
+
extensions: []
|
354
|
+
extra_rdoc_files: []
|
355
|
+
files:
|
356
|
+
- MIT-LICENSE
|
357
|
+
- README.rdoc
|
358
|
+
- Rakefile
|
359
|
+
- app/assets/javascripts/chili_pepper.js
|
360
|
+
- app/assets/javascripts/chili_pepper/dishes.js.coffee
|
361
|
+
- app/assets/javascripts/chili_pepper/items.js.coffee
|
362
|
+
- app/assets/javascripts/chili_pepper/layout.js.coffee
|
363
|
+
- app/assets/javascripts/chili_pepper/menus.js.coffee
|
364
|
+
- app/assets/javascripts/chili_pepper/sections.js.coffee
|
365
|
+
- app/assets/stylesheets/chili_pepper/application.css
|
366
|
+
- app/assets/stylesheets/chili_pepper/dishes.css
|
367
|
+
- app/assets/stylesheets/chili_pepper/items.css
|
368
|
+
- app/assets/stylesheets/chili_pepper/menus.css
|
369
|
+
- app/assets/stylesheets/chili_pepper/sections.css
|
370
|
+
- app/controllers/chili_pepper/application_controller.rb
|
371
|
+
- app/controllers/chili_pepper/dishes_controller.rb
|
372
|
+
- app/controllers/chili_pepper/items_controller.rb
|
373
|
+
- app/controllers/chili_pepper/menus_controller.rb
|
374
|
+
- app/controllers/chili_pepper/sections_controller.rb
|
375
|
+
- app/decorators/chili_pepper/item_decorator.rb
|
376
|
+
- app/decorators/chili_pepper/menu_decorator.rb
|
377
|
+
- app/decorators/chili_pepper/section_decorator.rb
|
378
|
+
- app/helpers/chili_pepper/application_helper.rb
|
379
|
+
- app/helpers/chili_pepper/dishes_helper.rb
|
380
|
+
- app/helpers/chili_pepper/items_helper.rb
|
381
|
+
- app/helpers/chili_pepper/menus_helper.rb
|
382
|
+
- app/helpers/chili_pepper/sections_helper.rb
|
383
|
+
- app/models/chili_pepper/admin.rb
|
384
|
+
- app/models/chili_pepper/dish.rb
|
385
|
+
- app/models/chili_pepper/item.rb
|
386
|
+
- app/models/chili_pepper/menu.rb
|
387
|
+
- app/models/chili_pepper/section.rb
|
388
|
+
- app/views/chili_pepper/dishes/_form.html.haml
|
389
|
+
- app/views/chili_pepper/dishes/edit.html.haml
|
390
|
+
- app/views/chili_pepper/dishes/new.html.haml
|
391
|
+
- app/views/chili_pepper/items/_item.html.haml
|
392
|
+
- app/views/chili_pepper/menus/_form.html.haml
|
393
|
+
- app/views/chili_pepper/menus/_navigation.html.haml
|
394
|
+
- app/views/chili_pepper/menus/edit.html.haml
|
395
|
+
- app/views/chili_pepper/menus/new.html.haml
|
396
|
+
- app/views/chili_pepper/menus/show.html.haml
|
397
|
+
- app/views/chili_pepper/sections/_column.html.haml
|
398
|
+
- app/views/chili_pepper/sections/_form.html.haml
|
399
|
+
- app/views/chili_pepper/sections/_section_nav_item.html.haml
|
400
|
+
- app/views/chili_pepper/sections/edit.html.haml
|
401
|
+
- app/views/chili_pepper/sections/new.html.haml
|
402
|
+
- app/views/chili_pepper/sections/show.html.haml
|
403
|
+
- app/views/devise/confirmations/new.html.haml
|
404
|
+
- app/views/devise/mailer/confirmation_instructions.html.haml
|
405
|
+
- app/views/devise/mailer/reset_password_instructions.html.haml
|
406
|
+
- app/views/devise/mailer/unlock_instructions.html.haml
|
407
|
+
- app/views/devise/passwords/edit.html.haml
|
408
|
+
- app/views/devise/passwords/new.html.haml
|
409
|
+
- app/views/devise/registrations/edit.html.haml
|
410
|
+
- app/views/devise/registrations/new.html.haml
|
411
|
+
- app/views/devise/sessions/new.html.haml
|
412
|
+
- app/views/devise/shared/_links.haml
|
413
|
+
- app/views/devise/unlocks/new.html.haml
|
414
|
+
- app/views/layouts/chili_pepper/menu.html.haml
|
415
|
+
- config/initializers/devise.rb
|
416
|
+
- config/initializers/friendly_id.rb
|
417
|
+
- config/initializers/simple_form.rb
|
418
|
+
- config/locales/devise.en.yml
|
419
|
+
- config/locales/simple_form.en.yml
|
420
|
+
- config/routes.rb
|
421
|
+
- db/migrate/20140428211712_create_chili_pepper_menus.rb
|
422
|
+
- db/migrate/20140508093442_add_attributes_to_menus.rb
|
423
|
+
- db/migrate/20140508094807_create_friendly_id_slugs.rb
|
424
|
+
- db/migrate/20140514134818_create_chili_pepper_sections.rb
|
425
|
+
- db/migrate/20140514141708_add_slug_to_chili_pepper_sections.rb
|
426
|
+
- db/migrate/20140514143903_create_chili_pepper_dishes.rb
|
427
|
+
- db/migrate/20140514144108_create_chili_pepper_items.rb
|
428
|
+
- db/migrate/20140514144550_add_vegetarian_option_to_chili_pepper_dishes.rb
|
429
|
+
- db/migrate/20140514153016_add_published_status_to_menus.rb
|
430
|
+
- db/migrate/20140612152411_devise_create_chili_pepper_admins.rb
|
431
|
+
- db/migrate/20140616162854_add_pictures_to_dishes.rb
|
432
|
+
- db/migrate/20140616163025_add_attachements_to_menus.rb
|
433
|
+
- db/migrate/20140616163238_add_attachments_to_sections.rb
|
434
|
+
- lib/chili_pepper.rb
|
435
|
+
- lib/chili_pepper/configuration.rb
|
436
|
+
- lib/chili_pepper/engine.rb
|
437
|
+
- lib/chili_pepper/version.rb
|
438
|
+
- lib/tasks/auto_annotate_models.rake
|
439
|
+
- lib/tasks/chili_pepper_tasks.rake
|
440
|
+
- lib/templates/haml/scaffold/_form.html.haml
|
441
|
+
homepage: ''
|
442
|
+
licenses: []
|
443
|
+
metadata: {}
|
444
|
+
post_install_message:
|
445
|
+
rdoc_options: []
|
446
|
+
require_paths:
|
447
|
+
- lib
|
448
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
449
|
+
requirements:
|
450
|
+
- - ">="
|
451
|
+
- !ruby/object:Gem::Version
|
452
|
+
version: '0'
|
453
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
454
|
+
requirements:
|
455
|
+
- - ">="
|
456
|
+
- !ruby/object:Gem::Version
|
457
|
+
version: '0'
|
458
|
+
requirements: []
|
459
|
+
rubyforge_project:
|
460
|
+
rubygems_version: 2.3.0
|
461
|
+
signing_key:
|
462
|
+
specification_version: 4
|
463
|
+
summary: Rapid Creation of CMS for restaurant websites.
|
464
|
+
test_files: []
|