yieldmanager 0.0.2 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/README.rdoc +32 -5
  2. data/Rakefile +22 -0
  3. data/TODO +15 -0
  4. data/VERSION +1 -1
  5. data/lib/yieldmanager/builder.rb +73 -0
  6. data/lib/yieldmanager/client.rb +106 -0
  7. data/lib/yieldmanager.rb +11 -15
  8. data/spec/yieldmanager/builder_spec.rb +74 -0
  9. data/spec/yieldmanager/client_spec.rb +87 -0
  10. data/wsdls/1.30/prod/adjustment.wsdl +2 -0
  11. data/wsdls/1.30/prod/advertiser.wsdl +2 -0
  12. data/wsdls/1.30/prod/campaign.wsdl +2 -0
  13. data/wsdls/1.30/prod/contact.wsdl +2 -0
  14. data/wsdls/1.30/prod/creative.wsdl +2 -0
  15. data/wsdls/1.30/prod/dictionary.wsdl +2 -0
  16. data/wsdls/1.30/prod/entity.wsdl +2 -0
  17. data/wsdls/1.30/prod/insertion_order.wsdl +2 -0
  18. data/wsdls/1.30/prod/line_item.wsdl +2 -0
  19. data/wsdls/1.30/prod/linking.wsdl +2 -0
  20. data/wsdls/1.30/prod/pixel.wsdl +2 -0
  21. data/wsdls/1.30/prod/placement.wsdl +2 -0
  22. data/wsdls/1.30/prod/publisher.wsdl +2 -0
  23. data/wsdls/1.30/prod/report.wsdl +2 -0
  24. data/wsdls/1.30/prod/search.wsdl +2 -0
  25. data/wsdls/1.30/prod/section.wsdl +2 -0
  26. data/wsdls/1.30/prod/site.wsdl +2 -0
  27. data/wsdls/1.30/prod/target_profile.wsdl +2 -0
  28. data/wsdls/1.30/prod/xsd_gen.php +40 -0
  29. data/wsdls/1.30/test/adjustment.wsdl +2 -0
  30. data/wsdls/1.30/test/advertiser.wsdl +2 -0
  31. data/wsdls/1.30/test/campaign.wsdl +2 -0
  32. data/wsdls/1.30/test/contact.wsdl +2 -0
  33. data/wsdls/1.30/test/creative.wsdl +2 -0
  34. data/wsdls/1.30/test/dictionary.wsdl +2 -0
  35. data/wsdls/1.30/test/entity.wsdl +2 -0
  36. data/wsdls/1.30/test/insertion_order.wsdl +2 -0
  37. data/wsdls/1.30/test/line_item.wsdl +2 -0
  38. data/wsdls/1.30/test/linking.wsdl +2 -0
  39. data/wsdls/1.30/test/pixel.wsdl +2 -0
  40. data/wsdls/1.30/test/placement.wsdl +2 -0
  41. data/wsdls/1.30/test/publisher.wsdl +2 -0
  42. data/wsdls/1.30/test/report.wsdl +2 -0
  43. data/wsdls/1.30/test/search.wsdl +2 -0
  44. data/wsdls/1.30/test/section.wsdl +2 -0
  45. data/wsdls/1.30/test/site.wsdl +2 -0
  46. data/wsdls/1.30/test/target_profile.wsdl +2 -0
  47. data/wsdls/1.30/test/xsd_gen.php +40 -0
  48. data/yieldmanager.gemspec +47 -4
  49. metadata +47 -4
  50. data/spec/yieldmanager_spec.rb +0 -23
data/yieldmanager.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{yieldmanager}
8
- s.version = "0.0.2"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bill Gathen"]
12
- s.date = %q{2009-11-14}
12
+ s.date = %q{2009-11-17}
13
13
  s.description = %q{This gem offers full access to YieldManager's API tools (read/write) as well as ad-hoc reporting through the Reportware tool}
14
14
  s.email = %q{bill@billgathen.com}
15
15
  s.extra_rdoc_files = [
@@ -22,11 +22,53 @@ Gem::Specification.new do |s|
22
22
  "LICENSE",
23
23
  "README.rdoc",
24
24
  "Rakefile",
25
+ "TODO",
25
26
  "VERSION",
26
27
  "lib/yieldmanager.rb",
28
+ "lib/yieldmanager/builder.rb",
29
+ "lib/yieldmanager/client.rb",
27
30
  "spec/spec.opts",
28
31
  "spec/spec_helper.rb",
29
- "spec/yieldmanager_spec.rb",
32
+ "spec/yieldmanager/builder_spec.rb",
33
+ "spec/yieldmanager/client_spec.rb",
34
+ "wsdls/1.30/prod/adjustment.wsdl",
35
+ "wsdls/1.30/prod/advertiser.wsdl",
36
+ "wsdls/1.30/prod/campaign.wsdl",
37
+ "wsdls/1.30/prod/contact.wsdl",
38
+ "wsdls/1.30/prod/creative.wsdl",
39
+ "wsdls/1.30/prod/dictionary.wsdl",
40
+ "wsdls/1.30/prod/entity.wsdl",
41
+ "wsdls/1.30/prod/insertion_order.wsdl",
42
+ "wsdls/1.30/prod/line_item.wsdl",
43
+ "wsdls/1.30/prod/linking.wsdl",
44
+ "wsdls/1.30/prod/pixel.wsdl",
45
+ "wsdls/1.30/prod/placement.wsdl",
46
+ "wsdls/1.30/prod/publisher.wsdl",
47
+ "wsdls/1.30/prod/report.wsdl",
48
+ "wsdls/1.30/prod/search.wsdl",
49
+ "wsdls/1.30/prod/section.wsdl",
50
+ "wsdls/1.30/prod/site.wsdl",
51
+ "wsdls/1.30/prod/target_profile.wsdl",
52
+ "wsdls/1.30/prod/xsd_gen.php",
53
+ "wsdls/1.30/test/adjustment.wsdl",
54
+ "wsdls/1.30/test/advertiser.wsdl",
55
+ "wsdls/1.30/test/campaign.wsdl",
56
+ "wsdls/1.30/test/contact.wsdl",
57
+ "wsdls/1.30/test/creative.wsdl",
58
+ "wsdls/1.30/test/dictionary.wsdl",
59
+ "wsdls/1.30/test/entity.wsdl",
60
+ "wsdls/1.30/test/insertion_order.wsdl",
61
+ "wsdls/1.30/test/line_item.wsdl",
62
+ "wsdls/1.30/test/linking.wsdl",
63
+ "wsdls/1.30/test/pixel.wsdl",
64
+ "wsdls/1.30/test/placement.wsdl",
65
+ "wsdls/1.30/test/publisher.wsdl",
66
+ "wsdls/1.30/test/report.wsdl",
67
+ "wsdls/1.30/test/search.wsdl",
68
+ "wsdls/1.30/test/section.wsdl",
69
+ "wsdls/1.30/test/site.wsdl",
70
+ "wsdls/1.30/test/target_profile.wsdl",
71
+ "wsdls/1.30/test/xsd_gen.php",
30
72
  "yieldmanager.gemspec"
31
73
  ]
32
74
  s.homepage = %q{http://github.com/billgathen/yieldmanager}
@@ -36,7 +78,8 @@ Gem::Specification.new do |s|
36
78
  s.summary = %q{Interact with RightMedia's YieldManager API and Reportware products}
37
79
  s.test_files = [
38
80
  "spec/spec_helper.rb",
39
- "spec/yieldmanager_spec.rb"
81
+ "spec/yieldmanager/builder_spec.rb",
82
+ "spec/yieldmanager/client_spec.rb"
40
83
  ]
41
84
 
42
85
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yieldmanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bill Gathen
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-14 00:00:00 -05:00
12
+ date: 2009-11-17 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -37,11 +37,53 @@ files:
37
37
  - LICENSE
38
38
  - README.rdoc
39
39
  - Rakefile
40
+ - TODO
40
41
  - VERSION
41
42
  - lib/yieldmanager.rb
43
+ - lib/yieldmanager/builder.rb
44
+ - lib/yieldmanager/client.rb
42
45
  - spec/spec.opts
43
46
  - spec/spec_helper.rb
44
- - spec/yieldmanager_spec.rb
47
+ - spec/yieldmanager/builder_spec.rb
48
+ - spec/yieldmanager/client_spec.rb
49
+ - wsdls/1.30/prod/adjustment.wsdl
50
+ - wsdls/1.30/prod/advertiser.wsdl
51
+ - wsdls/1.30/prod/campaign.wsdl
52
+ - wsdls/1.30/prod/contact.wsdl
53
+ - wsdls/1.30/prod/creative.wsdl
54
+ - wsdls/1.30/prod/dictionary.wsdl
55
+ - wsdls/1.30/prod/entity.wsdl
56
+ - wsdls/1.30/prod/insertion_order.wsdl
57
+ - wsdls/1.30/prod/line_item.wsdl
58
+ - wsdls/1.30/prod/linking.wsdl
59
+ - wsdls/1.30/prod/pixel.wsdl
60
+ - wsdls/1.30/prod/placement.wsdl
61
+ - wsdls/1.30/prod/publisher.wsdl
62
+ - wsdls/1.30/prod/report.wsdl
63
+ - wsdls/1.30/prod/search.wsdl
64
+ - wsdls/1.30/prod/section.wsdl
65
+ - wsdls/1.30/prod/site.wsdl
66
+ - wsdls/1.30/prod/target_profile.wsdl
67
+ - wsdls/1.30/prod/xsd_gen.php
68
+ - wsdls/1.30/test/adjustment.wsdl
69
+ - wsdls/1.30/test/advertiser.wsdl
70
+ - wsdls/1.30/test/campaign.wsdl
71
+ - wsdls/1.30/test/contact.wsdl
72
+ - wsdls/1.30/test/creative.wsdl
73
+ - wsdls/1.30/test/dictionary.wsdl
74
+ - wsdls/1.30/test/entity.wsdl
75
+ - wsdls/1.30/test/insertion_order.wsdl
76
+ - wsdls/1.30/test/line_item.wsdl
77
+ - wsdls/1.30/test/linking.wsdl
78
+ - wsdls/1.30/test/pixel.wsdl
79
+ - wsdls/1.30/test/placement.wsdl
80
+ - wsdls/1.30/test/publisher.wsdl
81
+ - wsdls/1.30/test/report.wsdl
82
+ - wsdls/1.30/test/search.wsdl
83
+ - wsdls/1.30/test/section.wsdl
84
+ - wsdls/1.30/test/site.wsdl
85
+ - wsdls/1.30/test/target_profile.wsdl
86
+ - wsdls/1.30/test/xsd_gen.php
45
87
  - yieldmanager.gemspec
46
88
  has_rdoc: true
47
89
  homepage: http://github.com/billgathen/yieldmanager
@@ -73,4 +115,5 @@ specification_version: 3
73
115
  summary: Interact with RightMedia's YieldManager API and Reportware products
74
116
  test_files:
75
117
  - spec/spec_helper.rb
76
- - spec/yieldmanager_spec.rb
118
+ - spec/yieldmanager/builder_spec.rb
119
+ - spec/yieldmanager/client_spec.rb
@@ -1,23 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
-
3
- describe "A new Yieldmanager" do
4
- before(:each) do
5
- @ym = Yieldmanager.new(login_args)
6
- end
7
-
8
- it "requires :user, :pass and :base_url as args" do
9
- @ym.user.should equal(login_args[:user])
10
- @ym.pass.should equal(login_args[:pass])
11
- @ym.base_url.should equal(login_args[:base_url])
12
- lambda { Yieldmanager.new() }.should raise_error(ArgumentError)
13
- lambda { Yieldmanager.new({}) }.should raise_error(ArgumentError)
14
- end
15
-
16
- def login_args
17
- @login_args ||= {
18
- :user => "bill",
19
- :pass => "secret",
20
- :base_url => "https://api.yieldmanager.com/api-1.30/"
21
- }
22
- end
23
- end