avo 4.2.2 → 4.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8ed514afa8556db9db252ac7023e4a249e7058d19d57fc00a2a9df2ca87d8b9
4
- data.tar.gz: 8a29996342610682b4746068819fb5a36683a8a77d9a89f51114813bdd5bd6f4
3
+ metadata.gz: 1620a7d5690df6cfe97e3974ba9d57d119a76c76d2c5912b3e1aafa739a77354
4
+ data.tar.gz: f9cd6ac8c65332ce478fa66602143dc7de32d7af7e7a929da2b2dc0a359fd54b
5
5
  SHA512:
6
- metadata.gz: 2f1decdab747efcf88900c5732e29bf3216c0b571511aa4886459612f3090277efda5099689b53f932a3953e88155084886437d89865283f6d39674854b5e37a
7
- data.tar.gz: d920af2ff3d406348fcb476e223b407c9da6069d51f9d8d005472576a4d7b5975e58d5437640436597be1f1eb855ca5795a22b1ac13aaf4d0728d22ca0599735
6
+ metadata.gz: 656a367baa63315680ee644fa4c5d143288fa2049a1f78b964d563ccb0a0436a914519e0d74a2bb801189e3d8052321e6c8a1952b8d7c5e2ad1e1304151b6554
7
+ data.tar.gz: 2cef7657d7651585d0dd4db94d3dcf959c41189579dc53f4ef29c1e18bf35470ef32d5790608166cef97b52d942abaf509f65d0caa4bc7285515041917c1dc10
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (4.2.2)
4
+ avo (4.2.3)
5
5
  actionview (>= 6.1)
6
6
  active_link_to
7
7
  activerecord (>= 6.1)
data/avo.gemspec CHANGED
@@ -33,8 +33,17 @@ Gem::Specification.new do |spec|
33
33
 
34
34
  # NOTE: `public/` is rejected below — Avo 4 ships precompiled assets from
35
35
  # `app/assets/builds`, and a stale `public/avo-assets` dir was what bloated some builds.
36
+ #
37
+ # `app/assets/builds` is gitignored and `Dir` does not read .gitignore, so whatever a
38
+ # releaser's working copy happens to hold there is packaged. Only `app/assets/builds/avo/`
39
+ # is ours — every build script writes there. 4.2.2 shipped `avo.base.js`, `avo.custom.js`,
40
+ # `late-registration.js` and `avo.base.css` from the top level: output of the build scripts
41
+ # as they stood before #3971 moved them into `avo/`, left on one machine since July 2025.
42
+ # It cost 22MB, and the stray `avo.custom.js` took over that Sprockets logical path in any
43
+ # host app that had an `avo.custom.js` of its own — silently replacing the host's file.
36
44
  spec.files = Dir["{bin,app,config,db,lib,public}/**/*", "Rakefile", "README.md", "avo.gemspec", "Gemfile", "Gemfile.lock", "tailwind.preset.js", "tailwind.custom.js", "safelist.txt"]
37
45
  .reject { |f| f.start_with?("public/") }
46
+ .reject { |f| f.start_with?("app/assets/builds/") && !f.start_with?("app/assets/builds/avo/") }
38
47
 
39
48
  spec.add_dependency "activerecord", ">= 6.1"
40
49
  spec.add_dependency "activesupport", ">= 6.1"
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "4.2.2" unless const_defined?(:VERSION)
2
+ VERSION = "4.2.3" unless const_defined?(:VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.2
4
+ version: 4.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -221,11 +221,6 @@ files:
221
221
  - Gemfile.lock
222
222
  - README.md
223
223
  - Rakefile
224
- - app/assets/builds/avo.base.css
225
- - app/assets/builds/avo.base.js
226
- - app/assets/builds/avo.base.js.map
227
- - app/assets/builds/avo.custom.js
228
- - app/assets/builds/avo.custom.js.map
229
224
  - app/assets/builds/avo/application.css
230
225
  - app/assets/builds/avo/application.js
231
226
  - app/assets/builds/avo/application.js.map
@@ -234,8 +229,6 @@ files:
234
229
  - app/assets/builds/avo/dependencies.css
235
230
  - app/assets/builds/avo/late-registration.js
236
231
  - app/assets/builds/avo/late-registration.js.map
237
- - app/assets/builds/late-registration.js
238
- - app/assets/builds/late-registration.js.map
239
232
  - app/assets/config/avo_manifest.js
240
233
  - app/assets/images/avo/favicon-dark.ico
241
234
  - app/assets/images/avo/favicon.ico