spree_essential_cms 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/LICENSE +23 -0
  2. data/README.md +78 -0
  3. data/Rakefile +21 -0
  4. data/app/controllers/admin/contents_controller.rb +41 -0
  5. data/app/controllers/admin/page_images_controller.rb +37 -0
  6. data/app/controllers/admin/pages_controller.rb +38 -0
  7. data/app/controllers/page_controller.rb +19 -0
  8. data/app/controllers/pages_controller.rb +28 -0
  9. data/app/controllers/spree_base_controller_decorator.rb +11 -0
  10. data/app/models/content.rb +82 -0
  11. data/app/models/page.rb +61 -0
  12. data/app/models/page_image.rb +40 -0
  13. data/app/views/admin/contents/_form.html.erb +74 -0
  14. data/app/views/admin/contents/edit.html.erb +16 -0
  15. data/app/views/admin/contents/index.html.erb +59 -0
  16. data/app/views/admin/contents/new.html.erb +18 -0
  17. data/app/views/admin/contents/show.html.erb +11 -0
  18. data/app/views/admin/page_images/_form.html.erb +8 -0
  19. data/app/views/admin/page_images/edit.html.erb +20 -0
  20. data/app/views/admin/page_images/index.html.erb +42 -0
  21. data/app/views/admin/page_images/new.html.erb +20 -0
  22. data/app/views/admin/pages/_form.html.erb +73 -0
  23. data/app/views/admin/pages/edit.html.erb +14 -0
  24. data/app/views/admin/pages/index.html.erb +62 -0
  25. data/app/views/admin/pages/new.html.erb +16 -0
  26. data/app/views/admin/pages/show.html.erb +23 -0
  27. data/app/views/admin/shared/_page_tabs.html.erb +23 -0
  28. data/app/views/pages/home.html.erb +28 -0
  29. data/app/views/pages/show.html.erb +3 -0
  30. data/app/views/shared/_content.html.erb +33 -0
  31. data/app/views/shared/_main_menu.html.erb +7 -0
  32. data/app/views/shared/_slideshow.html.erb +8 -0
  33. data/config/locales/en.yml +55 -0
  34. data/config/routes.rb +38 -0
  35. data/lib/dummy_hooks/after_migrate.rb +1 -0
  36. data/lib/dummy_hooks/after_migrate.rb.sample +1 -0
  37. data/lib/dummy_hooks/before_migrate.rb +6 -0
  38. data/lib/generators/essentials_base.rb +23 -0
  39. data/lib/generators/spree_essentials/cms_generator.rb +17 -0
  40. data/lib/generators/templates/db/migrate/create_contents.rb +27 -0
  41. data/lib/generators/templates/db/migrate/create_pages.rb +24 -0
  42. data/lib/spree_essential_cms/version.rb +3 -0
  43. data/lib/spree_essential_cms.rb +43 -0
  44. metadata +236 -0
metadata ADDED
@@ -0,0 +1,236 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: spree_essential_cms
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.1.0
6
+ platform: ruby
7
+ authors:
8
+ - Spencer Steffen
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-06-01 00:00:00 -07:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: spree_essentials
18
+ requirement: &id001 !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 0.1.0
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: spree_sample
29
+ requirement: &id002 !ruby/object:Gem::Requirement
30
+ none: false
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: 0.30.0
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: dummier
40
+ requirement: &id003 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ version: 0.1.1
46
+ type: :development
47
+ prerelease: false
48
+ version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
50
+ name: shoulda
51
+ requirement: &id004 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 2.11.3
57
+ type: :development
58
+ prerelease: false
59
+ version_requirements: *id004
60
+ - !ruby/object:Gem::Dependency
61
+ name: factory_girl
62
+ requirement: &id005 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: 2.0.0.beta2
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: *id005
71
+ - !ruby/object:Gem::Dependency
72
+ name: cucumber
73
+ requirement: &id006 !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: 0.10.2
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: *id006
82
+ - !ruby/object:Gem::Dependency
83
+ name: capybara
84
+ requirement: &id007 !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 0.4.1
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: *id007
93
+ - !ruby/object:Gem::Dependency
94
+ name: selenium-webdriver
95
+ requirement: &id008 !ruby/object:Gem::Requirement
96
+ none: false
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: 0.1.3
101
+ type: :development
102
+ prerelease: false
103
+ version_requirements: *id008
104
+ - !ruby/object:Gem::Dependency
105
+ name: sqlite3
106
+ requirement: &id009 !ruby/object:Gem::Requirement
107
+ none: false
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: 1.3.3
112
+ type: :development
113
+ prerelease: false
114
+ version_requirements: *id009
115
+ - !ruby/object:Gem::Dependency
116
+ name: faker
117
+ requirement: &id010 !ruby/object:Gem::Requirement
118
+ none: false
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 0.9.5
123
+ type: :development
124
+ prerelease: false
125
+ version_requirements: *id010
126
+ - !ruby/object:Gem::Dependency
127
+ name: spork
128
+ requirement: &id011 !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: 0.9.0.rc8
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: *id011
137
+ - !ruby/object:Gem::Dependency
138
+ name: spork-testunit
139
+ requirement: &id012 !ruby/object:Gem::Requirement
140
+ none: false
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: 0.0.5
145
+ type: :development
146
+ prerelease: false
147
+ version_requirements: *id012
148
+ description: SpreeEssentialCms is a full featured content management system for Spree Commerce. It's designed to be used with the spree_essentials base.
149
+ email:
150
+ - spencer@citrusme.com
151
+ executables: []
152
+
153
+ extensions: []
154
+
155
+ extra_rdoc_files: []
156
+
157
+ files:
158
+ - README.md
159
+ - LICENSE
160
+ - config/locales/en.yml
161
+ - config/routes.rb
162
+ - lib/dummy_hooks/after_migrate.rb
163
+ - lib/dummy_hooks/after_migrate.rb.sample
164
+ - lib/dummy_hooks/before_migrate.rb
165
+ - lib/generators/essentials_base.rb
166
+ - lib/generators/spree_essentials/cms_generator.rb
167
+ - lib/generators/templates/db/migrate/create_contents.rb
168
+ - lib/generators/templates/db/migrate/create_pages.rb
169
+ - lib/spree_essential_cms/version.rb
170
+ - lib/spree_essential_cms.rb
171
+ - app/controllers/admin/contents_controller.rb
172
+ - app/controllers/admin/page_images_controller.rb
173
+ - app/controllers/admin/pages_controller.rb
174
+ - app/controllers/page_controller.rb
175
+ - app/controllers/pages_controller.rb
176
+ - app/controllers/spree_base_controller_decorator.rb
177
+ - app/models/content.rb
178
+ - app/models/page.rb
179
+ - app/models/page_image.rb
180
+ - app/views/admin/contents/_form.html.erb
181
+ - app/views/admin/contents/edit.html.erb
182
+ - app/views/admin/contents/index.html.erb
183
+ - app/views/admin/contents/new.html.erb
184
+ - app/views/admin/contents/show.html.erb
185
+ - app/views/admin/page_images/_form.html.erb
186
+ - app/views/admin/page_images/edit.html.erb
187
+ - app/views/admin/page_images/index.html.erb
188
+ - app/views/admin/page_images/new.html.erb
189
+ - app/views/admin/pages/_form.html.erb
190
+ - app/views/admin/pages/edit.html.erb
191
+ - app/views/admin/pages/index.html.erb
192
+ - app/views/admin/pages/new.html.erb
193
+ - app/views/admin/pages/show.html.erb
194
+ - app/views/admin/shared/_page_tabs.html.erb
195
+ - app/views/pages/home.html.erb
196
+ - app/views/pages/show.html.erb
197
+ - app/views/shared/_content.html.erb
198
+ - app/views/shared/_main_menu.html.erb
199
+ - app/views/shared/_slideshow.html.erb
200
+ - Rakefile
201
+ has_rdoc: true
202
+ homepage: http://github.com/citrus/spree_essential_cms
203
+ licenses: []
204
+
205
+ post_install_message:
206
+ rdoc_options: []
207
+
208
+ require_paths:
209
+ - lib
210
+ required_ruby_version: !ruby/object:Gem::Requirement
211
+ none: false
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ hash: 444937849195505617
216
+ segments:
217
+ - 0
218
+ version: "0"
219
+ required_rubygems_version: !ruby/object:Gem::Requirement
220
+ none: false
221
+ requirements:
222
+ - - ">="
223
+ - !ruby/object:Gem::Version
224
+ hash: 444937849195505617
225
+ segments:
226
+ - 0
227
+ version: "0"
228
+ requirements: []
229
+
230
+ rubyforge_project:
231
+ rubygems_version: 1.6.2
232
+ signing_key:
233
+ specification_version: 3
234
+ summary: SpreeEssentialCms is a full featured content management system for Spree Commerce.
235
+ test_files: []
236
+