[DRE-commits] [ruby-grape] 02/03: Allow release absence in Rack.release
Hleb Valoshka
tsfgnu-guest at moszumanska.debian.org
Tue Jul 7 12:47:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
tsfgnu-guest pushed a commit to branch patch-queue/master
in repository ruby-grape.
commit 2153c4e7ffbb329685bf350e76cf213abed254a0
Author: Hleb Valoshka <375gnu at gmail.com>
Date: Tue Jul 7 15:13:18 2015 +0300
Allow release absence in Rack.release
---
spec/grape/integration/rack_spec.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/spec/grape/integration/rack_spec.rb b/spec/grape/integration/rack_spec.rb
index 259deef..1b48597 100644
--- a/spec/grape/integration/rack_spec.rb
+++ b/spec/grape/integration/rack_spec.rb
@@ -21,7 +21,7 @@ describe Rack do
unless RUBY_PLATFORM == 'java'
major, minor, release = Rack.release.split('.').map(&:to_i)
- pending 'Rack 1.5.3 or 1.6.1 required' unless major >= 1 && ((minor == 5 && release >= 3) || (minor >= 6))
+ pending 'Rack 1.5.3 or 1.6.1 required' unless major >= 1 && ((minor == 5 && release && release >= 3) || (minor >= 6))
end
expect(JSON.parse(app.call(env)[2].body.first)['params_keys']).to match_array('test')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-grape.git
More information about the Pkg-ruby-extras-commits
mailing list