scribble_cms 0.89 → 0.90

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@ window.initScribblerTinyMce = function(){
6
6
  $('textarea').not('.plain').not(".mini-editor").tinymce({
7
7
  mode: 'textareas',
8
8
  theme: 'modern',
9
- plugins: "autolink code colorpicker hr image link lists paste table textcolor",
9
+ plugins: "autolink code colorpicker hr image link lists paste table textcolor autoresize",
10
10
  menubar: '',
11
11
  toolbar: "undo redo | styleselect | bold italic | link unlink image | alignleft aligncenter alignright | bullist numlist table | textcolor fontsizeselect | code",
12
12
  valid_elements : '*[*]',
@@ -19,7 +19,7 @@ window.initScribblerTinyMce = function(){
19
19
  $('textarea.mini-editor').tinymce({
20
20
  mode: 'textareas',
21
21
  theme: 'modern',
22
- plugins: "autolink link lists paste textcolor",
22
+ plugins: "autolink link lists paste textcolor autoresize",
23
23
  menubar: '',
24
24
  toolbar: "bold italic | link unlink | bullist numlist | code",
25
25
  valid_elements : '*[*]',
@@ -0,0 +1,10 @@
1
+ namespace :scribbler do
2
+
3
+ desc "dump current scribbler data as mysql dump"
4
+ task :export_scribbler_data => :environment do
5
+ config = ActiveRecord::Base.connection_config
6
+ tables = ActiveRecord::Base.connection.tables.grep(/scribbler_/)
7
+ `mysqldump -h#{config[:host]} -u#{config[:username]} --password='#{config[:password]}' #{config[:database]} #{tables.join(' ')} > '#{Rails.root}/tmp/scribbler_#{Time.now.to_i}.sql'`
8
+ end
9
+
10
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scribble_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.89'
4
+ version: '0.90'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Eck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-25 00:00:00.000000000 Z
11
+ date: 2017-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: friendly_extensions
@@ -111,6 +111,7 @@ files:
111
111
  - lib/scribble_cms/scribbler_content_creator.rb
112
112
  - lib/scribble_cms/scribbler_controller_plugin.rb
113
113
  - lib/scribble_cms/scribbler_element_setup.rb
114
+ - lib/tasks/scribbler.rake
114
115
  homepage: http://www.el-digital.de
115
116
  licenses: []
116
117
  metadata: {}