-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from jeweler to bundler gem tasks
- Loading branch information
Showing
7 changed files
with
36 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,21 +1,5 @@ | |||
## MAC OS | *.gem | ||
.DS_Store | .bundle | ||
|
Gemfile.lock | ||
## TEXTMATE | pkg/* | ||
*.tmproj | .idea | ||
tmtags | |||
|
|||
## EMACS | |||
*~ | |||
\#* | |||
.\#* | |||
|
|||
## VIM | |||
*.swp | |||
|
|||
## PROJECT::GENERAL | |||
coverage | |||
rdoc | |||
pkg | |||
|
|||
## PROJECT::SPECIFIC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
source "http://rubygems.org" | |||
|
|||
# Specify your gem's dependencies in akamai.gemspec | |||
gemspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,53 +1 @@ | |||
require 'rubygems' | require "bundler/gem_tasks" | ||
require 'rake' | |||
|
|||
begin | |||
require 'jeweler' | |||
Jeweler::Tasks.new do |gem| | |||
gem.name = "akamai" | |||
gem.summary = %Q{Simple library for interacting with Akamai NetStorage and EdgeSuite caches} | |||
gem.description = %Q{Simple library for interacting with Akamai NetStorage and EdgeSuite caches} | |||
gem.email = "jay.zeschin@factorylabs.com" | |||
gem.homepage = "http://github.com/jayzes/akamai" | |||
gem.authors = ["Jay Zeschin"] | |||
gem.add_dependency "soap4r", ">= 0" | |||
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings | |||
end | |||
Jeweler::GemcutterTasks.new | |||
rescue LoadError | |||
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler" | |||
end | |||
|
|||
require 'rake/testtask' | |||
Rake::TestTask.new(:test) do |test| | |||
test.libs << 'lib' << 'test' | |||
test.pattern = 'test/**/test_*.rb' | |||
test.verbose = true | |||
end | |||
|
|||
begin | |||
require 'rcov/rcovtask' | |||
Rcov::RcovTask.new do |test| | |||
test.libs << 'test' | |||
test.pattern = 'test/**/test_*.rb' | |||
test.verbose = true | |||
end | |||
rescue LoadError | |||
task :rcov do | |||
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" | |||
end | |||
end | |||
|
|||
task :test => :check_dependencies | |||
|
|||
task :default => :test | |||
|
|||
require 'rake/rdoctask' | |||
Rake::RDocTask.new do |rdoc| | |||
version = File.exist?('VERSION') ? File.read('VERSION') : "" | |||
|
|||
rdoc.rdoc_dir = 'rdoc' | |||
rdoc.title = "akamai #{version}" | |||
rdoc.rdoc_files.include('README*') | |||
rdoc.rdoc_files.include('lib/**/*.rb') | |||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,22 @@ | |||
# -*- encoding: utf-8 -*- | |||
$:.push File.expand_path("../lib", __FILE__) | |||
require "akamai/version" | |||
|
|||
Gem::Specification.new do |s| | |||
s.name = "akamai" | |||
s.version = Akamai::VERSION | |||
s.authors = ["Jay Zeschin"] | |||
s.email = ["jay@zeschin.org"] | |||
s.homepage = "https://github.com/jayzes/akamai" | |||
s.summary = %Q{Simple library for interacting with Akamai NetStorage and EdgeSuite caches} | |||
s.description = %Q{Simple library for interacting with Akamai NetStorage and EdgeSuite caches} | |||
|
|||
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"] | |||
|
|||
# specify any dependencies here; for example: | |||
# s.add_development_dependency "rspec" | |||
# s.add_runtime_dependency "rest-client" | |||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,3 @@ | |||
module Akamai | |||
VERSION = "0.2" | |||
end |