Commit 4f3fc5b35552c9f2c91a7b460a6e2cf863623391

Authored by mikem
Committed by Julian Langschaedel
1 parent dc0f030cf8

added test group to Gemfile so the simple coverage gem works

Showing 2 changed files with 13 additions and 2 deletions Side-by-side Diff

... ... @@ -3,14 +3,24 @@
3 3 # Specify your gem's dependencies in bitcoin-ruby.gemspec
4 4 gemspec
5 5  
  6 +group :test do
  7 + gem 'sqlite3', :platforms => :ruby
  8 +
  9 + gem 'bacon', '>= 1.2.0'
  10 + gem 'simplecov', :require => false
  11 +
  12 + gem 'rake', '>= 0.8.0'
  13 +end
  14 +
6 15 group :development do
7 16 gem 'eventmachine'
8 17 gem 'ffi'
9 18 gem 'log4r'
10 19 gem 'sequel'
11   - gem 'sqlite3'
12 20  
  21 + gem 'sqlite3', :platforms => :ruby, :require => false
  22 + gem 'pg', :platforms => :ruby, :require => false
  23 +
13 24 gem "rake", ">= 0.8.0"
14   - gem "bacon", ">= 1.2.0"
15 25 end
... ... @@ -104,5 +104,6 @@
104 104 exit
105 105 end
106 106 sh "bacon", *PROJECT_SPECS
  107 + system('open coverage/index.html') if RUBY_PLATFORM.include? 'darwin'
107 108 end