forked from iamfmjk/etsy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
65 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 | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,12 @@ | ||
#!/usr/bin/env rake | ||
require 'rubygems' | ||
require 'rubygems/package_task' | ||
require 'rake/testtask' | ||
|
||
require File.dirname(__FILE__) + "/lib/etsy/version" | ||
require "bundler/gem_tasks" | ||
|
||
task :default => :test | ||
|
||
spec = Gem::Specification.new do |s| | ||
s.name = 'etsy' | ||
s.version = Etsy::Version.to_s | ||
s.has_rdoc = true | ||
s.extra_rdoc_files = %w(README.rdoc) | ||
s.rdoc_options = %w(--main README.rdoc) | ||
s.summary = "Provides a friendly ruby-like interface to the Etsy API" | ||
s.author = 'Patrick Reagan' | ||
s.email = '[email protected]' | ||
s.homepage = 'http://sneaq.net' | ||
s.files = %w(README.rdoc Rakefile) + Dir.glob("{lib,test}/**/*") | ||
|
||
s.add_dependency('json', '>= 1.5.0') | ||
s.add_dependency('oauth', '~> 0.4.0') | ||
end | ||
|
||
Gem::PackageTask.new(spec) do |pkg| | ||
pkg.gem_spec = spec | ||
end | ||
|
||
Rake::TestTask.new do |t| | ||
t.libs << 'test' | ||
t.test_files = FileList["test/**/*_test.rb"] | ||
t.verbose = true | ||
end | ||
|
||
desc 'Generate the gemspec for this Gem' | ||
task :gemspec do | ||
file = File.dirname(__FILE__) + "/#{spec.name}.gemspec" | ||
File.open(file, 'w') {|f| f << spec.to_ruby } | ||
puts "Created gemspec: #{file}" | ||
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 | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,36 @@ | ||
# -*- encoding: utf-8 -*- | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "etsy" | ||
s.version = "0.2.0" | ||
Gem::Specification.new do |gem| | ||
gem.required_rubygems_version = Gem::Requirement.new(">= 0") if gem.respond_to? :required_rubygems_version= | ||
gem.rubygems_version = "1.8.10" | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Patrick Reagan"] | ||
s.date = "2012-06-21" | ||
s.email = "[email protected]" | ||
s.extra_rdoc_files = ["README.rdoc"] | ||
s.files = ["README.rdoc", "Rakefile", "lib/etsy", "lib/etsy/address.rb", "lib/etsy/basic_client.rb", "lib/etsy/category.rb", "lib/etsy/country.rb", "lib/etsy/image.rb", "lib/etsy/listing.rb", "lib/etsy/model.rb", "lib/etsy/payment_template.rb", "lib/etsy/profile.rb", "lib/etsy/request.rb", "lib/etsy/response.rb", "lib/etsy/secure_client.rb", "lib/etsy/shipping_template.rb", "lib/etsy/shop.rb", "lib/etsy/transaction.rb", "lib/etsy/user.rb", "lib/etsy/verification_request.rb", "lib/etsy/version.rb", "lib/etsy.rb", "test/fixtures", "test/fixtures/address", "test/fixtures/address/getUserAddresses.json", "test/fixtures/category", "test/fixtures/category/findAllSubCategoryChildren.json", "test/fixtures/category/findAllTopCategory.json", "test/fixtures/category/findAllTopCategory.single.json", "test/fixtures/category/findAllTopCategoryChildren.json", "test/fixtures/category/getCategory.multiple.json", "test/fixtures/category/getCategory.single.json", "test/fixtures/country", "test/fixtures/country/getCountry.json", "test/fixtures/image", "test/fixtures/image/findAllListingImages.json", "test/fixtures/listing", "test/fixtures/listing/findAllListingActive.category.json", "test/fixtures/listing/findAllShopListings.json", "test/fixtures/listing/getListing.multiple.json", "test/fixtures/listing/getListing.single.json", "test/fixtures/payment_template", "test/fixtures/payment_template/getPaymentTemplate.json", "test/fixtures/profile", "test/fixtures/profile/new.json", "test/fixtures/shipping_template", "test/fixtures/shipping_template/getShippingTemplate.json", "test/fixtures/shop", "test/fixtures/shop/findAllShop.json", "test/fixtures/shop/findAllShop.single.json", "test/fixtures/shop/getShop.multiple.json", "test/fixtures/shop/getShop.single.json", "test/fixtures/transaction", "test/fixtures/transaction/findAllShopTransactions.json", "test/fixtures/user", "test/fixtures/user/getUser.multiple.json", "test/fixtures/user/getUser.single.json", "test/fixtures/user/getUser.single.private.json", "test/fixtures/user/getUser.single.withProfile.json", "test/test_helper.rb", "test/unit", "test/unit/etsy", "test/unit/etsy/address_test.rb", "test/unit/etsy/basic_client_test.rb", "test/unit/etsy/category_test.rb", "test/unit/etsy/country_test.rb", "test/unit/etsy/image_test.rb", "test/unit/etsy/listing_test.rb", "test/unit/etsy/payment_template_test.rb", "test/unit/etsy/profile_test.rb", "test/unit/etsy/request_test.rb", "test/unit/etsy/response_test.rb", "test/unit/etsy/secure_client_test.rb", "test/unit/etsy/shipping_template_test.rb", "test/unit/etsy/shop_test.rb", "test/unit/etsy/transaction_test.rb", "test/unit/etsy/user_test.rb", "test/unit/etsy/verification_request_test.rb", "test/unit/etsy_test.rb"] | ||
s.homepage = "http://sneaq.net" | ||
s.rdoc_options = ["--main", "README.rdoc"] | ||
s.require_paths = ["lib"] | ||
s.rubygems_version = "1.8.10" | ||
s.summary = "Provides a friendly ruby-like interface to the Etsy API" | ||
gem.authors = ["Katrina Owen"] | ||
gem.authors = ["Patrick Reagan", "Katrina Owen"] | ||
gem.email = ["[email protected]", "[email protected]"] | ||
gem.description = %q{A friendly Ruby interface to the Etsy API} | ||
gem.summary = %q{Provides a friendly ruby-like wrapper for the Etsy API} | ||
gem.homepage = "http://github.com/kytrinyx/etsy" | ||
|
||
if s.respond_to? :specification_version then | ||
s.specification_version = 3 | ||
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 = "etsy" | ||
gem.require_paths = ["lib"] | ||
gem.version = "0.2.0" | ||
|
||
if gem.respond_to? :specification_version then | ||
gem.specification_version = 3 | ||
|
||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then | ||
s.add_runtime_dependency(%q<json>, [">= 1.5.0"]) | ||
s.add_runtime_dependency(%q<oauth>, ["~> 0.4.0"]) | ||
gem.add_runtime_dependency("json", [">= 1.5.0"]) | ||
gem.add_runtime_dependency("oauth", ["~> 0.4.0"]) | ||
else | ||
s.add_dependency(%q<json>, [">= 1.5.0"]) | ||
s.add_dependency(%q<oauth>, ["~> 0.4.0"]) | ||
gem.add_dependency("json", [">= 1.5.0"]) | ||
gem.add_dependency("oauth", ["~> 0.4.0"]) | ||
end | ||
else | ||
s.add_dependency(%q<json>, [">= 1.5.0"]) | ||
s.add_dependency(%q<oauth>, ["~> 0.4.0"]) | ||
gem.add_dependency("json", [">= 1.5.0"]) | ||
gem.add_dependency("oauth", ["~> 0.4.0"]) | ||
end | ||
|
||
end |
This file was deleted.
Oops, something went wrong.