Files
watchman/ruby/ruby-watchman/ruby-watchman.gemspec
Greg Hurrell b3eb41e023 Re-enable Ruby tests, pegging to RSpec 3.0
These started failing when RSpec 3.0 came out, so adapt the specs to
make the tests pass under RSpec 3.0, and peg the dependency to that
revision so that we don't have to fix this again in the future.

Note that we have to run `bundle install` manually because Travis will
only do it for us automatically if it detects a Gemfile in the root
level of the repo:

http://docs.travis-ci.com/user/languages/ruby/

Sample failure:

https://travis-ci.org/facebook/watchman/jobs/29939087

Additionally, ensure we never try a `bundle exec` without first
confirming that the `bundle` is present:

https://travis-ci.org/facebook/watchman/jobs/29939419

Fixes: https://github.com/facebook/watchman/issues/41
2014-07-15 17:43:07 -07:00

33 lines
1.1 KiB
Ruby

# Copyright (c) 2014-present Facebook. All Rights Reserved.
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'ruby-watchman/version'
Gem::Specification.new do |s|
s.name = 'ruby-watchman'
s.version = RubyWatchman::VERSION
s.authors = ['Greg Hurrell']
s.email = ['[email protected]']
s.summary = 'Ruby implementation of Watchman binary protocol'
s.description = <<-DESC.gsub(/^\s+/, '')
A fast implementation of the Watchman binary protocol written in C.
DESC
s.homepage = 'https://github.com/facebook/watchman/tree/master/ruby/ruby-watchman'
s.license = 'BSD'
s.extensions = 'ext/ruby-watchman/extconf.rb'
s.files = Dir[
'ext/ruby-watchman/**/*.{c,h,rb}',
'ext/ruby-watchman/depend',
'lib/**/*.rb',
'spec/**/*.rb'
]
s.test_files = s.files.grep(%r{^spec/})
s.require_paths = %w[lib]
s.add_development_dependency 'bundler', '~> 1.5'
s.add_development_dependency 'rake'
s.add_development_dependency 'rspec', '3.0.0'
end