ads-rails 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,13 +6,13 @@ module Ads
6
6
  def google_adsense_include_tag(*args)
7
7
  if ::Rails.env.production?
8
8
  options = args.extract_options!
9
- script = <<-SCRIPT.strip_heredoc
9
+ script = <<-SCRIPT
10
10
  google_ad_client = '#{options[:client]}';
11
11
  google_ad_slot = '#{options[:slot]}';
12
12
  google_ad_width = #{options[:width]};
13
13
  google_ad_height = #{options[:height]};
14
14
  SCRIPT
15
- content_tag(:script, "\n#{script}".html_safe, :type => 'text/javascript') +"\n"+
15
+ content_tag(:script, script.html_safe, :type => 'text/javascript') +
16
16
  content_tag(:script, nil, :type => 'text/javascript', :src => 'http://pagead2.googlesyndication.com/pagead/show_ads.js')
17
17
  end
18
18
  end
@@ -1,7 +1,7 @@
1
1
  module Ads
2
2
  module Rails
3
3
 
4
- VERSION = '0.0.2'
4
+ VERSION = '0.0.3'
5
5
 
6
6
  end
7
7
  end
@@ -4,3 +4,6 @@ Connecting to database specified by database.yml
4
4
  Connecting to database specified by database.yml
5
5
   (0.2ms) begin transaction
6
6
   (0.0ms) rollback transaction
7
+ Connecting to database specified by database.yml
8
+  (0.2ms) begin transaction
9
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ads-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-17 00:00:00.000000000 Z
12
+ date: 2013-06-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails