lolita 3.2.0.rc1 → 3.2.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +11 -4
- data/VERSION +1 -1
- data/app/assets/javascripts/lolita/application.js +4 -1
- data/app/assets/javascripts/lolita/tab.js +2 -2
- data/app/assets/stylesheets/lolita/application.css +5 -0
- data/app/assets/stylesheets/lolita/{default.css → default.css.erb} +0 -0
- data/app/assets/stylesheets/lolita/{style.css → style.css.erb} +3 -3
- data/app/views/components/lolita/configuration/field/string/text/_display.html.erb +0 -7
- data/app/views/layouts/lolita/application.html.erb +2 -12
- data/lib/lolita.rb +8 -3
- data/lolita.gemspec +13 -57
- data/spec/rails_app/config/application.rb +12 -1
- data/spec/rails_app/config/environments/development.rb +6 -2
- data/spec/rails_app/config/environments/production.rb +5 -1
- data/spec/rails_app/config/environments/test.rb +5 -1
- data/vendor/assets/javascripts/application_vendor_lolita.js +6 -0
- data/vendor/assets/javascripts/{modernizr-1.7.min.js → modernizr_1_7_min.js} +0 -0
- data/vendor/assets/javascripts/tinymce_config.js +0 -1
- metadata +46 -106
- data/vendor/assets/javascripts/jquery-1.6.2.min.js +0 -18
- data/vendor/assets/javascripts/tinymce/jquery.tinymce.js +0 -1
- data/vendor/assets/javascripts/tinymce/langs/en.js +0 -222
- data/vendor/assets/javascripts/tinymce/license.txt +0 -504
- data/vendor/assets/javascripts/tinymce/themes/advanced/about.htm +0 -52
- data/vendor/assets/javascripts/tinymce/themes/advanced/anchor.htm +0 -26
- data/vendor/assets/javascripts/tinymce/themes/advanced/charmap.htm +0 -51
- data/vendor/assets/javascripts/tinymce/themes/advanced/color_picker.htm +0 -74
- data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template.js +0 -1
- data/vendor/assets/javascripts/tinymce/themes/advanced/editor_template_src.js +0 -1328
- data/vendor/assets/javascripts/tinymce/themes/advanced/image.htm +0 -80
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/colorpicker.jpg +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/flash.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/icons.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/iframe.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/pagebreak.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/quicktime.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/realmedia.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/shockwave.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/trans.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/video.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/img/windowsmedia.gif +0 -0
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/about.js +0 -73
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/anchor.js +0 -42
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/charmap.js +0 -354
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/color_picker.js +0 -329
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/image.js +0 -247
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/link.js +0 -153
- data/vendor/assets/javascripts/tinymce/themes/advanced/js/source_editor.js +0 -56
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en.js +0 -68
- data/vendor/assets/javascripts/tinymce/themes/advanced/langs/en_dlg.js +0 -54
- data/vendor/assets/javascripts/tinymce/themes/advanced/link.htm +0 -57
- data/vendor/assets/javascripts/tinymce/themes/advanced/shortcuts.htm +0 -47
- data/vendor/assets/javascripts/tinymce/themes/advanced/source_editor.htm +0 -25
- data/vendor/assets/javascripts/tinymce/tiny_mce.js +0 -1
- data/vendor/assets/javascripts/tinymce/tiny_mce_popup.js +0 -5
- data/vendor/assets/javascripts/tinymce/utils/editable_selects.js +0 -70
- data/vendor/assets/javascripts/tinymce/utils/form_utils.js +0 -210
- data/vendor/assets/javascripts/tinymce/utils/mctabs.js +0 -162
- data/vendor/assets/javascripts/tinymce/utils/validate.js +0 -252
data/Gemfile
CHANGED
@@ -9,6 +9,7 @@ gem "builder", "~> 3.0"
|
|
9
9
|
|
10
10
|
gem "haml", "~> 3.1.2"
|
11
11
|
gem 'jquery-rails'
|
12
|
+
gem 'tinymce-rails', :require => 'tinymce-rails'
|
12
13
|
|
13
14
|
group :mongoid do
|
14
15
|
gem "mongo", "~> 1.3.0"
|
@@ -17,15 +18,21 @@ group :mongoid do
|
|
17
18
|
end
|
18
19
|
|
19
20
|
#gem 'cover_me', '>= 1.0.0.rc6', :group => :test
|
21
|
+
group :assets do
|
22
|
+
gem 'sass-rails', "~> 3.1.0"
|
23
|
+
gem 'coffee-rails', "~> 3.1.0"
|
24
|
+
gem 'uglifier'
|
25
|
+
end
|
26
|
+
|
20
27
|
gem "jeweler", "~> 1.5.2", :group=>:development
|
21
28
|
group :test,:development do
|
22
29
|
gem "rspec", "~>2.6.0"
|
23
|
-
gem "rspec-rails","~>2.6.
|
30
|
+
gem "rspec-rails","~>2.6.1"
|
24
31
|
gem "factory_girl"
|
25
32
|
gem 'ffaker'
|
26
33
|
gem "ruby-debug19"
|
27
|
-
gem "cucumber-rails"
|
28
|
-
gem "capybara"
|
34
|
+
# gem "cucumber-rails"
|
35
|
+
# gem "capybara"
|
29
36
|
gem "database_cleaner"
|
30
|
-
gem "akephalos"
|
37
|
+
# gem "akephalos"
|
31
38
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.0.
|
1
|
+
3.2.0.rc2
|
@@ -31,7 +31,7 @@ $(function(){
|
|
31
31
|
save_all()
|
32
32
|
})
|
33
33
|
// All tabs are closable when clicked on tab title.
|
34
|
-
$(".tab
|
35
|
-
$(this).parent().toggleClass("minimized"
|
34
|
+
$(".tab .tab-title.grey").live('click',function(){
|
35
|
+
$(this).parent().toggleClass("minimized")
|
36
36
|
})
|
37
37
|
})
|
File without changes
|
@@ -125,7 +125,7 @@ header nav .username {margin-right: 15px;}
|
|
125
125
|
width: 100%;
|
126
126
|
padding: 25px 0;
|
127
127
|
background: #fff;
|
128
|
-
background: rgba(
|
128
|
+
background: rgba(255,255,255,0.9);
|
129
129
|
font-size: 16px;
|
130
130
|
text-align: center;
|
131
131
|
cursor: pointer;
|
@@ -423,7 +423,7 @@ a.create {
|
|
423
423
|
.ie7 a.create img {top: 0;}
|
424
424
|
.ie7 header nav a.username {position: relative; top: -4px;}
|
425
425
|
.ie7 .black {-pie-background: linear-gradient(top, #686868, #2f2f2f);}
|
426
|
-
.ie7 #flash {-pie-background: rgba(
|
426
|
+
.ie7 #flash {-pie-background: rgba(255,255,255,0.9);}
|
427
427
|
/* ----------------------------------------------*/
|
428
428
|
|
429
429
|
/* IE8 fixes */
|
@@ -439,5 +439,5 @@ a.create {
|
|
439
439
|
.ie8 #main .box form .field-value textarea
|
440
440
|
{position: relative;}
|
441
441
|
.ie8 .black {-pie-background: linear-gradient(top, #686868, #2f2f2f);}
|
442
|
-
.ie8 #flash {-pie-background: rgba(
|
442
|
+
.ie8 #flash {-pie-background: rgba(255,255,255,0.9);}
|
443
443
|
/* ----------------------------------------------*/
|
@@ -1,10 +1,3 @@
|
|
1
|
-
<% if @textarea_component_include_tinymce_once.nil? %>
|
2
|
-
<% content_for :script do %>
|
3
|
-
<%= javascript_include_tag "tinymce/jquery.tinymce" %>
|
4
|
-
<%= javascript_include_tag "tinymce_config.js" %>
|
5
|
-
<% end %>
|
6
|
-
<% end %>
|
7
|
-
|
8
1
|
<%= tab_form.text_area field.name, :rows=>(field.rows || 20), :"data-simple"=>field.simple %>
|
9
2
|
<% if @textarea_component_include_tinymce_once.nil? %>
|
10
3
|
<script type="text/javascript">
|
@@ -12,19 +12,9 @@
|
|
12
12
|
<title>Lolita</title><meta name="description" content=""><meta name="author" content="">
|
13
13
|
<link rel="shortcut icon" href="/favicon.ico">
|
14
14
|
|
15
|
-
<%= stylesheet_link_tag "lolita/
|
15
|
+
<%= stylesheet_link_tag "lolita/application.css" %>
|
16
16
|
<%= yield :style %>
|
17
|
-
|
18
|
-
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
|
19
|
-
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js"></script>
|
20
|
-
<script>
|
21
|
-
if(!window.jQuery){
|
22
|
-
document.write('<script src="/javascripts/jquery-1.6.2.min.js">\x3C/script>');
|
23
|
-
document.write('<script src="/javascripts/jquery-ui-1.8.13.min.js">\x3C/script>');
|
24
|
-
}
|
25
|
-
</script>
|
26
|
-
<%= javascript_include_tag "modernizr-1.7.min" %>
|
27
|
-
<%= javascript_include_tag "lolita/tab","lolita/main","lolita/application", "lolita/base64" %>
|
17
|
+
<%= javascript_include_tag "lolita/application.js" %>
|
28
18
|
<%= yield :script %>
|
29
19
|
<%= raw csrf_meta_tag %>
|
30
20
|
</head>
|
data/lib/lolita.rb
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
|
2
2
|
$:<<File.dirname(__FILE__) unless $:.include?(File.dirname(__FILE__))
|
3
3
|
LOLITA_VERSION=File.read(File.expand_path("../../VERSION",__FILE__)).gsub(/[^.\w]/,"")
|
4
|
-
|
4
|
+
FRAMEWORK = if defined?(Rails)
|
5
|
+
" with Rails #{::Rails::VERSION::STRING}"
|
6
|
+
end
|
7
|
+
puts "=> Lolita #{LOLITA_VERSION} starting#{FRAMEWORK}"
|
5
8
|
|
6
9
|
# TODO should allow run lolita seperated
|
7
10
|
# unless (["-d","--debug"] & ARGV).empty?
|
@@ -16,8 +19,6 @@ puts "=> Lolita #{LOLITA_VERSION} starting#{defined?(Rails) ? " with Rails" : ""
|
|
16
19
|
# end
|
17
20
|
require "rubygems"
|
18
21
|
require 'abstract'
|
19
|
-
require "base64"
|
20
|
-
require 'kaminari'
|
21
22
|
unless defined?(ActiveSupport)
|
22
23
|
require 'active_support/core_ext/numeric/time'
|
23
24
|
require 'active_support/core_ext/date_time/conversions'
|
@@ -189,5 +190,9 @@ module Lolita
|
|
189
190
|
end
|
190
191
|
|
191
192
|
if Lolita.rails3?
|
193
|
+
require "base64"
|
194
|
+
require 'kaminari'
|
195
|
+
require 'tinymce-rails'
|
196
|
+
require 'jquery-rails'
|
192
197
|
require 'lolita/rails/all'
|
193
198
|
end
|
data/lolita.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "lolita"
|
8
|
-
s.version = "3.2.0.
|
8
|
+
s.version = "3.2.0.rc2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["ITHouse (Latvia) and Arturs Meisters"]
|
12
|
-
s.date = "2011-09-
|
12
|
+
s.date = "2011-09-06"
|
13
13
|
s.description = "Great Rails CMS, that turns your business logic into good-looking, fully functional workspace. "
|
14
14
|
s.email = "support@ithouse.lv"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -33,8 +33,9 @@ Gem::Specification.new do |s|
|
|
33
33
|
"app/assets/javascripts/lolita/tab.js",
|
34
34
|
"app/assets/stylesheets/lolita/PIE-custom.htc",
|
35
35
|
"app/assets/stylesheets/lolita/PIE.htc",
|
36
|
-
"app/assets/stylesheets/lolita/
|
37
|
-
"app/assets/stylesheets/lolita/
|
36
|
+
"app/assets/stylesheets/lolita/application.css",
|
37
|
+
"app/assets/stylesheets/lolita/default.css.erb",
|
38
|
+
"app/assets/stylesheets/lolita/style.css.erb",
|
38
39
|
"app/controllers/lolita/info_controller.rb",
|
39
40
|
"app/controllers/lolita/rest_controller.rb",
|
40
41
|
"app/helpers/components/lolita/configuration/list_component.rb",
|
@@ -287,41 +288,9 @@ Gem::Specification.new do |s|
|
|
287
288
|
"spec/support/factories/post.rb",
|
288
289
|
"spec/support/factories/tag.rb",
|
289
290
|
"spec/support/formatter_spec.rb",
|
290
|
-
"vendor/assets/javascripts/
|
291
|
+
"vendor/assets/javascripts/application_vendor_lolita.js",
|
291
292
|
"vendor/assets/javascripts/jquery-ui-1.8.13.min.js",
|
292
|
-
"vendor/assets/javascripts/
|
293
|
-
"vendor/assets/javascripts/tinymce/jquery.tinymce.js",
|
294
|
-
"vendor/assets/javascripts/tinymce/langs/en.js",
|
295
|
-
"vendor/assets/javascripts/tinymce/license.txt",
|
296
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/about.htm",
|
297
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/anchor.htm",
|
298
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/charmap.htm",
|
299
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/color_picker.htm",
|
300
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/editor_template.js",
|
301
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/editor_template_src.js",
|
302
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/image.htm",
|
303
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/img/colorpicker.jpg",
|
304
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/img/flash.gif",
|
305
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/img/icons.gif",
|
306
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/img/iframe.gif",
|
307
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/img/pagebreak.gif",
|
308
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/img/quicktime.gif",
|
309
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/img/realmedia.gif",
|
310
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/img/shockwave.gif",
|
311
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/img/trans.gif",
|
312
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/img/video.gif",
|
313
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/img/windowsmedia.gif",
|
314
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/js/about.js",
|
315
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/js/anchor.js",
|
316
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/js/charmap.js",
|
317
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/js/color_picker.js",
|
318
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/js/image.js",
|
319
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/js/link.js",
|
320
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/js/source_editor.js",
|
321
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/langs/en.js",
|
322
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/langs/en_dlg.js",
|
323
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/link.htm",
|
324
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/shortcuts.htm",
|
293
|
+
"vendor/assets/javascripts/modernizr_1_7_min.js",
|
325
294
|
"vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/content.css",
|
326
295
|
"vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/dialog.css",
|
327
296
|
"vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/butt2.png",
|
@@ -337,13 +306,6 @@ Gem::Specification.new do |s|
|
|
337
306
|
"vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/tabs.gif",
|
338
307
|
"vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/toolbarbg.png",
|
339
308
|
"vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/ui.css",
|
340
|
-
"vendor/assets/javascripts/tinymce/themes/advanced/source_editor.htm",
|
341
|
-
"vendor/assets/javascripts/tinymce/tiny_mce.js",
|
342
|
-
"vendor/assets/javascripts/tinymce/tiny_mce_popup.js",
|
343
|
-
"vendor/assets/javascripts/tinymce/utils/editable_selects.js",
|
344
|
-
"vendor/assets/javascripts/tinymce/utils/form_utils.js",
|
345
|
-
"vendor/assets/javascripts/tinymce/utils/mctabs.js",
|
346
|
-
"vendor/assets/javascripts/tinymce/utils/validate.js",
|
347
309
|
"vendor/assets/javascripts/tinymce_config.js"
|
348
310
|
]
|
349
311
|
s.homepage = "http://github.com/ithouse/lolita"
|
@@ -414,16 +376,14 @@ Gem::Specification.new do |s|
|
|
414
376
|
s.add_runtime_dependency(%q<builder>, ["~> 3.0"])
|
415
377
|
s.add_runtime_dependency(%q<haml>, ["~> 3.1.2"])
|
416
378
|
s.add_runtime_dependency(%q<jquery-rails>, [">= 0"])
|
379
|
+
s.add_runtime_dependency(%q<tinymce-rails>, [">= 0"])
|
417
380
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
418
381
|
s.add_development_dependency(%q<rspec>, ["~> 2.6.0"])
|
419
|
-
s.add_development_dependency(%q<rspec-rails>, ["~> 2.6.
|
382
|
+
s.add_development_dependency(%q<rspec-rails>, ["~> 2.6.1"])
|
420
383
|
s.add_development_dependency(%q<factory_girl>, [">= 0"])
|
421
384
|
s.add_development_dependency(%q<ffaker>, [">= 0"])
|
422
385
|
s.add_development_dependency(%q<ruby-debug19>, [">= 0"])
|
423
|
-
s.add_development_dependency(%q<cucumber-rails>, [">= 0"])
|
424
|
-
s.add_development_dependency(%q<capybara>, [">= 0"])
|
425
386
|
s.add_development_dependency(%q<database_cleaner>, [">= 0"])
|
426
|
-
s.add_development_dependency(%q<akephalos>, [">= 0"])
|
427
387
|
else
|
428
388
|
s.add_dependency(%q<rails>, ["~> 3.1.0"])
|
429
389
|
s.add_dependency(%q<kaminari>, ["~> 0.12.4"])
|
@@ -431,16 +391,14 @@ Gem::Specification.new do |s|
|
|
431
391
|
s.add_dependency(%q<builder>, ["~> 3.0"])
|
432
392
|
s.add_dependency(%q<haml>, ["~> 3.1.2"])
|
433
393
|
s.add_dependency(%q<jquery-rails>, [">= 0"])
|
394
|
+
s.add_dependency(%q<tinymce-rails>, [">= 0"])
|
434
395
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
435
396
|
s.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
436
|
-
s.add_dependency(%q<rspec-rails>, ["~> 2.6.
|
397
|
+
s.add_dependency(%q<rspec-rails>, ["~> 2.6.1"])
|
437
398
|
s.add_dependency(%q<factory_girl>, [">= 0"])
|
438
399
|
s.add_dependency(%q<ffaker>, [">= 0"])
|
439
400
|
s.add_dependency(%q<ruby-debug19>, [">= 0"])
|
440
|
-
s.add_dependency(%q<cucumber-rails>, [">= 0"])
|
441
|
-
s.add_dependency(%q<capybara>, [">= 0"])
|
442
401
|
s.add_dependency(%q<database_cleaner>, [">= 0"])
|
443
|
-
s.add_dependency(%q<akephalos>, [">= 0"])
|
444
402
|
end
|
445
403
|
else
|
446
404
|
s.add_dependency(%q<rails>, ["~> 3.1.0"])
|
@@ -449,16 +407,14 @@ Gem::Specification.new do |s|
|
|
449
407
|
s.add_dependency(%q<builder>, ["~> 3.0"])
|
450
408
|
s.add_dependency(%q<haml>, ["~> 3.1.2"])
|
451
409
|
s.add_dependency(%q<jquery-rails>, [">= 0"])
|
410
|
+
s.add_dependency(%q<tinymce-rails>, [">= 0"])
|
452
411
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
453
412
|
s.add_dependency(%q<rspec>, ["~> 2.6.0"])
|
454
|
-
s.add_dependency(%q<rspec-rails>, ["~> 2.6.
|
413
|
+
s.add_dependency(%q<rspec-rails>, ["~> 2.6.1"])
|
455
414
|
s.add_dependency(%q<factory_girl>, [">= 0"])
|
456
415
|
s.add_dependency(%q<ffaker>, [">= 0"])
|
457
416
|
s.add_dependency(%q<ruby-debug19>, [">= 0"])
|
458
|
-
s.add_dependency(%q<cucumber-rails>, [">= 0"])
|
459
|
-
s.add_dependency(%q<capybara>, [">= 0"])
|
460
417
|
s.add_dependency(%q<database_cleaner>, [">= 0"])
|
461
|
-
s.add_dependency(%q<akephalos>, [">= 0"])
|
462
418
|
end
|
463
419
|
end
|
464
420
|
|
@@ -3,9 +3,10 @@ require "action_controller/railtie"
|
|
3
3
|
require "action_mailer/railtie"
|
4
4
|
require "active_resource/railtie"
|
5
5
|
require "rails/test_unit/railtie"
|
6
|
+
require "sprockets/railtie"
|
6
7
|
|
7
8
|
Bundler.require(:default, LOLITA_ORM, Rails.env) if defined?(Bundler)
|
8
|
-
|
9
|
+
|
9
10
|
require 'lolita'
|
10
11
|
require "lolita/rails/all"
|
11
12
|
require 'kaminari'
|
@@ -22,5 +23,15 @@ module RailsApp
|
|
22
23
|
config.filter_parameters << :password
|
23
24
|
|
24
25
|
config.action_mailer.default_url_options = { :host => "localhost:3000" }
|
26
|
+
config.encoding = "utf-8"
|
27
|
+
|
28
|
+
# Configure sensitive parameters which will be filtered from the log file.
|
29
|
+
config.filter_parameters += [:password]
|
30
|
+
|
31
|
+
# Enable the asset pipeline
|
32
|
+
config.assets.enabled = true
|
33
|
+
|
34
|
+
# Version of your assets, change this if you want to expire all your assets
|
35
|
+
config.assets.version = '1.0'
|
25
36
|
end
|
26
37
|
end
|
@@ -1,6 +1,10 @@
|
|
1
1
|
RailsApp::Application.configure do
|
2
2
|
# Settings specified here will take precedence over those in config/environment.rb
|
3
|
-
|
3
|
+
# Do not compress assets
|
4
|
+
config.assets.compress = false
|
5
|
+
|
6
|
+
# Expands the lines which load the assets
|
7
|
+
config.assets.debug = true
|
4
8
|
# In the development environment your application's code is reloaded on
|
5
9
|
# every request. This slows down response time but is perfect for development
|
6
10
|
# since you don't have to restart the webserver when you make code changes.
|
@@ -11,7 +15,7 @@ RailsApp::Application.configure do
|
|
11
15
|
|
12
16
|
# Show full error reports and disable caching
|
13
17
|
config.consider_all_requests_local = true
|
14
|
-
|
18
|
+
|
15
19
|
config.action_controller.perform_caching = false
|
16
20
|
|
17
21
|
# Don't care if the mailer can't send
|
@@ -1,6 +1,10 @@
|
|
1
1
|
RailsApp::Application.configure do
|
2
2
|
# Settings specified here will take precedence over those in config/environment.rb
|
3
|
-
|
3
|
+
# Do not compress assets
|
4
|
+
config.assets.compress = false
|
5
|
+
|
6
|
+
# Expands the lines which load the assets
|
7
|
+
config.assets.debug = true
|
4
8
|
# The production environment is meant for finished, "live" apps.
|
5
9
|
# Code is not reloaded between requests
|
6
10
|
config.cache_classes = true
|
@@ -1,6 +1,10 @@
|
|
1
1
|
RailsApp::Application.configure do
|
2
2
|
# Settings specified here will take precedence over those in config/environment.rb
|
3
|
-
|
3
|
+
# Do not compress assets
|
4
|
+
config.assets.compress = false
|
5
|
+
|
6
|
+
# Expands the lines which load the assets
|
7
|
+
config.assets.debug = true
|
4
8
|
# The test environment is used exclusively to run your application's
|
5
9
|
# test suite. You never need to work with it otherwise. Remember that
|
6
10
|
# your test database is "scratch space" for the test suite and is wiped
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lolita
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.0.
|
4
|
+
version: 3.2.0.rc2
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-09-
|
12
|
+
date: 2011-09-06 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &73543310 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *73543310
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: kaminari
|
27
|
-
requirement: &
|
27
|
+
requirement: &73535470 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.12.4
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *73535470
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: abstract
|
38
|
-
requirement: &
|
38
|
+
requirement: &73533920 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *73533920
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: builder
|
49
|
-
requirement: &
|
49
|
+
requirement: &73533120 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '3.0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *73533120
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: haml
|
60
|
-
requirement: &
|
60
|
+
requirement: &73531590 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 3.1.2
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *73531590
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: jquery-rails
|
71
|
-
requirement: &
|
71
|
+
requirement: &73529420 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,21 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *73529420
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: tinymce-rails
|
82
|
+
requirement: &73528050 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :runtime
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *73528050
|
80
91
|
- !ruby/object:Gem::Dependency
|
81
92
|
name: jeweler
|
82
|
-
requirement: &
|
93
|
+
requirement: &73519800 !ruby/object:Gem::Requirement
|
83
94
|
none: false
|
84
95
|
requirements:
|
85
96
|
- - ~>
|
@@ -87,10 +98,10 @@ dependencies:
|
|
87
98
|
version: 1.5.2
|
88
99
|
type: :development
|
89
100
|
prerelease: false
|
90
|
-
version_requirements: *
|
101
|
+
version_requirements: *73519800
|
91
102
|
- !ruby/object:Gem::Dependency
|
92
103
|
name: rspec
|
93
|
-
requirement: &
|
104
|
+
requirement: &73518770 !ruby/object:Gem::Requirement
|
94
105
|
none: false
|
95
106
|
requirements:
|
96
107
|
- - ~>
|
@@ -98,21 +109,21 @@ dependencies:
|
|
98
109
|
version: 2.6.0
|
99
110
|
type: :development
|
100
111
|
prerelease: false
|
101
|
-
version_requirements: *
|
112
|
+
version_requirements: *73518770
|
102
113
|
- !ruby/object:Gem::Dependency
|
103
114
|
name: rspec-rails
|
104
|
-
requirement: &
|
115
|
+
requirement: &73517900 !ruby/object:Gem::Requirement
|
105
116
|
none: false
|
106
117
|
requirements:
|
107
118
|
- - ~>
|
108
119
|
- !ruby/object:Gem::Version
|
109
|
-
version: 2.6.
|
120
|
+
version: 2.6.1
|
110
121
|
type: :development
|
111
122
|
prerelease: false
|
112
|
-
version_requirements: *
|
123
|
+
version_requirements: *73517900
|
113
124
|
- !ruby/object:Gem::Dependency
|
114
125
|
name: factory_girl
|
115
|
-
requirement: &
|
126
|
+
requirement: &73516930 !ruby/object:Gem::Requirement
|
116
127
|
none: false
|
117
128
|
requirements:
|
118
129
|
- - ! '>='
|
@@ -120,10 +131,10 @@ dependencies:
|
|
120
131
|
version: '0'
|
121
132
|
type: :development
|
122
133
|
prerelease: false
|
123
|
-
version_requirements: *
|
134
|
+
version_requirements: *73516930
|
124
135
|
- !ruby/object:Gem::Dependency
|
125
136
|
name: ffaker
|
126
|
-
requirement: &
|
137
|
+
requirement: &73514800 !ruby/object:Gem::Requirement
|
127
138
|
none: false
|
128
139
|
requirements:
|
129
140
|
- - ! '>='
|
@@ -131,21 +142,10 @@ dependencies:
|
|
131
142
|
version: '0'
|
132
143
|
type: :development
|
133
144
|
prerelease: false
|
134
|
-
version_requirements: *
|
145
|
+
version_requirements: *73514800
|
135
146
|
- !ruby/object:Gem::Dependency
|
136
147
|
name: ruby-debug19
|
137
|
-
requirement: &
|
138
|
-
none: false
|
139
|
-
requirements:
|
140
|
-
- - ! '>='
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: '0'
|
143
|
-
type: :development
|
144
|
-
prerelease: false
|
145
|
-
version_requirements: *78328980
|
146
|
-
- !ruby/object:Gem::Dependency
|
147
|
-
name: cucumber-rails
|
148
|
-
requirement: &78266870 !ruby/object:Gem::Requirement
|
148
|
+
requirement: &73514200 !ruby/object:Gem::Requirement
|
149
149
|
none: false
|
150
150
|
requirements:
|
151
151
|
- - ! '>='
|
@@ -153,32 +153,10 @@ dependencies:
|
|
153
153
|
version: '0'
|
154
154
|
type: :development
|
155
155
|
prerelease: false
|
156
|
-
version_requirements: *
|
157
|
-
- !ruby/object:Gem::Dependency
|
158
|
-
name: capybara
|
159
|
-
requirement: &78265970 !ruby/object:Gem::Requirement
|
160
|
-
none: false
|
161
|
-
requirements:
|
162
|
-
- - ! '>='
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '0'
|
165
|
-
type: :development
|
166
|
-
prerelease: false
|
167
|
-
version_requirements: *78265970
|
156
|
+
version_requirements: *73514200
|
168
157
|
- !ruby/object:Gem::Dependency
|
169
158
|
name: database_cleaner
|
170
|
-
requirement: &
|
171
|
-
none: false
|
172
|
-
requirements:
|
173
|
-
- - ! '>='
|
174
|
-
- !ruby/object:Gem::Version
|
175
|
-
version: '0'
|
176
|
-
type: :development
|
177
|
-
prerelease: false
|
178
|
-
version_requirements: *78264590
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
|
-
name: akephalos
|
181
|
-
requirement: &78263590 !ruby/object:Gem::Requirement
|
159
|
+
requirement: &73513560 !ruby/object:Gem::Requirement
|
182
160
|
none: false
|
183
161
|
requirements:
|
184
162
|
- - ! '>='
|
@@ -186,7 +164,7 @@ dependencies:
|
|
186
164
|
version: '0'
|
187
165
|
type: :development
|
188
166
|
prerelease: false
|
189
|
-
version_requirements: *
|
167
|
+
version_requirements: *73513560
|
190
168
|
description: ! 'Great Rails CMS, that turns your business logic into good-looking,
|
191
169
|
fully functional workspace. '
|
192
170
|
email: support@ithouse.lv
|
@@ -212,8 +190,9 @@ files:
|
|
212
190
|
- app/assets/javascripts/lolita/tab.js
|
213
191
|
- app/assets/stylesheets/lolita/PIE-custom.htc
|
214
192
|
- app/assets/stylesheets/lolita/PIE.htc
|
215
|
-
- app/assets/stylesheets/lolita/
|
216
|
-
- app/assets/stylesheets/lolita/
|
193
|
+
- app/assets/stylesheets/lolita/application.css
|
194
|
+
- app/assets/stylesheets/lolita/default.css.erb
|
195
|
+
- app/assets/stylesheets/lolita/style.css.erb
|
217
196
|
- app/controllers/lolita/info_controller.rb
|
218
197
|
- app/controllers/lolita/rest_controller.rb
|
219
198
|
- app/helpers/components/lolita/configuration/list_component.rb
|
@@ -466,41 +445,9 @@ files:
|
|
466
445
|
- spec/support/factories/post.rb
|
467
446
|
- spec/support/factories/tag.rb
|
468
447
|
- spec/support/formatter_spec.rb
|
469
|
-
- vendor/assets/javascripts/
|
448
|
+
- vendor/assets/javascripts/application_vendor_lolita.js
|
470
449
|
- vendor/assets/javascripts/jquery-ui-1.8.13.min.js
|
471
|
-
- vendor/assets/javascripts/
|
472
|
-
- vendor/assets/javascripts/tinymce/jquery.tinymce.js
|
473
|
-
- vendor/assets/javascripts/tinymce/langs/en.js
|
474
|
-
- vendor/assets/javascripts/tinymce/license.txt
|
475
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/about.htm
|
476
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/anchor.htm
|
477
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/charmap.htm
|
478
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/color_picker.htm
|
479
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/editor_template.js
|
480
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/editor_template_src.js
|
481
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/image.htm
|
482
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/img/colorpicker.jpg
|
483
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/img/flash.gif
|
484
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/img/icons.gif
|
485
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/img/iframe.gif
|
486
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/img/pagebreak.gif
|
487
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/img/quicktime.gif
|
488
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/img/realmedia.gif
|
489
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/img/shockwave.gif
|
490
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/img/trans.gif
|
491
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/img/video.gif
|
492
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/img/windowsmedia.gif
|
493
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/js/about.js
|
494
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/js/anchor.js
|
495
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/js/charmap.js
|
496
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/js/color_picker.js
|
497
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/js/image.js
|
498
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/js/link.js
|
499
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/js/source_editor.js
|
500
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/langs/en.js
|
501
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/langs/en_dlg.js
|
502
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/link.htm
|
503
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/shortcuts.htm
|
450
|
+
- vendor/assets/javascripts/modernizr_1_7_min.js
|
504
451
|
- vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/content.css
|
505
452
|
- vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/dialog.css
|
506
453
|
- vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/butt2.png
|
@@ -516,13 +463,6 @@ files:
|
|
516
463
|
- vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/tabs.gif
|
517
464
|
- vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/img/toolbarbg.png
|
518
465
|
- vendor/assets/javascripts/tinymce/themes/advanced/skins/cirkuit/ui.css
|
519
|
-
- vendor/assets/javascripts/tinymce/themes/advanced/source_editor.htm
|
520
|
-
- vendor/assets/javascripts/tinymce/tiny_mce.js
|
521
|
-
- vendor/assets/javascripts/tinymce/tiny_mce_popup.js
|
522
|
-
- vendor/assets/javascripts/tinymce/utils/editable_selects.js
|
523
|
-
- vendor/assets/javascripts/tinymce/utils/form_utils.js
|
524
|
-
- vendor/assets/javascripts/tinymce/utils/mctabs.js
|
525
|
-
- vendor/assets/javascripts/tinymce/utils/validate.js
|
526
466
|
- vendor/assets/javascripts/tinymce_config.js
|
527
467
|
homepage: http://github.com/ithouse/lolita
|
528
468
|
licenses:
|
@@ -539,7 +479,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
539
479
|
version: '0'
|
540
480
|
segments:
|
541
481
|
- 0
|
542
|
-
hash: -
|
482
|
+
hash: -500179811
|
543
483
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
544
484
|
none: false
|
545
485
|
requirements:
|