taggingform 0.0.0 → 0.0.5

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/Gemfile CHANGED
@@ -2,3 +2,5 @@ source "http://rubygems.org"
2
2
 
3
3
  gemspec
4
4
 
5
+ gem "jquery-ui-rails"
6
+
@@ -1,13 +1,14 @@
1
- module RailsKindeditor
1
+ module TaggingForm
2
2
  module Helper
3
- def kindeditor_tag(name, content = nil, options = {})
3
+
4
+ def tadding_tag(name, content = nil, options = {})
4
5
  id = sanitize_to_id(name)
5
6
  input_html = { :id => id }.merge(options.delete(:input_html) || {})
6
7
  output = ActiveSupport::SafeBuffer.new
7
8
  output << text_area_tag(name, content, input_html)
8
9
  end
9
10
 
10
- def kindeditor(name, method, options = {})
11
+ def tadding(name, method, options = {})
11
12
  input_html = (options.delete(:input_html) || {})
12
13
  hash = input_html.stringify_keys
13
14
  instance_tag = ActionView::Base::InstanceTag.new(name, method, self, options.delete(:object))
@@ -19,8 +20,8 @@ module RailsKindeditor
19
20
  end
20
21
 
21
22
  module Builder
22
- def kindeditor(method, options = {})
23
- @template.send("kindeditor", @object_name, method, objectify_options(options))
23
+ def tadding(method, options = {})
24
+ @template.send("tadding", @object_name, method, objectify_options(options))
24
25
  end
25
26
  end
26
27
  end
data/taggingform.gemspec CHANGED
@@ -5,7 +5,7 @@ require "taggingform/version"
5
5
 
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = 'taggingform'
8
- gem.version = '0.0.0'
8
+ gem.version = '0.0.5'
9
9
  gem.date = '2013-04-16'
10
10
  gem.summary = "a plugin with jquery plug tagging!"
11
11
  gem.description = "a plugin with jquery plug tagging http://aehlke.github.io/tag-it/"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taggingform
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: