paloma 2.0.3 → 2.0.4

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.
@@ -1,6 +1,10 @@
1
1
  Changelog
2
2
  =
3
3
 
4
+ Version 2.0.4
5
+ -
6
+ * Bug Fix: Issue #4 - Passing json string on params.
7
+
4
8
  Version 2.0.3
5
9
  -
6
10
  * Bug Fix: prevent javascript error when callback doesn't exist.
@@ -23,7 +23,7 @@
23
23
  callbacks.push({
24
24
  controller: '<%= callback[:controller] %>',
25
25
  action: '<%= callback[:action] %>',
26
- params: eval($('<div/>').html("(<%= callback[:params].to_json %>)").text())
26
+ params: <%= callback[:params].to_json.html_safe %>
27
27
  });
28
28
  <% end %>
29
29
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'paloma'
3
- s.version = '2.0.3'
3
+ s.version = '2.0.4'
4
4
  s.summary = "Provides an easy way to execute page-specific javascript for Rails."
5
5
  s.description = "Page-specific javascript for Rails done right"
6
6
  s.authors = ["Karl Paragua", "Bia Esmero"]
@@ -1,2 +1,5 @@
1
1
  source 'https://rubygems.org'
2
+
3
+ gem 'selenium-webdriver'
4
+
2
5
  gemspec :path => '../../'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paloma
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-04-01 00:00:00.000000000 Z
13
+ date: 2013-05-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jquery-rails