useful_helpers 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,6 @@
1
+ <% content_for :javascripts do %>
2
+ <%= javascript_include_tag("ckeditor/init") %>
3
+ <% end %>
4
+ <% content_for :stylesheets do %>
5
+ <%= stylesheet_link_tag("ckeditor") %>
6
+ <% end %>
@@ -1,12 +1,6 @@
1
1
  # coding: utf-8
2
2
  module CkeditorHelper
3
3
  def ckeditor
4
- content_for :javascripts do
5
- javascript_include_tag("ckeditor/init")
6
- end
7
-
8
- content_for :stylesheets do
9
- stylesheet_link_tag("ckeditor")
10
- end
4
+ render "shared/ckeditor"
11
5
  end
12
6
  end
@@ -1,3 +1,3 @@
1
1
  module UsefulHelpers
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: useful_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
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: 2013-04-21 00:00:00.000000000 Z
12
+ date: 2013-05-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -71,6 +71,7 @@ files:
71
71
  - LICENSE.txt
72
72
  - README.md
73
73
  - Rakefile
74
+ - app/views/shared/_ckeditor.html.erb
74
75
  - config/locales/useful_helpers.en.yml
75
76
  - config/locales/useful_helpers.ru.yml
76
77
  - lib/useful_helpers.rb