From 5837525511c3b6e404d6261c8cc22daf923a2c44 Mon Sep 17 00:00:00 2001 From: Georgi Date: Thu, 6 Nov 2014 11:59:53 +0100 Subject: [PATCH] add missing templates, edit the version, it does not work wit ruby 1.9.3 --- build.sh | 5 ++--- template/MIT-LICENSE | 7 +++++++ template/README.md | 1 + 3 files changed, 10 insertions(+), 3 deletions(-) mode change 100644 => 100755 build.sh create mode 100644 template/MIT-LICENSE create mode 100644 template/README.md diff --git a/build.sh b/build.sh old mode 100644 new mode 100755 index 3520e88..4632d33 --- a/build.sh +++ b/build.sh @@ -48,11 +48,10 @@ cp ../template/MIT-LICENSE . echo '# coding: utf-8 lib = File.expand_path("../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require "'$GEMNAME'/version" Gem::Specification.new do |spec| spec.name = "'$GEMNAME'" - spec.version = '$MODULE_NAME'::VERSION + spec.version = "0.0.1" spec.authors = ["Greg"] spec.email = ["georgi@fonii.com"] spec.summary = %q{Write a short summary. Required.} @@ -69,7 +68,7 @@ end' > $GEMNAME.gemspec # build the gem rake build - + # temp private token USERNAME=rebelact PRIVATE_TOKEN='private-token-goes-here' diff --git a/template/MIT-LICENSE b/template/MIT-LICENSE new file mode 100644 index 0000000..403943d --- /dev/null +++ b/template/MIT-LICENSE @@ -0,0 +1,7 @@ +Copyright (c) 2014 + +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. diff --git a/template/README.md b/template/README.md new file mode 100644 index 0000000..8178c76 --- /dev/null +++ b/template/README.md @@ -0,0 +1 @@ +readme