source_position.gemspec in source_position-0.0.3 vs source_position.gemspec in source_position-0.1.0
- old
+ new
@@ -13,7 +13,13 @@
gem.test_files = gem.files.grep(%r{^(spec|features)/})
gem.name = "source_position"
gem.require_paths = ["lib"]
gem.version = SourcePosition::VERSION
+ if RUBY_VERSION < '1.9'
+ unless defined?(RUBY_ENGINE) && RUBY_ENGINE =~ /rbx/
+ gem.add_dependency 'ruby18_source_location', '~> 0.2'
+ end
+ end
+
gem.add_development_dependency 'rspec'
end