Skip to content
This repository
Browse code

update history and rakefile for 1.1.1

  • Loading branch information...
commit 0826e1a0e1cd84ee1d0d6c907e1e9a5882ebc6de 1 parent 4ac4aca
Tom Preston-Werner authored April 14, 2009
4  History.txt
... ...
@@ -1,3 +1,7 @@
  1
+== 1.1.1 / 2009-03-31
  2
+  * Changes
  3
+    * Don't include test directory in gem package (it's too big)
  4
+
1 5
 == 1.1.0 / 2009-03-29
2 6
   * Backwards breaking changes
3 7
     * Diff#a_commit -> Diff#a_blob, Diff#b_commit -> Diff#b_blob
26  Rakefile
@@ -35,6 +35,32 @@ Rake::RDocTask.new do |rdoc|
35 35
   rdoc.rdoc_files.include('lib/**/*.rb')
36 36
 end
37 37
 
  38
+begin
  39
+  require 'rake/contrib/sshpublisher'
  40
+  namespace :rubyforge do
  41
+
  42
+    desc "Release gem and RDoc documentation to RubyForge"
  43
+    task :release => ["rubyforge:release:gem", "rubyforge:release:docs"]
  44
+
  45
+    namespace :release do
  46
+      desc "Publish RDoc to RubyForge."
  47
+      task :docs => [:rdoc] do
  48
+        config = YAML.load(
  49
+            File.read(File.expand_path('~/.rubyforge/user-config.yml'))
  50
+        )
  51
+
  52
+        host = "#{config['username']}@rubyforge.org"
  53
+        remote_dir = "/var/www/gforge-projects/grit/"
  54
+        local_dir = 'rdoc'
  55
+
  56
+        Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
  57
+      end
  58
+    end
  59
+  end
  60
+rescue LoadError
  61
+  puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
  62
+end
  63
+
38 64
 task :default => :test
39 65
 
40 66
 # custom
3  grit.gemspec
@@ -9,7 +9,8 @@ Gem::Specification.new do |s|
9 9
   s.date = %q{2009-03-31}
10 10
   s.description = %q{Grit is a Ruby library for extracting information from a git repository in an object oriented manner.}
11 11
   s.email = %q{tom@mojombo.com}
12  
-  s.files = ["API.txt", "History.txt", "README.md", "VERSION.yml", "lib/grit", "lib/grit/actor.rb", "lib/grit/blame.rb", "lib/grit/blob.rb", "lib/grit/commit.rb", "lib/grit/commit_stats.rb", "lib/grit/config.rb", "lib/grit/diff.rb", "lib/grit/errors.rb", "lib/grit/git-ruby", "lib/grit/git-ruby/commit_db.rb", "lib/grit/git-ruby/file_index.rb", "lib/grit/git-ruby/git_object.rb", "lib/grit/git-ruby/internal", "lib/grit/git-ruby/internal/file_window.rb", "lib/grit/git-ruby/internal/loose.rb", "lib/grit/git-ruby/internal/pack.rb", "lib/grit/git-ruby/internal/raw_object.rb", "lib/grit/git-ruby/object.rb", "lib/grit/git-ruby/repository.rb", "lib/grit/git-ruby.rb", "lib/grit/git.rb", "lib/grit/index.rb", "lib/grit/lazy.rb", "lib/grit/merge.rb", "lib/grit/ref.rb", "lib/grit/repo.rb", "lib/grit/ruby1.9.rb", "lib/grit/status.rb", "lib/grit/submodule.rb", "lib/grit/tag.rb", "lib/grit/tree.rb", "lib/grit.rb", "lib/open3_detach.rb"]
  12
+  s.extra_rdoc_files = ["README.md", "LICENSE"]
  13
+  s.files = ["API.txt", "History.txt", "README.md", "VERSION.yml", "lib/grit", "lib/grit/actor.rb", "lib/grit/blame.rb", "lib/grit/blob.rb", "lib/grit/commit.rb", "lib/grit/commit_stats.rb", "lib/grit/config.rb", "lib/grit/diff.rb", "lib/grit/errors.rb", "lib/grit/git-ruby", "lib/grit/git-ruby/commit_db.rb", "lib/grit/git-ruby/file_index.rb", "lib/grit/git-ruby/git_object.rb", "lib/grit/git-ruby/internal", "lib/grit/git-ruby/internal/file_window.rb", "lib/grit/git-ruby/internal/loose.rb", "lib/grit/git-ruby/internal/pack.rb", "lib/grit/git-ruby/internal/raw_object.rb", "lib/grit/git-ruby/object.rb", "lib/grit/git-ruby/repository.rb", "lib/grit/git-ruby.rb", "lib/grit/git.rb", "lib/grit/index.rb", "lib/grit/lazy.rb", "lib/grit/merge.rb", "lib/grit/ref.rb", "lib/grit/repo.rb", "lib/grit/ruby1.9.rb", "lib/grit/status.rb", "lib/grit/submodule.rb", "lib/grit/tag.rb", "lib/grit/tree.rb", "lib/grit.rb", "lib/open3_detach.rb", "LICENSE"]
13 14
   s.has_rdoc = true
14 15
   s.homepage = %q{http://github.com/mojombo/grit}
15 16
   s.rdoc_options = ["--inline-source", "--charset=UTF-8"]

0 notes on commit 0826e1a

Please sign in to comment.
Something went wrong with that request. Please try again.