Permalink
Browse files

add jeweler files to create gem.

  • Loading branch information...
fujibee committed May 31, 2011
1 parent e5158c9 commit 4bcc36ca133dfafb58c8e0ba9fe3895b12d98189
Showing with 170 additions and 0 deletions.
  1. +2 −0 .gitignore
  2. +13 −0 Gemfile
  3. +16 −0 Gemfile.lock
  4. +35 −0 Rakefile
  5. +104 −0 elastic-mapreduce.gemspec
View
@@ -1 +1,3 @@
credentials.json
+pkg
+.bundle
View
13 Gemfile
@@ -0,0 +1,13 @@
+source "http://rubygems.org"
+# Add dependencies required to use your gem here.
+# Example:
+# gem "activesupport", ">= 2.3.5"
+
+# Add dependencies to develop your gem here.
+# Include everything needed to run rake, tests, features, etc.
+group :development do
+# gem "shoulda", ">= 0"
+ gem "bundler", "~> 1.0.0"
+ gem "jeweler", "~> 1.6.1"
+# gem "rcov", ">= 0"
+end
View
@@ -0,0 +1,16 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ git (1.2.5)
+ jeweler (1.6.1)
+ bundler (~> 1.0.0)
+ git (>= 1.2.5)
+ rake
+ rake (0.8.7)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bundler (~> 1.0.0)
+ jeweler (~> 1.6.1)
View
@@ -0,0 +1,35 @@
+# encoding: utf-8
+
+require 'rubygems'
+require 'bundler'
+begin
+ Bundler.setup(:default, :development)
+rescue Bundler::BundlerError => e
+ $stderr.puts e.message
+ $stderr.puts "Run `bundle install` to install missing gems"
+ exit e.status_code
+end
+require 'rake'
+
+require 'jeweler'
+Jeweler::Tasks.new do |gem|
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
+ gem.name = "elastic-mapreduce"
+ gem.homepage = "http://github.com/hapyrus/elastic-mapreduce"
+ gem.license = "Apache License"
+ gem.summary = %Q{Modified Amazon's commandline client for EMR (Elastic Map-Reduce) invocation}
+ gem.description = %Q{Original is official but this is Unofficial.}
+ gem.email = "fujibee@hapyrus.com"
+ gem.authors = ["Amazon.com", "Koichi Fujikawa"]
+ # dependencies defined in Gemfile
+end
+Jeweler::RubygemsDotOrgTasks.new
+
+require 'rake/testtask'
+Rake::TestTask.new(:test) do |test|
+ test.libs << 'lib' << 'test'
+ test.pattern = 'test/**/test_*.rb'
+ test.verbose = true
+end
+
+task :default => :test
View
@@ -0,0 +1,104 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{elastic-mapreduce}
+ s.version = "0.0.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Amazon.com", "Koichi Fujikawa"]
+ s.date = %q{2011-05-31}
+ s.default_executable = %q{elastic-mapreduce}
+ s.description = %q{Original is official but this is Unofficial.}
+ s.email = %q{fujibee@hapyrus.com}
+ s.executables = ["elastic-mapreduce"]
+ s.extra_rdoc_files = [
+ "LICENSE.txt",
+ "README"
+ ]
+ s.files = [
+ "CHANGELOG",
+ "Gemfile",
+ "Gemfile.lock",
+ "LICENSE.txt",
+ "NOTICE.txt",
+ "README",
+ "Rakefile",
+ "VERSION",
+ "bin/elastic-mapreduce",
+ "cacert.pem",
+ "elastic-mapreduce.gemspec",
+ "lib/amazon/aws/exceptions.rb",
+ "lib/amazon/coral/awsquery.rb",
+ "lib/amazon/coral/awsquerychainhelper.rb",
+ "lib/amazon/coral/awsqueryhandler.rb",
+ "lib/amazon/coral/awsqueryurihandler.rb",
+ "lib/amazon/coral/call.rb",
+ "lib/amazon/coral/dispatcher.rb",
+ "lib/amazon/coral/ec2client.rb",
+ "lib/amazon/coral/elasticmapreduceclient.rb",
+ "lib/amazon/coral/handler.rb",
+ "lib/amazon/coral/httpdelegationhelper.rb",
+ "lib/amazon/coral/httpdestinationhandler.rb",
+ "lib/amazon/coral/httphandler.rb",
+ "lib/amazon/coral/identityhandler.rb",
+ "lib/amazon/coral/job.rb",
+ "lib/amazon/coral/logfactory.rb",
+ "lib/amazon/coral/option.rb",
+ "lib/amazon/coral/orchestrator.rb",
+ "lib/amazon/coral/querystringmap.rb",
+ "lib/amazon/coral/service.rb",
+ "lib/amazon/coral/simplelog.rb",
+ "lib/amazon/coral/urlencoding.rb",
+ "lib/amazon/coral/v0signaturehandler.rb",
+ "lib/amazon/coral/v0signaturehelper.rb",
+ "lib/amazon/coral/v1signaturehandler.rb",
+ "lib/amazon/coral/v1signaturehelper.rb",
+ "lib/amazon/coral/v2signaturehandler.rb",
+ "lib/amazon/coral/v2signaturehelper.rb",
+ "lib/amazon/retry_delegator.rb",
+ "lib/amazon/stderr_logger.rb",
+ "lib/client.rb",
+ "lib/commands.rb",
+ "lib/credentials.rb",
+ "lib/ec2_client_wrapper.rb",
+ "lib/json.rb",
+ "lib/json/lexer.rb",
+ "lib/json/objects.rb",
+ "lib/simple_executor.rb",
+ "lib/simple_logger.rb",
+ "lib/uuidtools.rb",
+ "lib/uuidtools/version.rb",
+ "run_tests.rb",
+ "samples/freebase/code/freebase_jobflow.json",
+ "samples/similarity/lastfm_jobflow.json",
+ "samples/wordSplitter.py",
+ "tests/commands_test.rb",
+ "tests/credentials.json",
+ "tests/example.json"
+ ]
+ s.homepage = %q{http://github.com/hapyrus/elastic-mapreduce}
+ s.licenses = ["Apache License"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.7}
+ s.summary = %q{Modified Amazon's commandline client for EMR (Elastic Map-Reduce) invocation}
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.1"])
+ else
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
+ s.add_dependency(%q<jeweler>, ["~> 1.6.1"])
+ end
+ else
+ s.add_dependency(%q<bundler>, ["~> 1.0.0"])
+ s.add_dependency(%q<jeweler>, ["~> 1.6.1"])
+ end
+end
+

0 comments on commit 4bcc36c

Please sign in to comment.