Browse files

Remove the jeweler dependencies.

  • Loading branch information...
1 parent 832539a commit 2bd5d95ac0e9c793581cf3525fd07d5f462f32a6 Ryan Lovelett committed Jun 3, 2012
Showing with 25 additions and 136 deletions.
  1. +3 −19 Gemfile
  2. +2 −44 Rakefile
  3. +20 −73 imasquerade.gemspec
View
22 Gemfile
@@ -1,20 +1,4 @@
-source "http://rubygems.org"
-# Add dependencies required to use your gem here.
-# Example:
-# gem "activesupport", ">= 2.3.5"
+source 'https://rubygems.org'
-# Add dependencies to develop your gem here.
-# Include everything needed to run rake, tests, features, etc.
-gem "curb", "~> 0.7.15"
-gem "nokogiri", "~> 1.5.0"
-gem "plist", "~> 3.1.0"
-gem "colorize", "~> 0.5.8"
-
-group :development do
- gem "bundler", "~> 1.0.15"
- gem "git", "~> 1.2.5"
- gem "jeweler", "~> 1.6.4"
- gem "rake", "~> 0.9.2"
- gem "rcov", "~> 0.9.9"
- gem "shoulda", "~> 2.11.3"
-end
+# Specify your gem's dependencies in jsb3.gemspec
+gemspec
View
46 Rakefile
@@ -1,53 +1,11 @@
-# encoding: utf-8
-
-require 'rubygems'
-require 'bundler'
-begin
- Bundler.setup(:default, :development)
-rescue Bundler::BundlerError => e
- $stderr.puts e.message
- $stderr.puts "Run `bundle install` to install missing gems"
- exit e.status_code
-end
require 'rake'
-
-require 'jeweler'
-Jeweler::Tasks.new do |gem|
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
- gem.name = "imasquerade"
- gem.homepage = "http://github.com/RLovelett/imasquerade"
- gem.license = "MIT"
- gem.summary = %Q{iMasquerade is a Ruby class that takes an iTunes Podcast URL and outputs the XML feed URL.}
- gem.description = %Q{iMasquerade is a Ruby project that allows for the retrieval of the original XML feed used by iTunes to create a specific podcast feed. As the name suggests, the class works by masquerading as iTunes, thereby retrieving the same XML used internal to iTunes. Once this iTunes XML is retrieved it is parsed for the source feed url and is subsequently returned.}
- gem.email = "ryan@wahvee.com"
- gem.authors = ["Ryan Lovelett"]
- # dependencies defined in Gemfile
-end
-Jeweler::RubygemsDotOrgTasks.new
-
require 'rake/testtask'
+require 'bundler/gem_tasks'
+
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
-require 'rcov/rcovtask'
-Rcov::RcovTask.new do |test|
- test.libs << 'test'
- test.pattern = 'test/**/test_*.rb'
- test.verbose = true
- test.rcov_opts << '--exclude "gems/*"'
-end
-
task :default => :test
-
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
-
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "imasquerade #{version}"
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
View
93 imasquerade.gemspec
@@ -1,78 +1,25 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/imasquerade/version', __FILE__)
-Gem::Specification.new do |s|
- s.name = %q{imasquerade}
- s.version = "0.2.2"
+Gem::Specification.new do |gem|
+ gem.authors = ["Ryan Lovelett"]
+ gem.email = ["ryan@wahvee.com"]
+ gem.description = %q{iMasquerade is a Ruby project that allows for the retrieval of the original XML feed used by iTunes to create a specific podcast feed. As the name suggests, the class works by masquerading as iTunes, thereby retrieving the same XML used internal to iTunes. Once this iTunes XML is retrieved it is parsed for the source feed url and is subsequently returned.}
+ gem.summary = %q{iMasquerade is a Ruby class that takes an iTunes Podcast URL and outputs the XML feed URL.}
+ gem.homepage = "https://github.com/RLovelett/imasquerade"
+ gem.licenses = ["MIT"]
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Ryan Lovelett"]
- s.date = %q{2011-07-30}
- s.description = %q{iMasquerade is a Ruby project that allows for the retrieval of the original XML feed used by iTunes to create a specific podcast feed. As the name suggests, the class works by masquerading as iTunes, thereby retrieving the same XML used internal to iTunes. Once this iTunes XML is retrieved it is parsed for the source feed url and is subsequently returned.}
- s.email = %q{ryan@wahvee.com}
- s.extra_rdoc_files = [
- "LICENSE.txt",
- "README.rdoc"
- ]
- s.files = [
- ".document",
- ".rvmrc",
- "Gemfile",
- "LICENSE.txt",
- "README.rdoc",
- "Rakefile",
- "VERSION",
- "imasquerade.gemspec",
- "lib/imasquerade.rb",
- "lib/imasquerade/extractor.rb",
- "test/helper.rb",
- "test/test_imasquerade.rb"
- ]
- s.homepage = %q{http://github.com/RLovelett/imasquerade}
- s.licenses = ["MIT"]
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.6.2}
- s.summary = %q{iMasquerade is a Ruby class that takes an iTunes Podcast URL and outputs the XML feed URL.}
+ 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 = "iMasquerade"
+ gem.require_paths = ["lib"]
+ gem.version = Imasquerade::VERSION
- if s.respond_to? :specification_version then
- s.specification_version = 3
-
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<curb>, ["~> 0.7.15"])
- s.add_runtime_dependency(%q<nokogiri>, ["~> 1.5.0"])
- s.add_runtime_dependency(%q<plist>, ["~> 3.1.0"])
- s.add_runtime_dependency(%q<colorize>, ["~> 0.5.8"])
- s.add_development_dependency(%q<bundler>, ["~> 1.0.15"])
- s.add_development_dependency(%q<git>, ["~> 1.2.5"])
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
- s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
- s.add_development_dependency(%q<rcov>, ["~> 0.9.9"])
- s.add_development_dependency(%q<shoulda>, ["~> 2.11.3"])
- else
- s.add_dependency(%q<curb>, ["~> 0.7.15"])
- s.add_dependency(%q<nokogiri>, ["~> 1.5.0"])
- s.add_dependency(%q<plist>, ["~> 3.1.0"])
- s.add_dependency(%q<colorize>, ["~> 0.5.8"])
- s.add_dependency(%q<bundler>, ["~> 1.0.15"])
- s.add_dependency(%q<git>, ["~> 1.2.5"])
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
- s.add_dependency(%q<rake>, ["~> 0.9.2"])
- s.add_dependency(%q<rcov>, ["~> 0.9.9"])
- s.add_dependency(%q<shoulda>, ["~> 2.11.3"])
- end
- else
- s.add_dependency(%q<curb>, ["~> 0.7.15"])
- s.add_dependency(%q<nokogiri>, ["~> 1.5.0"])
- s.add_dependency(%q<plist>, ["~> 3.1.0"])
- s.add_dependency(%q<colorize>, ["~> 0.5.8"])
- s.add_dependency(%q<bundler>, ["~> 1.0.15"])
- s.add_dependency(%q<git>, ["~> 1.2.5"])
- s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
- s.add_dependency(%q<rake>, ["~> 0.9.2"])
- s.add_dependency(%q<rcov>, ["~> 0.9.9"])
- s.add_dependency(%q<shoulda>, ["~> 2.11.3"])
- end
+ gem.add_dependency "curb"
+ gem.add_dependency "nokogiri"
+ gem.add_dependency "plist"
+ gem.add_dependency "colorize"
+ gem.add_development_dependency "rake"
+ gem.add_development_dependency "shoulda"
end
-

0 comments on commit 2bd5d95

Please sign in to comment.