Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

do not use jeweler

  • Loading branch information...
commit 1a3b6bb3065202bddaf8ee0012e5ed7607220db9 1 parent 5b6af55
@youpy authored
Showing with 46 additions and 95 deletions.
  1. +1 −11 Gemfile
  2. +20 −24 Gemfile.lock
  3. +6 −27 Rakefile
  4. +19 −33 ruby-echonest.gemspec
View
12 Gemfile
@@ -1,13 +1,3 @@
source :rubygems
-gem 'rake', '0.9.2.2'
-gem 'httpclient'
-gem 'hashie'
-gem 'libxml-ruby'
-gem 'jeweler'
-
-group :development do
- gem 'rspec', '>= 2.0.0'
- gem 'rdoc'
-end
-
+gemspec
View
44 Gemfile.lock
@@ -1,36 +1,32 @@
+PATH
+ remote: .
+ specs:
+ ruby-echonest (0.3.0)
+ hashie
+ httpclient
+ libxml-ruby
+
GEM
remote: http://rubygems.org/
specs:
diff-lcs (1.1.3)
- git (1.2.5)
hashie (1.2.0)
- httpclient (2.2.1)
- jeweler (1.6.4)
- bundler (~> 1.0)
- git (>= 1.2.5)
- rake
- json (1.6.3)
- libxml-ruby (2.2.2)
+ httpclient (2.3.0.1)
+ libxml-ruby (2.3.3)
rake (0.9.2.2)
- rdoc (3.11)
- json (~> 1.4)
- rspec (2.7.0)
- rspec-core (~> 2.7.0)
- rspec-expectations (~> 2.7.0)
- rspec-mocks (~> 2.7.0)
- rspec-core (2.7.1)
- rspec-expectations (2.7.0)
+ rspec (2.8.0)
+ rspec-core (~> 2.8.0)
+ rspec-expectations (~> 2.8.0)
+ rspec-mocks (~> 2.8.0)
+ rspec-core (2.8.0)
+ rspec-expectations (2.8.0)
diff-lcs (~> 1.1.2)
- rspec-mocks (2.7.0)
+ rspec-mocks (2.8.0)
PLATFORMS
ruby
DEPENDENCIES
- hashie
- httpclient
- jeweler
- libxml-ruby
- rake (= 0.9.2.2)
- rdoc
- rspec (>= 2.0.0)
+ rake
+ rspec (~> 2.8.0)
+ ruby-echonest!
View
33 Rakefile
@@ -1,31 +1,10 @@
-require 'bundler'
-Bundler.require
-
-$LOAD_PATH.unshift "lib"
-require 'echonest'
-
-Jeweler::Tasks.new do |gem|
- gem.name = "ruby-echonest"
- gem.version = Echonest::VERSION
- gem.summary = "An Ruby interface for Echo Nest Developer API"
- gem.description = "An Ruby interface for Echo Nest Developer API"
- gem.email = "youpy@buycheapviagraonlinenow.com"
- gem.homepage = "http://github.com/youpy/ruby-echonest"
- gem.authors = ["youpy"]
-end
+#!/usr/bin/env rake
+require "bundler/gem_tasks"
+require 'rspec/core'
require 'rspec/core/rake_task'
-
-RSpec::Core::RakeTask.new(:core) do |spec|
- spec.pattern = 'spec/**/*_spec.rb'
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = FileList['spec/**/*_spec.rb']
end
-task :default => :core
-
-require 'rdoc/task'
-Rake::RDocTask.new do |rdoc|
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = "echonest %s" % Echonest::VERSION
- rdoc.rdoc_files.include('README*')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
+task :default => :spec
View
52 ruby-echonest.gemspec
@@ -1,39 +1,25 @@
# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/echonest/version', __FILE__)
-Gem::Specification.new do |s|
- s.name = %q{ruby-echonest}
- s.version = "0.1.0"
+Gem::Specification.new do |gem|
+ gem.authors = ["youpy"]
+ gem.email = ["youpy@buycheapviagraonlinenow.com"]
+ gem.description = %q{An Ruby interface for Echo Nest Developer API}
+ gem.summary = %q{An Ruby interface for Echo Nest Developer API}
+ gem.homepage = "http://github.com/youpy/ruby-echonest"
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["youpy"]
- s.date = %q{2010-08-24}
- s.description = %q{An Ruby interface for Echo Nest Developer API}
- s.email = %q{youpy@buycheapviagraonlinenow.com}
- s.extra_rdoc_files = ["README.rdoc", "ChangeLog"]
- s.files = ["README.rdoc", "ChangeLog", "Rakefile", "spec/analysis_spec.rb", "spec/api_spec.rb", "spec/echonest_spec.rb", "spec/fixtures", "spec/fixtures/analysis.json", "spec/fixtures/profile.json", "spec/fixtures/profile_failure.json", "spec/fixtures/profile_unknown.json", "spec/fixtures/sample.mp3", "spec/response_spec.rb", "spec/spec_helper.rb", "spec/track_spec.rb", "lib/echonest", "lib/echonest/analysis.rb", "lib/echonest/api.rb", "lib/echonest/element", "lib/echonest/element/bar.rb", "lib/echonest/element/beat.rb", "lib/echonest/element/loudness.rb", "lib/echonest/element/section.rb", "lib/echonest/element/segment.rb", "lib/echonest/element/tatum.rb", "lib/echonest/response.rb", "lib/echonest/traditional_api_methods.rb", "lib/echonest/version.rb", "lib/echonest.rb"]
- s.homepage = %q{http://github.com/youpy/ruby-echonest}
- s.rdoc_options = ["--title", "ruby-echonest documentation", "--charset", "utf-8", "--opname", "index.html", "--line-numbers", "--main", "README.rdoc", "--inline-source", "--exclude", "^(examples|extras)/"]
- s.require_paths = ["lib"]
- s.rubyforge_project = %q{ruby-echonest}
- s.rubygems_version = %q{1.3.6}
- s.summary = %q{An Ruby interface for Echo Nest Developer API}
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ gem.files = `git ls-files`.split("\n")
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ gem.name = "ruby-echonest"
+ gem.require_paths = ["lib"]
+ gem.version = Echonest::VERSION
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ gem.add_dependency('httpclient')
+ gem.add_dependency('hashie')
+ gem.add_dependency('libxml-ruby')
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<libxml-ruby>, [">= 0"])
- s.add_runtime_dependency(%q<httpclient>, [">= 0"])
- s.add_runtime_dependency(%q<hashie>, [">= 0"])
- else
- s.add_dependency(%q<libxml-ruby>, [">= 0"])
- s.add_dependency(%q<httpclient>, [">= 0"])
- s.add_dependency(%q<hashie>, [">= 0"])
- end
- else
- s.add_dependency(%q<libxml-ruby>, [">= 0"])
- s.add_dependency(%q<httpclient>, [">= 0"])
- s.add_dependency(%q<hashie>, [">= 0"])
- end
+ gem.add_development_dependency('rspec', ['~> 2.8.0'])
+ gem.add_development_dependency('rake')
+ gem.add_development_dependency('ruby-echonest')
end
Please sign in to comment.
Something went wrong with that request. Please try again.