paloma 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Changelog
2
2
  =
3
3
 
4
+ Version 2.0.2
5
+ -
6
+ * 'js(false)' will prevent Paloma from appending _callback_hook on the response.
7
+
4
8
  Version 2.0.1
5
9
  -
6
10
  * Bug Fix: `params` is not passed when calling filters.
@@ -18,6 +18,8 @@ module Paloma
18
18
 
19
19
 
20
20
  def update_callback
21
+ return clear_callbacks if @__paloma_callback__.nil?
22
+
21
23
  add_to_callbacks @__paloma_callback__
22
24
 
23
25
  paloma_txt = view_context.render(
data/paloma.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'paloma'
3
- s.version = '2.0.1'
3
+ s.version = '2.0.2'
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"]
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.1
4
+ version: 2.0.2
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-03-10 00:00:00.000000000 Z
13
+ date: 2013-03-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: jquery-rails