<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>VERSION.yml</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,5 @@
+require 'rake'
 require 'spec/rake/spectask'
-require 'rake/gempackagetask'
 
 task :default =&gt; :spec
 
@@ -17,56 +17,18 @@ end
 
 desc &quot;Run all specs&quot;
 task :spec =&gt; [:spec_unit, :spec_functional] do
-  
 end
 
-spec = Gem::Specification.new do |s|
-    s.name      =   &quot;couch_potato&quot;
-    s.version   =   &quot;0.1.1&quot;
-    s.author    =   &quot;Alexander Lang&quot;
-    s.email     =   &quot;alex@upstream-berlin.com&quot;
-    s.homepage  = 'http://github.com/langalex/couch_potato'
-    s.summary   =   &quot;a couchdb persistence layer in ruby&quot;
-    s.files     =   ['init.rb', 'Readme.textile', 'MIT-LICENSE.txt', 'CREDITS'] + Dir[&quot;{lib,spec}/**/*&quot;]
-    s.require_paths  &lt;&lt;  &quot;lib&quot;
-    s.add_dependency 'json'
-    s.add_dependency 'validatable'
-    s.add_dependency 'activesupport'
-    s.add_dependency 'jchris-couchrest', '&gt;=0.9.12'
-end
-
-::Rake::GemPackageTask.new(spec) { |p| p.gem_spec = spec }
-
-desc &quot;Update Github Gemspec&quot;
-task :gemspec do
-  skip_fields = %w(new_platform original_platform)
-  integer_fields = %w(specification_version)
-
-  result = &quot;Gem::Specification.new do |s|\n&quot;
-  spec.instance_variables.each do |ivar|
-    value = spec.instance_variable_get(ivar)
-    name  = ivar.split(&quot;@&quot;).last
-    next if skip_fields.include?(name) || value.nil? || value == &quot;&quot; || (value.respond_to?(:empty?) &amp;&amp; value.empty?)
-    if name == &quot;dependencies&quot;
-      value.each do |d|
-        dep, *ver = d.to_s.split(&quot; &quot;)
-        result &lt;&lt;  &quot;  s.add_dependency #{dep.inspect}, [#{ /\(([^\,]*)/ . match(ver.join(&quot; &quot;))[1].inspect}]\n&quot;
-      end
-    else        
-      case value
-      when Array
-        value =  name != &quot;files&quot; ? value.inspect : value.inspect.split(&quot;,&quot;).join(&quot;,\n&quot;)
-      when Fixnum
-        # leave as-is
-      when String
-        value = value.to_i if integer_fields.include?(name)
-        value = value.inspect
-      else
-        value = value.to_s.inspect
-      end
-      result &lt;&lt; &quot;  s.#{name} = #{value}\n&quot;
-    end
+begin
+  require 'jeweler'
+  Jeweler::Tasks.new do |s|
+    s.name = &quot;couch_potato&quot;
+    s.summary = %Q{Ruby persistence layer for CouchDB}
+    s.email = &quot;alex@upstream-berlin.com&quot;
+    s.homepage = &quot;http://github.com/langalex/couch_potato&quot;
+    s.description = &quot;Ruby persistence layer for CouchDB&quot;
+    s.authors = [&quot;Alexander Lang&quot;]
   end
-  result &lt;&lt; &quot;end&quot;
-  File.open(File.join(File.dirname(__FILE__), &quot;#{spec.name}.gemspec&quot;), &quot;w&quot;){|f| f &lt;&lt; result}
-end
\ No newline at end of file
+rescue LoadError
+  puts &quot;Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com&quot;
+end</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -1,71 +1,29 @@
+# -*- encoding: utf-8 -*-
+
 Gem::Specification.new do |s|
-  s.add_dependency &quot;json&quot;, [&quot;&gt;= 0&quot;]
-  s.add_dependency &quot;validatable&quot;, [&quot;&gt;= 0&quot;]
-  s.add_dependency &quot;activesupport&quot;, [&quot;&gt;= 0&quot;]
-  s.add_dependency &quot;jchris-couchrest&quot;, [&quot;&gt;= 0.9.12&quot;]
-  s.require_paths = [&quot;lib&quot;, &quot;lib&quot;]
-  s.date = &quot;Sat Nov 15 00:00:00 +0100 2008&quot;
-  s.authors = [&quot;Alexander Lang&quot;]
-  s.name = &quot;couch_potato&quot;
-  s.required_rubygems_version = &quot;&gt;= 0&quot;
-  s.files = [&quot;init.rb&quot;,
- &quot;Readme.textile&quot;,
- &quot;MIT-LICENSE.txt&quot;,
- &quot;CREDITS&quot;,
- &quot;lib/core_ext&quot;,
- &quot;lib/core_ext/object.rb&quot;,
- &quot;lib/core_ext/time.rb&quot;,
- &quot;lib/couch_potato&quot;,
- &quot;lib/couch_potato/active_record&quot;,
- &quot;lib/couch_potato/active_record/compatibility.rb&quot;,
- &quot;lib/couch_potato/ordering.rb&quot;,
- &quot;lib/couch_potato/persistence&quot;,
- &quot;lib/couch_potato/persistence/belongs_to_property.rb&quot;,
- &quot;lib/couch_potato/persistence/bulk_save_queue.rb&quot;,
- &quot;lib/couch_potato/persistence/callbacks.rb&quot;,
- &quot;lib/couch_potato/persistence/collection.rb&quot;,
- &quot;lib/couch_potato/persistence/dirty_attributes.rb&quot;,
- &quot;lib/couch_potato/persistence/external_collection.rb&quot;,
- &quot;lib/couch_potato/persistence/external_has_many_property.rb&quot;,
- &quot;lib/couch_potato/persistence/find.rb&quot;,
- &quot;lib/couch_potato/persistence/finder.rb&quot;,
- &quot;lib/couch_potato/persistence/inline_collection.rb&quot;,
- &quot;lib/couch_potato/persistence/inline_has_many_property.rb&quot;,
- &quot;lib/couch_potato/persistence/json.rb&quot;,
- &quot;lib/couch_potato/persistence/properties.rb&quot;,
- &quot;lib/couch_potato/persistence/simple_property.rb&quot;,
- &quot;lib/couch_potato/persistence.rb&quot;,
- &quot;lib/couch_potato/versioning.rb&quot;,
- &quot;lib/couch_potato.rb&quot;,
- &quot;spec/attributes_spec.rb&quot;,
- &quot;spec/belongs_to_spec.rb&quot;,
- &quot;spec/callbacks_spec.rb&quot;,
- &quot;spec/create_spec.rb&quot;,
- &quot;spec/destroy_spec.rb&quot;,
- &quot;spec/dirty_attributes_spec.rb&quot;,
- &quot;spec/find_spec.rb&quot;,
- &quot;spec/finder_spec.rb&quot;,
- &quot;spec/has_many_spec.rb&quot;,
- &quot;spec/inline_collection_spec.rb&quot;,
- &quot;spec/ordering_spec.rb&quot;,
- &quot;spec/property_spec.rb&quot;,
- &quot;spec/reload_spec.rb&quot;,
- &quot;spec/spec.opts&quot;,
- &quot;spec/spec_helper.rb&quot;,
- &quot;spec/unit&quot;,
- &quot;spec/unit/external_collection_spec.rb&quot;,
- &quot;spec/unit/finder_spec.rb&quot;,
- &quot;spec/update_spec.rb&quot;,
- &quot;spec/versioning_spec.rb&quot;]
-  s.has_rdoc = &quot;false&quot;
-  s.specification_version = 2
-  s.loaded = &quot;false&quot;
-  s.email = &quot;alex@upstream-berlin.com&quot;
-  s.required_ruby_version = &quot;&gt;= 0&quot;
-  s.bindir = &quot;bin&quot;
-  s.rubygems_version = &quot;1.2.0&quot;
-  s.homepage = &quot;http://github.com/langalex/couch_potato&quot;
-  s.platform = &quot;ruby&quot;
-  s.summary = &quot;a couchdb persistence layer in ruby&quot;
+  s.name = %q{couch_potato}
   s.version = &quot;0.1.1&quot;
-end
\ No newline at end of file
+
+  s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 0&quot;) if s.respond_to? :required_rubygems_version=
+  s.authors = [&quot;Alexander Lang&quot;]
+  s.date = %q{2009-02-15}
+  s.description = %q{Ruby persistence layer for CouchDB}
+  s.email = %q{alex@upstream-berlin.com}
+  s.files = [&quot;MIT-LICENSE.txt&quot;, &quot;README.textile&quot;, &quot;VERSION.yml&quot;, &quot;lib/core_ext&quot;, &quot;lib/core_ext/object.rb&quot;, &quot;lib/core_ext/time.rb&quot;, &quot;lib/couch_potato&quot;, &quot;lib/couch_potato/active_record&quot;, &quot;lib/couch_potato/active_record/compatibility.rb&quot;, &quot;lib/couch_potato/ordering.rb&quot;, &quot;lib/couch_potato/persistence&quot;, &quot;lib/couch_potato/persistence/belongs_to_property.rb&quot;, &quot;lib/couch_potato/persistence/bulk_save_queue.rb&quot;, &quot;lib/couch_potato/persistence/callbacks.rb&quot;, &quot;lib/couch_potato/persistence/collection.rb&quot;, &quot;lib/couch_potato/persistence/custom_view.rb&quot;, &quot;lib/couch_potato/persistence/dirty_attributes.rb&quot;, &quot;lib/couch_potato/persistence/external_collection.rb&quot;, &quot;lib/couch_potato/persistence/external_has_many_property.rb&quot;, &quot;lib/couch_potato/persistence/find.rb&quot;, &quot;lib/couch_potato/persistence/finder.rb&quot;, &quot;lib/couch_potato/persistence/inline_collection.rb&quot;, &quot;lib/couch_potato/persistence/inline_has_many_property.rb&quot;, &quot;lib/couch_potato/persistence/json.rb&quot;, &quot;lib/couch_potato/persistence/properties.rb&quot;, &quot;lib/couch_potato/persistence/simple_property.rb&quot;, &quot;lib/couch_potato/persistence/view_query.rb&quot;, &quot;lib/couch_potato/persistence.rb&quot;, &quot;lib/couch_potato/versioning.rb&quot;, &quot;lib/couch_potato.rb&quot;, &quot;spec/attributes_spec.rb&quot;, &quot;spec/belongs_to_spec.rb&quot;, &quot;spec/callbacks_spec.rb&quot;, &quot;spec/create_spec.rb&quot;, &quot;spec/custom_view_spec.rb&quot;, &quot;spec/destroy_spec.rb&quot;, &quot;spec/dirty_attributes_spec.rb&quot;, &quot;spec/find_spec.rb&quot;, &quot;spec/finder_spec.rb&quot;, &quot;spec/has_many_spec.rb&quot;, &quot;spec/inline_collection_spec.rb&quot;, &quot;spec/ordering_spec.rb&quot;, &quot;spec/property_spec.rb&quot;, &quot;spec/reload_spec.rb&quot;, &quot;spec/spec.opts&quot;, &quot;spec/spec_helper.rb&quot;, &quot;spec/unit&quot;, &quot;spec/unit/external_collection_spec.rb&quot;, &quot;spec/unit/finder_spec.rb&quot;, &quot;spec/unit/view_query_spec.rb&quot;, &quot;spec/update_spec.rb&quot;, &quot;spec/versioning_spec.rb&quot;]
+  s.has_rdoc = true
+  s.homepage = %q{http://github.com/langalex/couch_potato}
+  s.rdoc_options = [&quot;--inline-source&quot;, &quot;--charset=UTF-8&quot;]
+  s.require_paths = [&quot;lib&quot;]
+  s.rubygems_version = %q{1.3.1}
+  s.summary = %q{Ruby persistence layer for CouchDB}
+
+  if s.respond_to? :specification_version then
+    current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+    s.specification_version = 2
+
+    if Gem::Version.new(Gem::RubyGemsVersion) &gt;= Gem::Version.new('1.2.0') then
+    else
+    end
+  else
+  end
+end</diff>
      <filename>couch_potato.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>76221d4258b7c8ca856ea2551c819f0775c6da53</id>
    </parent>
  </parents>
  <author>
    <name>Alexander Lang</name>
    <email>alex@upstream-berlin.com</email>
  </author>
  <url>http://github.com/langalex/couch_potato/commit/ca834dbc77aa43bc5c52b3a17c47e5f6b9442b5f</url>
  <id>ca834dbc77aa43bc5c52b3a17c47e5f6b9442b5f</id>
  <committed-date>2009-02-15T05:40:48-08:00</committed-date>
  <authored-date>2009-02-15T05:40:48-08:00</authored-date>
  <message>switched to jeweler for managing the gem</message>
  <tree>42cade2fcd386ad8008fd0583a96fb7e08af222f</tree>
  <committer>
    <name>Alexander Lang</name>
    <email>alex@upstream-berlin.com</email>
  </committer>
</commit>
