Skip to content

Commit

Permalink
Switch to gem building with Bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
agnoster committed Dec 10, 2010
1 parent 05579ac commit a0ccbc0
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 121 deletions.
8 changes: 2 additions & 6 deletions Gemfile
@@ -1,7 +1,3 @@
source :rubygems

gem "nokogiri"
gem "typhoeus"
gem "memcached"
gem "json"
source "http://rubygems.org"

gemspec
28 changes: 23 additions & 5 deletions Gemfile.lock
@@ -1,18 +1,36 @@
PATH
remote: .
specs:
elekk (1.0.2)
json
memcached
nokogiri
typhoeus

GEM
remote: http://rubygems.org/
specs:
diff-lcs (1.1.2)
json (1.4.6)
memcached (1)
nokogiri (1.4.3.1)
rack (1.2.1)
typhoeus (0.1.31)
rack
memcached (1.0.2)
nokogiri (1.4.4)
rspec (2.2.0)
rspec-core (~> 2.2)
rspec-expectations (~> 2.2)
rspec-mocks (~> 2.2)
rspec-core (2.2.1)
rspec-expectations (2.2.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.2.0)
typhoeus (0.2.0)

PLATFORMS
ruby

DEPENDENCIES
elekk!
json
memcached
nokogiri
rspec
typhoeus
14 changes: 0 additions & 14 deletions Manifest

This file was deleted.

36 changes: 6 additions & 30 deletions Rakefile
@@ -1,34 +1,10 @@
require 'rubygems'
require 'rake'
require 'spec/rake/spectask'

begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "elekk"
s.summary = "A simple library for World of Warcraft data in Ruby."
s.email = "agnoster@gmail.com"
s.homepage = "http://github.com/agnoster/elekk"
s.description = "A simple library for World of Warcraft data in Ruby."
s.authors = ["Isaac Wolkerstorfer"]
s.files = FileList["*", "{lib,spec}/**/*"]
s.add_dependency 'typhoeus'
s.add_dependency 'memcached'
s.add_dependency 'nokogiri'
s.add_dependency 'json'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
desc "Run all tests"
Spec::Rake::SpecTask.new('spec') do |t|
t.spec_files = FileList['spec/**/*.rb']
t.spec_opts = ["--color", "--format", "specdoc"]
t.fail_on_error = false
end

begin
require 'spec/rake/spectask'
desc "Run all tests"
Spec::Rake::SpecTask.new('spec') do |t|
t.spec_files = FileList['spec/**/*.rb']
t.spec_opts = ["--color", "--format", "specdoc"]
t.fail_on_error = false
end
rescue LoadError
puts "No rspec installed, can't run tests"
end
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

4 changes: 4 additions & 0 deletions changelog.md
@@ -1,3 +1,7 @@
# elekk v1.0.2

* Switch to simpler gem building with Bundler

# elekk v0.1.0

* Get Achievements
Expand Down
88 changes: 23 additions & 65 deletions elekk.gemspec
@@ -1,72 +1,30 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "elekk/version"

Gem::Specification.new do |s|
s.name = %q{elekk}
s.version = "1.0.1"
s.name = "elekk"
s.version = Elekk::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Isaac Wolkerstorfer"]
s.email = ["agnoster@gmail.com"]
s.homepage = "https://github.com/agnoster/elekk"
s.summary = %q{Ruby interface for World of Warcraft data}
s.description = %q{Elekk is a Ruby gem that provides an interface to data for Blizzard's highly popular
MMORPG, World of Warcraft. It currently uses data both from Blizzard's official Armory website
at wowarmory.com, as well as the popular community database, WoWhead.com. Future versions may
make use of additional sources of information.}

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Isaac Wolkerstorfer"]
s.date = %q{2010-07-25}
s.description = %q{A simple library for World of Warcraft data in Ruby.}
s.email = %q{agnoster@gmail.com}
s.files = [
"Manifest",
"Rakefile",
"VERSION",
"changelog.md",
"elekk.gemspec",
"lib/elekk.rb",
"lib/elekk/achievement.rb",
"lib/elekk/armory.rb",
"lib/elekk/character.rb",
"lib/elekk/data.rb",
"lib/elekk/http.rb",
"lib/elekk/wowhead.rb",
"readme.md",
"spec/achievement_spec.rb",
"spec/armory_spec.rb",
"spec/character_spec.rb",
"spec/klass_spec.rb",
"spec/test.rb",
"spec/wowhead_spec.rb"
]
s.homepage = %q{http://github.com/agnoster/elekk}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{A simple library for World of Warcraft data in Ruby.}
s.test_files = [
"spec/achievement_spec.rb",
"spec/armory_spec.rb",
"spec/character_spec.rb",
"spec/klass_spec.rb",
"spec/test.rb",
"spec/wowhead_spec.rb"
]
s.rubyforge_project = "elekk"

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
s.add_dependency 'nokogiri'
s.add_dependency 'json'
s.add_dependency 'typhoeus'
s.add_dependency 'memcached'
s.add_development_dependency 'rspec'

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<typhoeus>, [">= 0"])
s.add_runtime_dependency(%q<memcached>, [">= 0"])
s.add_runtime_dependency(%q<nokogiri>, [">= 0"])
s.add_runtime_dependency(%q<json>, [">= 0"])
else
s.add_dependency(%q<typhoeus>, [">= 0"])
s.add_dependency(%q<memcached>, [">= 0"])
s.add_dependency(%q<nokogiri>, [">= 0"])
s.add_dependency(%q<json>, [">= 0"])
end
else
s.add_dependency(%q<typhoeus>, [">= 0"])
s.add_dependency(%q<memcached>, [">= 0"])
s.add_dependency(%q<nokogiri>, [">= 0"])
s.add_dependency(%q<json>, [">= 0"])
end
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"]
end

3 changes: 3 additions & 0 deletions lib/elekk/version.rb
@@ -0,0 +1,3 @@
module Elekk
VERSION = "1.0.2"
end

0 comments on commit a0ccbc0

Please sign in to comment.