tkh_content 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
 
4
4
 
5
+ ## 0.1.6
6
+
7
+ * Added inline HTML editor to the pages form
8
+
9
+
5
10
  ## 0.1.5
6
11
 
7
12
  * Added blog RSS feed
@@ -7,7 +7,7 @@
7
7
  <%= f.input :parent_id %><br />
8
8
  <%= f.input :for_blog %><br />
9
9
  <%= f.input :description, :input_html => { :rows => 3 } %>
10
- <%= f.input :body, :input_html => { :rows => 25 } %>
10
+ <%= f.input :body, :input_html => { :rows => 25, :id => 'editable' } %>
11
11
  </div>
12
12
 
13
13
  <div class="form-actions">
@@ -28,4 +28,4 @@ de:
28
28
  warning: 'Beim Speichern der Seite ist ein Problem aufgetreten'
29
29
  destroy:
30
30
  notice: 'Die Seite wurde gelöscht'
31
- root_warning: "You cannot delete this page as this is the root page of the site. You should only modify it."
31
+ root_warning: "Du kannst diese Seite nicht löschen, da es die Root-Seite ist. Du kannst sie nur bearbeiten."
data/lib/tkh_content.rb CHANGED
@@ -5,6 +5,8 @@ require 'stringex'
5
5
  require 'globalize3'
6
6
  require 'will_paginate'
7
7
  require 'bootstrap-will_paginate'
8
+ # require 'bootstrap-wysihtml5-rails'
9
+ require 'tkh_inline_editor'
8
10
 
9
11
  module TkhContent
10
12
  class Engine < ::Rails::Engine
@@ -1,3 +1,3 @@
1
1
  module TkhContent
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_content
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-18 00:00:00.000000000 Z
12
+ date: 2012-09-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -123,6 +123,22 @@ dependencies:
123
123
  - - ! '>='
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: tkh_inline_editor
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :runtime
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
126
142
  - !ruby/object:Gem::Dependency
127
143
  name: sqlite3
128
144
  requirement: !ruby/object:Gem::Requirement
@@ -220,7 +236,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
220
236
  version: '0'
221
237
  segments:
222
238
  - 0
223
- hash: -4176267993467367485
239
+ hash: 2338962339073569954
224
240
  required_rubygems_version: !ruby/object:Gem::Requirement
225
241
  none: false
226
242
  requirements:
@@ -229,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
245
  version: '0'
230
246
  segments:
231
247
  - 0
232
- hash: -4176267993467367485
248
+ hash: 2338962339073569954
233
249
  requirements: []
234
250
  rubyforge_project:
235
251
  rubygems_version: 1.8.23