Skip to content

Commit

Permalink
Rename gem to itunes_csv
Browse files Browse the repository at this point in the history
  • Loading branch information
andyw8 committed Sep 13, 2012
1 parent efeaee7 commit 519c8d2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Gemfile
@@ -1,4 +1,4 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in itunes_to_csv.gemspec
# Specify your gem's dependencies in itunes_csv.gemspec
gemspec
10 changes: 6 additions & 4 deletions README.md
@@ -1,24 +1,26 @@
# ItunesToCsv
# iTunes CSV

TODO: Write a gem description

## Installation

Add this line to your application's Gemfile:

gem 'itunes_to_csv'
gem 'itunes_csv'

And then execute:

$ bundle

Or install it yourself as:

$ gem install itunes_to_csv
$ gem install itunes_csv

## Usage

TODO: Write usage instructions here
$ itunes_csv [iTunes Libary Path]

If a path is not given, the default will be `~/Music/iTunes/iTunes Music Library.xml`

## Contributing

Expand Down
4 changes: 2 additions & 2 deletions bin/itunes_to_csv → bin/itunes_csv
Expand Up @@ -2,6 +2,6 @@

$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')

require 'itunes_to_csv'
require 'itunes_csv'

ItunesToCsv::CommandLine.invoke ARGV
ItunesCsv::CommandLine.invoke ARGV
6 changes: 3 additions & 3 deletions itunes_to_csv.gemspec → itunes_csv.gemspec
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/itunes_to_csv/version', __FILE__)
require File.expand_path('../lib/itunes_csv/version', __FILE__)

Gem::Specification.new do |gem|
gem.authors = ["Andy Waite"]
Expand All @@ -11,8 +11,8 @@ Gem::Specification.new do |gem|
gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "itunes_to_csv"
gem.name = "itunes_csv"
gem.require_paths = ["lib"]
gem.version = ItunesToCsv::VERSION
gem.version = ItunesCsv::VERSION
gem.add_dependency "itunes-library"
end
4 changes: 2 additions & 2 deletions lib/itunes_to_csv.rb → lib/itunes_csv.rb
@@ -1,6 +1,6 @@
require "itunes_to_csv/version"
require "itunes_csv/version"

module ItunesToCsv
module ItunesCsv
DefaultPath = "~/Music/iTunes/iTunes Music Library.xml"
class CommandLine
def self.invoke(args)
Expand Down
2 changes: 1 addition & 1 deletion lib/itunes_to_csv/version.rb → lib/itunes_csv/version.rb
@@ -1,3 +1,3 @@
module ItunesToCsv
module ItunesCsv
VERSION = "0.0.1"
end

0 comments on commit 519c8d2

Please sign in to comment.