Skip to content

Commit

Permalink
Added stuff for publishing as a gem
Browse files Browse the repository at this point in the history
  • Loading branch information
boncey committed Feb 18, 2012
1 parent a17739a commit fd0d54a
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.gem
.bundle
Gemfile.lock
pkg/*
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source "http://rubygems.org"

gem 'rake'
#gem 'mp3info'

# Specify your gem's dependencies in podcast.gemspec
gemspec
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'bundler/gem_tasks'
require 'rake/testtask'

Rake::TestTask.new do |t|
Expand Down
2 changes: 1 addition & 1 deletion bin/podcast
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
#!/usr/bin/env ruby -d

# == Synopsis
#
Expand Down
2 changes: 2 additions & 0 deletions lib/podcast.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'rubygems'
require 'podcast/version'
require 'find'
require 'rss/0.9'
require 'mp3info'
Expand Down
3 changes: 3 additions & 0 deletions lib/podcast/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Podcast
VERSION = "0.0.5"
end
21 changes: 21 additions & 0 deletions podcast.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "podcast/version"

Gem::Specification.new do |s|
s.name = "podcast"
s.version = Podcast::VERSION
s.authors = ["Ed Summers", "Darren Greaves"]
s.email = ["[email protected]"]
s.homepage = "https://github.com/boncey/ruby-podcast"
s.summary = %q{Create podcasts from MP3 files}
s.description = %q{Iterate over a directory of mp3 files and write out a podcast RSS file}

s.rubyforge_project = "podcast"

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_dependency "ruby-mp3info"
end

0 comments on commit fd0d54a

Please sign in to comment.