Skip to content

Commit

Permalink
Remove JRuby-specific gem versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Jul 19, 2015
1 parent 4b91a6f commit c8bd305
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
source "https://rubygems.org"

gem "jruby-openssl" if defined? JRUBY_VERSION
gem "rake"

gem "rack-cache", "~> 1.2"
Expand All @@ -23,8 +22,6 @@ group :test do
gem "coveralls"
gem "simplecov", ">= 0.9"
gem "json", ">= 1.8.1"
gem "mime-types", "~> 1.25", :platforms => [:jruby]
gem "rest-client", "~> 1.6.0", :platforms => [:jruby]
gem "rspec", "~> 3.0"
gem "rspec-its"
gem "rubocop"
Expand All @@ -33,7 +30,7 @@ group :test do
end

group :doc do
gem "redcarpet"
gem "kramdown"
gem "yard"
end

Expand Down
1 change: 1 addition & 0 deletions lib/http/timeout/null.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def write(data)
alias_method :<<, :write

private

# Retry reading
def rescue_readable
yield
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/http/cache_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
subject { described_class.new(:metastore => "heap:/", :entitystore => "heap:/") }

describe "#perform" do
it "calls request_performer blocck when cache miss" do
it "calls request_performer block when cache miss" do
expect do |b|
subject.perform(request, opts) do |*args|
b.to_proc.call(*args)
Expand Down

0 comments on commit c8bd305

Please sign in to comment.