Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Apr 15, 2011
0 parents commit bbf836e
Show file tree
Hide file tree
Showing 9 changed files with 109 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -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 changes: 26 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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 changes: 20 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]"
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 changes: 15 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Ruby pipe helper

Install
=======
sudo gem install rup

Usage
=====
CODE_EXAMPLE

Author
======
[Michael Grosser](http://grosser.it)
[email protected]
Hereby placed under public domain, do what you want, just do not hold me accountable...
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.0
3 changes: 3 additions & 0 deletions lib/rup.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class Rup
VERSION = File.read( File.join(File.dirname(__FILE__),'..','VERSION') ).strip
end
28 changes: 28 additions & 0 deletions rup.gemspec
Original file line number Diff line number Diff line change
@@ -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{[email protected]}
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 changes: 7 additions & 0 deletions spec/rup_spec.rb
Original file line number Diff line number Diff line change
@@ -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 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$LOAD_PATH.unshift 'lib'
require 'rup'

0 comments on commit bbf836e

Please sign in to comment.