rmagick 3.2.0 → 4.3.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rmagick might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.codeclimate.yml +63 -0
- data/.devcontainer/Dockerfile +14 -0
- data/.devcontainer/ImageMagick6/devcontainer.json +11 -0
- data/.devcontainer/devcontainer.json +11 -0
- data/.devcontainer/setup-repo.sh +10 -0
- data/.devcontainer/setup-user.sh +45 -0
- data/.editorconfig +3 -0
- data/.github/ISSUE_TEMPLATE.md +17 -0
- data/.github/workflows/ci.yml +79 -0
- data/.gitignore +3 -1
- data/.rspec +1 -0
- data/.rubocop.yml +24 -0
- data/.rubocop_todo.yml +151 -297
- data/.yardopts +5 -0
- data/CHANGELOG.md +233 -0
- data/CODE_OF_CONDUCT.md +122 -7
- data/CONTRIBUTING.md +14 -10
- data/README.md +326 -0
- data/Rakefile +16 -22
- data/before_install_linux.sh +22 -28
- data/before_install_osx.sh +57 -2
- data/ext/RMagick/extconf.rb +149 -105
- data/ext/RMagick/rmagick.c +77 -104
- data/ext/RMagick/rmagick.h +121 -103
- data/ext/RMagick/rmdraw.c +364 -436
- data/ext/RMagick/rmenum.c +106 -114
- data/ext/RMagick/rmfill.c +149 -70
- data/ext/RMagick/rmilist.c +225 -367
- data/ext/RMagick/rmimage.c +4751 -4405
- data/ext/RMagick/rminfo.c +574 -787
- data/ext/RMagick/rmkinfo.c +51 -121
- data/ext/RMagick/rmmain.c +454 -286
- data/ext/RMagick/rmmontage.c +64 -130
- data/ext/RMagick/rmpixel.c +488 -437
- data/ext/RMagick/rmstruct.c +83 -96
- data/ext/RMagick/rmutil.c +302 -214
- data/lib/rmagick/version.rb +1 -1
- data/lib/rmagick_internal.rb +138 -93
- data/lib/rvg/clippath.rb +2 -1
- data/lib/rvg/container.rb +10 -5
- data/lib/rvg/describable.rb +1 -1
- data/lib/rvg/embellishable.rb +5 -4
- data/lib/rvg/misc.rb +15 -12
- data/lib/rvg/paint.rb +2 -1
- data/lib/rvg/pathdata.rb +12 -11
- data/lib/rvg/rvg.rb +12 -8
- data/lib/rvg/stylable.rb +9 -7
- data/lib/rvg/text.rb +11 -6
- data/lib/rvg/transformable.rb +3 -2
- data/lib/rvg/units.rb +1 -1
- data/rmagick.gemspec +10 -11
- metadata +52 -423
- data/.appveyor.yml +0 -45
- data/.circleci/config.yml +0 -56
- data/.ruby-version +0 -1
- data/.simplecov +0 -27
- data/.travis.yml +0 -62
- data/Doxyfile +0 -1514
- data/README.textile +0 -259
- data/benchmarks/memory/README.md +0 -50
- data/benchmarks/memory/image_new.rb +0 -8
- data/benchmarks/memory/rmagick.gnuplot +0 -16
- data/doc/.cvsignore +0 -1
- data/doc/comtasks.html +0 -287
- data/doc/constants.html +0 -1581
- data/doc/css/doc.css +0 -299
- data/doc/css/popup.css +0 -34
- data/doc/css/ref.css +0 -67
- data/doc/draw.html +0 -3272
- data/doc/ex/InitialCoords.rb +0 -22
- data/doc/ex/NewCoordSys.rb +0 -30
- data/doc/ex/OrigCoordSys.rb +0 -16
- data/doc/ex/PreserveAspectRatio.rb +0 -204
- data/doc/ex/RotateScale.rb +0 -36
- data/doc/ex/Skew.rb +0 -38
- data/doc/ex/Use01.rb +0 -15
- data/doc/ex/Use02.rb +0 -20
- data/doc/ex/Use03.rb +0 -16
- data/doc/ex/ViewBox.rb +0 -31
- data/doc/ex/adaptive_threshold.rb +0 -9
- data/doc/ex/add_noise.rb +0 -16
- data/doc/ex/affine.rb +0 -48
- data/doc/ex/affine_transform.rb +0 -20
- data/doc/ex/arc.rb +0 -49
- data/doc/ex/arcpath.rb +0 -32
- data/doc/ex/arcs01.rb +0 -28
- data/doc/ex/arcs02.rb +0 -59
- data/doc/ex/average.rb +0 -15
- data/doc/ex/axes.rb +0 -64
- data/doc/ex/baseline_shift01.rb +0 -17
- data/doc/ex/bilevel_channel.rb +0 -8
- data/doc/ex/blur_image.rb +0 -12
- data/doc/ex/border.rb +0 -10
- data/doc/ex/bounding_box.rb +0 -42
- data/doc/ex/cbezier1.rb +0 -41
- data/doc/ex/cbezier2.rb +0 -41
- data/doc/ex/cbezier3.rb +0 -41
- data/doc/ex/cbezier4.rb +0 -42
- data/doc/ex/cbezier5.rb +0 -42
- data/doc/ex/cbezier6.rb +0 -53
- data/doc/ex/channel.rb +0 -25
- data/doc/ex/charcoal.rb +0 -12
- data/doc/ex/chop.rb +0 -29
- data/doc/ex/circle.rb +0 -33
- data/doc/ex/circle01.rb +0 -16
- data/doc/ex/clip_path.rb +0 -60
- data/doc/ex/coalesce.rb +0 -57
- data/doc/ex/color_fill_to_border.rb +0 -29
- data/doc/ex/color_floodfill.rb +0 -28
- data/doc/ex/color_histogram.rb +0 -47
- data/doc/ex/color_reset.rb +0 -11
- data/doc/ex/colorize.rb +0 -16
- data/doc/ex/colors.rb +0 -64
- data/doc/ex/compose_mask.rb +0 -22
- data/doc/ex/composite.rb +0 -133
- data/doc/ex/composite_layers.rb +0 -52
- data/doc/ex/composite_tiled.rb +0 -21
- data/doc/ex/contrast.rb +0 -36
- data/doc/ex/crop.rb +0 -31
- data/doc/ex/crop_with_gravity.rb +0 -42
- data/doc/ex/cubic01.rb +0 -43
- data/doc/ex/cubic02.rb +0 -91
- data/doc/ex/cycle_colormap.rb +0 -21
- data/doc/ex/dissolve.rb +0 -12
- data/doc/ex/drawcomp.rb +0 -41
- data/doc/ex/drop_shadow.rb +0 -60
- data/doc/ex/edge.rb +0 -11
- data/doc/ex/ellipse.rb +0 -45
- data/doc/ex/ellipse01.rb +0 -21
- data/doc/ex/emboss.rb +0 -11
- data/doc/ex/enhance.rb +0 -28
- data/doc/ex/equalize.rb +0 -11
- data/doc/ex/evenodd.rb +0 -42
- data/doc/ex/fill_pattern.rb +0 -23
- data/doc/ex/flatten_images.rb +0 -36
- data/doc/ex/flip.rb +0 -11
- data/doc/ex/flop.rb +0 -11
- data/doc/ex/font_styles.rb +0 -32
- data/doc/ex/fonts.rb +0 -16
- data/doc/ex/frame.rb +0 -12
- data/doc/ex/gaussian_blur.rb +0 -11
- data/doc/ex/get_multiline_type_metrics.rb +0 -41
- data/doc/ex/get_pixels.rb +0 -45
- data/doc/ex/get_type_metrics.rb +0 -142
- data/doc/ex/gradientfill.rb +0 -27
- data/doc/ex/grav.rb +0 -45
- data/doc/ex/gravity.rb +0 -78
- data/doc/ex/group.rb +0 -26
- data/doc/ex/hatchfill.rb +0 -27
- data/doc/ex/image.rb +0 -44
- data/doc/ex/images/Apple.miff +0 -0
- data/doc/ex/images/Ballerina.jpg +0 -0
- data/doc/ex/images/Ballerina3.jpg +0 -0
- data/doc/ex/images/Button_0.gif +0 -0
- data/doc/ex/images/Button_1.gif +0 -0
- data/doc/ex/images/Button_2.gif +0 -0
- data/doc/ex/images/Button_3.gif +0 -0
- data/doc/ex/images/Button_4.gif +0 -0
- data/doc/ex/images/Button_5.gif +0 -0
- data/doc/ex/images/Button_6.gif +0 -0
- data/doc/ex/images/Button_7.gif +0 -0
- data/doc/ex/images/Button_8.gif +0 -0
- data/doc/ex/images/Button_9.gif +0 -0
- data/doc/ex/images/Button_A.gif +0 -0
- data/doc/ex/images/Button_B.gif +0 -0
- data/doc/ex/images/Button_C.gif +0 -0
- data/doc/ex/images/Button_D.gif +0 -0
- data/doc/ex/images/Button_E.gif +0 -0
- data/doc/ex/images/Button_F.gif +0 -0
- data/doc/ex/images/Button_G.gif +0 -0
- data/doc/ex/images/Button_H.gif +0 -0
- data/doc/ex/images/Button_I.gif +0 -0
- data/doc/ex/images/Button_J.gif +0 -0
- data/doc/ex/images/Button_K.gif +0 -0
- data/doc/ex/images/Button_L.gif +0 -0
- data/doc/ex/images/Button_M.gif +0 -0
- data/doc/ex/images/Button_N.gif +0 -0
- data/doc/ex/images/Button_O.gif +0 -0
- data/doc/ex/images/Button_P.gif +0 -0
- data/doc/ex/images/Button_Q.gif +0 -0
- data/doc/ex/images/Button_R.gif +0 -0
- data/doc/ex/images/Button_S.gif +0 -0
- data/doc/ex/images/Button_T.gif +0 -0
- data/doc/ex/images/Button_U.gif +0 -0
- data/doc/ex/images/Button_V.gif +0 -0
- data/doc/ex/images/Button_W.gif +0 -0
- data/doc/ex/images/Button_X.gif +0 -0
- data/doc/ex/images/Button_Y.gif +0 -0
- data/doc/ex/images/Button_Z.gif +0 -0
- data/doc/ex/images/Cheetah.jpg +0 -0
- data/doc/ex/images/Coffee.png +0 -0
- data/doc/ex/images/Flower_Hat.jpg +0 -0
- data/doc/ex/images/Gold_Statue.jpg +0 -0
- data/doc/ex/images/Hot_Air_Balloons.jpg +0 -0
- data/doc/ex/images/Hot_Air_Balloons_H.jpg +0 -0
- data/doc/ex/images/Leaf.miff +0 -0
- data/doc/ex/images/No.png +0 -0
- data/doc/ex/images/Polynesia.jpg +0 -0
- data/doc/ex/images/Red_Rocks.jpg +0 -0
- data/doc/ex/images/Rocks_On_Beach.miff +0 -0
- data/doc/ex/images/Shorts.jpg +0 -0
- data/doc/ex/images/Snake.png +0 -0
- data/doc/ex/images/Violin.jpg +0 -0
- data/doc/ex/images/Yellow_Rose.miff +0 -0
- data/doc/ex/images/big-duck.gif +0 -0
- data/doc/ex/images/duck.gif +0 -0
- data/doc/ex/images/duck0.gif +0 -0
- data/doc/ex/images/duck1.gif +0 -0
- data/doc/ex/images/duck10.gif +0 -0
- data/doc/ex/images/duck11.gif +0 -0
- data/doc/ex/images/duck12.gif +0 -0
- data/doc/ex/images/duck13.gif +0 -0
- data/doc/ex/images/duck14.gif +0 -0
- data/doc/ex/images/duck15.gif +0 -0
- data/doc/ex/images/duck2.gif +0 -0
- data/doc/ex/images/duck3.gif +0 -0
- data/doc/ex/images/duck4.gif +0 -0
- data/doc/ex/images/duck5.gif +0 -0
- data/doc/ex/images/duck6.gif +0 -0
- data/doc/ex/images/duck7.gif +0 -0
- data/doc/ex/images/duck8.gif +0 -0
- data/doc/ex/images/duck9.gif +0 -0
- data/doc/ex/images/graydient230x6.gif +0 -0
- data/doc/ex/images/image_with_profile.jpg +0 -0
- data/doc/ex/images/logo400x83.gif +0 -0
- data/doc/ex/images/model.miff +0 -0
- data/doc/ex/images/notimplemented.gif +0 -0
- data/doc/ex/images/smile.miff +0 -0
- data/doc/ex/images/spin.gif +0 -0
- data/doc/ex/implode.rb +0 -34
- data/doc/ex/level.rb +0 -11
- data/doc/ex/level_colors.rb +0 -11
- data/doc/ex/line.rb +0 -41
- data/doc/ex/line01.rb +0 -21
- data/doc/ex/mask.rb +0 -35
- data/doc/ex/matte_fill_to_border.rb +0 -39
- data/doc/ex/matte_floodfill.rb +0 -32
- data/doc/ex/matte_replace.rb +0 -39
- data/doc/ex/median_filter.rb +0 -28
- data/doc/ex/modulate.rb +0 -11
- data/doc/ex/mono.rb +0 -23
- data/doc/ex/morph.rb +0 -25
- data/doc/ex/mosaic.rb +0 -37
- data/doc/ex/motion_blur.rb +0 -11
- data/doc/ex/negate.rb +0 -11
- data/doc/ex/negate_channel.rb +0 -9
- data/doc/ex/nested_rvg.rb +0 -21
- data/doc/ex/nonzero.rb +0 -42
- data/doc/ex/normalize.rb +0 -11
- data/doc/ex/oil_paint.rb +0 -11
- data/doc/ex/opacity.rb +0 -37
- data/doc/ex/ordered_dither.rb +0 -11
- data/doc/ex/path.rb +0 -63
- data/doc/ex/pattern1.rb +0 -25
- data/doc/ex/pattern2.rb +0 -26
- data/doc/ex/polaroid.rb +0 -26
- data/doc/ex/polygon.rb +0 -23
- data/doc/ex/polygon01.rb +0 -21
- data/doc/ex/polyline.rb +0 -22
- data/doc/ex/polyline01.rb +0 -21
- data/doc/ex/posterize.rb +0 -8
- data/doc/ex/preview.rb +0 -8
- data/doc/ex/qbezierpath.rb +0 -52
- data/doc/ex/quad01.rb +0 -34
- data/doc/ex/quantize-m.rb +0 -25
- data/doc/ex/radial_blur.rb +0 -9
- data/doc/ex/raise.rb +0 -8
- data/doc/ex/random_threshold_channel.rb +0 -13
- data/doc/ex/rect01.rb +0 -14
- data/doc/ex/rect02.rb +0 -20
- data/doc/ex/rectangle.rb +0 -34
- data/doc/ex/reduce_noise.rb +0 -28
- data/doc/ex/remap.rb +0 -11
- data/doc/ex/remap_images.rb +0 -19
- data/doc/ex/resize_to_fill.rb +0 -8
- data/doc/ex/resize_to_fit.rb +0 -8
- data/doc/ex/roll.rb +0 -9
- data/doc/ex/rotate.rb +0 -44
- data/doc/ex/rotate_f.rb +0 -14
- data/doc/ex/roundrect.rb +0 -33
- data/doc/ex/rubyname.rb +0 -30
- data/doc/ex/rvg_clippath.rb +0 -12
- data/doc/ex/rvg_linecap.rb +0 -42
- data/doc/ex/rvg_linejoin.rb +0 -40
- data/doc/ex/rvg_opacity.rb +0 -18
- data/doc/ex/rvg_pattern.rb +0 -26
- data/doc/ex/rvg_stroke_dasharray.rb +0 -11
- data/doc/ex/segment.rb +0 -11
- data/doc/ex/sepiatone.rb +0 -7
- data/doc/ex/shade.rb +0 -11
- data/doc/ex/shadow.rb +0 -30
- data/doc/ex/shave.rb +0 -15
- data/doc/ex/shear.rb +0 -10
- data/doc/ex/sketch.rb +0 -17
- data/doc/ex/skewx.rb +0 -51
- data/doc/ex/skewy.rb +0 -47
- data/doc/ex/smile.rb +0 -126
- data/doc/ex/solarize.rb +0 -11
- data/doc/ex/sparse_color.rb +0 -55
- data/doc/ex/splice.rb +0 -8
- data/doc/ex/spread.rb +0 -11
- data/doc/ex/stegano.rb +0 -54
- data/doc/ex/stroke_dasharray.rb +0 -42
- data/doc/ex/stroke_fill.rb +0 -10
- data/doc/ex/stroke_linecap.rb +0 -44
- data/doc/ex/stroke_linejoin.rb +0 -48
- data/doc/ex/stroke_width.rb +0 -49
- data/doc/ex/swirl.rb +0 -17
- data/doc/ex/text.rb +0 -37
- data/doc/ex/text01.rb +0 -16
- data/doc/ex/text_align.rb +0 -36
- data/doc/ex/text_antialias.rb +0 -37
- data/doc/ex/text_styles.rb +0 -19
- data/doc/ex/text_undercolor.rb +0 -28
- data/doc/ex/texture_fill_to_border.rb +0 -34
- data/doc/ex/texture_floodfill.rb +0 -32
- data/doc/ex/texturefill.rb +0 -24
- data/doc/ex/threshold.rb +0 -13
- data/doc/ex/to_blob.rb +0 -13
- data/doc/ex/translate.rb +0 -39
- data/doc/ex/transparent.rb +0 -38
- data/doc/ex/transpose.rb +0 -9
- data/doc/ex/transverse.rb +0 -9
- data/doc/ex/tref01.rb +0 -24
- data/doc/ex/triangle01.rb +0 -15
- data/doc/ex/trim.rb +0 -23
- data/doc/ex/tspan01.rb +0 -17
- data/doc/ex/tspan02.rb +0 -17
- data/doc/ex/tspan03.rb +0 -19
- data/doc/ex/unsharp_mask.rb +0 -28
- data/doc/ex/viewex.rb +0 -33
- data/doc/ex/vignette.rb +0 -12
- data/doc/ex/watermark.rb +0 -27
- data/doc/ex/wave.rb +0 -9
- data/doc/ex/wet_floor.rb +0 -58
- data/doc/ex/writing_mode01.rb +0 -26
- data/doc/ex/writing_mode02.rb +0 -26
- data/doc/ilist.html +0 -2056
- data/doc/image1.html +0 -4680
- data/doc/image2.html +0 -3665
- data/doc/image3.html +0 -4522
- data/doc/imageattrs.html +0 -1638
- data/doc/imusage.html +0 -514
- data/doc/index.html +0 -416
- data/doc/info.html +0 -1499
- data/doc/magick.html +0 -570
- data/doc/optequiv.html +0 -2435
- data/doc/rvg.html +0 -975
- data/doc/rvgclip.html +0 -248
- data/doc/rvggroup.html +0 -305
- data/doc/rvgimage.html +0 -289
- data/doc/rvgpattern.html +0 -475
- data/doc/rvgshape.html +0 -406
- data/doc/rvgstyle.html +0 -270
- data/doc/rvgtext.html +0 -465
- data/doc/rvgtspan.html +0 -238
- data/doc/rvgtut.html +0 -530
- data/doc/rvguse.html +0 -145
- data/doc/rvgxform.html +0 -294
- data/doc/scripts/doc.js +0 -22
- data/doc/scripts/stripeTables.js +0 -23
- data/doc/struct.html +0 -1339
- data/doc/usage.html +0 -1621
- data/examples/constitute.rb +0 -7
- data/examples/crop_with_gravity.rb +0 -42
- data/examples/demo.rb +0 -323
- data/examples/describe.rb +0 -41
- data/examples/find_similar_region.rb +0 -34
- data/examples/histogram.rb +0 -312
- data/examples/identify.rb +0 -174
- data/examples/image_opacity.rb +0 -28
- data/examples/import_export.rb +0 -31
- data/examples/pattern_fill.rb +0 -37
- data/examples/rotating_text.rb +0 -45
- data/examples/spinner.rb +0 -49
- data/examples/thumbnail.rb +0 -64
- data/examples/vignette.rb +0 -78
- data/lib/obsolete.rb +0 -66
- data/spec/rmagick/ImageList1_spec.rb +0 -24
- data/spec/rmagick/draw_spec.rb +0 -155
- data/spec/rmagick/image/blue_shift_spec.rb +0 -14
- data/spec/rmagick/image/channel_entropy_spec.rb +0 -9
- data/spec/rmagick/image/composite_spec.rb +0 -72
- data/spec/rmagick/image/constitute_spec.rb +0 -13
- data/spec/rmagick/image/dispatch_spec.rb +0 -16
- data/spec/rmagick/image/from_blob_spec.rb +0 -12
- data/spec/rmagick/image/ping_spec.rb +0 -12
- data/spec/rmagick/image/properties_spec.rb +0 -27
- data/spec/rmagick/image/read_spec.rb +0 -28
- data/spec/spec_helper.rb +0 -10
- data/spec/support/issue_200/app.rb +0 -8
- data/test/Draw.rb +0 -351
- data/test/Enum.rb +0 -228
- data/test/Fill.rb +0 -93
- data/test/Image1.rb +0 -627
- data/test/Image2.rb +0 -1426
- data/test/Image3.rb +0 -1091
- data/test/ImageList1.rb +0 -858
- data/test/ImageList2.rb +0 -406
- data/test/Image_attributes.rb +0 -666
- data/test/Import_Export.rb +0 -115
- data/test/Info.rb +0 -444
- data/test/KernelInfo.rb +0 -67
- data/test/Magick.rb +0 -311
- data/test/Pixel.rb +0 -285
- data/test/PolaroidOptions.rb +0 -23
- data/test/Preview.rb +0 -26
- data/test/Struct.rb +0 -45
- data/test/appearance/Montage.rb +0 -26
- data/test/appearance/appearance_assertion.rb +0 -13
- data/test/appearance/expected/montage_border_color.jpg +0 -0
- data/test/cmyk.icm +0 -0
- data/test/lib/Obsolete.rb +0 -30
- data/test/lib/internal/Draw.rb +0 -823
- data/test/lib/internal/Geometry.rb +0 -98
- data/test/lib/internal/Magick.rb +0 -40
- data/test/srgb.icm +0 -0
- data/test/test_all_basic.rb +0 -49
- data/test/tmpnam_test.rb +0 -50
metadata
CHANGED
@@ -1,18 +1,32 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rmagick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 4.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Hunter
|
8
8
|
- Omer Bar-or
|
9
9
|
- Benjamin Thomas
|
10
10
|
- Moncef Maiza
|
11
|
-
autorequire:
|
11
|
+
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2022-09-23 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: pry
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - "~>"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0.14'
|
23
|
+
type: :development
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.14'
|
16
30
|
- !ruby/object:Gem::Dependency
|
17
31
|
name: rake-compiler
|
18
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -61,28 +75,42 @@ dependencies:
|
|
61
75
|
requirements:
|
62
76
|
- - "~>"
|
63
77
|
- !ruby/object:Gem::Version
|
64
|
-
version: 0.
|
78
|
+
version: 0.81.0
|
65
79
|
type: :development
|
66
80
|
prerelease: false
|
67
81
|
version_requirements: !ruby/object:Gem::Requirement
|
68
82
|
requirements:
|
69
83
|
- - "~>"
|
70
84
|
- !ruby/object:Gem::Version
|
71
|
-
version: 0.
|
85
|
+
version: 0.81.0
|
72
86
|
- !ruby/object:Gem::Dependency
|
73
87
|
name: rubocop-rspec
|
74
88
|
requirement: !ruby/object:Gem::Requirement
|
75
89
|
requirements:
|
76
90
|
- - "~>"
|
77
91
|
- !ruby/object:Gem::Version
|
78
|
-
version: 1.
|
92
|
+
version: 1.38.1
|
93
|
+
type: :development
|
94
|
+
prerelease: false
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: 1.38.1
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
name: rubocop-performance
|
102
|
+
requirement: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - "~>"
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: 1.5.2
|
79
107
|
type: :development
|
80
108
|
prerelease: false
|
81
109
|
version_requirements: !ruby/object:Gem::Requirement
|
82
110
|
requirements:
|
83
111
|
- - "~>"
|
84
112
|
- !ruby/object:Gem::Version
|
85
|
-
version: 1.
|
113
|
+
version: 1.5.2
|
86
114
|
- !ruby/object:Gem::Dependency
|
87
115
|
name: simplecov
|
88
116
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,19 +126,19 @@ dependencies:
|
|
98
126
|
- !ruby/object:Gem::Version
|
99
127
|
version: 0.16.1
|
100
128
|
- !ruby/object:Gem::Dependency
|
101
|
-
name:
|
129
|
+
name: yard
|
102
130
|
requirement: !ruby/object:Gem::Requirement
|
103
131
|
requirements:
|
104
132
|
- - "~>"
|
105
133
|
- !ruby/object:Gem::Version
|
106
|
-
version:
|
134
|
+
version: 0.9.24
|
107
135
|
type: :development
|
108
136
|
prerelease: false
|
109
137
|
version_requirements: !ruby/object:Gem::Requirement
|
110
138
|
requirements:
|
111
139
|
- - "~>"
|
112
140
|
- !ruby/object:Gem::Version
|
113
|
-
version:
|
141
|
+
version: 0.9.24
|
114
142
|
description: RMagick is an interface between Ruby and ImageMagick.
|
115
143
|
email: github@benjaminfleischer.com
|
116
144
|
executables: []
|
@@ -118,345 +146,30 @@ extensions:
|
|
118
146
|
- ext/RMagick/extconf.rb
|
119
147
|
extra_rdoc_files: []
|
120
148
|
files:
|
121
|
-
- ".
|
122
|
-
- ".
|
149
|
+
- ".codeclimate.yml"
|
150
|
+
- ".devcontainer/Dockerfile"
|
151
|
+
- ".devcontainer/ImageMagick6/devcontainer.json"
|
152
|
+
- ".devcontainer/devcontainer.json"
|
153
|
+
- ".devcontainer/setup-repo.sh"
|
154
|
+
- ".devcontainer/setup-user.sh"
|
123
155
|
- ".editorconfig"
|
156
|
+
- ".github/ISSUE_TEMPLATE.md"
|
157
|
+
- ".github/workflows/ci.yml"
|
124
158
|
- ".gitignore"
|
125
159
|
- ".rspec"
|
126
160
|
- ".rubocop.yml"
|
127
161
|
- ".rubocop_todo.yml"
|
128
|
-
- ".
|
129
|
-
- ".simplecov"
|
130
|
-
- ".travis.yml"
|
162
|
+
- ".yardopts"
|
131
163
|
- CHANGELOG.md
|
132
164
|
- CODE_OF_CONDUCT.md
|
133
165
|
- CONTRIBUTING.md
|
134
|
-
- Doxyfile
|
135
166
|
- Gemfile
|
136
167
|
- LICENSE
|
137
|
-
- README.
|
168
|
+
- README.md
|
138
169
|
- Rakefile
|
139
170
|
- before_install_linux.sh
|
140
171
|
- before_install_osx.sh
|
141
|
-
- benchmarks/memory/README.md
|
142
|
-
- benchmarks/memory/image_new.rb
|
143
|
-
- benchmarks/memory/rmagick.gnuplot
|
144
172
|
- deprecated/RMagick.rb
|
145
|
-
- doc/.cvsignore
|
146
|
-
- doc/comtasks.html
|
147
|
-
- doc/constants.html
|
148
|
-
- doc/css/doc.css
|
149
|
-
- doc/css/popup.css
|
150
|
-
- doc/css/ref.css
|
151
|
-
- doc/draw.html
|
152
|
-
- doc/ex/InitialCoords.rb
|
153
|
-
- doc/ex/NewCoordSys.rb
|
154
|
-
- doc/ex/OrigCoordSys.rb
|
155
|
-
- doc/ex/PreserveAspectRatio.rb
|
156
|
-
- doc/ex/RotateScale.rb
|
157
|
-
- doc/ex/Skew.rb
|
158
|
-
- doc/ex/Use01.rb
|
159
|
-
- doc/ex/Use02.rb
|
160
|
-
- doc/ex/Use03.rb
|
161
|
-
- doc/ex/ViewBox.rb
|
162
|
-
- doc/ex/adaptive_threshold.rb
|
163
|
-
- doc/ex/add_noise.rb
|
164
|
-
- doc/ex/affine.rb
|
165
|
-
- doc/ex/affine_transform.rb
|
166
|
-
- doc/ex/arc.rb
|
167
|
-
- doc/ex/arcpath.rb
|
168
|
-
- doc/ex/arcs01.rb
|
169
|
-
- doc/ex/arcs02.rb
|
170
|
-
- doc/ex/average.rb
|
171
|
-
- doc/ex/axes.rb
|
172
|
-
- doc/ex/baseline_shift01.rb
|
173
|
-
- doc/ex/bilevel_channel.rb
|
174
|
-
- doc/ex/blur_image.rb
|
175
|
-
- doc/ex/border.rb
|
176
|
-
- doc/ex/bounding_box.rb
|
177
|
-
- doc/ex/cbezier1.rb
|
178
|
-
- doc/ex/cbezier2.rb
|
179
|
-
- doc/ex/cbezier3.rb
|
180
|
-
- doc/ex/cbezier4.rb
|
181
|
-
- doc/ex/cbezier5.rb
|
182
|
-
- doc/ex/cbezier6.rb
|
183
|
-
- doc/ex/channel.rb
|
184
|
-
- doc/ex/charcoal.rb
|
185
|
-
- doc/ex/chop.rb
|
186
|
-
- doc/ex/circle.rb
|
187
|
-
- doc/ex/circle01.rb
|
188
|
-
- doc/ex/clip_path.rb
|
189
|
-
- doc/ex/coalesce.rb
|
190
|
-
- doc/ex/color_fill_to_border.rb
|
191
|
-
- doc/ex/color_floodfill.rb
|
192
|
-
- doc/ex/color_histogram.rb
|
193
|
-
- doc/ex/color_reset.rb
|
194
|
-
- doc/ex/colorize.rb
|
195
|
-
- doc/ex/colors.rb
|
196
|
-
- doc/ex/compose_mask.rb
|
197
|
-
- doc/ex/composite.rb
|
198
|
-
- doc/ex/composite_layers.rb
|
199
|
-
- doc/ex/composite_tiled.rb
|
200
|
-
- doc/ex/contrast.rb
|
201
|
-
- doc/ex/crop.rb
|
202
|
-
- doc/ex/crop_with_gravity.rb
|
203
|
-
- doc/ex/cubic01.rb
|
204
|
-
- doc/ex/cubic02.rb
|
205
|
-
- doc/ex/cycle_colormap.rb
|
206
|
-
- doc/ex/dissolve.rb
|
207
|
-
- doc/ex/drawcomp.rb
|
208
|
-
- doc/ex/drop_shadow.rb
|
209
|
-
- doc/ex/edge.rb
|
210
|
-
- doc/ex/ellipse.rb
|
211
|
-
- doc/ex/ellipse01.rb
|
212
|
-
- doc/ex/emboss.rb
|
213
|
-
- doc/ex/enhance.rb
|
214
|
-
- doc/ex/equalize.rb
|
215
|
-
- doc/ex/evenodd.rb
|
216
|
-
- doc/ex/fill_pattern.rb
|
217
|
-
- doc/ex/flatten_images.rb
|
218
|
-
- doc/ex/flip.rb
|
219
|
-
- doc/ex/flop.rb
|
220
|
-
- doc/ex/font_styles.rb
|
221
|
-
- doc/ex/fonts.rb
|
222
|
-
- doc/ex/frame.rb
|
223
|
-
- doc/ex/gaussian_blur.rb
|
224
|
-
- doc/ex/get_multiline_type_metrics.rb
|
225
|
-
- doc/ex/get_pixels.rb
|
226
|
-
- doc/ex/get_type_metrics.rb
|
227
|
-
- doc/ex/gradientfill.rb
|
228
|
-
- doc/ex/grav.rb
|
229
|
-
- doc/ex/gravity.rb
|
230
|
-
- doc/ex/group.rb
|
231
|
-
- doc/ex/hatchfill.rb
|
232
|
-
- doc/ex/image.rb
|
233
|
-
- doc/ex/images/Apple.miff
|
234
|
-
- doc/ex/images/Ballerina.jpg
|
235
|
-
- doc/ex/images/Ballerina3.jpg
|
236
|
-
- doc/ex/images/Button_0.gif
|
237
|
-
- doc/ex/images/Button_1.gif
|
238
|
-
- doc/ex/images/Button_2.gif
|
239
|
-
- doc/ex/images/Button_3.gif
|
240
|
-
- doc/ex/images/Button_4.gif
|
241
|
-
- doc/ex/images/Button_5.gif
|
242
|
-
- doc/ex/images/Button_6.gif
|
243
|
-
- doc/ex/images/Button_7.gif
|
244
|
-
- doc/ex/images/Button_8.gif
|
245
|
-
- doc/ex/images/Button_9.gif
|
246
|
-
- doc/ex/images/Button_A.gif
|
247
|
-
- doc/ex/images/Button_B.gif
|
248
|
-
- doc/ex/images/Button_C.gif
|
249
|
-
- doc/ex/images/Button_D.gif
|
250
|
-
- doc/ex/images/Button_E.gif
|
251
|
-
- doc/ex/images/Button_F.gif
|
252
|
-
- doc/ex/images/Button_G.gif
|
253
|
-
- doc/ex/images/Button_H.gif
|
254
|
-
- doc/ex/images/Button_I.gif
|
255
|
-
- doc/ex/images/Button_J.gif
|
256
|
-
- doc/ex/images/Button_K.gif
|
257
|
-
- doc/ex/images/Button_L.gif
|
258
|
-
- doc/ex/images/Button_M.gif
|
259
|
-
- doc/ex/images/Button_N.gif
|
260
|
-
- doc/ex/images/Button_O.gif
|
261
|
-
- doc/ex/images/Button_P.gif
|
262
|
-
- doc/ex/images/Button_Q.gif
|
263
|
-
- doc/ex/images/Button_R.gif
|
264
|
-
- doc/ex/images/Button_S.gif
|
265
|
-
- doc/ex/images/Button_T.gif
|
266
|
-
- doc/ex/images/Button_U.gif
|
267
|
-
- doc/ex/images/Button_V.gif
|
268
|
-
- doc/ex/images/Button_W.gif
|
269
|
-
- doc/ex/images/Button_X.gif
|
270
|
-
- doc/ex/images/Button_Y.gif
|
271
|
-
- doc/ex/images/Button_Z.gif
|
272
|
-
- doc/ex/images/Cheetah.jpg
|
273
|
-
- doc/ex/images/Coffee.png
|
274
|
-
- doc/ex/images/Flower_Hat.jpg
|
275
|
-
- doc/ex/images/Gold_Statue.jpg
|
276
|
-
- doc/ex/images/Hot_Air_Balloons.jpg
|
277
|
-
- doc/ex/images/Hot_Air_Balloons_H.jpg
|
278
|
-
- doc/ex/images/Leaf.miff
|
279
|
-
- doc/ex/images/No.png
|
280
|
-
- doc/ex/images/Polynesia.jpg
|
281
|
-
- doc/ex/images/Red_Rocks.jpg
|
282
|
-
- doc/ex/images/Rocks_On_Beach.miff
|
283
|
-
- doc/ex/images/Shorts.jpg
|
284
|
-
- doc/ex/images/Snake.png
|
285
|
-
- doc/ex/images/Violin.jpg
|
286
|
-
- doc/ex/images/Yellow_Rose.miff
|
287
|
-
- doc/ex/images/big-duck.gif
|
288
|
-
- doc/ex/images/duck.gif
|
289
|
-
- doc/ex/images/duck0.gif
|
290
|
-
- doc/ex/images/duck1.gif
|
291
|
-
- doc/ex/images/duck10.gif
|
292
|
-
- doc/ex/images/duck11.gif
|
293
|
-
- doc/ex/images/duck12.gif
|
294
|
-
- doc/ex/images/duck13.gif
|
295
|
-
- doc/ex/images/duck14.gif
|
296
|
-
- doc/ex/images/duck15.gif
|
297
|
-
- doc/ex/images/duck2.gif
|
298
|
-
- doc/ex/images/duck3.gif
|
299
|
-
- doc/ex/images/duck4.gif
|
300
|
-
- doc/ex/images/duck5.gif
|
301
|
-
- doc/ex/images/duck6.gif
|
302
|
-
- doc/ex/images/duck7.gif
|
303
|
-
- doc/ex/images/duck8.gif
|
304
|
-
- doc/ex/images/duck9.gif
|
305
|
-
- doc/ex/images/graydient230x6.gif
|
306
|
-
- doc/ex/images/image_with_profile.jpg
|
307
|
-
- doc/ex/images/logo400x83.gif
|
308
|
-
- doc/ex/images/model.miff
|
309
|
-
- doc/ex/images/notimplemented.gif
|
310
|
-
- doc/ex/images/smile.miff
|
311
|
-
- doc/ex/images/spin.gif
|
312
|
-
- doc/ex/implode.rb
|
313
|
-
- doc/ex/level.rb
|
314
|
-
- doc/ex/level_colors.rb
|
315
|
-
- doc/ex/line.rb
|
316
|
-
- doc/ex/line01.rb
|
317
|
-
- doc/ex/mask.rb
|
318
|
-
- doc/ex/matte_fill_to_border.rb
|
319
|
-
- doc/ex/matte_floodfill.rb
|
320
|
-
- doc/ex/matte_replace.rb
|
321
|
-
- doc/ex/median_filter.rb
|
322
|
-
- doc/ex/modulate.rb
|
323
|
-
- doc/ex/mono.rb
|
324
|
-
- doc/ex/morph.rb
|
325
|
-
- doc/ex/mosaic.rb
|
326
|
-
- doc/ex/motion_blur.rb
|
327
|
-
- doc/ex/negate.rb
|
328
|
-
- doc/ex/negate_channel.rb
|
329
|
-
- doc/ex/nested_rvg.rb
|
330
|
-
- doc/ex/nonzero.rb
|
331
|
-
- doc/ex/normalize.rb
|
332
|
-
- doc/ex/oil_paint.rb
|
333
|
-
- doc/ex/opacity.rb
|
334
|
-
- doc/ex/ordered_dither.rb
|
335
|
-
- doc/ex/path.rb
|
336
|
-
- doc/ex/pattern1.rb
|
337
|
-
- doc/ex/pattern2.rb
|
338
|
-
- doc/ex/polaroid.rb
|
339
|
-
- doc/ex/polygon.rb
|
340
|
-
- doc/ex/polygon01.rb
|
341
|
-
- doc/ex/polyline.rb
|
342
|
-
- doc/ex/polyline01.rb
|
343
|
-
- doc/ex/posterize.rb
|
344
|
-
- doc/ex/preview.rb
|
345
|
-
- doc/ex/qbezierpath.rb
|
346
|
-
- doc/ex/quad01.rb
|
347
|
-
- doc/ex/quantize-m.rb
|
348
|
-
- doc/ex/radial_blur.rb
|
349
|
-
- doc/ex/raise.rb
|
350
|
-
- doc/ex/random_threshold_channel.rb
|
351
|
-
- doc/ex/rect01.rb
|
352
|
-
- doc/ex/rect02.rb
|
353
|
-
- doc/ex/rectangle.rb
|
354
|
-
- doc/ex/reduce_noise.rb
|
355
|
-
- doc/ex/remap.rb
|
356
|
-
- doc/ex/remap_images.rb
|
357
|
-
- doc/ex/resize_to_fill.rb
|
358
|
-
- doc/ex/resize_to_fit.rb
|
359
|
-
- doc/ex/roll.rb
|
360
|
-
- doc/ex/rotate.rb
|
361
|
-
- doc/ex/rotate_f.rb
|
362
|
-
- doc/ex/roundrect.rb
|
363
|
-
- doc/ex/rubyname.rb
|
364
|
-
- doc/ex/rvg_clippath.rb
|
365
|
-
- doc/ex/rvg_linecap.rb
|
366
|
-
- doc/ex/rvg_linejoin.rb
|
367
|
-
- doc/ex/rvg_opacity.rb
|
368
|
-
- doc/ex/rvg_pattern.rb
|
369
|
-
- doc/ex/rvg_stroke_dasharray.rb
|
370
|
-
- doc/ex/segment.rb
|
371
|
-
- doc/ex/sepiatone.rb
|
372
|
-
- doc/ex/shade.rb
|
373
|
-
- doc/ex/shadow.rb
|
374
|
-
- doc/ex/shave.rb
|
375
|
-
- doc/ex/shear.rb
|
376
|
-
- doc/ex/sketch.rb
|
377
|
-
- doc/ex/skewx.rb
|
378
|
-
- doc/ex/skewy.rb
|
379
|
-
- doc/ex/smile.rb
|
380
|
-
- doc/ex/solarize.rb
|
381
|
-
- doc/ex/sparse_color.rb
|
382
|
-
- doc/ex/splice.rb
|
383
|
-
- doc/ex/spread.rb
|
384
|
-
- doc/ex/stegano.rb
|
385
|
-
- doc/ex/stroke_dasharray.rb
|
386
|
-
- doc/ex/stroke_fill.rb
|
387
|
-
- doc/ex/stroke_linecap.rb
|
388
|
-
- doc/ex/stroke_linejoin.rb
|
389
|
-
- doc/ex/stroke_width.rb
|
390
|
-
- doc/ex/swirl.rb
|
391
|
-
- doc/ex/text.rb
|
392
|
-
- doc/ex/text01.rb
|
393
|
-
- doc/ex/text_align.rb
|
394
|
-
- doc/ex/text_antialias.rb
|
395
|
-
- doc/ex/text_styles.rb
|
396
|
-
- doc/ex/text_undercolor.rb
|
397
|
-
- doc/ex/texture_fill_to_border.rb
|
398
|
-
- doc/ex/texture_floodfill.rb
|
399
|
-
- doc/ex/texturefill.rb
|
400
|
-
- doc/ex/threshold.rb
|
401
|
-
- doc/ex/to_blob.rb
|
402
|
-
- doc/ex/translate.rb
|
403
|
-
- doc/ex/transparent.rb
|
404
|
-
- doc/ex/transpose.rb
|
405
|
-
- doc/ex/transverse.rb
|
406
|
-
- doc/ex/tref01.rb
|
407
|
-
- doc/ex/triangle01.rb
|
408
|
-
- doc/ex/trim.rb
|
409
|
-
- doc/ex/tspan01.rb
|
410
|
-
- doc/ex/tspan02.rb
|
411
|
-
- doc/ex/tspan03.rb
|
412
|
-
- doc/ex/unsharp_mask.rb
|
413
|
-
- doc/ex/viewex.rb
|
414
|
-
- doc/ex/vignette.rb
|
415
|
-
- doc/ex/watermark.rb
|
416
|
-
- doc/ex/wave.rb
|
417
|
-
- doc/ex/wet_floor.rb
|
418
|
-
- doc/ex/writing_mode01.rb
|
419
|
-
- doc/ex/writing_mode02.rb
|
420
|
-
- doc/ilist.html
|
421
|
-
- doc/image1.html
|
422
|
-
- doc/image2.html
|
423
|
-
- doc/image3.html
|
424
|
-
- doc/imageattrs.html
|
425
|
-
- doc/imusage.html
|
426
|
-
- doc/index.html
|
427
|
-
- doc/info.html
|
428
|
-
- doc/magick.html
|
429
|
-
- doc/optequiv.html
|
430
|
-
- doc/rvg.html
|
431
|
-
- doc/rvgclip.html
|
432
|
-
- doc/rvggroup.html
|
433
|
-
- doc/rvgimage.html
|
434
|
-
- doc/rvgpattern.html
|
435
|
-
- doc/rvgshape.html
|
436
|
-
- doc/rvgstyle.html
|
437
|
-
- doc/rvgtext.html
|
438
|
-
- doc/rvgtspan.html
|
439
|
-
- doc/rvgtut.html
|
440
|
-
- doc/rvguse.html
|
441
|
-
- doc/rvgxform.html
|
442
|
-
- doc/scripts/doc.js
|
443
|
-
- doc/scripts/stripeTables.js
|
444
|
-
- doc/struct.html
|
445
|
-
- doc/usage.html
|
446
|
-
- examples/constitute.rb
|
447
|
-
- examples/crop_with_gravity.rb
|
448
|
-
- examples/demo.rb
|
449
|
-
- examples/describe.rb
|
450
|
-
- examples/find_similar_region.rb
|
451
|
-
- examples/histogram.rb
|
452
|
-
- examples/identify.rb
|
453
|
-
- examples/image_opacity.rb
|
454
|
-
- examples/import_export.rb
|
455
|
-
- examples/pattern_fill.rb
|
456
|
-
- examples/rotating_text.rb
|
457
|
-
- examples/spinner.rb
|
458
|
-
- examples/thumbnail.rb
|
459
|
-
- examples/vignette.rb
|
460
173
|
- ext/RMagick/extconf.rb
|
461
174
|
- ext/RMagick/rmagick.c
|
462
175
|
- ext/RMagick/rmagick.h
|
@@ -472,7 +185,6 @@ files:
|
|
472
185
|
- ext/RMagick/rmpixel.c
|
473
186
|
- ext/RMagick/rmstruct.c
|
474
187
|
- ext/RMagick/rmutil.c
|
475
|
-
- lib/obsolete.rb
|
476
188
|
- lib/rmagick.rb
|
477
189
|
- lib/rmagick/version.rb
|
478
190
|
- lib/rmagick_internal.rb
|
@@ -491,52 +203,11 @@ files:
|
|
491
203
|
- lib/rvg/transformable.rb
|
492
204
|
- lib/rvg/units.rb
|
493
205
|
- rmagick.gemspec
|
494
|
-
- spec/rmagick/ImageList1_spec.rb
|
495
|
-
- spec/rmagick/draw_spec.rb
|
496
|
-
- spec/rmagick/image/blue_shift_spec.rb
|
497
|
-
- spec/rmagick/image/channel_entropy_spec.rb
|
498
|
-
- spec/rmagick/image/composite_spec.rb
|
499
|
-
- spec/rmagick/image/constitute_spec.rb
|
500
|
-
- spec/rmagick/image/dispatch_spec.rb
|
501
|
-
- spec/rmagick/image/from_blob_spec.rb
|
502
|
-
- spec/rmagick/image/ping_spec.rb
|
503
|
-
- spec/rmagick/image/properties_spec.rb
|
504
|
-
- spec/rmagick/image/read_spec.rb
|
505
|
-
- spec/spec_helper.rb
|
506
|
-
- spec/support/issue_200/app.rb
|
507
|
-
- test/Draw.rb
|
508
|
-
- test/Enum.rb
|
509
|
-
- test/Fill.rb
|
510
|
-
- test/Image1.rb
|
511
|
-
- test/Image2.rb
|
512
|
-
- test/Image3.rb
|
513
|
-
- test/ImageList1.rb
|
514
|
-
- test/ImageList2.rb
|
515
|
-
- test/Image_attributes.rb
|
516
|
-
- test/Import_Export.rb
|
517
|
-
- test/Info.rb
|
518
|
-
- test/KernelInfo.rb
|
519
|
-
- test/Magick.rb
|
520
|
-
- test/Pixel.rb
|
521
|
-
- test/PolaroidOptions.rb
|
522
|
-
- test/Preview.rb
|
523
|
-
- test/Struct.rb
|
524
|
-
- test/appearance/Montage.rb
|
525
|
-
- test/appearance/appearance_assertion.rb
|
526
|
-
- test/appearance/expected/montage_border_color.jpg
|
527
|
-
- test/cmyk.icm
|
528
|
-
- test/lib/Obsolete.rb
|
529
|
-
- test/lib/internal/Draw.rb
|
530
|
-
- test/lib/internal/Geometry.rb
|
531
|
-
- test/lib/internal/Magick.rb
|
532
|
-
- test/srgb.icm
|
533
|
-
- test/test_all_basic.rb
|
534
|
-
- test/tmpnam_test.rb
|
535
206
|
homepage: https://github.com/rmagick/rmagick
|
536
207
|
licenses:
|
537
208
|
- MIT
|
538
209
|
metadata: {}
|
539
|
-
post_install_message:
|
210
|
+
post_install_message:
|
540
211
|
rdoc_options: []
|
541
212
|
require_paths:
|
542
213
|
- lib
|
@@ -554,50 +225,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
554
225
|
version: '0'
|
555
226
|
requirements:
|
556
227
|
- ImageMagick 6.7.7 or later
|
557
|
-
|
558
|
-
|
559
|
-
signing_key:
|
228
|
+
rubygems_version: 3.2.32
|
229
|
+
signing_key:
|
560
230
|
specification_version: 4
|
561
231
|
summary: Ruby binding to ImageMagick
|
562
|
-
test_files:
|
563
|
-
- spec/rmagick/ImageList1_spec.rb
|
564
|
-
- spec/rmagick/draw_spec.rb
|
565
|
-
- spec/rmagick/image/blue_shift_spec.rb
|
566
|
-
- spec/rmagick/image/channel_entropy_spec.rb
|
567
|
-
- spec/rmagick/image/composite_spec.rb
|
568
|
-
- spec/rmagick/image/constitute_spec.rb
|
569
|
-
- spec/rmagick/image/dispatch_spec.rb
|
570
|
-
- spec/rmagick/image/from_blob_spec.rb
|
571
|
-
- spec/rmagick/image/ping_spec.rb
|
572
|
-
- spec/rmagick/image/properties_spec.rb
|
573
|
-
- spec/rmagick/image/read_spec.rb
|
574
|
-
- spec/spec_helper.rb
|
575
|
-
- spec/support/issue_200/app.rb
|
576
|
-
- test/Draw.rb
|
577
|
-
- test/Enum.rb
|
578
|
-
- test/Fill.rb
|
579
|
-
- test/Image1.rb
|
580
|
-
- test/Image2.rb
|
581
|
-
- test/Image3.rb
|
582
|
-
- test/ImageList1.rb
|
583
|
-
- test/ImageList2.rb
|
584
|
-
- test/Image_attributes.rb
|
585
|
-
- test/Import_Export.rb
|
586
|
-
- test/Info.rb
|
587
|
-
- test/KernelInfo.rb
|
588
|
-
- test/Magick.rb
|
589
|
-
- test/Pixel.rb
|
590
|
-
- test/PolaroidOptions.rb
|
591
|
-
- test/Preview.rb
|
592
|
-
- test/Struct.rb
|
593
|
-
- test/appearance/Montage.rb
|
594
|
-
- test/appearance/appearance_assertion.rb
|
595
|
-
- test/appearance/expected/montage_border_color.jpg
|
596
|
-
- test/cmyk.icm
|
597
|
-
- test/lib/Obsolete.rb
|
598
|
-
- test/lib/internal/Draw.rb
|
599
|
-
- test/lib/internal/Geometry.rb
|
600
|
-
- test/lib/internal/Magick.rb
|
601
|
-
- test/srgb.icm
|
602
|
-
- test/test_all_basic.rb
|
603
|
-
- test/tmpnam_test.rb
|
232
|
+
test_files: []
|
data/.appveyor.yml
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
cache:
|
2
|
-
- vendor/bundle -> .appveyor.yml
|
3
|
-
|
4
|
-
environment:
|
5
|
-
matrix:
|
6
|
-
- RUBY_VERSION: 23-x64
|
7
|
-
IMAGEMAGICK_VERSION: 6.8.9
|
8
|
-
PATCH_VERSION: 10
|
9
|
-
- RUBY_VERSION: 23-x64
|
10
|
-
IMAGEMAGICK_VERSION: 6.9.10
|
11
|
-
PATCH_VERSION: 49
|
12
|
-
- RUBY_VERSION: 24-x64
|
13
|
-
IMAGEMAGICK_VERSION: 6.8.9
|
14
|
-
PATCH_VERSION: 10
|
15
|
-
- RUBY_VERSION: 24-x64
|
16
|
-
IMAGEMAGICK_VERSION: 6.9.10
|
17
|
-
PATCH_VERSION: 49
|
18
|
-
- RUBY_VERSION: 25-x64
|
19
|
-
IMAGEMAGICK_VERSION: 6.8.9
|
20
|
-
PATCH_VERSION: 10
|
21
|
-
- RUBY_VERSION: 25-x64
|
22
|
-
IMAGEMAGICK_VERSION: 6.9.10
|
23
|
-
PATCH_VERSION: 49
|
24
|
-
- RUBY_VERSION: 26-x64
|
25
|
-
IMAGEMAGICK_VERSION: 6.8.9
|
26
|
-
PATCH_VERSION: 10
|
27
|
-
- RUBY_VERSION: 26-x64
|
28
|
-
IMAGEMAGICK_VERSION: 6.9.10
|
29
|
-
PATCH_VERSION: 49
|
30
|
-
|
31
|
-
install:
|
32
|
-
- appveyor-retry appveyor DownloadFile https://ftp.icm.edu.pl/pub/graphics/ImageMagick/binaries/ImageMagick-%IMAGEMAGICK_VERSION%-%PATCH_VERSION%-Q16-x64-dll.exe
|
33
|
-
- ImageMagick-%IMAGEMAGICK_VERSION%-%PATCH_VERSION%-Q16-x64-dll.exe /VERYSILENT /TASKS=install_Devel
|
34
|
-
- SET PATH=C:\Ruby%RUBY_VERSION%\bin;C:\Program Files\ImageMagick-%IMAGEMAGICK_VERSION%-Q16;%PATH%
|
35
|
-
- bundle install --path=vendor/bundle
|
36
|
-
|
37
|
-
build: off
|
38
|
-
|
39
|
-
before_test:
|
40
|
-
- ruby -v
|
41
|
-
- gem -v
|
42
|
-
- bundle -v
|
43
|
-
|
44
|
-
test_script:
|
45
|
-
- bundle exec rake -rdevkit
|
data/.circleci/config.yml
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
# Ruby CircleCI 2.0 configuration file
|
2
|
-
#
|
3
|
-
# Check https://circleci.com/docs/2.0/language-ruby/ for more details
|
4
|
-
#
|
5
|
-
version: 2
|
6
|
-
jobs:
|
7
|
-
build:
|
8
|
-
docker:
|
9
|
-
# specify the version you desire here
|
10
|
-
- image: circleci/ruby:2.3.8-stretch
|
11
|
-
|
12
|
-
working_directory: ~/repo
|
13
|
-
|
14
|
-
steps:
|
15
|
-
- checkout
|
16
|
-
|
17
|
-
- run:
|
18
|
-
name: setup linux
|
19
|
-
command: |
|
20
|
-
IMAGEMAGICK_VERSION=6.9.10-49 bash before_install_linux.sh
|
21
|
-
|
22
|
-
- run:
|
23
|
-
name: install dependencies
|
24
|
-
command: |
|
25
|
-
bundle install --jobs=4 --retry=3 --path vendor/bundle
|
26
|
-
|
27
|
-
- save_cache:
|
28
|
-
paths:
|
29
|
-
- ./vendor/bundle
|
30
|
-
- ./ccache
|
31
|
-
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
|
32
|
-
|
33
|
-
# run tests!
|
34
|
-
- run:
|
35
|
-
name: run tests
|
36
|
-
command: |
|
37
|
-
bundle exec rake test
|
38
|
-
|
39
|
-
- run:
|
40
|
-
name: run specs
|
41
|
-
command: |
|
42
|
-
mkdir /tmp/test-results
|
43
|
-
TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
|
44
|
-
|
45
|
-
bundle exec rspec --format progress \
|
46
|
-
--format RspecJunitFormatter \
|
47
|
-
--out /tmp/test-results/rspec.xml \
|
48
|
-
--format progress \
|
49
|
-
$TEST_FILES
|
50
|
-
|
51
|
-
# collect reports
|
52
|
-
- store_test_results:
|
53
|
-
path: /tmp/test-results
|
54
|
-
- store_artifacts:
|
55
|
-
path: /tmp/test-results
|
56
|
-
destination: test-results
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.3.8
|
data/.simplecov
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
# https://github.com/colszowka/simplecov#using-simplecov-for-centralized-config
|
2
|
-
# see https://github.com/colszowka/simplecov/blob/master/lib/simplecov/defaults.rb
|
3
|
-
# vim: set ft=ruby
|
4
|
-
SimpleCov.profiles.define 'rmagick' do
|
5
|
-
load_profile 'test_frameworks'
|
6
|
-
|
7
|
-
add_group "Long files" do |src_file|
|
8
|
-
src_file.lines.count > 100
|
9
|
-
end
|
10
|
-
class MaxLinesFilter < SimpleCov::Filter
|
11
|
-
def matches?(source_file)
|
12
|
-
source_file.lines.count < filter_argument
|
13
|
-
end
|
14
|
-
end
|
15
|
-
add_group "Short files", MaxLinesFilter.new(5)
|
16
|
-
|
17
|
-
# Exclude these paths from analysis
|
18
|
-
add_filter 'bundle'
|
19
|
-
add_filter 'bin'
|
20
|
-
end
|
21
|
-
|
22
|
-
## RUN SIMPLECOV
|
23
|
-
if ENV['COVERAGE'] =~ /\Atrue\z/i
|
24
|
-
SimpleCov.start 'rmagick'
|
25
|
-
puts '[COVERAGE] Running with SimpleCov HTML Formatter'
|
26
|
-
SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter]
|
27
|
-
end
|