From a4a3a5bf3d3b5bb99c429c1d59bbc99cc55df1c1 Mon Sep 17 00:00:00 2001 From: Adam Cooke Date: Tue, 29 Apr 2014 11:56:20 +0100 Subject: [PATCH] gemspec --- Gemfile | 10 +--------- Gemfile.lock | 10 ++++++++-- MIT-LICENCE | 20 ++++++++++++++++++++ moonrope.gemspec | 20 ++++++++++++++++++++ 4 files changed, 49 insertions(+), 11 deletions(-) create mode 100644 MIT-LICENCE create mode 100644 moonrope.gemspec diff --git a/Gemfile b/Gemfile index 3a7dd21..3be9c3c 100644 --- a/Gemfile +++ b/Gemfile @@ -1,10 +1,2 @@ source "https://rubygems.org" -gem 'json' -gem 'rack' - -group :test do - gem 'rake', '~> 10.3.1' - gem 'test-unit', '~> 2.5.5' - gem 'rack-test' - gem 'yard', '~> 0.8.7' -end +gemspec diff --git a/Gemfile.lock b/Gemfile.lock index 72c1df1..a6a36d3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,10 @@ +PATH + remote: . + specs: + moonrope (0.0.0) + json (~> 1.8.1) + rack (~> 1.5.0) + GEM remote: https://rubygems.org/ specs: @@ -13,8 +20,7 @@ PLATFORMS ruby DEPENDENCIES - json - rack + moonrope! rack-test rake (~> 10.3.1) test-unit (~> 2.5.5) diff --git a/MIT-LICENCE b/MIT-LICENCE new file mode 100644 index 0000000..079ccaf --- /dev/null +++ b/MIT-LICENCE @@ -0,0 +1,20 @@ +Copyright 2014 Adam Cooke. + +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. \ No newline at end of file diff --git a/moonrope.gemspec b/moonrope.gemspec new file mode 100644 index 0000000..c0fa0f3 --- /dev/null +++ b/moonrope.gemspec @@ -0,0 +1,20 @@ +$:.push File.expand_path("../lib", __FILE__) + +require "moonrope/version" + +Gem::Specification.new do |s| + s.name = "moonrope" + s.version = Moonrope::VERSION + s.authors = ["Adam Cooke"] + s.email = ["adam@viaduct.io"] + s.homepage = "http://viaduct.io" + s.summary = "An API server DSL." + s.description = "A full library allowing you to create sexy DSLs to define your RPC-like APIs." + s.files = Dir["{lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"] + s.add_dependency "json", "~> 1.8.1" + s.add_dependency "rack", "~> 1.5.0" + s.add_development_dependency "rake", '~> 10.3.1' + s.add_development_dependency "test-unit", '~> 2.5.5' + s.add_development_dependency 'yard', '~> 0.8.7' + s.add_development_dependency "rack-test" +end