atomutil 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.0.9 2008-08-29
2
+
3
+ Now Client's constructor doesn't need :auth param if not needed.
4
+
1
5
  == 0.0.7 2008-08-29
2
6
 
3
7
  * bugfix: fix where it checks the response code is OK or No Content when updating resource.
data/lib/atomutil.rb CHANGED
@@ -55,7 +55,7 @@ module AtomUtil
55
55
  module VERSION#:nodoc:
56
56
  MAJOR = 0
57
57
  MINOR = 0
58
- TINY = 8
58
+ TINY = 9
59
59
  STRING = [MAJOR, MINOR, TINY].join('.')
60
60
  end
61
61
  end
@@ -1305,9 +1305,6 @@ module Atompub
1305
1305
  # * cache
1306
1306
  #
1307
1307
  def initialize(params={})
1308
- unless params.has_key?(:auth)
1309
- throw ArgumentError.new("Atompub::Client needs :auth as argument for constructor.")
1310
- end
1311
1308
  @auth = params.has_key?(:auth) && params[:auth].kind_of?(Auth::Abstract) ? params[:auth] : Auth::Abstract.new
1312
1309
  @cache = params.has_key?(:cache) && params[:cache].kind_of?(AbstractCache) ? params[:cache] : AbstractCache.instance
1313
1310
  @service_info = params.has_key?(:info) && params[:info].kind_of?(ServiceInfoStorage) ? params[:info] : ServiceInfoStorage.instance
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>atomutil</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/atomutil"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/atomutil" class="numbers">0.0.7</a>
36
+ <a href="http://rubyforge.org/projects/atomutil" class="numbers">0.0.9</a>
37
37
  </div>
38
38
  <h1>&amp;#x2192; &#8216;atomutil&#8217;</h1>
39
39
  <h2>What</h2>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: atomutil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lyo Kato