dockerfile-rails 1.7.0 → 1.7.2

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: 8309aa1e1fe7194297188df68c64c458d2fc7e892c0d4b0c0dadc9fe9b1d3a6e
4
- data.tar.gz: c0d684a6bde26b27aa40c12e8cdd24bbdbd15d220258f48468ac6d4780fd15d3
3
+ metadata.gz: f84375d1c8998624a5d16ba70535780b3bd106686f028ac3e2927f2257dfee01
4
+ data.tar.gz: c6267e02136d4a7a261375f85bf539d576e81b9207dbd19a90e6e56a8005dde5
5
5
  SHA512:
6
- metadata.gz: 0444b3658976d0b1f3e363848616a0774886e24a4c156daf0102f40c983ecb902f927af387be92c0f91447fad2c521a8ea1e378ca799d0a967400f8ffadc8ada
7
- data.tar.gz: b174840c7d365257c77f706d82ac979a231d2cb91c633fcc79e2806f9deaa4ccdf1818e389bd2c6d9d115e978bb823f97ff091f9344f75121cd5ef0025441ace
6
+ metadata.gz: 66aa85b281ec6f6a843dfcde0846e325ebcb773d4d37094679dabc41ac362dfbe5b707606e41ea1bfda1c32602b16471deafc539f6bd461c3af0b33df139422f
7
+ data.tar.gz: fac91494b06978ff7b3a9c76eac4e9c53d9364b2461f0a8d9a1d26acb55dfef46747cc7d0b38f17ca33bc28be778c9c29e3f397ed79c2778f7afd2a1b6a648c7
@@ -73,6 +73,7 @@ class DockerfileGenerator < Rails::Generators::Base
73
73
  "libtiff-dev" => "tiff-dev",
74
74
  "libjemalloc2" => "jemalloc",
75
75
  "libvips" => "vips-dev",
76
+ "libyaml-dev" => "yaml-dev",
76
77
  "node-gyp" => "gyp",
77
78
  "pkg-config" => "pkgconfig",
78
79
  "python" => "python3",
@@ -737,10 +738,10 @@ private
737
738
 
738
739
  def build_packages
739
740
  # start with the essentials
740
- packages = %w(build-essential)
741
+ packages = %w(build-essential libyaml-dev)
741
742
  packages += @@packages["build"] if @@packages["build"]
742
743
  packages += %w(nodejs npm) if (node_version == "lts") && (not using_execjs?)
743
- packages << "libyaml-dev" if options.fullstaq?
744
+ packages << "libffi-dev" if @gemfile.include?("ffi")
744
745
 
745
746
  # add databases: sqlite3, postgres, mysql
746
747
  packages << "pkg-config" if options.sqlite3? || @sqlite3
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dockerfile-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-06 00:00:00.000000000 Z
10
+ date: 2025-01-14 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rails