@@ -2,6 +2,9 @@ lib = File.expand_path('lib', __dir__)
22$LOAD_PATH. unshift ( lib ) unless $LOAD_PATH. include? ( lib )
33require 'tnql/version'
44
5+ # We list development dependencies for all Rails versions here.
6+ # Rails version-specific dependencies can go in the relevant Gemfile.
7+ # rubocop:disable Gemspec/DevelopmentDependencies
58Gem ::Specification . new do |spec |
69 spec . name = 'tnql'
710 spec . version = Tnql ::VERSION
@@ -26,7 +29,9 @@ Gem::Specification.new do |spec|
2629 spec . add_dependency 'activesupport' , '>= 7.0' , '< 8.1'
2730 spec . add_dependency 'chronic' , '~> 0.3'
2831 spec . add_dependency 'ndr_support' , '>= 3.0' , '< 6'
29- spec . add_dependency 'treetop' , '>= 1.4.10'
32+ # treetop 1.6.14 causes errors. I think this may be a buggy release and fixed soon,
33+ # but I'll restrict the version we use for now.
34+ spec . add_dependency 'treetop' , '~> 1.6.12' , '< 1.6.14'
3035
3136 spec . add_development_dependency 'bundler'
3237 spec . add_development_dependency 'guard'
@@ -38,3 +43,4 @@ Gem::Specification.new do |spec|
3843 spec . add_development_dependency 'rake'
3944 spec . add_development_dependency 'terminal-notifier-guard' if RUBY_PLATFORM =~ /darwin/
4045end
46+ # rubocop:enable Gemspec/DevelopmentDependencies
0 commit comments