Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added Rakefile and gemspec file

  • Loading branch information...
commit 9096c6f25af7776117534c5681a1907799aaf1a2 1 parent 10445fe
@dagbrown authored Dave Brown committed
Showing with 40 additions and 0 deletions.
  1. +5 −0 Rakefile
  2. +35 −0 livejournaller.gemspec
View
5 Rakefile
@@ -0,0 +1,5 @@
+task :default => :gem
+
+task :gem do
+ system("gem build livejournaller.gemspec")
+end
View
35 livejournaller.gemspec
@@ -0,0 +1,35 @@
+require 'rubygems'
+
+spec = Gem::Specification.new do |s|
+
+ # Basic information.
+ s.name = 'livejournaller'
+ s.version = File.open("VERSION").read.strip
+ s.summary = <<-EOF
+ A LiveJournal access library.
+ EOF
+ s.description = <<-EOF
+ This is a library to access the LiveJournal API from Ruby, and a
+ script or two to let you write and submit LiveJournal entries from
+ the command line.
+ EOF
+ s.author = "Dave Brown"
+ s.email = "livejournaller@dagbrown.com"
+ # s.homepage = "http://www.rubyforge.org/projects/gurgitate-mail/"
+ # s.rubyforge_project = "gurgitate-mail"
+
+ s.files = Dir.glob("lib/*.rb").delete_if { |item| item.include?("CVS") }
+ s.files += Dir.glob("bin/*")
+
+ # Load-time details: library and application
+ s.require_path = 'lib' # Use these for libraries.
+ s.autorequire = 'livejournaller'
+
+ s.bindir = "bin" # Use these for applications.
+ s.executables = %w{ljpost ljsend}
+ s.default_executable = "ljpost"
+
+ # Documentation and testing.
+ # s.has_rdoc = true
+ # s.test_suite_file = "test.rb"
+end
Please sign in to comment.
Something went wrong with that request. Please try again.