From 6db8f42a3835d376e63fff4778965b18d7d8af23 Mon Sep 17 00:00:00 2001 From: Robert Mitwicki Date: Sat, 9 Feb 2013 01:41:50 +0100 Subject: [PATCH] Prepare the gem files --- .gitignore | 11 +++++------ Gemfile | 2 ++ LICENSE.txt | 22 ++++++++++++++++++++++ Rakefile | 1 + lib/rubycas-server-core.rb | 9 +++++++++ lib/rubycas-server-core/version.rb | 7 +++++++ rubycas-server-core.gemspec | 19 +++++++++++++++++++ 7 files changed, 65 insertions(+), 6 deletions(-) create mode 100644 Gemfile create mode 100644 LICENSE.txt create mode 100644 Rakefile create mode 100644 lib/rubycas-server-core.rb create mode 100644 lib/rubycas-server-core/version.rb create mode 100644 rubycas-server-core.gemspec diff --git a/.gitignore b/.gitignore index 560d1a6..d87d4be 100644 --- a/.gitignore +++ b/.gitignore @@ -2,8 +2,12 @@ *.rbc .bundle .config -coverage +.yardoc +Gemfile.lock InstalledFiles +_yardoc +coverage +doc/ lib/bundler/man pkg rdoc @@ -11,8 +15,3 @@ spec/reports test/tmp test/version_tmp tmp - -# YARD artifacts -.yardoc -_yardoc -doc/ diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..851fabc --- /dev/null +++ b/Gemfile @@ -0,0 +1,2 @@ +source 'https://rubygems.org' +gemspec diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..07ca73b --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,22 @@ +Copyright (c) 2013 Robert Mitwicki + +MIT License + +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/Rakefile b/Rakefile new file mode 100644 index 0000000..2995527 --- /dev/null +++ b/Rakefile @@ -0,0 +1 @@ +require "bundler/gem_tasks" diff --git a/lib/rubycas-server-core.rb b/lib/rubycas-server-core.rb new file mode 100644 index 0000000..9435ca2 --- /dev/null +++ b/lib/rubycas-server-core.rb @@ -0,0 +1,9 @@ +require "rubycas-server-core/version" + +module Rubycas + module Server + module Core + # Your code goes here... + end + end +end diff --git a/lib/rubycas-server-core/version.rb b/lib/rubycas-server-core/version.rb new file mode 100644 index 0000000..06f6561 --- /dev/null +++ b/lib/rubycas-server-core/version.rb @@ -0,0 +1,7 @@ +module Rubycas + module Server + module Core + VERSION = "0.0.1" + end + end +end diff --git a/rubycas-server-core.gemspec b/rubycas-server-core.gemspec new file mode 100644 index 0000000..dd6fe2c --- /dev/null +++ b/rubycas-server-core.gemspec @@ -0,0 +1,19 @@ +# -*- encoding: utf-8 -*- +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'rubycas-server-core/version' + +Gem::Specification.new do |gem| + gem.name = "rubycas-server-core" + gem.version = Rubycas::Server::Core::VERSION + gem.authors = ["Robert Mitwicki"] + gem.email = ["robert.mitwicki@opensoftware.pl"] + gem.description = %q{The core logic for handling CAS requests independent of any web presentation technology.} + gem.summary = %q{The core logic for handling CAS requests.} + gem.homepage = "http://rubycas.github.com" + + 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.require_paths = ["lib"] +end