Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e1df359

Browse files
committed
remove ruby2.0 support
since something seems to have broken it
1 parent 257bcdb commit e1df359

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

‎.github/workflows/test.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838
matrix:
3939
os-version: [ 'ubuntu-20.04' ]
4040
ruby-version:
41-
- '2.0'
4241
- '2.1'
4342
- '2.2'
4443
- '2.3'

‎lib/vips/image.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ def self.new_from_source source, option_string, **opts
463463
# keep a secret ref to the source object ... the libvips loader will
464464
# keep a ref to the C source object, but we need the ruby wrapper object
465465
# to stay alive too
466-
result.references << source ifresult.is_a?(Vips::Image)
466+
result.references << source
467467

468468
result
469469
end

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /