madvertise 0.0.2 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/madvertise.rb +2 -5
- data/madvertise.gemspec +44 -0
- metadata +4 -6
- data/test/madvertise_test.rb +0 -7
- data/test/test_helper.rb +0 -10
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
1.0.2
|
data/lib/madvertise.rb
CHANGED
@@ -25,11 +25,8 @@ module Madvertise
|
|
25
25
|
|
26
26
|
user_token = cookies['madvertise']
|
27
27
|
puts "User Tokken from cookie = #{user_token}"
|
28
|
-
|
29
|
-
|
30
|
-
#endpoint = URI.parse("http://madvertise.me:9001/test_sites")
|
31
|
-
endpoint = URI.parse("#{self.server}#{self.site_token}")
|
32
|
-
#endpoint = URI.parse('http://localhost:9292/test_sites')
|
28
|
+
serv = self.server || 'http://ad.madvertise.de/site/'
|
29
|
+
endpoint = URI.parse("#{serv}#{self.site_token}")
|
33
30
|
req = Net::HTTP::Post.new(endpoint.path)
|
34
31
|
req.set_form_data({
|
35
32
|
'ua' => user_agent || '',
|
data/madvertise.gemspec
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{madvertise}
|
8
|
+
s.version = "1.0.2"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Eugen Martin, Thomas Hille"]
|
12
|
+
s.date = %q{2009-10-15}
|
13
|
+
s.description = %q{this gem enables a publisher using a ruby technology to request ads from the madvertise network.}
|
14
|
+
s.email = %q{eugen.martin@madvertise.de}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"lib/madvertise.rb",
|
27
|
+
"madvertise.gemspec"
|
28
|
+
]
|
29
|
+
s.homepage = %q{http://www.madvertise.de/}
|
30
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
31
|
+
s.require_paths = ["lib"]
|
32
|
+
s.rubygems_version = %q{1.3.5}
|
33
|
+
s.summary = %q{request ads from the madvertise.de network}
|
34
|
+
|
35
|
+
if s.respond_to? :specification_version then
|
36
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
37
|
+
s.specification_version = 3
|
38
|
+
|
39
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
40
|
+
else
|
41
|
+
end
|
42
|
+
else
|
43
|
+
end
|
44
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: madvertise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugen Martin, Thomas Hille
|
@@ -30,8 +30,7 @@ files:
|
|
30
30
|
- Rakefile
|
31
31
|
- VERSION
|
32
32
|
- lib/madvertise.rb
|
33
|
-
-
|
34
|
-
- test/test_helper.rb
|
33
|
+
- madvertise.gemspec
|
35
34
|
has_rdoc: true
|
36
35
|
homepage: http://www.madvertise.de/
|
37
36
|
licenses: []
|
@@ -60,6 +59,5 @@ rubygems_version: 1.3.5
|
|
60
59
|
signing_key:
|
61
60
|
specification_version: 3
|
62
61
|
summary: request ads from the madvertise.de network
|
63
|
-
test_files:
|
64
|
-
|
65
|
-
- test/test_helper.rb
|
62
|
+
test_files: []
|
63
|
+
|
data/test/madvertise_test.rb
DELETED
data/test/test_helper.rb
DELETED