-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from stevenkaras/steven-dev
Steven dev
- Loading branch information
Showing
16 changed files
with
89 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
require 'rake/testtask' | ||
|
||
require File.expand_path("../lib/grib/version", __FILE__) | ||
|
||
Rake::TestTask.new do |t| | ||
t.test_files = FileList['test/*_test.rb'] | ||
t.test_files = FileList['test/test_*.rb'] | ||
# t.test_files = FileList['spec/*_spec.rb'] | ||
# t.test_files = FileList['spec/spec_*.rb'] | ||
# t.libs << 'spec' | ||
t.libs << 'test' | ||
end | ||
|
||
desc "Run tests" | ||
task :default => :test | ||
|
||
desc "Build the gem" | ||
task :build do | ||
system "gem build grib.gemspec" | ||
end | ||
|
||
task :gem => :build do | ||
system "gem uninstall -a grib" | ||
system "gem install grib-#{Grib::VERSION}.gem" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require File.expand_path("../../lib/grib", __FILE__) | ||
|
||
Grib.new.run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
require File.expand_path("../lib/grib/version", __FILE__) | ||
|
||
Gem::Specification.new do |s| | ||
s.version = Grib::VERSION | ||
|
||
s.name = "grib" | ||
s.summary = "Git RevIewBoard script" | ||
s.description = "Wraps reviewboard's post-review command line tool to remember previous invocations, and do some basic sanity checks prior to posting a review" | ||
|
||
s.authors = ["Dan Carmon"] | ||
s.email = "dan.carmon@trusteer.com" | ||
s.homepage = "http://dancar.github.com/grib" | ||
s.license = "MIT" | ||
|
||
s.files = [] | ||
s.files += Dir["lib/**/*.rb", "tests/**/*.rb"] | ||
s.files += Dir["[A-Z]*"] | ||
|
||
s.bindir = "bin" | ||
s.executables = Dir["bin/*"].map { |e| File.basename(e) } | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
class Grib | ||
VERSION = "2.1.1" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.