Skip to content

Commit

Permalink
Adding Gemcutter awesomeness.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fluxx committed Mar 9, 2010
1 parent 47bd653 commit 5cba03e
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 22 deletions.
20 changes: 20 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2009 Jeff Pollard

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
53 changes: 53 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
require 'rubygems'
require 'rake'

begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "linkscape"
gem.summary = %Q{Provides an interface to the SEOmoz API}
gem.description = %Q{Provides an interface to SEOmoz's suite of APIs, including the free and site intelligence APIs.}
gem.email = %q{[email protected]}
gem.homepage = "http://www.seomoz.org/api"
gem.authors = ["Marty Smyth", "Jeff Pollard"]
gem.add_development_dependency "ruby-hmac", ">= 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 = "linkscape #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.0
0.2.3
74 changes: 53 additions & 21 deletions linkscape.gemspec
Original file line number Diff line number Diff line change
@@ -1,27 +1,59 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{linkscape}
s.version = "0.2.2"
s.date = %q{2010-03-8}
s.version = "0.2.3"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Marty Smyth", "Jeff Pollard"]
s.email = %q{[email protected]}
s.summary = %q{Provides an interface to the SEOmoz API}
s.homepage = %q{}
s.date = %q{2010-03-08}
s.description = %q{Provides an interface to SEOmoz's suite of APIs, including the free and site intelligence APIs.}
s.files = [
"README.rdoc",
s.email = %q{[email protected]}
s.extra_rdoc_files = [
"LICENSE",
"lib/hash-ext.rb",
"lib/linkscape/client.rb",
"lib/linkscape/constants/anchor-metrics.rb",
"lib/linkscape/constants/link-metrics.rb",
"lib/linkscape/constants/url-metrics.rb",
"lib/linkscape/constants.rb",
"lib/linkscape/errors.rb",
"lib/linkscape/request.rb",
"lib/linkscape/response.rb",
"lib/linkscape/signer.rb",
"lib/linkscape.rb",
"lib/string-ext.rb",
"rails/init.rb",
"README.rdoc"
]
end
s.files = [
".gitignore",
"LICENSE",
"README.rdoc",
"VERSION",
"lib/hash-ext.rb",
"lib/linkscape.rb",
"lib/linkscape/client.rb",
"lib/linkscape/constants.rb",
"lib/linkscape/constants/anchor-metrics.rb",
"lib/linkscape/constants/link-metrics.rb",
"lib/linkscape/constants/url-metrics.rb",
"lib/linkscape/errors.rb",
"lib/linkscape/request.rb",
"lib/linkscape/response.rb",
"lib/linkscape/signer.rb",
"lib/string-ext.rb",
"linkscape.gemspec",
"rails/init.rb",
"test.rb"
]
s.homepage = %q{http://www.seomoz.org/api}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.6}
s.summary = %q{Provides an interface to the SEOmoz API}

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<ruby-hmac>, [">= 0"])
else
s.add_dependency(%q<ruby-hmac>, [">= 0"])
end
else
s.add_dependency(%q<ruby-hmac>, [">= 0"])
end
end

0 comments on commit 5cba03e

Please sign in to comment.