remove_bg 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +25 -19
- data/.tool-versions +1 -1
- data/CHANGELOG.md +13 -1
- data/Gemfile.lock +15 -18
- data/lib/remove_bg/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 465ae2d55918727ac5874bfa68403b3a2e6c7d74efc169ecee18baab06a56de7
|
4
|
+
data.tar.gz: fccccce4d4bc0db6a24bc917bac9e06eb1740963adc76799d58da9c08e5fca02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6f98701d41bab477be50090a6310dbcfa34595577f0f860b6dde3082a9d96add1b9748b1b59ff8ab89b2231dd3d73f87a71714cdb8c02325368615313b2e6e4
|
7
|
+
data.tar.gz: d5571c97be911f7442cc09c92734befdbf968abd423892467e77a566f5503785285bca5f216560d17e9b963c555115e8cec5c9374574dff70398f051e1c5a1dd
|
data/.circleci/config.yml
CHANGED
@@ -4,11 +4,10 @@ version: 2.1
|
|
4
4
|
# Used Orbs (https://circleci.com/docs/2.0/using-orbs/)
|
5
5
|
orbs:
|
6
6
|
ruby: circleci/ruby@2.1
|
7
|
-
node: circleci/node@5.2
|
8
7
|
sonarcloud: sonarsource/sonarcloud@2.0
|
9
8
|
asdf: rynkowsg/asdf@0.1
|
10
9
|
codecov: codecov/codecov@4.1
|
11
|
-
github: circleci/github-cli@2.
|
10
|
+
github: circleci/github-cli@2.4
|
12
11
|
|
13
12
|
# Pipeline parameters
|
14
13
|
parameters:
|
@@ -18,7 +17,7 @@ parameters:
|
|
18
17
|
default: main
|
19
18
|
default-ruby:
|
20
19
|
type: string
|
21
|
-
default: "3.3.
|
20
|
+
default: "3.3.5"
|
22
21
|
|
23
22
|
# Define common YAML anchors
|
24
23
|
x-common-auth: &common-auth
|
@@ -40,16 +39,28 @@ executors:
|
|
40
39
|
jobs:
|
41
40
|
# Lint Job
|
42
41
|
lint:
|
43
|
-
docker
|
44
|
-
- image: cimg/base:stable
|
45
|
-
<<: *common-auth
|
42
|
+
executor: docker
|
46
43
|
resource_class: medium
|
47
44
|
steps:
|
48
45
|
# Check out code
|
49
46
|
- checkout
|
47
|
+
# Install ImageMagick, libvips and libffi
|
48
|
+
- run:
|
49
|
+
name: Install ImageMagick, libvips and libffi
|
50
|
+
command: |
|
51
|
+
sudo apt-get update
|
52
|
+
sudo apt-get -y --no-install-recommends install \
|
53
|
+
imagemagick libvips42 libffi-dev libreadline-dev \
|
54
|
+
libyaml-dev openssl libtool
|
55
|
+
- asdf/install
|
50
56
|
# Install requested Ruby version
|
51
|
-
-
|
52
|
-
|
57
|
+
- run:
|
58
|
+
name: Install Ruby << pipeline.parameters.default-ruby >>
|
59
|
+
command: |
|
60
|
+
asdf plugin-add ruby
|
61
|
+
asdf install ruby << pipeline.parameters.default-ruby >>
|
62
|
+
asdf global ruby << pipeline.parameters.default-ruby >>
|
63
|
+
gem install --user-install executable-hooks
|
53
64
|
# Install dependencies using bundler
|
54
65
|
- ruby/install-deps:
|
55
66
|
pre-install-steps:
|
@@ -136,12 +147,8 @@ jobs:
|
|
136
147
|
- when:
|
137
148
|
condition:
|
138
149
|
and:
|
139
|
-
- equal:
|
140
|
-
|
141
|
-
- "<< parameters.os >>"
|
142
|
-
- equal:
|
143
|
-
- "<< pipeline.parameters.default-ruby >>"
|
144
|
-
- "<< parameters.ruby-version >>"
|
150
|
+
- equal: ["docker", "<< parameters.os >>"]
|
151
|
+
- equal: ["<< pipeline.parameters.default-ruby >>", "<< parameters.ruby-version >>"]
|
145
152
|
steps:
|
146
153
|
- persist_to_workspace:
|
147
154
|
root: .
|
@@ -159,7 +166,7 @@ jobs:
|
|
159
166
|
# Sonarcloud Job
|
160
167
|
sonarcloud:
|
161
168
|
docker:
|
162
|
-
- image: cimg/openjdk:21.0
|
169
|
+
- image: cimg/openjdk:21.0
|
163
170
|
<<: *common-auth
|
164
171
|
resource_class: small
|
165
172
|
steps:
|
@@ -191,15 +198,14 @@ jobs:
|
|
191
198
|
CHANGELOG_FILENAME: CHANGELOG.md
|
192
199
|
steps:
|
193
200
|
- github/install
|
194
|
-
- node/install:
|
195
|
-
node-version: latest
|
196
201
|
- run:
|
197
202
|
name: Install ImageMagick, libvips and libffi
|
198
203
|
command: |
|
199
204
|
sudo apt-get update
|
200
205
|
sudo apt-get -y --no-install-recommends install \
|
201
206
|
imagemagick libvips42 libffi-dev libreadline-dev \
|
202
|
-
libyaml-dev openssl libtool
|
207
|
+
libyaml-dev openssl libtool libz-dev libjemalloc-dev \
|
208
|
+
libgmp-dev build-essential ruby-dev libssl-dev zlib1g-dev
|
203
209
|
- asdf/install
|
204
210
|
# Install requested Ruby version
|
205
211
|
- run:
|
@@ -297,7 +303,7 @@ workflows:
|
|
297
303
|
matrix:
|
298
304
|
parameters:
|
299
305
|
os: ["docker", "macos"]
|
300
|
-
ruby-version: ["3.
|
306
|
+
ruby-version: ["3.3.5", "3.2.3", "3.1.6"]
|
301
307
|
filters:
|
302
308
|
tags:
|
303
309
|
only: /^\d+\.\d+\.\d+$/
|
data/.tool-versions
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby 3.
|
1
|
+
ruby 3.3.5 3.2.3 3.1.6
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,24 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## 2.0.
|
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.
|
4
|
+
remove_bg (2.0.3)
|
5
5
|
faraday (>= 2, <= 3)
|
6
6
|
faraday-multipart (~> 1.0)
|
7
7
|
faraday-retry (~> 2.2)
|
@@ -26,12 +26,12 @@ GEM
|
|
26
26
|
rexml
|
27
27
|
diff-lcs (1.5.1)
|
28
28
|
docile (1.4.1)
|
29
|
-
faraday (2.
|
30
|
-
faraday-net_http (>= 2.0, < 3.
|
29
|
+
faraday (2.11.0)
|
30
|
+
faraday-net_http (>= 2.0, < 3.4)
|
31
31
|
logger
|
32
32
|
faraday-multipart (1.0.4)
|
33
33
|
multipart-post (~> 2)
|
34
|
-
faraday-net_http (3.
|
34
|
+
faraday-net_http (3.3.0)
|
35
35
|
net-http
|
36
36
|
faraday-retry (2.2.1)
|
37
37
|
faraday (~> 2.0)
|
@@ -45,14 +45,14 @@ GEM
|
|
45
45
|
ruby-vips (>= 2.0.17, < 3)
|
46
46
|
json (2.7.2)
|
47
47
|
language_server-protocol (3.17.0.3)
|
48
|
-
logger (1.6.
|
48
|
+
logger (1.6.1)
|
49
49
|
method_source (1.1.0)
|
50
50
|
mini_magick (4.13.2)
|
51
51
|
multipart-post (2.4.1)
|
52
52
|
net-http (0.4.1)
|
53
53
|
uri
|
54
54
|
parallel (1.26.3)
|
55
|
-
parser (3.3.
|
55
|
+
parser (3.3.5.0)
|
56
56
|
ast (~> 2.4.1)
|
57
57
|
racc
|
58
58
|
pry (0.14.2)
|
@@ -63,13 +63,12 @@ GEM
|
|
63
63
|
rainbow (3.1.1)
|
64
64
|
rake (13.2.1)
|
65
65
|
regexp_parser (2.9.2)
|
66
|
-
rexml (3.3.
|
67
|
-
strscan
|
66
|
+
rexml (3.3.7)
|
68
67
|
rspec (3.13.0)
|
69
68
|
rspec-core (~> 3.13.0)
|
70
69
|
rspec-expectations (~> 3.13.0)
|
71
70
|
rspec-mocks (~> 3.13.0)
|
72
|
-
rspec-core (3.13.
|
71
|
+
rspec-core (3.13.1)
|
73
72
|
rspec-support (~> 3.13.0)
|
74
73
|
rspec-expectations (3.13.2)
|
75
74
|
diff-lcs (>= 1.2.0, < 2.0)
|
@@ -85,18 +84,17 @@ GEM
|
|
85
84
|
rspec (~> 3.0)
|
86
85
|
rspec_junit_formatter (0.6.0)
|
87
86
|
rspec-core (>= 2, < 4, != 2.12.0)
|
88
|
-
rubocop (1.
|
87
|
+
rubocop (1.66.1)
|
89
88
|
json (~> 2.3)
|
90
89
|
language_server-protocol (>= 3.17.0)
|
91
90
|
parallel (~> 1.10)
|
92
91
|
parser (>= 3.3.0.2)
|
93
92
|
rainbow (>= 2.2.2, < 4.0)
|
94
93
|
regexp_parser (>= 2.4, < 3.0)
|
95
|
-
|
96
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
94
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
97
95
|
ruby-progressbar (~> 1.7)
|
98
96
|
unicode-display_width (>= 2.4.0, < 3.0)
|
99
|
-
rubocop-ast (1.32.
|
97
|
+
rubocop-ast (1.32.3)
|
100
98
|
parser (>= 3.3.1.0)
|
101
99
|
rubocop-performance (1.21.1)
|
102
100
|
rubocop (>= 1.48.1, < 2.0)
|
@@ -119,10 +117,9 @@ GEM
|
|
119
117
|
simplecov (~> 0.19)
|
120
118
|
simplecov-html (0.12.3)
|
121
119
|
simplecov_json_formatter (0.1.4)
|
122
|
-
|
123
|
-
thor (1.3.1)
|
120
|
+
thor (1.3.2)
|
124
121
|
unicode-display_width (2.5.0)
|
125
|
-
uri (0.13.
|
122
|
+
uri (0.13.1)
|
126
123
|
vcr (6.3.1)
|
127
124
|
base64
|
128
125
|
vcr_better_binary (0.2.0)
|
@@ -131,7 +128,7 @@ GEM
|
|
131
128
|
addressable (>= 2.8.0)
|
132
129
|
crack (>= 0.3.2)
|
133
130
|
hashdiff (>= 0.4.0, < 2.0.0)
|
134
|
-
yard (0.9.
|
131
|
+
yard (0.9.37)
|
135
132
|
|
136
133
|
PLATFORMS
|
137
134
|
arm64-darwin-22
|
@@ -161,4 +158,4 @@ DEPENDENCIES
|
|
161
158
|
yard (~> 0.9)
|
162
159
|
|
163
160
|
BUNDLED WITH
|
164
|
-
2.
|
161
|
+
2.5.18
|
data/lib/remove_bg/version.rb
CHANGED
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.
|
4
|
+
version: 2.0.3
|
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-
|
11
|
+
date: 2024-09-05 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.
|
444
|
+
rubygems_version: 3.5.16
|
445
445
|
signing_key:
|
446
446
|
specification_version: 4
|
447
447
|
summary: Remove image background - 100% automatically
|