Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

initial by http://github.com/grosser/project_template

  • Loading branch information...
commit bbf836ef8c9aa570a552894e74bd431dea334e6e 0 parents
@grosser authored
7 Gemfile
@@ -0,0 +1,7 @@
+source :rubygems
+
+group :dev do # not development <-> would add unneeded development dependencies in gemspec
+ gem 'rake'
+ gem 'rspec', '~>2'
+ gem 'jeweler'
+end
26 Gemfile.lock
@@ -0,0 +1,26 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ diff-lcs (1.1.2)
+ git (1.2.5)
+ jeweler (1.5.2)
+ bundler (~> 1.0.0)
+ git (>= 1.2.5)
+ rake
+ rake (0.8.7)
+ rspec (2.4.0)
+ rspec-core (~> 2.4.0)
+ rspec-expectations (~> 2.4.0)
+ rspec-mocks (~> 2.4.0)
+ rspec-core (2.4.0)
+ rspec-expectations (2.4.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.4.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ jeweler
+ rake
+ rspec (~> 2)
20 Rakefile
@@ -0,0 +1,20 @@
+task :default => :spec
+require "rspec/core/rake_task"
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.rspec_opts = '--backtrace --color'
+end
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gem|
+ gem.name = 'rup'
+ gem.summary = "Ruby pipe helper"
+ gem.email = "michael@grosser.it"
+ gem.homepage = "http://github.com/grosser/#{gem.name}"
+ gem.authors = ["Michael Grosser"]
+ end
+
+ Jeweler::GemcutterTasks.new
+rescue LoadError
+ puts "Jeweler, or one of its dependencies, is not available. Install it with: gem install jeweler"
+end
15 Readme.md
@@ -0,0 +1,15 @@
+Ruby pipe helper
+
+Install
+=======
+ sudo gem install rup
+
+Usage
+=====
+ CODE_EXAMPLE
+
+Author
+======
+[Michael Grosser](http://grosser.it)
+grosser.michael@gmail.com
+Hereby placed under public domain, do what you want, just do not hold me accountable...
1  VERSION
@@ -0,0 +1 @@
+0.0.0
3  lib/rup.rb
@@ -0,0 +1,3 @@
+class Rup
+ VERSION = File.read( File.join(File.dirname(__FILE__),'..','VERSION') ).strip
+end
28 rup.gemspec
@@ -0,0 +1,28 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{rup}
+ s.version = "0.0.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Michael Grosser"]
+ s.date = %q{2011-04-15}
+ s.email = %q{michael@grosser.it}
+ s.homepage = %q{http://github.com/grosser/rup}
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.4.2}
+ s.summary = %q{Ruby pipe helper}
+
+ if s.respond_to? :specification_version then
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ else
+ end
+ else
+ end
+end
+
7 spec/rup_spec.rb
@@ -0,0 +1,7 @@
+require File.expand_path('spec/spec_helper')
+
+describe Rup do
+ it "has a VERSION" do
+ Rup::VERSION.should =~ /^\d+\.\d+\.\d+$/
+ end
+end
2  spec/spec_helper.rb
@@ -0,0 +1,2 @@
+$LOAD_PATH.unshift 'lib'
+require 'rup'
Please sign in to comment.
Something went wrong with that request. Please try again.