Permalink
Browse files

Committing v19.1.0 branch to trunk.

  • Loading branch information...
2 parents f001177 + edd6d01 commit a6ee897bb07fc10bb290b0171ca5ab12ac725e4b api.sgomes committed Jun 3, 2010
Showing 3,202 changed files with 337,813 additions and 22,369 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
View
@@ -1,5 +1,5 @@
-sgomes@google.com (Current)
-jeffy@google.com
-opensource@google.com
-chanezon@google.com
-leavengood@gmail.com
+sgomes@google.com (Current)
+jeffy@google.com
+opensource@google.com
+chanezon@google.com
+leavengood@gmail.com
View
@@ -1,3 +1,9 @@
+19.1.0
+- Added support for v201003.
+- Added several examples for v201003, removed deprecated examples.
+- Reorganized service tests into versions.
+- Added extension methods for v201003 report downloading.
+
19.0.0
- Removed support for v13 and v13-dependent utilities.
@@ -121,7 +127,7 @@
AdWords::API.get_last_units() will return the number of API units used for the last API call.
- Started the process of creating new sample code. The existing code samples are a bit lacking and were moved to the 'examples/old' directory.
A new sample program, 'examples/reports.rb' was created. This sample validates, schedules, and downloads a Keyword Structure report.
- It's a fairly extensive sample and illustrates some of the new API features as well as general best-practices.
+ It's a fairly extensive sample and illustrates some of the new API features as well as general best-practices.
Look for more sample code in future releases.
11.0.3
View
@@ -1,13 +1,13 @@
-Copyright 2009, Google Inc. All Rights Reserved.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
+Copyright 2009, Google Inc. All Rights Reserved.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
View
@@ -1,13 +1,13 @@
-Copyright 2010, Google Inc. All Rights Reserved.
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
+Copyright 2010, Google Inc. All Rights Reserved.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
View
@@ -1,6 +1,5 @@
#!/usr/bin/ruby
#
-#
# Authors:: sgomes@google.com (Sérgio Gomes)
# jeffy@google.com (Jeffrey Posnick)
# chanezon@google.com (Patrick Chanezon)
@@ -44,7 +43,7 @@ require 'adwords4r/apiextensions'
require 'adwords4r/generator'
# Configure some constants and built-in tasks
-CURRENT_VERSION = '19.0.0'
+CURRENT_VERSION = '19.1.0'
PKG_VERSION = ENV['REL'] ? ENV['REL'] : CURRENT_VERSION
WSDLDIR = 'wsdl'
@@ -259,7 +258,7 @@ end
# Create a task to perform the unit testing.
Rake::TestTask.new("test") do |test|
test.libs << TESTDIR
- test.pattern = "#{TESTDIR}/test_*.rb"
+ test.pattern = "#{TESTDIR}/**/test_*.rb"
test.verbose = true
end
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
@@ -56,7 +56,7 @@
<dd>
<ul>
- <li><a href="#M000052"><<</a></li>
+ <li><a href="#method-i-%3C%3C"><<</a></li>
</ul>
</dd>
@@ -65,7 +65,7 @@
<dd>
<ul>
- <li><a href="#M000049">log_to_file</a></li>
+ <li><a href="#method-i-log_to_file">log_to_file</a></li>
</ul>
</dd>
@@ -74,7 +74,7 @@
<dd>
<ul>
- <li><a href="#M000048">new</a></li>
+ <li><a href="#method-c-new">new</a></li>
</ul>
</dd>
@@ -96,9 +96,9 @@
<div class="sectiontitle">Class Public methods</div>
<div class="method">
- <div class="title" id="M000048">
+ <div class="title" id="method-c-new">
- <a name="M000048"></a><b>new</b>(filename, log_to_console=false)
+ <a name="method-c-new"></a><b>new</b>(filename, log_to_console=false)
</div>
@@ -110,12 +110,14 @@
Args:
</p>
<ul>
-<li>filename: the filename for the log file to be written (if <a
-href="AdWordsLogger.html#M000049">log_to_file</a> is called)
-
+<li><p>
+filename: the filename for the log file to be written (if <a
+href="AdWordsLogger.html#method-i-log_to_file">log_to_file</a> is called)
+</p>
</li>
-<li>log_to_console: boolean, indicates whether or not to log to the console
-
+<li><p>
+log_to_console: boolean, indicates whether or not to log to the console
+</p>
</li>
</ul>
@@ -126,20 +128,20 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000048_source')" id="l_M000048_source">show</a>
+ Source: <a href="javascript:toggleSource('method-c-new_source')" id="l_method-c-new_source">show</a>
</p>
- <div id="M000048_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/adwords4r/adwordslogger.rb, line 36</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">filename</span>, <span class="ruby-identifier">log_to_console</span>=<span class="ruby-keyword kw">false</span>)
- <span class="ruby-ivar">@filename</span> = <span class="ruby-identifier">filename</span>
- <span class="ruby-ivar">@loggers</span> = []
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">log_to_console</span>
- <span class="ruby-identifier">stderr_logger</span> = <span class="ruby-constant">Logger</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">STDERR</span>)
- <span class="ruby-identifier">stderr_logger</span>.<span class="ruby-identifier">level</span> = <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">INFO</span>
- <span class="ruby-ivar">@loggers</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">stderr_logger</span>
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span></pre>
+ <div id="method-c-new_source" class="dyn-source">
+ <pre> <span class="ruby-comment cmt"># File lib/adwords4r/adwordslogger.rb, line 36</span>
+36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">filename</span>, <span class="ruby-identifier">log_to_console</span>=<span class="ruby-keyword kw">false</span>)
+37: <span class="ruby-ivar">@filename</span> = <span class="ruby-identifier">filename</span>
+38: <span class="ruby-ivar">@loggers</span> = []
+39: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">log_to_console</span>
+40: <span class="ruby-identifier">stderr_logger</span> = <span class="ruby-constant">Logger</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">STDERR</span>)
+41: <span class="ruby-identifier">stderr_logger</span>.<span class="ruby-identifier">level</span> = <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">INFO</span>
+42: <span class="ruby-ivar">@loggers</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">stderr_logger</span>
+43: <span class="ruby-keyword kw">end</span>
+44: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
@@ -148,9 +150,9 @@
<div class="sectiontitle">Instance Public methods</div>
<div class="method">
- <div class="title" id="M000052">
+ <div class="title" id="method-i-%3C%3C">
- <a name="M000052"></a><b>&lt;&lt;</b>(text)
+ <a name="method-i-%3C%3C"></a><b>&lt;&lt;</b>(text)
</div>
@@ -166,25 +168,25 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000052_source')" id="l_M000052_source">show</a>
+ Source: <a href="javascript:toggleSource('method-i-%3C%3C_source')" id="l_method-i-%3C%3C_source">show</a>
</p>
- <div id="M000052_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/adwords4r/adwordslogger.rb, line 62</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-identifier">text</span>)
- <span class="ruby-ivar">@loggers</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">logger</span><span class="ruby-operator">|</span>
- <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">info</span> <span class="ruby-identifier">text</span>.<span class="ruby-identifier">to_s</span>
- <span class="ruby-keyword kw">end</span>
- <span class="ruby-keyword kw">end</span></pre>
+ <div id="method-i-%3C%3C_source" class="dyn-source">
+ <pre> <span class="ruby-comment cmt"># File lib/adwords4r/adwordslogger.rb, line 62</span>
+62: <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;&lt;</span> (<span class="ruby-identifier">text</span>)
+63: <span class="ruby-ivar">@loggers</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">logger</span><span class="ruby-operator">|</span>
+64: <span class="ruby-identifier">logger</span>.<span class="ruby-identifier">info</span> <span class="ruby-identifier">text</span>.<span class="ruby-identifier">to_s</span>
+65: <span class="ruby-keyword kw">end</span>
+66: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
</div>
<div class="method">
- <div class="title" id="M000049">
+ <div class="title" id="method-i-log_to_file">
- <a name="M000049"></a><b>log_to_file</b>(path='.')
+ <a name="method-i-log_to_file"></a><b>log_to_file</b>(path='.')
</div>
@@ -197,9 +199,10 @@
Args:
</p>
<ul>
-<li>path: where to write the file (defaults to current dir). Path only, do not
+<li><p>
+path: where to write the file (defaults to current dir). Path only, do not
provide filename.
-
+</p>
</li>
</ul>
@@ -210,18 +213,18 @@
<div class="sourcecode">
<p class="source-link">
- Source: <a href="javascript:toggleSource('M000049_source')" id="l_M000049_source">show</a>
+ Source: <a href="javascript:toggleSource('method-i-log_to_file_source')" id="l_method-i-log_to_file_source">show</a>
</p>
- <div id="M000049_source" class="dyn-source">
- <pre><span class="ruby-comment cmt"># File lib/adwords4r/adwordslogger.rb, line 53</span>
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">log_to_file</span>(<span class="ruby-identifier">path</span>=<span class="ruby-value str">'.'</span>)
- <span class="ruby-identifier">new_logger</span> = <span class="ruby-constant">Logger</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">path</span>, <span class="ruby-ivar">@filename</span>))
- <span class="ruby-identifier">new_logger</span>.<span class="ruby-identifier">level</span> = <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">INFO</span>
- <span class="ruby-ivar">@loggers</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">new_logger</span>
-
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span>
- <span class="ruby-keyword kw">end</span></pre>
+ <div id="method-i-log_to_file_source" class="dyn-source">
+ <pre> <span class="ruby-comment cmt"># File lib/adwords4r/adwordslogger.rb, line 53</span>
+53: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">log_to_file</span>(<span class="ruby-identifier">path</span>=<span class="ruby-value str">'.'</span>)
+54: <span class="ruby-identifier">new_logger</span> = <span class="ruby-constant">Logger</span>.<span class="ruby-identifier">new</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">path</span>, <span class="ruby-ivar">@filename</span>))
+55: <span class="ruby-identifier">new_logger</span>.<span class="ruby-identifier">level</span> = <span class="ruby-constant">Logger</span><span class="ruby-operator">::</span><span class="ruby-constant">INFO</span>
+56: <span class="ruby-ivar">@loggers</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">new_logger</span>
+57:
+58: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span>
+59: <span class="ruby-keyword kw">end</span></pre>
</div>
</div>
Oops, something went wrong.

0 comments on commit a6ee897

Please sign in to comment.