doc/index.html in brauser-3.2.0 vs doc/index.html in brauser-3.2.1

- old
+ new

@@ -1,14 +1,14 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> - <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII" /> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title> File: README - &mdash; Documentation by YARD 0.8.6.2 + &mdash; Documentation by YARD 0.8.7 </title> <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" /> @@ -87,19 +87,19 @@ gem "brauser" </code></p> <p>Once done that, every controller in your application will have a <code>browser</code> method (also extended to views/layout via <code>helper_method</code>).</p> -<p>If you don&#8217;t use Rails, you can instantiate a new browser by including the gem in your code and by doing something like this:</p> +<p>If you don’t use Rails, you can instantiate a new browser by including the gem in your code and by doing something like this:</p> <p><code>ruby browser = Brauser::Browser.new(USER_AGENT_HEADER, ACCEPT_LANGUAGE_HEADER) </code></p> <p>where the first argument is the HTTP header <code>User-Agent</code>, and the second is the HTTP header <code>Accept-Language</code>.</p> -<p>For the rest of this document, let&#8217;s assume you use Chrome 1.2.3 on Mac OS X.</p> +<p>For the rest of this document, let’s assume you use Chrome 1.2.3 on Mac OS X.</p> <h3 id="getting-browser-information">Getting browser information</h3> <p>Once you instantiate the browser, you can query the browser about <code>name</code>, <code>version</code> and <code>platform</code>. You can also get readable name and platforms via <code>readable_name</code> and <code>platform_name</code>.</p> @@ -177,15 +177,15 @@ # =&gt; true browser.accepts?(["de", "es"]) # =&gt; false </code></p> -<p>Every query method exists in two forms: the concatenation one (the method name doesn&#8217;t end with a <code>?</code>.</p> +<p>Every query method exists in two forms: the concatenation one (the method name doesn’t end with a <code>?</code>.</p> <p>The former return a <code>Query</code> object, which supports the same query method of the browser and thus enables concatenation.</p> -<p>The latter return a boolean object, and it&#8217;s equivalent to calling <code>result</code> on the query after concatenation.</p> +<p>The latter return a boolean object, and it’s equivalent to calling <code>result</code> on the query after concatenation.</p> <p>Ideally, you should use the <code>?</code> version to end the query and fetch the result.</p> <p><code>ruby # These expressions are equivalent. @@ -203,15 +203,15 @@ <p>Example:</p> <p>```ruby # These expressions are equivalent. -browser.is(:chrome).v(&#8220;&lt; 2 &amp;&amp; &gt; 1.2&#8221;).on(:osx).result +browser.is(:chrome).v(“&lt; 2 &amp;&amp; &gt; 1.2”).on(:osx).result browser.is_chrome_v_lt_2_and_gt_1_2_on_osx.result</p> <h1 id="these-expressions-are-equivalent">These expressions are equivalent.</h1> -<p>browser.is(:chrome).v(&#8220;&lt; 2 &amp;&amp; &gt; 1.2&#8221;).on?(:osx) +<p>browser.is(:chrome).v(“&lt; 2 &amp;&amp; &gt; 1.2”).on?(:osx) browser.is_chrome_v_lt_2_and_gt_1_2_on_osx? ```</p> <h3 id="adding-new-browsers">Adding new browsers</h3> @@ -250,29 +250,29 @@ </code></p> <h2 id="contributing-to-brauser">Contributing to brauser</h2> <ul> - <li>Check out the latest master to make sure the feature hasn&#8217;t been implemented or the bug hasn&#8217;t been fixed yet.</li> - <li>Check out the issue tracker to make sure someone already hasn&#8217;t requested it and/or contributed it.</li> + <li>Check out the latest master to make sure the feature hasn’t been implemented or the bug hasn’t been fixed yet.</li> + <li>Check out the issue tracker to make sure someone already hasn’t requested it and/or contributed it.</li> <li>Fork the project.</li> <li>Start a feature/bugfix branch.</li> <li>Commit and push until you are happy with your contribution.</li> - <li>Make sure to add tests for it. This is important so I don&#8217;t break it in a future version unintentionally.</li> + <li>Make sure to add tests for it. This is important so I don’t break it in a future version unintentionally.</li> <li>Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.</li> </ul> <h2 id="copyright">Copyright</h2> -<p>Copyright (C) 2013 and above Shogun (shogun_panda@me.com).</p> +<p>Copyright (C) 2013 and above Shogun (shogun_panda@cowtech.it).</p> <p>Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.</p> </div></div> <div id="footer"> - Generated on Sat Jul 20 13:28:02 2013 by + Generated on Sat Aug 17 12:40:12 2013 by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> - 0.8.6.2 (ruby-1.9.3). + 0.8.7 (ruby-2.0.0). </div> </body> </html> \ No newline at end of file