yieldmanager 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,21 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+
21
+ ## PROJECT::SPECIFIC
data/Rakefile CHANGED
@@ -19,16 +19,36 @@ rescue LoadError
19
19
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
20
20
  end
21
21
 
22
- require 'spec/rake/spectask'
23
- Spec::Rake::SpecTask.new(:spec) do |spec|
24
- spec.libs << 'lib' << 'spec'
25
- spec.spec_files = FileList['spec/**/*_spec.rb']
26
- end
22
+ #
23
+ # Handle 1.8 + rspec-1 OR 1.9 + rspec-2
24
+ # based on http://relishapp.com/rspec/rspec-core/v/2-6/file/upgrade -> "Upgrading from rspec-1.x"
25
+ #
26
+ if (RUBY_VERSION.start_with?("1.9"))
27
+ # rspec-2
28
+ require 'rspec/core/rake_task'
29
+
30
+ RSpec::Core::RakeTask.new do |t|
31
+ t.rspec_opts = ["-c", "-f progress", "-r ./spec/spec_helper.rb"]
32
+ t.pattern = 'spec/**/*_spec.rb'
33
+ end
34
+
35
+ RSpec::Core::RakeTask.new(:rcov) do |t|
36
+ t.rcov_opts = %q[--exclude "spec"]
37
+ end
38
+ else # 1.8
39
+ #rspec-1
40
+ require 'spec/rake/spectask'
41
+
42
+ Spec::Rake::SpecTask.new(:spec) do |spec|
43
+ spec.libs << 'lib' << 'spec'
44
+ spec.spec_files = FileList['spec/**/*_spec.rb']
45
+ end
27
46
 
28
- Spec::Rake::SpecTask.new(:rcov) do |spec|
29
- spec.libs << 'lib' << 'spec'
30
- spec.pattern = 'spec/**/*_spec.rb'
31
- spec.rcov = true
47
+ Spec::Rake::SpecTask.new(:rcov) do |spec|
48
+ spec.libs << 'lib' << 'spec'
49
+ spec.pattern = 'spec/**/*_spec.rb'
50
+ spec.rcov = true
51
+ end
32
52
  end
33
53
 
34
54
  task :spec => :check_dependencies
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.3
1
+ 0.8.4
data/lib/yieldmanager.rb CHANGED
@@ -17,7 +17,7 @@ if (RUBY_VERSION.start_with?("1.9"))
17
17
  # This patch based on Tomer Doron's "Fixing soap4r for ruby 1.9" post
18
18
  # http://tomerdoron.blogspot.com/2009/10/fixing-soap4r-for-ruby-19.html
19
19
  #
20
- $LOAD_PATH.unshift 'lib/soap4r_19_patch'
20
+ $LOAD_PATH.unshift "#{dir}/soap4r_19_patch"
21
21
  end
22
22
 
23
23
  require 'yieldmanager/client'
@@ -1,4 +1,4 @@
1
- require 'rubygems'
1
+ require 'rubygems' unless RUBY_VERSION.start_with?("1.9")
2
2
  require 'soap/wsdlDriver'
3
3
  require 'open-uri'
4
4
  require 'hpricot'
data/yieldmanager.gemspec CHANGED
@@ -1,98 +1,100 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{yieldmanager}
8
- s.version = "0.8.3"
8
+ s.version = "0.8.4"
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{2011-05-18}
12
+ s.date = %q{2011-06-16}
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 = [
16
16
  "LICENSE",
17
- "README.rdoc",
18
- "TODO"
17
+ "README.rdoc",
18
+ "TODO"
19
19
  ]
20
20
  s.files = [
21
21
  ".document",
22
- ".rspec",
23
- "API_VERSION",
24
- "LICENSE",
25
- "README.rdoc",
26
- "Rakefile",
27
- "TODO",
28
- "VERSION",
29
- "lib/patch_detector.rb",
30
- "lib/soap4r_19_patch/soap/generator.rb",
31
- "lib/soap4r_19_patch/soap/property.rb",
32
- "lib/soap4r_19_patch/xsd/charset.rb",
33
- "lib/soap4r_19_patch/xsd/xmlparser.rb",
34
- "lib/wsdl/patch.rb",
35
- "lib/yieldmanager.rb",
36
- "lib/yieldmanager/builder.rb",
37
- "lib/yieldmanager/client.rb",
38
- "lib/yieldmanager/report.rb",
39
- "spec/patch_detector_spec.rb",
40
- "spec/reports/sample_report.xml",
41
- "spec/spec.opts",
42
- "spec/spec_helper.rb",
43
- "spec/yieldmanager/builder_spec.rb",
44
- "spec/yieldmanager/client_spec.rb",
45
- "spec/yieldmanager/report_spec.rb",
46
- "wsdls/1.33/prod/adjustment.wsdl",
47
- "wsdls/1.33/prod/campaign.wsdl",
48
- "wsdls/1.33/prod/contact.wsdl",
49
- "wsdls/1.33/prod/creative.wsdl",
50
- "wsdls/1.33/prod/dictionary.wsdl",
51
- "wsdls/1.33/prod/entity.wsdl",
52
- "wsdls/1.33/prod/insertion_order.wsdl",
53
- "wsdls/1.33/prod/line_item.wsdl",
54
- "wsdls/1.33/prod/linking.wsdl",
55
- "wsdls/1.33/prod/notification.wsdl",
56
- "wsdls/1.33/prod/pixel.wsdl",
57
- "wsdls/1.33/prod/placement.wsdl",
58
- "wsdls/1.33/prod/quota.wsdl",
59
- "wsdls/1.33/prod/report.wsdl",
60
- "wsdls/1.33/prod/search.wsdl",
61
- "wsdls/1.33/prod/section.wsdl",
62
- "wsdls/1.33/prod/site.wsdl",
63
- "wsdls/1.33/prod/target_profile.wsdl",
64
- "wsdls/1.33/prod/xsd_gen.php",
65
- "wsdls/1.33/test/adjustment.wsdl",
66
- "wsdls/1.33/test/campaign.wsdl",
67
- "wsdls/1.33/test/contact.wsdl",
68
- "wsdls/1.33/test/creative.wsdl",
69
- "wsdls/1.33/test/dictionary.wsdl",
70
- "wsdls/1.33/test/entity.wsdl",
71
- "wsdls/1.33/test/insertion_order.wsdl",
72
- "wsdls/1.33/test/line_item.wsdl",
73
- "wsdls/1.33/test/linking.wsdl",
74
- "wsdls/1.33/test/notification.wsdl",
75
- "wsdls/1.33/test/pixel.wsdl",
76
- "wsdls/1.33/test/placement.wsdl",
77
- "wsdls/1.33/test/quota.wsdl",
78
- "wsdls/1.33/test/report.wsdl",
79
- "wsdls/1.33/test/search.wsdl",
80
- "wsdls/1.33/test/section.wsdl",
81
- "wsdls/1.33/test/site.wsdl",
82
- "wsdls/1.33/test/target_profile.wsdl",
83
- "wsdls/1.33/test/xsd_gen.php",
84
- "yieldmanager.gemspec"
22
+ ".gitignore",
23
+ ".rspec",
24
+ "API_VERSION",
25
+ "LICENSE",
26
+ "README.rdoc",
27
+ "Rakefile",
28
+ "TODO",
29
+ "VERSION",
30
+ "lib/patch_detector.rb",
31
+ "lib/soap4r_19_patch/soap/generator.rb",
32
+ "lib/soap4r_19_patch/soap/property.rb",
33
+ "lib/soap4r_19_patch/xsd/charset.rb",
34
+ "lib/soap4r_19_patch/xsd/xmlparser.rb",
35
+ "lib/wsdl/patch.rb",
36
+ "lib/yieldmanager.rb",
37
+ "lib/yieldmanager/builder.rb",
38
+ "lib/yieldmanager/client.rb",
39
+ "lib/yieldmanager/report.rb",
40
+ "spec/patch_detector_spec.rb",
41
+ "spec/reports/sample_report.xml",
42
+ "spec/spec.opts",
43
+ "spec/spec_helper.rb",
44
+ "spec/yieldmanager/builder_spec.rb",
45
+ "spec/yieldmanager/client_spec.rb",
46
+ "spec/yieldmanager/report_spec.rb",
47
+ "wsdls/1.33/prod/adjustment.wsdl",
48
+ "wsdls/1.33/prod/campaign.wsdl",
49
+ "wsdls/1.33/prod/contact.wsdl",
50
+ "wsdls/1.33/prod/creative.wsdl",
51
+ "wsdls/1.33/prod/dictionary.wsdl",
52
+ "wsdls/1.33/prod/entity.wsdl",
53
+ "wsdls/1.33/prod/insertion_order.wsdl",
54
+ "wsdls/1.33/prod/line_item.wsdl",
55
+ "wsdls/1.33/prod/linking.wsdl",
56
+ "wsdls/1.33/prod/notification.wsdl",
57
+ "wsdls/1.33/prod/pixel.wsdl",
58
+ "wsdls/1.33/prod/placement.wsdl",
59
+ "wsdls/1.33/prod/quota.wsdl",
60
+ "wsdls/1.33/prod/report.wsdl",
61
+ "wsdls/1.33/prod/search.wsdl",
62
+ "wsdls/1.33/prod/section.wsdl",
63
+ "wsdls/1.33/prod/site.wsdl",
64
+ "wsdls/1.33/prod/target_profile.wsdl",
65
+ "wsdls/1.33/prod/xsd_gen.php",
66
+ "wsdls/1.33/test/adjustment.wsdl",
67
+ "wsdls/1.33/test/campaign.wsdl",
68
+ "wsdls/1.33/test/contact.wsdl",
69
+ "wsdls/1.33/test/creative.wsdl",
70
+ "wsdls/1.33/test/dictionary.wsdl",
71
+ "wsdls/1.33/test/entity.wsdl",
72
+ "wsdls/1.33/test/insertion_order.wsdl",
73
+ "wsdls/1.33/test/line_item.wsdl",
74
+ "wsdls/1.33/test/linking.wsdl",
75
+ "wsdls/1.33/test/notification.wsdl",
76
+ "wsdls/1.33/test/pixel.wsdl",
77
+ "wsdls/1.33/test/placement.wsdl",
78
+ "wsdls/1.33/test/quota.wsdl",
79
+ "wsdls/1.33/test/report.wsdl",
80
+ "wsdls/1.33/test/search.wsdl",
81
+ "wsdls/1.33/test/section.wsdl",
82
+ "wsdls/1.33/test/site.wsdl",
83
+ "wsdls/1.33/test/target_profile.wsdl",
84
+ "wsdls/1.33/test/xsd_gen.php",
85
+ "yieldmanager.gemspec"
85
86
  ]
86
87
  s.homepage = %q{http://github.com/billgathen/yieldmanager}
88
+ s.rdoc_options = ["--charset=UTF-8"]
87
89
  s.require_paths = ["lib"]
88
- s.rubygems_version = %q{1.4.1}
90
+ s.rubygems_version = %q{1.7.2}
89
91
  s.summary = %q{Interact with RightMedia's YieldManager API and Reportware products}
90
92
  s.test_files = [
91
93
  "spec/patch_detector_spec.rb",
92
- "spec/spec_helper.rb",
93
- "spec/yieldmanager/builder_spec.rb",
94
- "spec/yieldmanager/client_spec.rb",
95
- "spec/yieldmanager/report_spec.rb"
94
+ "spec/spec_helper.rb",
95
+ "spec/yieldmanager/builder_spec.rb",
96
+ "spec/yieldmanager/client_spec.rb",
97
+ "spec/yieldmanager/report_spec.rb"
96
98
  ]
97
99
 
98
100
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yieldmanager
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
5
4
  prerelease:
6
- segments:
7
- - 0
8
- - 8
9
- - 3
10
- version: 0.8.3
5
+ version: 0.8.4
11
6
  platform: ruby
12
7
  authors:
13
8
  - Bill Gathen
@@ -15,8 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-05-18 00:00:00 -04:00
19
- default_executable:
13
+ date: 2011-06-16 00:00:00 Z
20
14
  dependencies:
21
15
  - !ruby/object:Gem::Dependency
22
16
  name: rspec
@@ -26,11 +20,6 @@ dependencies:
26
20
  requirements:
27
21
  - - ">="
28
22
  - !ruby/object:Gem::Version
29
- hash: 13
30
- segments:
31
- - 1
32
- - 2
33
- - 9
34
23
  version: 1.2.9
35
24
  type: :development
36
25
  version_requirements: *id001
@@ -42,11 +31,6 @@ dependencies:
42
31
  requirements:
43
32
  - - "="
44
33
  - !ruby/object:Gem::Version
45
- hash: 59
46
- segments:
47
- - 0
48
- - 8
49
- - 2
50
34
  version: 0.8.2
51
35
  type: :runtime
52
36
  version_requirements: *id002
@@ -62,6 +46,7 @@ extra_rdoc_files:
62
46
  - TODO
63
47
  files:
64
48
  - .document
49
+ - .gitignore
65
50
  - .rspec
66
51
  - API_VERSION
67
52
  - LICENSE
@@ -125,13 +110,12 @@ files:
125
110
  - wsdls/1.33/test/target_profile.wsdl
126
111
  - wsdls/1.33/test/xsd_gen.php
127
112
  - yieldmanager.gemspec
128
- has_rdoc: true
129
113
  homepage: http://github.com/billgathen/yieldmanager
130
114
  licenses: []
131
115
 
132
116
  post_install_message:
133
- rdoc_options: []
134
-
117
+ rdoc_options:
118
+ - --charset=UTF-8
135
119
  require_paths:
136
120
  - lib
137
121
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -139,23 +123,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
123
  requirements:
140
124
  - - ">="
141
125
  - !ruby/object:Gem::Version
142
- hash: 3
143
- segments:
144
- - 0
145
126
  version: "0"
146
127
  required_rubygems_version: !ruby/object:Gem::Requirement
147
128
  none: false
148
129
  requirements:
149
130
  - - ">="
150
131
  - !ruby/object:Gem::Version
151
- hash: 3
152
- segments:
153
- - 0
154
132
  version: "0"
155
133
  requirements: []
156
134
 
157
135
  rubyforge_project:
158
- rubygems_version: 1.4.1
136
+ rubygems_version: 1.7.2
159
137
  signing_key:
160
138
  specification_version: 3
161
139
  summary: Interact with RightMedia's YieldManager API and Reportware products