Browse files

make this a gem, add .travis.yml

  • Loading branch information...
1 parent a7d3b5d commit 859e7fe054a15a6cae5d5e429415ece30e31888a @svenfuchs committed Mar 27, 2012
Showing with 104 additions and 0 deletions.
  1. +25 −0 .gitignore
  2. +6 −0 .travis.yml
  3. +5 −0 Gemfile
  4. +14 −0 Gemfile.lock
  5. +21 −0 LICENSE
  6. +1 −0 README.md
  7. +9 −0 Rakefile
  8. +3 −0 lib/space/version.rb
  9. +20 −0 space.gemspec
View
25 .gitignore
@@ -0,0 +1,25 @@
+# Because this is a gem, ignore Gemfile.lock:
+
+Gemfile.lock
+
+# And because this is Ruby, ignore the following
+# (source: https://github.com/github/gitignore/blob/master/Ruby.gitignore):
+
+*.gem
+*.rbc
+.bundle
+.config
+coverage
+InstalledFiles
+lib/bundler/man
+pkg
+rdoc
+spec/reports
+test/tmp
+test/version_tmp
+tmp
+
+# YARD artifacts
+.yardoc
+_yardoc
+doc/
View
6 .travis.yml
@@ -0,0 +1,6 @@
+rvm:
+ - 1.8.7
+ - 1.9.2
+ - 1.9.3
+ - rbx
+ - jruby
View
5 Gemfile
@@ -2,3 +2,8 @@ source :rubygems
gem 'ansi'
gem 'hashr'
+
+group :test do
+ gem 'rspec'
+ gem 'mocha'
+end
View
14 Gemfile.lock
@@ -2,11 +2,25 @@ GEM
remote: http://rubygems.org/
specs:
ansi (1.4.2)
+ diff-lcs (1.1.3)
hashr (0.0.19)
+ metaclass (0.0.1)
+ mocha (0.10.5)
+ metaclass (~> 0.0.1)
+ rspec (2.9.0)
+ rspec-core (~> 2.9.0)
+ rspec-expectations (~> 2.9.0)
+ rspec-mocks (~> 2.9.0)
+ rspec-core (2.9.0)
+ rspec-expectations (2.9.0)
+ diff-lcs (~> 1.1.3)
+ rspec-mocks (2.9.0)
PLATFORMS
ruby
DEPENDENCIES
ansi
hashr
+ mocha
+ rspec
View
21 LICENSE
@@ -0,0 +1,21 @@
+MIT LICENSE
+
+Copyright (c) Sven Fuchs <svenfuchs@artweb-design.de>
+
+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.
View
1 README.md
@@ -0,0 +1 @@
+# space
View
9 Rakefile
@@ -0,0 +1,9 @@
+require 'rspec/core/rake_task'
+require 'bundler/setup'
+
+desc 'Run specs'
+RSpec::Core::RakeTask.new do |t|
+ t.pattern = './spec/**/*_spec.rb'
+end
+
+task :default => :spec
View
3 lib/space/version.rb
@@ -0,0 +1,3 @@
+module Space
+ VERSION = "0.0.1"
+end
View
20 space.gemspec
@@ -0,0 +1,20 @@
+# encoding: utf-8
+
+$:.unshift File.expand_path('../lib', __FILE__)
+require 'space/version'
+
+Gem::Specification.new do |s|
+ s.name = "space"
+ s.version = Space::VERSION
+ s.authors = ["Sven Fuchs"]
+ s.email = ["me@svenfuchs.com"]
+ s.homepage = "https://github.com/svenfuchs/space"
+ s.summary = "space"
+ s.description = "space."
+
+ s.files = Dir.glob("{lib/**/*,[A-Z]*}")
+ s.executables = 'space'
+ s.platform = Gem::Platform::RUBY
+ s.require_paths = ['lib']
+ s.rubyforge_project = '[none]'
+end

0 comments on commit 859e7fe

Please sign in to comment.