8000 bump version, update autodocs · libvips/ruby-vips@1e1d6f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1e1d6f3

Browse files
committed
bump version, update autodocs
and note recent changes in CHANGELOG
1 parent ff26126 commit 1e1d6f3

File tree

8 files changed

+24
-25
lines changed

8 files changed

+24
-25
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
*.swp
33
doc
44
pkg/*.gem
5+
spec/tmp
56

67
# skip Gemfile.lock since this is a gem
78
Gemfile.lock

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## master
44

5+
## Version 2.0.19 (2020-12-21)
6+
7+
* switch to github actions for CI [pftg]
8+
* remove rubocop, revise formatting for standardrb [pftg]
9+
510
## Version 2.0.18 (2020-04-05)
611

712
* better behaviour with some nil parameters [jcupitt]

TODO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
cd lib/vips
3030
ruby > methods.rb
31-
require 'vips'; Vips::Yard.generate
31+
require "vips"; Vips::Yard.generate
3232
^D
3333

3434
- Regenerate docs.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.18
1+
2.0.19

lib/vips/image.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@ module Vips
15151515
#
15161516
# ```
15171517
# $ ruby > methods.rb
1518-
# require 'vips'; Vips::Yard.generate
1518+
# require "vips"; Vips::Yard.generate
15191519
# ^D
15201520
# ```
15211521

lib/vips/methods.rb

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ class Image
587587
# @param opts [Hash] Set of options
588588
# @option opts [Float] :sigma Standard deviation of pixels in generated image
589589
# @option opts [Float] :mean Mean of pixels in generated image
590+
# @option opts [Integer] :seed Random number seed
590591
# @return [Vips::Image] Output image
591592

592593
# @!method self.text(text, **opts)
@@ -855,6 +856,7 @@ class Image
855856
# @param height [Integer] Image height in pixels
856857
# @param opts [Hash] Set of options
857858
# @option opts [Integer] :cell_size Size of Worley cells
859+
# @option opts [Integer] :seed Random number seed
858860
# @return [Vips::Image] Output image
859861

860862
# @!method self.perlin(width, height, **opts)
@@ -864,6 +866,7 @@ class Image
864866
# @param opts [Hash] Set of options
865867
# @option opts [Integer] :cell_size Size of Perlin cells
866868
# @option opts [Boolean] :uchar Output an unsigned char image
869+
# @option opts [Integer] :seed Random number seed
867870
# @return [Vips::Image] Output image
868871

869872
# @!method self.switch(tests, **opts)
@@ -1096,21 +1099,6 @@ class Image
10961099
# @option opts [Vips::ForeignFlags] :flags Output Flags for this file
10971100
# @return [Vips::Image, Hash<Symbol => Object>] Output image, Hash of optional output items
10981101

1099-
# @!method self.svgload(filename, **opts)
1100-
# Load svg with rsvg.
1101-
# @param filename [String] Filename to load from
1102-
# @param opts [Hash] Set of options
1103-
# @option opts [Float] :dpi Render at this DPI
1104-
# @option opts [Float] :scale Scale output by this factor
1105-
# @option opts [Boolean] :unlimited Allow SVG of any size
1106-
# @option opts [Boolean] :memory Force open via memory
1107-
# @option opts [Vips::Access] :access Required access pattern for this file
1108-
# @option opts [Boolean] :sequential Sequential read only
1109-
# @option opts [Boolean] :fail Fail on first error
1110-
# @option opts [Boolean] :disc Open to disc
1111-
# @option opts [Vips::ForeignFlags] :flags Output Flags for this file
1112-
# @return [Vips::Image, Hash<Symbol => Object>] Output image, Hash of optional output items
1113-
11141102
# @!method self.svgload_buffer(buffer, **opts)
11151103
# Load svg with rsvg.
11161104
# @param buffer [VipsBlob] Buffer to load from
@@ -1580,7 +1568,7 @@ class Image
15801568
# @param opts [Hash] Set of options
15811569
# @option opts [Boolean] :ascii save as ascii
15821570
# @option opts [Boolean] :squash save as one bit
1583-
# @option opts [Integer] :bitdepth Write as a 1 bit image
1571+
# @option opts [Integer] :bitdepth set to 1 to write as a 1 bit image
15841572
# @option opts [Boolean] :strip Strip all metadata from image
15851573
# @option opts [Array<Double>] :background Background value
15861574
# @option opts [Integer] :page_height Set page height for multipage save
@@ -1592,7 +1580,7 @@ class Image
15921580
# @param opts [Hash] Set of options
15931581
# @option opts [Boolean] :ascii save as ascii
15941582
# @option opts [Boolean] :squash save as one bit
1595-
# @option opts [Integer] :bitdepth Write as a 1 bit image
1583+
# @option opts [Integer] :bitdepth set to 1 to write as a 1 bit image
15961584
# @option opts [Boolean] :strip Strip all metadata from image
15971585
# @option opts [Array<Double>] :background Background value
15981586
# @option opts [Integer] :page_height Set page height for multipage save
@@ -1818,6 +1806,7 @@ class Image
18181806
# @option opts [Integer] :kmin Minimum number of frames between key frames
18191807
# @option opts [Integer] :kmax Maximum number of frames between key frames
18201808
# @option opts [Integer] :reduction_effort Level of CPU effort to reduce file size
1809+
# @option opts [String] :profile ICC profile to embed
18211810
# @option opts [Boolean] :strip Strip all metadata from image
18221811
# @option opts [Array<Double>] :background Background value
18231812
# @option opts [Integer] :page_height Set page height for multipage save
@@ -1836,6 +1825,7 @@ class Image
18361825
# @option opts [Integer] :kmin Minimum number of frames between key frames
18371826
# @option opts [Integer] :kmax Maximum number of frames between key frames
18381827
# @option opts [Integer] :reduction_effort Level of CPU effort to reduce file size
1828+
# @option opts [String] :profile ICC profile to embed
18391829
# @option opts [Boolean] :strip Strip all metadata from image
18401830
# @option opts [Array<Double>] :background Background value
18411831
# @option opts [Integer] :page_height Set page height for multipage save
@@ -1855,6 +1845,7 @@ class Image
18551845
# @option opts [Integer] :kmin Minimum number of frames between key frames
18561846
# @option opts [Integer] :kmax Maximum number of frames between key frames
18571847
# @option opts [Integer] :reduction_effort Level of CPU effort to reduce file size
1848+
# @option opts [String] :profile ICC profile to embed
18581849
# @option opts [Boolean] :strip Strip all metadata from image
18591850
# @option opts [Array<Double>] :background Background value
18601851
# @option opts [Integer] :page_height Set page height for multipage save
@@ -1971,6 +1962,7 @@ class Image
19711962
# @option opts [Integer] :Q Q factor
19721963
# @option opts [Boolean] :lossless Enable lossless compression
19731964
# @option opts [Vips::ForeignHeifCompression] :compression Compression format
1965+
# @option opts [Integer] :speed CPU effort
19741966
# @option opts [Boolean] :strip Strip all metadata from image
19751967
# @option opts [Array<Double>] :background Background value
19761968
# @option opts [Integer] :page_height Set page height for multipage save
@@ -1982,6 +1974,7 @@ class Image
19821974
# @option opts [Integer] :Q Q factor
19831975
# @option opts [Boolean] :lossless Enable lossless compression
19841976
# @option opts [Vips::ForeignHeifCompression] :compression Compression format
1977+
# @option opts [Integer] :speed CPU effort
19851978
# @option opts [Boolean] :strip Strip all metadata from image
19861979
# @option opts [Array<Double>] :background Background value
19871980
# @option opts [Integer] :page_height Set page height for multipage save
@@ -1994,6 +1987,7 @@ class Image
19941987
# @option opts [Integer] :Q Q factor
19951988
# @option opts [Boolean] :lossless Enable lossless compression
19961989
# @option opts [Vips::ForeignHeifCompression] :compression Compression format
1990+
# @option opts [Integer] :speed CPU effort
19971991
# @option opts [Boolean] :strip Strip all metadata from image
19981992
# @option opts [Array<Double>] :background Background value
19991993
# @option opts [Integer] :page_height Set page height for multipage save
@@ -2688,7 +2682,7 @@ class Image
26882682
# @!method merge(sec, direction, dx, dy, **opts)
26892683
# Merge two images.
26902684
# @param sec [Vips::Image] Secondary image
2691-
# @param direction [Vips::Direction] Horizontal or vertcial merge
2685+
# @param direction [Vips::Direction] Horizontal or vertical merge
26922686
# @param dx [Integer] Horizontal displacement from sec to ref
26932687
# @param dy [Integer] Vertical displacement from sec to ref
26942688
# @param opts [Hash] Set of options
@@ -2698,7 +2692,7 @@ class Image
26982692
# @!method mosaic(sec, direction, xref, yref, xsec, ysec, **opts)
26992693
# Mosaic two images.
27002694
# @param sec [Vips::Image] Secondary image
2701-
# @param direction [Vips::Direction] Horizontal or vertcial mosaic
2695+
# @param direction [Vips::Direction] Horizontal or vertical mosaic
27022696
# @param xref [Integer] Position of reference tie-point
27032697
# @param yref [Integer] Position of reference tie-point
27042698
# @param xsec [Integer] Position of secondary tie-point
@@ -2719,7 +2713,7 @@ class Image
27192713
# @!method mosaic1(sec, direction, xr1, yr1, xs1, ys1, xr2, yr2, xs2, ys2, **opts)
27202714
# First-order mosaic of two images.
27212715
# @param sec [Vips::Image] Secondary image
2722-
# @param direction [Vips::Direction] Horizontal or vertcial mosaic
2716+
# @param direction [Vips::Direction] Horizontal or vertical mosaic
27232717
# @param xr1 [Integer] Position of first reference tie-point
27242718
# @param yr1 [Integer] Position of first reference tie-point
27252719
# @param xs1 [Integer] Position of first secondary tie-point

lib/vips/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Vips
2-
VERSION = "2.0.18"
2+
VERSION = "2.0.19"
33
end

ruby-vips.gemspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Gem::Specification.new do |spec|
4242
spec.add_development_dependency "yard", ["~> 0.9.11"]
4343
spec.add_development_dependency "bundler", [">= 1.0", "< 3"]
4444

45-
# RuboCop requires Ruby >= 2.2
4645
if Gem.ruby_version >= Gem::Version.new("2.2")
4746
spec.add_development_dependency "standard"
4847
end

0 commit comments

Comments
 (0)
0