venice-chr 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/.gitignore +20 -0
- data/Gemfile +40 -0
- data/Gemfile.lock +481 -0
- data/Procfile +1 -0
- data/README.md +62 -0
- data/Rakefile +8 -0
- data/app/assets/fonts/ProximaNovaRegular.eot +0 -0
- data/app/assets/fonts/ProximaNovaRegular.ttf +0 -0
- data/app/assets/fonts/ProximaNovaRegular.woff +0 -0
- data/app/assets/fonts/ProximaNovaSemibold.eot +0 -0
- data/app/assets/fonts/ProximaNovaSemibold.ttf +0 -0
- data/app/assets/fonts/ProximaNovaSemibold.woff +0 -0
- data/app/assets/images/.keep +0 -0
- data/app/assets/javascripts/admin/settings/config.coffee +9 -0
- data/app/assets/javascripts/admin/settings/general.coffee +52 -0
- data/app/assets/javascripts/admin.coffee +39 -0
- data/app/assets/javascripts/application.coffee +2 -0
- data/app/assets/stylesheets/admin.scss +50 -0
- data/app/assets/stylesheets/application.scss +4 -0
- data/app/assets/stylesheets/themes/venice/base.scss +163 -0
- data/app/assets/stylesheets/themes/venice/desktop.scss +132 -0
- data/app/assets/stylesheets/themes/venice/mobile.scss +95 -0
- data/app/assets/stylesheets/themes/venice.scss +12 -0
- data/app/controllers/admin/base_controller.rb +17 -0
- data/app/controllers/admin/devise_overrides/passwords_controller.rb +11 -0
- data/app/controllers/admin/devise_overrides/sessions_controller.rb +20 -0
- data/app/controllers/application_controller.rb +7 -0
- data/app/controllers/concerns/load_settings.rb +23 -0
- data/app/helpers/application_helper.rb +102 -0
- data/app/helpers/body_class_helper.rb +15 -0
- data/app/mailers/.keep +0 -0
- data/app/models/.keep +0 -0
- data/app/models/concerns/.keep +0 -0
- data/app/models/venice_settings.rb +2 -0
- data/app/views/admin/devise_overrides/passwords/edit.html.erb +31 -0
- data/app/views/admin/devise_overrides/passwords/new.html.erb +19 -0
- data/app/views/admin/devise_overrides/sessions/new.html.erb +29 -0
- data/app/views/admin/index.html.erb +5 -0
- data/app/views/application/_footer.html.erb +3 -0
- data/app/views/application/_header.html.erb +17 -0
- data/app/views/application/_javascript.html.erb +7 -0
- data/app/views/kaminari/_first_page.html.erb +15 -0
- data/app/views/kaminari/_gap.html.erb +8 -0
- data/app/views/kaminari/_last_page.html.erb +15 -0
- data/app/views/kaminari/_next_page.html.erb +15 -0
- data/app/views/kaminari/_page.html.erb +12 -0
- data/app/views/kaminari/_paginator.html.erb +23 -0
- data/app/views/kaminari/_prev_page.html.erb +15 -0
- data/app/views/layouts/admin.html.erb +21 -0
- data/app/views/layouts/application.html.erb +22 -0
- data/bin/bundle +3 -0
- data/bin/deploy-heroku +35 -0
- data/bin/rails +8 -0
- data/bin/rake +8 -0
- data/bin/setup +35 -0
- data/bin/spring +15 -0
- data/bin/venice +12 -0
- data/config/application.rb +40 -0
- data/config/boot.rb +3 -0
- data/config/environment.rb +5 -0
- data/config/environments/development.rb +40 -0
- data/config/environments/production.rb +96 -0
- data/config/environments/staging.rb +9 -0
- data/config/environments/test.rb +44 -0
- data/config/initializers/assets.rb +11 -0
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/bypass_ssl_verification_for_open_uri.rb +1 -0
- data/config/initializers/carrierwave.rb +21 -0
- data/config/initializers/cookies_serializer.rb +3 -0
- data/config/initializers/devise.rb +262 -0
- data/config/initializers/errors.rb +34 -0
- data/config/initializers/filter_parameter_logging.rb +4 -0
- data/config/initializers/inflections.rb +16 -0
- data/config/initializers/json_encoding.rb +1 -0
- data/config/initializers/kaminari_config.rb +10 -0
- data/config/initializers/mime_types.rb +4 -0
- data/config/initializers/session_store.rb +3 -0
- data/config/initializers/wrap_parameters.rb +9 -0
- data/config/locales/devise.en.yml +60 -0
- data/config/locales/en.yml +23 -0
- data/config/mongoid.yml +106 -0
- data/config/routes.rb +35 -0
- data/config/secrets.yml +14 -0
- data/config/smtp.rb +9 -0
- data/config/unicorn.rb +17 -0
- data/config.ru +4 -0
- data/db/seeds.rb +10 -0
- data/lib/assets/.keep +0 -0
- data/lib/tasks/.keep +0 -0
- data/lib/venice/kit.rb +39 -0
- data/lib/venice/version.rb +3 -0
- data/lib/venice.rb +2 -0
- data/public/404.html +69 -0
- data/public/422.html +69 -0
- data/public/500.html +68 -0
- data/public/favicon.ico +0 -0
- data/public/robots.txt +5 -0
- data/vendor/assets/javascripts/.keep +0 -0
- data/vendor/assets/stylesheets/.keep +0 -0
- data/venice-chr.gemspec +23 -0
- metadata +187 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: a5f3be6645495509ca7b3f5de084d0c1cd099a01
|
4
|
+
data.tar.gz: 23b04c3b2710f13718fb712edd071a092dfcbd85
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d27223825e2c17ab8f1f3a1ac137d72f4905cd80076943c1bf258d2ae5af137c9f364a47b001f5efbd04d2760d836a83aeb0e07be3b2ab1c40f3617905d260f9
|
7
|
+
data.tar.gz: 4e15b0e662387250ce7c1ecba26d2d9ae6a025ab22c6f9995ab3dd828c02311258e5b5cba8ba9b3f2b9f192627785f564b2f5ca288e2a36cc849d05c515a687c
|
data/.gitignore
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
!.keep
|
2
|
+
*.DS_Store
|
3
|
+
*.swo
|
4
|
+
*.swp
|
5
|
+
/.bundle
|
6
|
+
/.env
|
7
|
+
/.foreman
|
8
|
+
/coverage/*
|
9
|
+
/db/*.sqlite3
|
10
|
+
/log/*
|
11
|
+
/public/system
|
12
|
+
/public/assets
|
13
|
+
/tags
|
14
|
+
/tmp/*
|
15
|
+
/public/loft
|
16
|
+
pull_production.sh
|
17
|
+
/dump
|
18
|
+
/public/uploads
|
19
|
+
vendor/bundle
|
20
|
+
/*.gem
|
data/Gemfile
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
gemspec
|
3
|
+
ruby "2.2.3"
|
4
|
+
|
5
|
+
gem "rails", "~> 4.2.5"
|
6
|
+
gem "sass-rails", "~> 5.0"
|
7
|
+
gem "uglifier"
|
8
|
+
gem "coffee-rails", "~> 4.1.0"
|
9
|
+
gem "jquery-rails"
|
10
|
+
gem "unicorn"
|
11
|
+
gem "recipient_interceptor"
|
12
|
+
gem "rack-canonical-host"
|
13
|
+
gem "awesome_print"
|
14
|
+
gem "bson_ext"
|
15
|
+
gem "mongoid", "~> 5.0"
|
16
|
+
gem "fog"
|
17
|
+
gem "fog-aws"
|
18
|
+
gem "rack-host-redirect"
|
19
|
+
gem "tape-chr"
|
20
|
+
gem "journal-chr"
|
21
|
+
|
22
|
+
group :development do
|
23
|
+
gem "spring"
|
24
|
+
gem "web-console"
|
25
|
+
gem "heroku"
|
26
|
+
end
|
27
|
+
|
28
|
+
group :development, :test do
|
29
|
+
gem "figaro"
|
30
|
+
gem "byebug"
|
31
|
+
gem "quiet_assets"
|
32
|
+
gem "bundler-audit", require: false
|
33
|
+
gem "factory_girl_rails"
|
34
|
+
gem "dotenv-rails"
|
35
|
+
end
|
36
|
+
|
37
|
+
group :staging, :production do
|
38
|
+
gem "rack-timeout"
|
39
|
+
gem "rails_12factor"
|
40
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,481 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
venice-chr (0.1.1)
|
5
|
+
thor
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
CFPropertyList (2.3.2)
|
11
|
+
actionmailer (4.2.5)
|
12
|
+
actionpack (= 4.2.5)
|
13
|
+
actionview (= 4.2.5)
|
14
|
+
activejob (= 4.2.5)
|
15
|
+
mail (~> 2.5, >= 2.5.4)
|
16
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
17
|
+
actionpack (4.2.5)
|
18
|
+
actionview (= 4.2.5)
|
19
|
+
activesupport (= 4.2.5)
|
20
|
+
rack (~> 1.6)
|
21
|
+
rack-test (~> 0.6.2)
|
22
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
23
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
24
|
+
actionview (4.2.5)
|
25
|
+
activesupport (= 4.2.5)
|
26
|
+
builder (~> 3.1)
|
27
|
+
erubis (~> 2.7.0)
|
28
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
29
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
30
|
+
activejob (4.2.5)
|
31
|
+
activesupport (= 4.2.5)
|
32
|
+
globalid (>= 0.3.0)
|
33
|
+
activemodel (4.2.5)
|
34
|
+
activesupport (= 4.2.5)
|
35
|
+
builder (~> 3.1)
|
36
|
+
activerecord (4.2.5)
|
37
|
+
activemodel (= 4.2.5)
|
38
|
+
activesupport (= 4.2.5)
|
39
|
+
arel (~> 6.0)
|
40
|
+
activesupport (4.2.5)
|
41
|
+
i18n (~> 0.7)
|
42
|
+
json (~> 1.7, >= 1.7.7)
|
43
|
+
minitest (~> 5.1)
|
44
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
45
|
+
tzinfo (~> 1.1)
|
46
|
+
addressable (2.3.8)
|
47
|
+
ants (0.3.12)
|
48
|
+
devise
|
49
|
+
meta-tags
|
50
|
+
mongoid (>= 4.0)
|
51
|
+
mongoid-slug (>= 4.0.0)
|
52
|
+
arel (6.0.3)
|
53
|
+
awesome_print (1.6.1)
|
54
|
+
bcrypt (3.1.10)
|
55
|
+
binding_of_caller (0.7.2)
|
56
|
+
debug_inspector (>= 0.0.1)
|
57
|
+
bourbon (4.2.6)
|
58
|
+
sass (~> 3.4)
|
59
|
+
thor (~> 0.19)
|
60
|
+
bson (4.0.0)
|
61
|
+
bson_ext (1.5.1)
|
62
|
+
builder (3.2.2)
|
63
|
+
bundler-audit (0.4.0)
|
64
|
+
bundler (~> 1.2)
|
65
|
+
thor (~> 0.18)
|
66
|
+
byebug (8.2.1)
|
67
|
+
carrierwave (0.10.0)
|
68
|
+
activemodel (>= 3.2.0)
|
69
|
+
activesupport (>= 3.2.0)
|
70
|
+
json (>= 1.7)
|
71
|
+
mime-types (>= 1.16)
|
72
|
+
carrierwave-mongoid (0.8.1)
|
73
|
+
carrierwave (>= 0.8.0, < 0.11.0)
|
74
|
+
mongoid (>= 3.0, < 6.0)
|
75
|
+
mongoid-grid_fs (>= 1.3, < 3.0)
|
76
|
+
chr (0.5.6)
|
77
|
+
bourbon
|
78
|
+
coffee-rails (>= 4.0)
|
79
|
+
font-awesome-rails
|
80
|
+
formagic (>= 0.3.8)
|
81
|
+
jquery-rails
|
82
|
+
rails (~> 4.2.5)
|
83
|
+
sass-rails
|
84
|
+
coffee-rails (4.1.1)
|
85
|
+
coffee-script (>= 2.2.0)
|
86
|
+
railties (>= 4.0.0, < 5.1.x)
|
87
|
+
coffee-script (2.4.1)
|
88
|
+
coffee-script-source
|
89
|
+
execjs
|
90
|
+
coffee-script-source (1.10.0)
|
91
|
+
concurrent-ruby (1.0.0)
|
92
|
+
debug_inspector (0.0.2)
|
93
|
+
devise (3.5.3)
|
94
|
+
bcrypt (~> 3.0)
|
95
|
+
orm_adapter (~> 0.1)
|
96
|
+
railties (>= 3.2.6, < 5)
|
97
|
+
responders
|
98
|
+
thread_safe (~> 0.1)
|
99
|
+
warden (~> 1.2.3)
|
100
|
+
domain_name (0.5.25)
|
101
|
+
unf (>= 0.0.5, < 1.0.0)
|
102
|
+
dotenv (2.0.2)
|
103
|
+
dotenv-rails (2.0.2)
|
104
|
+
dotenv (= 2.0.2)
|
105
|
+
railties (~> 4.0)
|
106
|
+
easy_diff (0.0.6)
|
107
|
+
erubis (2.7.0)
|
108
|
+
excon (0.45.4)
|
109
|
+
execjs (2.6.0)
|
110
|
+
factory_girl (4.5.0)
|
111
|
+
activesupport (>= 3.0.0)
|
112
|
+
factory_girl_rails (4.5.0)
|
113
|
+
factory_girl (~> 4.5.0)
|
114
|
+
railties (>= 3.0.0)
|
115
|
+
faraday (0.9.2)
|
116
|
+
multipart-post (>= 1.2, < 3)
|
117
|
+
faraday_middleware (0.10.0)
|
118
|
+
faraday (>= 0.7.4, < 0.10)
|
119
|
+
fast-stemmer (1.0.2)
|
120
|
+
feedjira (2.0.0)
|
121
|
+
faraday (~> 0.9)
|
122
|
+
faraday_middleware (~> 0.9)
|
123
|
+
loofah (~> 2.0)
|
124
|
+
sax-machine (~> 1.0)
|
125
|
+
figaro (1.1.1)
|
126
|
+
thor (~> 0.14)
|
127
|
+
fission (0.5.0)
|
128
|
+
CFPropertyList (~> 2.2)
|
129
|
+
fog (1.36.0)
|
130
|
+
fog-aliyun (>= 0.1.0)
|
131
|
+
fog-atmos
|
132
|
+
fog-aws (>= 0.6.0)
|
133
|
+
fog-brightbox (~> 0.4)
|
134
|
+
fog-core (~> 1.32)
|
135
|
+
fog-dynect (~> 0.0.2)
|
136
|
+
fog-ecloud (~> 0.1)
|
137
|
+
fog-google (<= 0.1.0)
|
138
|
+
fog-json
|
139
|
+
fog-local
|
140
|
+
fog-powerdns (>= 0.1.1)
|
141
|
+
fog-profitbricks
|
142
|
+
fog-radosgw (>= 0.0.2)
|
143
|
+
fog-riakcs
|
144
|
+
fog-sakuracloud (>= 0.0.4)
|
145
|
+
fog-serverlove
|
146
|
+
fog-softlayer
|
147
|
+
fog-storm_on_demand
|
148
|
+
fog-terremark
|
149
|
+
fog-vmfusion
|
150
|
+
fog-voxel
|
151
|
+
fog-xenserver
|
152
|
+
fog-xml (~> 0.1.1)
|
153
|
+
ipaddress (~> 0.5)
|
154
|
+
nokogiri (~> 1.5, >= 1.5.11)
|
155
|
+
fog-aliyun (0.1.0)
|
156
|
+
fog-core (~> 1.27)
|
157
|
+
fog-json (~> 1.0)
|
158
|
+
ipaddress (~> 0.8)
|
159
|
+
xml-simple (~> 1.1)
|
160
|
+
fog-atmos (0.1.0)
|
161
|
+
fog-core
|
162
|
+
fog-xml
|
163
|
+
fog-aws (0.7.6)
|
164
|
+
fog-core (~> 1.27)
|
165
|
+
fog-json (~> 1.0)
|
166
|
+
fog-xml (~> 0.1)
|
167
|
+
ipaddress (~> 0.8)
|
168
|
+
fog-brightbox (0.10.0)
|
169
|
+
fog-core (~> 1.22)
|
170
|
+
fog-json
|
171
|
+
inflecto (~> 0.0.2)
|
172
|
+
fog-core (1.35.0)
|
173
|
+
builder
|
174
|
+
excon (~> 0.45)
|
175
|
+
formatador (~> 0.2)
|
176
|
+
fog-dynect (0.0.2)
|
177
|
+
fog-core
|
178
|
+
fog-json
|
179
|
+
fog-xml
|
180
|
+
fog-ecloud (0.3.0)
|
181
|
+
fog-core
|
182
|
+
fog-xml
|
183
|
+
fog-google (0.1.0)
|
184
|
+
fog-core
|
185
|
+
fog-json
|
186
|
+
fog-xml
|
187
|
+
fog-json (1.0.2)
|
188
|
+
fog-core (~> 1.0)
|
189
|
+
multi_json (~> 1.10)
|
190
|
+
fog-local (0.2.1)
|
191
|
+
fog-core (~> 1.27)
|
192
|
+
fog-powerdns (0.1.1)
|
193
|
+
fog-core (~> 1.27)
|
194
|
+
fog-json (~> 1.0)
|
195
|
+
fog-xml (~> 0.1)
|
196
|
+
fog-profitbricks (0.0.5)
|
197
|
+
fog-core
|
198
|
+
fog-xml
|
199
|
+
nokogiri
|
200
|
+
fog-radosgw (0.0.4)
|
201
|
+
fog-core (>= 1.21.0)
|
202
|
+
fog-json
|
203
|
+
fog-xml (>= 0.0.1)
|
204
|
+
fog-riakcs (0.1.0)
|
205
|
+
fog-core
|
206
|
+
fog-json
|
207
|
+
fog-xml
|
208
|
+
fog-sakuracloud (1.4.0)
|
209
|
+
fog-core
|
210
|
+
fog-json
|
211
|
+
fog-serverlove (0.1.2)
|
212
|
+
fog-core
|
213
|
+
fog-json
|
214
|
+
fog-softlayer (1.0.2)
|
215
|
+
fog-core
|
216
|
+
fog-json
|
217
|
+
fog-storm_on_demand (0.1.1)
|
218
|
+
fog-core
|
219
|
+
fog-json
|
220
|
+
fog-terremark (0.1.0)
|
221
|
+
fog-core
|
222
|
+
fog-xml
|
223
|
+
fog-vmfusion (0.1.0)
|
224
|
+
fission
|
225
|
+
fog-core
|
226
|
+
fog-voxel (0.1.0)
|
227
|
+
fog-core
|
228
|
+
fog-xml
|
229
|
+
fog-xenserver (0.2.2)
|
230
|
+
fog-core
|
231
|
+
fog-xml
|
232
|
+
fog-xml (0.1.2)
|
233
|
+
fog-core
|
234
|
+
nokogiri (~> 1.5, >= 1.5.11)
|
235
|
+
font-awesome-rails (4.5.0.0)
|
236
|
+
railties (>= 3.2, < 5.0)
|
237
|
+
formagic (0.3.8)
|
238
|
+
bourbon (>= 3.2)
|
239
|
+
normalize-rails (>= 3.0)
|
240
|
+
formatador (0.2.5)
|
241
|
+
globalid (0.3.6)
|
242
|
+
activesupport (>= 4.1.0)
|
243
|
+
has_scope (0.6.0)
|
244
|
+
actionpack (>= 3.2, < 5)
|
245
|
+
activesupport (>= 3.2, < 5)
|
246
|
+
heroku (3.41.5)
|
247
|
+
heroku-api (>= 0.3.19)
|
248
|
+
launchy (>= 0.3.2)
|
249
|
+
multi_json (>= 1.10)
|
250
|
+
net-ssh-gateway (>= 1.2.0)
|
251
|
+
netrc (>= 0.10.0)
|
252
|
+
rest-client (>= 1.6.0)
|
253
|
+
rubyzip (>= 0.9.9)
|
254
|
+
heroku-api (0.3.23)
|
255
|
+
excon (~> 0.44)
|
256
|
+
multi_json (~> 1.8)
|
257
|
+
http-cookie (1.0.2)
|
258
|
+
domain_name (~> 0.5)
|
259
|
+
i18n (0.7.0)
|
260
|
+
inflecto (0.0.2)
|
261
|
+
inherited_resources (1.6.0)
|
262
|
+
actionpack (>= 3.2, < 5)
|
263
|
+
has_scope (~> 0.6.0.rc)
|
264
|
+
railties (>= 3.2, < 5)
|
265
|
+
responders
|
266
|
+
ipaddress (0.8.0)
|
267
|
+
journal-chr (0.3.6)
|
268
|
+
ants (>= 0.3.12)
|
269
|
+
chr (>= 0.5.5)
|
270
|
+
loft (>= 0.3.1)
|
271
|
+
mongosteen (>= 0.2.0)
|
272
|
+
jquery-rails (4.0.5)
|
273
|
+
rails-dom-testing (~> 1.0)
|
274
|
+
railties (>= 4.2.0)
|
275
|
+
thor (>= 0.14, < 2.0)
|
276
|
+
json (1.8.3)
|
277
|
+
kaminari (0.16.3)
|
278
|
+
actionpack (>= 3.0.0)
|
279
|
+
activesupport (>= 3.0.0)
|
280
|
+
kgio (2.10.0)
|
281
|
+
launchy (2.4.3)
|
282
|
+
addressable (~> 2.3)
|
283
|
+
loft (0.3.1)
|
284
|
+
ants (>= 0.3.10)
|
285
|
+
carrierwave-mongoid (>= 0.7.1)
|
286
|
+
chr (>= 0.5.4)
|
287
|
+
mini_magick (>= 4.1.0)
|
288
|
+
mongoid-autoinc (>= 4.0.0)
|
289
|
+
mongoid-grid_fs (>= 2.1.0)
|
290
|
+
mongoid_search (>= 0.3)
|
291
|
+
mongosteen (>= 0.1.8)
|
292
|
+
loofah (2.0.3)
|
293
|
+
nokogiri (>= 1.5.9)
|
294
|
+
mail (2.6.3)
|
295
|
+
mime-types (>= 1.16, < 3)
|
296
|
+
meta-tags (2.1.0)
|
297
|
+
actionpack (>= 3.0.0)
|
298
|
+
mime-types (2.99)
|
299
|
+
mini_magick (4.3.6)
|
300
|
+
mini_portile2 (2.0.0)
|
301
|
+
minitest (5.8.3)
|
302
|
+
mongo (2.2.1)
|
303
|
+
bson (~> 4.0)
|
304
|
+
mongoid (5.0.1)
|
305
|
+
activemodel (~> 4.0)
|
306
|
+
mongo (~> 2.1)
|
307
|
+
origin (~> 2.1)
|
308
|
+
tzinfo (>= 0.3.37)
|
309
|
+
mongoid-autoinc (5.0.1)
|
310
|
+
mongoid (~> 5.0.0)
|
311
|
+
mongoid-compatibility (0.3.1)
|
312
|
+
activesupport
|
313
|
+
mongoid (>= 2.0)
|
314
|
+
mongoid-grid_fs (2.2.1)
|
315
|
+
mime-types (>= 1.0, < 3.0)
|
316
|
+
mongoid (>= 3.0, < 6.0)
|
317
|
+
mongoid-history (0.5.0)
|
318
|
+
activesupport
|
319
|
+
easy_diff
|
320
|
+
mongoid (>= 3.0)
|
321
|
+
mongoid-compatibility
|
322
|
+
mongoid-slug (5.1.1)
|
323
|
+
mongoid (>= 3.0)
|
324
|
+
mongoid-compatibility
|
325
|
+
stringex (~> 2.0)
|
326
|
+
mongoid_search (0.3.2)
|
327
|
+
fast-stemmer (~> 1.0.0)
|
328
|
+
mongoid (>= 3.0.0)
|
329
|
+
mongosteen (0.2.0)
|
330
|
+
has_scope (>= 0.6)
|
331
|
+
inherited_resources (>= 1.6)
|
332
|
+
kaminari (>= 0.16)
|
333
|
+
mongoid (>= 5.0)
|
334
|
+
mongoid-history (>= 0.5.0)
|
335
|
+
mongoid_search (>= 0.3)
|
336
|
+
multi_json (1.11.2)
|
337
|
+
multipart-post (2.0.0)
|
338
|
+
net-ssh (3.0.1)
|
339
|
+
net-ssh-gateway (1.2.0)
|
340
|
+
net-ssh (>= 2.6.5)
|
341
|
+
netrc (0.11.0)
|
342
|
+
nokogiri (1.6.7.1)
|
343
|
+
mini_portile2 (~> 2.0.0.rc2)
|
344
|
+
normalize-rails (3.0.3)
|
345
|
+
origin (2.1.1)
|
346
|
+
orm_adapter (0.5.0)
|
347
|
+
quiet_assets (1.1.0)
|
348
|
+
railties (>= 3.1, < 5.0)
|
349
|
+
rack (1.6.4)
|
350
|
+
rack-canonical-host (0.1.0)
|
351
|
+
addressable
|
352
|
+
rack (~> 1.0)
|
353
|
+
rack-host-redirect (1.2.1)
|
354
|
+
rack
|
355
|
+
rack-test (0.6.3)
|
356
|
+
rack (>= 1.0)
|
357
|
+
rack-timeout (0.3.2)
|
358
|
+
rails (4.2.5)
|
359
|
+
actionmailer (= 4.2.5)
|
360
|
+
actionpack (= 4.2.5)
|
361
|
+
actionview (= 4.2.5)
|
362
|
+
activejob (= 4.2.5)
|
363
|
+
activemodel (= 4.2.5)
|
364
|
+
activerecord (= 4.2.5)
|
365
|
+
activesupport (= 4.2.5)
|
366
|
+
bundler (>= 1.3.0, < 2.0)
|
367
|
+
railties (= 4.2.5)
|
368
|
+
sprockets-rails
|
369
|
+
rails-deprecated_sanitizer (1.0.3)
|
370
|
+
activesupport (>= 4.2.0.alpha)
|
371
|
+
rails-dom-testing (1.0.7)
|
372
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
373
|
+
nokogiri (~> 1.6.0)
|
374
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
375
|
+
rails-html-sanitizer (1.0.2)
|
376
|
+
loofah (~> 2.0)
|
377
|
+
rails_12factor (0.0.3)
|
378
|
+
rails_serve_static_assets
|
379
|
+
rails_stdout_logging
|
380
|
+
rails_serve_static_assets (0.0.4)
|
381
|
+
rails_stdout_logging (0.0.4)
|
382
|
+
railties (4.2.5)
|
383
|
+
actionpack (= 4.2.5)
|
384
|
+
activesupport (= 4.2.5)
|
385
|
+
rake (>= 0.8.7)
|
386
|
+
thor (>= 0.18.1, < 2.0)
|
387
|
+
raindrops (0.15.0)
|
388
|
+
rake (10.4.2)
|
389
|
+
recipient_interceptor (0.1.2)
|
390
|
+
mail
|
391
|
+
responders (2.1.1)
|
392
|
+
railties (>= 4.2.0, < 5.1)
|
393
|
+
rest-client (1.8.0)
|
394
|
+
http-cookie (>= 1.0.2, < 2.0)
|
395
|
+
mime-types (>= 1.16, < 3.0)
|
396
|
+
netrc (~> 0.7)
|
397
|
+
rubyzip (1.1.7)
|
398
|
+
sass (3.4.20)
|
399
|
+
sass-rails (5.0.4)
|
400
|
+
railties (>= 4.0.0, < 5.0)
|
401
|
+
sass (~> 3.1)
|
402
|
+
sprockets (>= 2.8, < 4.0)
|
403
|
+
sprockets-rails (>= 2.0, < 4.0)
|
404
|
+
tilt (>= 1.1, < 3)
|
405
|
+
sax-machine (1.3.2)
|
406
|
+
spring (1.5.0)
|
407
|
+
sprockets (3.5.2)
|
408
|
+
concurrent-ruby (~> 1.0)
|
409
|
+
rack (> 1, < 3)
|
410
|
+
sprockets-rails (3.0.0)
|
411
|
+
actionpack (>= 4.0)
|
412
|
+
activesupport (>= 4.0)
|
413
|
+
sprockets (>= 3.0.0)
|
414
|
+
stringex (2.5.2)
|
415
|
+
tape-chr (0.1.9)
|
416
|
+
ants (>= 0.2.0)
|
417
|
+
chr (>= 0.4.0)
|
418
|
+
feedjira
|
419
|
+
mongosteen (>= 0.1.8)
|
420
|
+
nokogiri
|
421
|
+
thor (0.19.1)
|
422
|
+
thread_safe (0.3.5)
|
423
|
+
tilt (2.0.1)
|
424
|
+
tzinfo (1.2.2)
|
425
|
+
thread_safe (~> 0.1)
|
426
|
+
uglifier (2.7.2)
|
427
|
+
execjs (>= 0.3.0)
|
428
|
+
json (>= 1.8.0)
|
429
|
+
unf (0.1.4)
|
430
|
+
unf_ext
|
431
|
+
unf_ext (0.0.7.1)
|
432
|
+
unicorn (5.0.1)
|
433
|
+
kgio (~> 2.6)
|
434
|
+
rack
|
435
|
+
raindrops (~> 0.7)
|
436
|
+
warden (1.2.4)
|
437
|
+
rack (>= 1.0)
|
438
|
+
web-console (2.2.1)
|
439
|
+
activemodel (>= 4.0)
|
440
|
+
binding_of_caller (>= 0.7.2)
|
441
|
+
railties (>= 4.0)
|
442
|
+
sprockets-rails (>= 2.0, < 4.0)
|
443
|
+
xml-simple (1.1.5)
|
444
|
+
|
445
|
+
PLATFORMS
|
446
|
+
ruby
|
447
|
+
|
448
|
+
DEPENDENCIES
|
449
|
+
awesome_print
|
450
|
+
bson_ext
|
451
|
+
bundler (~> 1.7)
|
452
|
+
bundler-audit
|
453
|
+
byebug
|
454
|
+
coffee-rails (~> 4.1.0)
|
455
|
+
dotenv-rails
|
456
|
+
factory_girl_rails
|
457
|
+
figaro
|
458
|
+
fog
|
459
|
+
fog-aws
|
460
|
+
heroku
|
461
|
+
journal-chr
|
462
|
+
jquery-rails
|
463
|
+
mongoid (~> 5.0)
|
464
|
+
quiet_assets
|
465
|
+
rack-canonical-host
|
466
|
+
rack-host-redirect
|
467
|
+
rack-timeout
|
468
|
+
rails (~> 4.2.5)
|
469
|
+
rails_12factor
|
470
|
+
rake (~> 10.0)
|
471
|
+
recipient_interceptor
|
472
|
+
sass-rails (~> 5.0)
|
473
|
+
spring
|
474
|
+
tape-chr
|
475
|
+
uglifier
|
476
|
+
unicorn
|
477
|
+
venice-chr!
|
478
|
+
web-console
|
479
|
+
|
480
|
+
BUNDLED WITH
|
481
|
+
1.10.6
|
data/Procfile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb
|
data/README.md
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
# Venice
|
2
|
+
|
3
|
+
*Where art meets technology.*
|
4
|
+
|
5
|
+
`v` `e` `n` `i` `c` `e` is boilderplate website & blog implementation based on [Character](https://github.com/slate-studio/chr) library. It's used as boilerplate for new Rails projects or quick prototypes.
|
6
|
+
|
7
|
+
Homepage: https://github.com/alexkravets/venice
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
It assumes you have a machine equipped with Ruby & Mongodb.
|
12
|
+
|
13
|
+
1. Install the Venice gem using the [RubyGems](https://rubygems.org) package manager:
|
14
|
+
|
15
|
+
```bash
|
16
|
+
gem install venice-chr
|
17
|
+
```
|
18
|
+
|
19
|
+
2. Then kick off a new project:
|
20
|
+
|
21
|
+
```bash
|
22
|
+
venice new your-project-name
|
23
|
+
```
|
24
|
+
|
25
|
+
## Shortcuts
|
26
|
+
|
27
|
+
We’ve also included some handy shortcuts with Venice:
|
28
|
+
|
29
|
+
- Install dependencies and clear the Git remote:
|
30
|
+
|
31
|
+
```bash
|
32
|
+
venice setup
|
33
|
+
```
|
34
|
+
|
35
|
+
Default admin account is `user@example.com`:`password`.
|
36
|
+
|
37
|
+
- Run the deploy (supported platforms: Heroku):
|
38
|
+
|
39
|
+
```bash
|
40
|
+
venice deploy
|
41
|
+
```
|
42
|
+
|
43
|
+
Default admin account: is `user@example.com`:`password`. After deploy is finished, please login and create new account, then remove default one.
|
44
|
+
|
45
|
+
- Start venice server:
|
46
|
+
|
47
|
+
```bash
|
48
|
+
rails s
|
49
|
+
```
|
50
|
+
|
51
|
+
## Contributing
|
52
|
+
|
53
|
+
If you'd like to contribute a feature or bugfix: Thanks! To make sure your
|
54
|
+
fix/feature has a high chance of being included, please read the following
|
55
|
+
guidelines:
|
56
|
+
|
57
|
+
1. Fork the repository
|
58
|
+
2. Make your changes
|
59
|
+
3. Push your branch to your fork
|
60
|
+
4. Post a [pull request](https://github.com/alexkravets/venice/compare).
|
61
|
+
|
62
|
+
Thank you to all [the contributors](https://github.com/alexkraves/venice/contributors)!
|
data/Rakefile
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
|
+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
3
|
+
|
4
|
+
require File.expand_path('../config/application', __FILE__)
|
5
|
+
|
6
|
+
Rails.application.load_tasks
|
7
|
+
|
8
|
+
task default: "bundler:audit"
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
File without changes
|
@@ -0,0 +1,52 @@
|
|
1
|
+
class @GroupHeader
|
2
|
+
constructor: (@form, @group, name) ->
|
3
|
+
@$title =$ "<span>#{ name }</span>"
|
4
|
+
@$header =$ """<header class='group-header'></header>"""
|
5
|
+
@$header.append @$title
|
6
|
+
@group.$el.prepend @$header
|
7
|
+
|
8
|
+
@generalSettingsConfig = ->
|
9
|
+
formSchema =
|
10
|
+
website_settings:
|
11
|
+
type: 'group'
|
12
|
+
title: 'Website'
|
13
|
+
groupClass: 'group-panel'
|
14
|
+
inputs:
|
15
|
+
website_title:
|
16
|
+
type: 'string'
|
17
|
+
label: 'Site Title'
|
18
|
+
placeholder: 'Choose a short name for this site.'
|
19
|
+
website_tagline:
|
20
|
+
type: 'string'
|
21
|
+
label: 'Site Tagline'
|
22
|
+
placeholder: 'In a few words, explain what this site is about.'
|
23
|
+
website_url:
|
24
|
+
type: 'string'
|
25
|
+
label: 'Site Address'
|
26
|
+
placeholder: 'http://mysite.com'
|
27
|
+
|
28
|
+
author_settings:
|
29
|
+
type: 'group'
|
30
|
+
title: 'Author'
|
31
|
+
groupClass: 'group-panel'
|
32
|
+
inputs:
|
33
|
+
website_description:
|
34
|
+
type: 'text'
|
35
|
+
label: 'About'
|
36
|
+
placeholder: 'Write a short bio about website author.'
|
37
|
+
website_logo_url:
|
38
|
+
type: 'loft-image'
|
39
|
+
fullsizePreview: true
|
40
|
+
|
41
|
+
social_panel:
|
42
|
+
type: 'group'
|
43
|
+
title: 'Social'
|
44
|
+
groupClass: 'group-panel'
|
45
|
+
inputs:
|
46
|
+
social_links:
|
47
|
+
type: 'array'
|
48
|
+
label: 'Links to Social Profiles'
|
49
|
+
ignoreArrayWithEmptyString: true
|
50
|
+
placeholder: 'Put a link to your social page (Facebook, Twitter, etc...)'
|
51
|
+
|
52
|
+
new AntsSettings('General', 'general', formSchema)
|