Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup gemfile, and make rake do something useful

  • Loading branch information...
commit 509a0f13ab5bcd2f2c050360e5b697e721212c80 1 parent 9740507
@grosser grosser authored
Showing with 9 additions and 5 deletions.
  1. +3 −1 Gemfile
  2. +4 −0 Rakefile
  3. +2 −4 powerbar.gemspec
View
4 Gemfile
@@ -1,4 +1,6 @@
-source "http://rubygems.org"
+source :rubygems
# Specify your gem's dependencies in powerbar.gemspec
gemspec
+
+gem "rake"
View
4 Rakefile
@@ -1 +1,5 @@
require "bundler/gem_tasks"
+
+task :default do
+ sh "ruby bin/powerbar-demo"
+end
View
6 powerbar.gemspec
@@ -1,5 +1,5 @@
# -*- encoding: utf-8 -*-
-$:.push File.expand_path("../lib", __FILE__)
+$LOAD_PATH.push File.expand_path("../lib", __FILE__)
require "powerbar/version"
Gem::Specification.new do |s|
@@ -11,6 +11,7 @@ Gem::Specification.new do |s|
s.summary = %q{The last progressbar-library you'll ever need}
s.description = %q{The last progressbar-library you'll ever need}
s.required_ruby_version = ">= 1.9.2"
+ s.license = "MIT"
s.add_dependency "ansi", "~> 1.4.0"
s.add_dependency "hashie", ">= 1.1.0"
@@ -19,7 +20,4 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
-
- # s.add_development_dependency "rspec"
- # s.add_runtime_dependency "rest-client"
end
Please sign in to comment.
Something went wrong with that request. Please try again.