kenshoo 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest CHANGED
@@ -1,8 +1,6 @@
1
1
  Gemfile
2
- Gemfile.lock
3
2
  README.rdoc
4
3
  Rakefile
5
- kenshoo.gemspec
6
4
  lib/kenshoo.rb
7
5
  test/kenshoo_test.rb
8
6
  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.5') do |p|
8
+ Echoe.new('kenshoo', '0.1.6') 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.5"
5
+ s.version = "0.1.6"
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{2011-01-20}
9
+ s.date = %q{2011-01-21}
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", "README.rdoc", "Rakefile", "kenshoo.gemspec", "lib/kenshoo.rb", "test/kenshoo_test.rb", "Manifest"]
13
+ s.files = ["Gemfile", "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
@@ -36,7 +36,7 @@ module Kenshoo
36
36
  end
37
37
 
38
38
  def self.wrap_link_with_tracking_id(link, network_code, session)
39
- outlink = link
39
+ outlink = link.strip!
40
40
  begin
41
41
  tracking_param = KENSHOO_PARAMS[network_code]
42
42
  if !session['sid'].blank? && !tracking_param.blank?
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: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
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: 2011-01-20 00:00:00 -08:00
18
+ date: 2011-01-21 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies: []
21
21
 
@@ -30,13 +30,12 @@ extra_rdoc_files:
30
30
  - lib/kenshoo.rb
31
31
  files:
32
32
  - Gemfile
33
- - Gemfile.lock
34
33
  - README.rdoc
35
34
  - Rakefile
36
- - kenshoo.gemspec
37
35
  - lib/kenshoo.rb
38
36
  - test/kenshoo_test.rb
39
37
  - Manifest
38
+ - kenshoo.gemspec
40
39
  has_rdoc: true
41
40
  homepage: http://github.com/58Phases/kenshoo
42
41
  licenses: []
data/Gemfile.lock DELETED
@@ -1,46 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- abstract (1.0.0)
5
- actionpack (3.0.3)
6
- activemodel (= 3.0.3)
7
- activesupport (= 3.0.3)
8
- builder (~> 2.1.2)
9
- erubis (~> 2.6.6)
10
- i18n (~> 0.4)
11
- rack (~> 1.2.1)
12
- rack-mount (~> 0.6.13)
13
- rack-test (~> 0.5.6)
14
- tzinfo (~> 0.3.23)
15
- activemodel (3.0.3)
16
- activesupport (= 3.0.3)
17
- builder (~> 2.1.2)
18
- i18n (~> 0.4)
19
- activesupport (3.0.3)
20
- builder (2.1.2)
21
- echoe (4.3.1)
22
- gemcutter
23
- rubyforge
24
- erubis (2.6.6)
25
- abstract (>= 1.0.0)
26
- gemcutter (0.6.1)
27
- i18n (0.5.0)
28
- json_pure (1.4.6)
29
- rack (1.2.1)
30
- rack-mount (0.6.13)
31
- rack (>= 1.0.0)
32
- rack-test (0.5.6)
33
- rack (>= 1.0)
34
- rake (0.8.7)
35
- rubyforge (2.0.4)
36
- json_pure (>= 1.1.7)
37
- tzinfo (0.3.23)
38
-
39
- PLATFORMS
40
- ruby
41
-
42
- DEPENDENCIES
43
- actionpack
44
- activesupport
45
- echoe
46
- rake