mirror of
https://github.com/expo/watchman.git
synced 2026-11-15 09:38:05 -10:00
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
33 lines
1.1 KiB
Ruby
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
|