paloma 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/paloma/action_controller_filters.rb +6 -2
- data/paloma.gemspec +1 -1
- metadata +3 -3
@@ -31,10 +31,14 @@ module Paloma
|
|
31
31
|
after_body_end_content = response_body[0][before_body_end_index..-1].html_safe
|
32
32
|
|
33
33
|
response_body[0] = before_body_end_content + paloma_txt + after_body_end_content
|
34
|
-
|
34
|
+
|
35
35
|
response.body = response_body[0]
|
36
|
-
|
36
|
+
else
|
37
|
+
# If body tag is not present, append paloma_txt in the response body
|
38
|
+
response.body = response_body[0] + paloma_txt
|
37
39
|
end
|
40
|
+
|
41
|
+
clear_callbacks
|
38
42
|
end
|
39
43
|
|
40
44
|
|
data/paloma.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'paloma'
|
3
|
-
s.version = '1.2.
|
3
|
+
s.version = '1.2.3'
|
4
4
|
s.summary = "a sexy way to organize javascript files using Rails` asset pipeline"
|
5
5
|
s.description = "a sexy way to organize javascript files using Rails` asset pipeline"
|
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: 1.2.
|
4
|
+
version: 1.2.3
|
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-01-
|
13
|
+
date: 2013-01-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jquery-rails
|
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
226
|
version: '0'
|
227
227
|
requirements: []
|
228
228
|
rubyforge_project:
|
229
|
-
rubygems_version: 1.8.
|
229
|
+
rubygems_version: 1.8.21
|
230
230
|
signing_key:
|
231
231
|
specification_version: 3
|
232
232
|
summary: a sexy way to organize javascript files using Rails` asset pipeline
|