Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

replaced reuire_relative for pre 1.9 compatibility, added rvm and bun…

…dler support.
  • Loading branch information...
commit b107c340a424e8b8bfa82274b5d00d9ffd4abadf 1 parent c0bfe07
@5v3n authored
View
2  .bundle/config
@@ -0,0 +1,2 @@
+---
+BUNDLE_DISABLE_SHARED_GEMS: "1"
View
1  .gitignore
@@ -0,0 +1 @@
+pkg
View
1  .rvmrc
@@ -0,0 +1 @@
+rvm ruby-1.9.1@conways_game_of_life
View
2  Gemfile
@@ -0,0 +1,2 @@
+source :gemcutter
+gem 'ruby-opengl'
View
14 Gemfile.lock
@@ -0,0 +1,14 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ mkrf (0.2.3)
+ rake (0.8.7)
+ ruby-opengl (0.60.1)
+ mkrf (>= 0.2.0)
+ rake
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ ruby-opengl
View
21 LICENSE
@@ -0,0 +1,21 @@
+== Conways-Game-Of-Life
+
+Copyright (c) 2010 Sven Kraeuter sven.kraeuter@gmx.net
+
+ 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
45 Rakefile
@@ -0,0 +1,45 @@
+#
+# To change this template, choose Tools | Templates
+# and open the template in the editor.
+
+
+require 'rubygems'
+require 'rake'
+require 'rake/clean'
+require 'rake/gempackagetask'
+require 'rake/rdoctask'
+require 'rake/testtask'
+
+spec = Gem::Specification.new do |s|
+ s.name = 'Conways-Game-Of-Life'
+ s.version = '0.0.1'
+ s.has_rdoc = true
+ s.extra_rdoc_files = ['README.md', 'LICENSE']
+ s.summary = 'Conways Game Of Life'
+ s.description = s.summary
+ s.author = 'Sven Kraeuter | 5v3n'
+ s.email = 'mail@5v3n.com'
+ # s.executables = ['your_executable_here']
+ s.files = %w(LICENSE README.md Rakefile) + Dir.glob("{bin,lib,spec}/**/*")
+ s.require_path = "lib"
+ s.bindir = "bin"
+end
+
+Rake::GemPackageTask.new(spec) do |p|
+ p.gem_spec = spec
+ p.need_tar = true
+ p.need_zip = true
+end
+
+Rake::RDocTask.new do |rdoc|
+ files =['README.md', 'LICENSE', 'lib/**/*.rb']
+ rdoc.rdoc_files.add(files)
+ rdoc.main = "README.md" # page to start on
+ rdoc.title = "Conways-Game-Of-Life Docs"
+ rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
+ rdoc.options << '--line-numbers'
+end
+
+Rake::TestTask.new do |t|
+ t.test_files = FileList['test/**/*.rb']
+end
Please sign in to comment.
Something went wrong with that request. Please try again.