jstree_rails 0.1.2 → 0.1.3

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.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == v0.1.3
2
+ * Add data type for ajax helper
3
+
1
4
  == v0.1.2
2
5
  * Adds .jstree_rails class to all generated divs containing trees
3
6
  * Adds support for defining ajax options when building send link
@@ -14,5 +14,5 @@ module JsTreeRails
14
14
  end
15
15
  end
16
16
 
17
- VERSION = Version.new('0.1.2')
17
+ VERSION = Version.new('0.1.3')
18
18
  end
@@ -21,7 +21,8 @@ module JsTreeRails
21
21
  :type => link_args.delete(:method) || 'post',
22
22
  :data => {
23
23
  :data => RawJS.new("jQuery(#{format_type_to_js(format_id(dom_id))}).jstree('get_json', -1)")
24
- }
24
+ },
25
+ :data_type => 'script'
25
26
  }.merge(ajax_args)
26
27
  link_to_function(name, link_args) do |page|
27
28
  page << "
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jstree_rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Roberts
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-12 00:00:00 -07:00
18
+ date: 2011-10-18 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  requirements: []
119
119
 
120
120
  rubyforge_project:
121
- rubygems_version: 1.6.2
121
+ rubygems_version: 1.4.2
122
122
  signing_key:
123
123
  specification_version: 3
124
124
  summary: jsTree for Rails