asyncomni 0.0.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4c0267ec473e579e15a2838de53887d9e0dfa99
4
- data.tar.gz: 96a295a7c94a17dbfc5017a112e9dbc6cb4b95fe
3
+ metadata.gz: 1682a5f4f1a912d04059c33bb65479077b5725b5
4
+ data.tar.gz: 22b27ac23908f4c3f8d35ebdacbfa1cf51147d22
5
5
  SHA512:
6
- metadata.gz: 4baa1f03db43db3ce612860d2a1614a161d8185b03812c37107df6e9e4f4d83cccd1b2fc0a3c353a4fc584887975e2df3445cda50abf4b24f0e4e086ac29002b
7
- data.tar.gz: 2ae7f0ea5ff4e6087c21f0859cb288bb3a8edae7bc3aa2266bf5081e7127a1167102dfcf29174d84c19307f3d4bb921ff0cb941c5f50f7ca4837dc271bccdaaf
6
+ metadata.gz: 5c521b005e2e8d9f2a5fd64875ff54e22d2278b89dc0b77bf57bb5af87125e431699a21a85422de694637405294ca68ac3201ab0869e57f40d2ce81034a18324
7
+ data.tar.gz: f0c9b888b349f72cab081273d79804b346f0bae3759c0b447c333fc9e579d678b66617326a44af341b77e66386a06b0b3629a2742886f6135554f06b9bb118ac
@@ -1,3 +1,2 @@
1
1
  //= require omniture
2
- //= require s_code
3
2
 
@@ -1,6 +1,6 @@
1
1
  %script{:language => "JavaScript"}
2
2
  s_account="#{Omniture.tracking_account}";
3
- = javascript_include_tag 'application'
3
+ = javascript_include_tag 's_code'
4
4
  %script{:language => "JavaScript"}
5
5
  s.pageName=parent.document.getElementById('omnitureFrame').attributes.getNamedItem('data-page-name').value;
6
6
  s.#{Omniture.sprop_for('user_id')}='#{user_id}';
@@ -1,5 +1,10 @@
1
1
  module Asyncomni
2
2
  class Engine < Rails::Engine
3
+
4
+ initializer "precompile", :group => :all do |app|
5
+ app.config.assets.precompile << Proc.new{|path| path == "s_code.js" }
6
+ end
7
+
3
8
  config.generators do |g|
4
9
  g.test_framework :rspec, :view_specs => false
5
10
  end
@@ -1,3 +1,3 @@
1
1
  module Asyncomni
2
- VERSION = "0.0.4"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asyncomni
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gourav Tiwari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-29 00:00:00.000000000 Z
11
+ date: 2013-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails