tkh_admin_panel 0.2 → 0.2.1

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.2.1
6
+
7
+ * Added inline HTML editor
8
+
9
+
5
10
  ## 0.2
6
11
 
7
12
  * Added german locale and translations. Upgrader need to run the update task and run migrations
data/Gemfile CHANGED
@@ -2,3 +2,9 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in tkh_admin_panel.gemspec
4
4
  gemspec
5
+
6
+ # Declare any dependencies that are still in development here instead of in
7
+ # your gemspec. These might include edge Rails or gems from your path or
8
+ # Git. Remember to move these dependencies to your gemspec before releasing
9
+ # your gem to rubygems.org.
10
+ # gem 'tkh_inline_editor', :path => '/Users/swamiatma/Documents/Dropbox/coding/ruby/gems/tkh_inline_editor'
@@ -7,4 +7,5 @@
7
7
  //= require jquery
8
8
  //= require jquery_ujs
9
9
  //= require bootstrap
10
+ //= require bootstrap-wysihtml5-all
10
11
  //= require custom
@@ -2,3 +2,4 @@ jQuery ->
2
2
  $("a[rel=popover]").popover()
3
3
  $(".tooltip").tooltip()
4
4
  $("a[rel=tooltip]").tooltip()
5
+ $('#editable').wysihtml5()
@@ -1,4 +1,5 @@
1
1
  @import 'bootstrap_and_overrides.css.scss';
2
+ @import 'bootstrap-wysihtml5';
2
3
 
3
4
  footer {
4
5
  margin: 2em 1em .5em;
@@ -1,3 +1,3 @@
1
1
  de:
2
- admin_panel: 'Administrator-Schaltfläche'
3
- admin_panel_for: "Administrator-Schaltfläche für"
2
+ admin_panel: 'Administratorschaltfläche'
3
+ admin_panel_for: "Administratorschaltfläche für"
@@ -2,6 +2,8 @@ require "tkh_admin_panel/version"
2
2
  require 'bootstrap-sass'
3
3
  require 'simple_form'
4
4
  require 'tkh_admin_panel/tkh_admin_panel_action_controller_extension'
5
+ # require 'bootstrap-wysihtml5-rails'
6
+ require 'tkh_inline_editor'
5
7
 
6
8
  module TkhAdminPanel
7
9
  class Engine < ::Rails::Engine
@@ -1,3 +1,3 @@
1
1
  module TkhAdminPanel
2
- VERSION = "0.2"
2
+ VERSION = "0.2.1"
3
3
  end
@@ -11,6 +11,10 @@ Gem::Specification.new do |gem|
11
11
  gem.add_dependency "railties", "~> 3.2"
12
12
  gem.add_dependency "bootstrap-sass", '~> 2.0'
13
13
  gem.add_dependency "simple_form", '~> 2.0'
14
+ # This gem does not support p tags until wysihtml5 0.4 is released and linked to gem below
15
+ # gem.add_dependency 'bootstrap-wysihtml5-rails'
16
+ # try using my own tkh_inline_editor instead
17
+ gem.add_dependency 'tkh_inline_editor'
14
18
 
15
19
  gem.files = `git ls-files`.split($\)
16
20
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_admin_panel
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
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: railties
@@ -59,6 +59,22 @@ dependencies:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '2.0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: tkh_inline_editor
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
62
78
  description: Admin panel layout engine
63
79
  email:
64
80
  - swami@TenThousandHours.eu