dockerfile-rails 1.6.5 → 1.6.6

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: 908d7d4babef398cd7948ad8cd175c8634901fc45b2129d01e595e25c5014e17
4
- data.tar.gz: 30b27e3cdeda25023e9e277ae547c9896106f60b5f8668342a607d01a267d534
3
+ metadata.gz: ff714b723bfd0a501b2ebef7946a4d00877233cf1912d5092c7ff92d57b938ae
4
+ data.tar.gz: 5ba04178d0f287466a58c8bc496583faa6f01812c58086819ec8d8e37c8190fb
5
5
  SHA512:
6
- metadata.gz: 3036363bbfa20b4aebe5271da76111dc6044419c6d20a7182b5b3bdbf6b5b445671007054909d8848bbb24836d93f6b1aa804ecb65ea18e30e0fb250f856197b
7
- data.tar.gz: aebe29d196c28a1fdc07d6e5ebd958cef15d65a258d417f02354b34744d9d46f6d641533639789cb55141e050ad0a6150840ecb59d15bc70d7bfb0d9f0f2e5a2
6
+ metadata.gz: 17cc361096d9afdb32917d80701af6904395160e1e4715f4b41bdfbe707bb51c1c074d0f5b1cc3f8fbdeed6ac2ca90702721d844ed65ede457144eab820b863d
7
+ data.tar.gz: b2af2f207fa347f4b90a9fe09cfe7466702ffdce144e40d1f618049be00ab64fdf577b067111635ee46593d6bd1e5aacd80061770e950846a3c426b8bb5fbdef
@@ -1162,6 +1162,12 @@ private
1162
1162
  more += "\n" + lines.join
1163
1163
  end
1164
1164
 
1165
+ # Ignore files uploaded using Shrine in development. This is the location used in their documentation.
1166
+ # https://shrinerb.com/docs/getting-started
1167
+ if @gemfile.include?("shrine")
1168
+ more += "\n/public/uploads/*\n"
1169
+ end
1170
+
1165
1171
  more
1166
1172
  end
1167
1173
 
@@ -31,7 +31,7 @@ ARG <%= base_args.map {|key, value| "#{key}=#{value.inspect}"}.join(" \\\n ")
31
31
  ENV <%= base_env.join(" \\\n ") %>
32
32
 
33
33
  # Update gems and bundler
34
- RUN gem update --system --no-document && \
34
+ RUN gem update --system <% if RUBY_VERSION.start_with? '2' %>3.4.22 <% end %>--no-document && \
35
35
  gem install -N <%= base_gems.join(" ") %>
36
36
 
37
37
  <% unless base_packages.empty? -%>
@@ -181,7 +181,7 @@ FROM base
181
181
  <% end -%>
182
182
  <% if using_litefs? -%>
183
183
  # Install, configure litefs
184
- COPY --from=flyio/litefs:0.4.0 /usr/local/bin/litefs /usr/local/bin/litefs
184
+ COPY --from=flyio/litefs:0.5 /usr/local/bin/litefs /usr/local/bin/litefs
185
185
  COPY<% if options.link? %> --link<% end %> config/litefs.yml /etc/litefs.yml
186
186
 
187
187
  <% end -%>
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.6.5
4
+ version: 1.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-03 00:00:00.000000000 Z
11
+ date: 2024-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails