dockerfile-rails 1.0.4 → 1.0.5

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: 54eedb6e7aa9530a02b253ea1b730b386c2b87a49a00a64611c4c6d96e762505
4
- data.tar.gz: f47c1b6851c2a3c3e2bacbb999ad0a7ad43d4b28d64a9cde83c392762d810342
3
+ metadata.gz: 8ba9e32f73859b08e1876b21b139dd371172091f0e5f076665f3137d90b2f632
4
+ data.tar.gz: 182fb094c2a84e3dd941d693198fcce698fa10ef7fa01e91db061d8f1fb4ca56
5
5
  SHA512:
6
- metadata.gz: 9ed32b4fd6b57906c1e7b2f47270b5edeb96ea710891c9817989c44ea693095e35110b833b4994877e931d3dd0b6ede9b8cac21348120a4ae80b691cfe307c7c
7
- data.tar.gz: db989d76c9f7e48553a3047b2096fa38708495c0a854bdd0a9805f92152018660850804464f45e3ceed0d0a6cd43809b64bc54b7606f945b5fe3bd25e2cf3797
6
+ metadata.gz: 16ca4f49e2904da2286e8a1443b50f07fc98c2946ebaca12478fa4005f05bae613806337aa67ffa278e8e1b26c72fb858f127751eec2d231255511757cf482bc
7
+ data.tar.gz: 29eb5d2ae52c00c16ef4be0297b419667f65dc42eb7adad0e7f804fb4542449acc5cfd9fbc8a86cfe05768c9ecd73e40e9a153bb52d9cfdf0170499fb6c41dfc
@@ -203,6 +203,10 @@ private
203
203
  packages += %w(curl gnupg)
204
204
  end
205
205
 
206
+ # charlock_holmes. Placed here as the library itself is
207
+ # libicu63 in buster, libicu67 in bullseye, libiclu72 in bookworm...
208
+ packages << "libicu-dev" if @gemfile.include? 'charlock_holmes'
209
+
206
210
  packages.sort.uniq
207
211
  end
208
212
 
@@ -210,6 +214,7 @@ private
210
214
  requirements = []
211
215
  requirements << 'nodejs' if using_execjs?
212
216
  requirements << 'chrome' if using_puppeteer?
217
+ requirements << "charlock_holmes" if @gemfile.include? 'charlock_holmes'
213
218
  requirements.join(' and ')
214
219
  end
215
220
 
@@ -329,6 +334,7 @@ private
329
334
 
330
335
  if using_puppeteer?
331
336
  env << 'GROVER_NO_SANDBOX="true"' if @gemfile.include? 'grover'
337
+ env << 'PUPPETEER_RUBY_NO_SANDBOX="1"' if @gemfile.include? 'puppeteer-ruby'
332
338
  env << 'PUPPETEER_EXECUTABLE_PATH="/usr/bin/google-chrome"'
333
339
  end
334
340
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockerfile-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-01 00:00:00.000000000 Z
11
+ date: 2023-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails