kenshoo 0.1.1 → 0.1.2

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.
Files changed (5) hide show
  1. data/Manifest +1 -1
  2. data/Rakefile +1 -1
  3. data/kenshoo.gemspec +3 -3
  4. data/lib/kenshoo.rb +10 -1
  5. metadata +5 -5
data/Manifest CHANGED
@@ -1,7 +1,7 @@
1
1
  Gemfile
2
2
  Gemfile.lock
3
- Manifest
4
3
  README.rdoc
5
4
  Rakefile
6
5
  lib/kenshoo.rb
7
6
  test/kenshoo_test.rb
7
+ Manifest
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ Bundler.setup
5
5
  require 'rake'
6
6
  require 'echoe'
7
7
 
8
- Echoe.new('kenshoo', '0.1.1') do |p|
8
+ Echoe.new('kenshoo', '0.1.2') do |p|
9
9
  p.description = "Append Kenshoo tracking id after the given affiliate link"
10
10
  p.url = "http://github.com/58Phases/kenshoo"
11
11
  p.author = "David Hsu"
data/kenshoo.gemspec CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{kenshoo}
5
- s.version = "0.1.1"
5
+ s.version = "0.1.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["David Hsu"]
9
- s.date = %q{2010-12-13}
9
+ s.date = %q{2011-01-17}
10
10
  s.description = %q{Append Kenshoo tracking id after the given affiliate link}
11
11
  s.email = %q{david@yibs.com}
12
12
  s.extra_rdoc_files = ["README.rdoc", "lib/kenshoo.rb"]
13
- s.files = ["Gemfile", "Gemfile.lock", "Manifest", "README.rdoc", "Rakefile", "lib/kenshoo.rb", "test/kenshoo_test.rb", "kenshoo.gemspec"]
13
+ s.files = ["Gemfile", "Gemfile.lock", "README.rdoc", "Rakefile", "lib/kenshoo.rb", "test/kenshoo_test.rb", "Manifest", "kenshoo.gemspec"]
14
14
  s.homepage = %q{http://github.com/58Phases/kenshoo}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Kenshoo", "--main", "README.rdoc"]
16
16
  s.require_paths = ["lib"]
data/lib/kenshoo.rb CHANGED
@@ -5,7 +5,16 @@ module Kenshoo
5
5
  base.before_filter :set_kenshoo_tracking_id
6
6
  end
7
7
 
8
- KENSHOO_PARAMS = { 'CJ' => 'sid', 'LS' => 'u1', 'PJ' => 'sid', 'GN' => 'mid', 'SAS' => 'afftrack' }
8
+ KENSHOO_PARAMS = {
9
+ 'AF' => 'tracking',
10
+ 'AW' => 'clickref',
11
+ 'CJ' => 'sid',
12
+ 'LS' => 'u1',
13
+ 'PJ' => 'sid',
14
+ 'GN' => 'mid',
15
+ 'SAS' => 'afftrack',
16
+ 'TD' => 'Epi'
17
+ }
9
18
 
10
19
  def self.link_with_tracking_id(instance, session)
11
20
  link = instance.try(:link)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kenshoo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Hsu
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-13 00:00:00 -08:00
18
+ date: 2011-01-17 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -31,11 +31,11 @@ extra_rdoc_files:
31
31
  files:
32
32
  - Gemfile
33
33
  - Gemfile.lock
34
- - Manifest
35
34
  - README.rdoc
36
35
  - Rakefile
37
36
  - lib/kenshoo.rb
38
37
  - test/kenshoo_test.rb
38
+ - Manifest
39
39
  - kenshoo.gemspec
40
40
  has_rdoc: true
41
41
  homepage: http://github.com/58Phases/kenshoo