remove_bg 2.0.2 → 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bb2411051bb93f1db4dcc9c2056da7811b906d8dfff48f8664c8d701663326b
4
- data.tar.gz: 27f0ac17923c4bd50ebf3e97528a8446ac87c1436cb0083f0189b1aa96eb9036
3
+ metadata.gz: c544005473803f82c51561f0ed9dbde2bde5ef844e75cc2fe1d1f9a70a29d893
4
+ data.tar.gz: 8198a7fb4ab6201ff65da29bcaebb9efe435286feed245703745c6f7b9a21d02
5
5
  SHA512:
6
- metadata.gz: d8d82cfaca4e9d6d1fb45cf6ef98b3444b3c4cf8ea43526b1537a051c7183567e6ea8a62ad958a68d1431217ad0802db5fcad3bc1dfd500a0ac5719f41fed86d
7
- data.tar.gz: 46a70ac78ad95e8edd026510decc6dd2575e8bfad4c172431b73059617e70168cc9d445a69d894b08ed1810e736e74dd73505b93685fa2637e6c919f7ba07e5a
6
+ metadata.gz: 01f324e710ddecd7a387a5d74ef67c6347b2035ea2b5acba15a5fe3769da875cb705213a5cde74f0d57715b9fe4154bf9057fec18e8357f7359904fbb791d949
7
+ data.tar.gz: 1f32967c1ce1ac6ab7a8c6100b960a642b440909a8a2198f24d5125a709c357dbdf36944e2f28fcb3ff2003fb99e6c910cf93e79f4ac3310c794eccc2ab4479b
data/.circleci/config.yml CHANGED
@@ -8,7 +8,7 @@ orbs:
8
8
  sonarcloud: sonarsource/sonarcloud@2.0
9
9
  asdf: rynkowsg/asdf@0.1
10
10
  codecov: codecov/codecov@4.1
11
- github: circleci/github-cli@2.3
11
+ github: circleci/github-cli@2.4
12
12
 
13
13
  # Pipeline parameters
14
14
  parameters:
@@ -18,7 +18,7 @@ parameters:
18
18
  default: main
19
19
  default-ruby:
20
20
  type: string
21
- default: "3.3.4"
21
+ default: "3.3.6"
22
22
 
23
23
  # Define common YAML anchors
24
24
  x-common-auth: &common-auth
@@ -40,16 +40,28 @@ executors:
40
40
  jobs:
41
41
  # Lint Job
42
42
  lint:
43
- docker:
44
- - image: cimg/base:stable
45
- <<: *common-auth
43
+ executor: docker
46
44
  resource_class: medium
47
45
  steps:
48
46
  # Check out code
49
47
  - checkout
48
+ # Install ImageMagick, libvips and libffi
49
+ - run:
50
+ name: Install ImageMagick, libvips and libffi
51
+ command: |
52
+ sudo apt-get update
53
+ sudo apt-get -y --no-install-recommends install \
54
+ imagemagick libvips42 libffi-dev libreadline-dev \
55
+ libyaml-dev openssl libtool
56
+ - asdf/install
50
57
  # Install requested Ruby version
51
- - ruby/install:
52
- version: "<< pipeline.parameters.default-ruby >>"
58
+ - run:
59
+ name: Install Ruby << pipeline.parameters.default-ruby >>
60
+ command: |
61
+ asdf plugin-add ruby
62
+ asdf install ruby << pipeline.parameters.default-ruby >>
63
+ asdf global ruby << pipeline.parameters.default-ruby >>
64
+ gem install --user-install executable-hooks
53
65
  # Install dependencies using bundler
54
66
  - ruby/install-deps:
55
67
  pre-install-steps:
@@ -136,12 +148,8 @@ jobs:
136
148
  - when:
137
149
  condition:
138
150
  and:
139
- - equal:
140
- - "docker"
141
- - "<< parameters.os >>"
142
- - equal:
143
- - "<< pipeline.parameters.default-ruby >>"
144
- - "<< parameters.ruby-version >>"
151
+ - equal: ["docker", "<< parameters.os >>"]
152
+ - equal: ["<< pipeline.parameters.default-ruby >>", "<< parameters.ruby-version >>"]
145
153
  steps:
146
154
  - persist_to_workspace:
147
155
  root: .
@@ -199,7 +207,8 @@ jobs:
199
207
  sudo apt-get update
200
208
  sudo apt-get -y --no-install-recommends install \
201
209
  imagemagick libvips42 libffi-dev libreadline-dev \
202
- libyaml-dev openssl libtool
210
+ libyaml-dev openssl libtool libz-dev libjemalloc-dev \
211
+ libgmp-dev build-essential ruby-dev libssl-dev zlib1g-dev
203
212
  - asdf/install
204
213
  # Install requested Ruby version
205
214
  - run:
@@ -297,7 +306,7 @@ workflows:
297
306
  matrix:
298
307
  parameters:
299
308
  os: ["docker", "macos"]
300
- ruby-version: ["3.1.6", "3.2.3", "3.3.4"]
309
+ ruby-version: ["3.3.6", "3.2.3", "3.1.6"]
301
310
  filters:
302
311
  tags:
303
312
  only: /^\d+\.\d+\.\d+$/
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 3.1.6 3.2.3 3.3.4
1
+ ruby 3.3.6 3.2.3 3.1.6
data/CHANGELOG.md CHANGED
@@ -1,12 +1,24 @@
1
1
  # Changelog
2
2
 
3
- ## 2.0.1
3
+ ## 2.0.2
4
4
 
5
5
 
6
6
 
7
7
  ---
8
8
 
9
9
 
10
+ #### 🚨 Security
11
+
12
+ - 🚨 [security] Update rexml 3.3.2 → 3.3.4 (patch) [#39](https://github.com/remove-bg/ruby/pull/39)
13
+
14
+ #### 🔀 Dependencies
15
+
16
+ - Update all Bundler dependencies (2024-08-22) [#40](https://github.com/remove-bg/ruby/pull/40)
17
+ - Update all Bundler dependencies (2024-07-31) [#38](https://github.com/remove-bg/ruby/pull/38)
18
+
19
+
20
+ ## 2.0.1
21
+
10
22
  #### 🚀 Enhancements:
11
23
 
12
24
  - Remove deprecated File [#37](https://github.com/remove-bg/ruby/pull/37)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- remove_bg (2.0.2)
4
+ remove_bg (2.0.4)
5
5
  faraday (>= 2, <= 3)
6
6
  faraday-multipart (~> 1.0)
7
7
  faraday-retry (~> 2.2)
@@ -26,36 +26,37 @@ GEM
26
26
  rexml
27
27
  diff-lcs (1.5.1)
28
28
  docile (1.4.1)
29
- faraday (2.10.1)
30
- faraday-net_http (>= 2.0, < 3.2)
29
+ faraday (2.12.1)
30
+ faraday-net_http (>= 2.0, < 3.5)
31
+ json
31
32
  logger
32
33
  faraday-multipart (1.0.4)
33
34
  multipart-post (~> 2)
34
- faraday-net_http (3.1.1)
35
- net-http
35
+ faraday-net_http (3.4.0)
36
+ net-http (>= 0.5.0)
36
37
  faraday-retry (2.2.1)
37
38
  faraday (~> 2.0)
38
39
  ffi (1.17.0)
39
40
  ffi (1.17.0-arm64-darwin)
40
41
  ffi (1.17.0-x86_64-linux-gnu)
41
- hashdiff (1.1.1)
42
+ hashdiff (1.1.2)
42
43
  htmlentities (4.3.4)
43
44
  image_processing (1.13.0)
44
45
  mini_magick (>= 4.9.5, < 5)
45
46
  ruby-vips (>= 2.0.17, < 3)
46
- json (2.7.2)
47
+ json (2.8.2)
47
48
  language_server-protocol (3.17.0.3)
48
- logger (1.6.0)
49
+ logger (1.6.1)
49
50
  method_source (1.1.0)
50
51
  mini_magick (4.13.2)
51
52
  multipart-post (2.4.1)
52
- net-http (0.4.1)
53
+ net-http (0.5.0)
53
54
  uri
54
55
  parallel (1.26.3)
55
- parser (3.3.4.2)
56
+ parser (3.3.6.0)
56
57
  ast (~> 2.4.1)
57
58
  racc
58
- pry (0.14.2)
59
+ pry (0.15.0)
59
60
  coderay (~> 1.1)
60
61
  method_source (~> 1.0)
61
62
  public_suffix (6.0.1)
@@ -63,47 +64,45 @@ GEM
63
64
  rainbow (3.1.1)
64
65
  rake (13.2.1)
65
66
  regexp_parser (2.9.2)
66
- rexml (3.3.6)
67
- strscan
67
+ rexml (3.3.9)
68
68
  rspec (3.13.0)
69
69
  rspec-core (~> 3.13.0)
70
70
  rspec-expectations (~> 3.13.0)
71
71
  rspec-mocks (~> 3.13.0)
72
- rspec-core (3.13.0)
72
+ rspec-core (3.13.2)
73
73
  rspec-support (~> 3.13.0)
74
- rspec-expectations (3.13.2)
74
+ rspec-expectations (3.13.3)
75
75
  diff-lcs (>= 1.2.0, < 2.0)
76
76
  rspec-support (~> 3.13.0)
77
- rspec-mocks (3.13.1)
77
+ rspec-mocks (3.13.2)
78
78
  diff-lcs (>= 1.2.0, < 2.0)
79
79
  rspec-support (~> 3.13.0)
80
- rspec-sonarqube-formatter (1.5.0)
81
- htmlentities (~> 4.3.3)
80
+ rspec-sonarqube-formatter (1.6.2)
81
+ htmlentities (~> 4.3)
82
82
  rspec (~> 3.0)
83
83
  rspec-support (3.13.1)
84
84
  rspec-with_params (0.3.0)
85
85
  rspec (~> 3.0)
86
86
  rspec_junit_formatter (0.6.0)
87
87
  rspec-core (>= 2, < 4, != 2.12.0)
88
- rubocop (1.65.1)
88
+ rubocop (1.68.0)
89
89
  json (~> 2.3)
90
90
  language_server-protocol (>= 3.17.0)
91
91
  parallel (~> 1.10)
92
92
  parser (>= 3.3.0.2)
93
93
  rainbow (>= 2.2.2, < 4.0)
94
94
  regexp_parser (>= 2.4, < 3.0)
95
- rexml (>= 3.2.5, < 4.0)
96
- rubocop-ast (>= 1.31.1, < 2.0)
95
+ rubocop-ast (>= 1.32.2, < 2.0)
97
96
  ruby-progressbar (~> 1.7)
98
97
  unicode-display_width (>= 2.4.0, < 3.0)
99
- rubocop-ast (1.32.1)
98
+ rubocop-ast (1.36.1)
100
99
  parser (>= 3.3.1.0)
101
- rubocop-performance (1.21.1)
100
+ rubocop-performance (1.23.0)
102
101
  rubocop (>= 1.48.1, < 2.0)
103
102
  rubocop-ast (>= 1.31.1, < 2.0)
104
103
  rubocop-rake (0.6.0)
105
104
  rubocop (~> 1.0)
106
- rubocop-rspec (3.0.4)
105
+ rubocop-rspec (3.2.0)
107
106
  rubocop (~> 1.61)
108
107
  ruby-progressbar (1.13.0)
109
108
  ruby-vips (2.2.2)
@@ -117,21 +116,20 @@ GEM
117
116
  simplecov-cobertura (2.1.0)
118
117
  rexml
119
118
  simplecov (~> 0.19)
120
- simplecov-html (0.12.3)
119
+ simplecov-html (0.13.1)
121
120
  simplecov_json_formatter (0.1.4)
122
- strscan (3.1.0)
123
- thor (1.3.1)
124
- unicode-display_width (2.5.0)
125
- uri (0.13.0)
121
+ thor (1.3.2)
122
+ unicode-display_width (2.6.0)
123
+ uri (1.0.2)
126
124
  vcr (6.3.1)
127
125
  base64
128
126
  vcr_better_binary (0.2.0)
129
127
  vcr (>= 5.0)
130
- webmock (3.23.1)
128
+ webmock (3.24.0)
131
129
  addressable (>= 2.8.0)
132
130
  crack (>= 0.3.2)
133
131
  hashdiff (>= 0.4.0, < 2.0.0)
134
- yard (0.9.36)
132
+ yard (0.9.37)
135
133
 
136
134
  PLATFORMS
137
135
  arm64-darwin-22
@@ -161,4 +159,4 @@ DEPENDENCIES
161
159
  yard (~> 0.9)
162
160
 
163
161
  BUNDLED WITH
164
- 2.4.19
162
+ 2.5.18
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RemoveBg
4
- VERSION = "2.0.2"
4
+ VERSION = "2.0.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remove_bg
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Canva Austria GmbH
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-22 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -441,7 +441,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
441
441
  - !ruby/object:Gem::Version
442
442
  version: '0'
443
443
  requirements: []
444
- rubygems_version: 3.5.11
444
+ rubygems_version: 3.5.22
445
445
  signing_key:
446
446
  specification_version: 4
447
447
  summary: Remove image background - 100% automatically