migflow 0.2.1 → 0.2.2

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: ef140c671300acdb5cdb1d2bfccf3e1aded63e454809b04213926baa9c64696f
4
- data.tar.gz: 2f9ddfa00d4082293559c0d461f09d98eded02b328792c89e1928da8c64994f1
3
+ metadata.gz: 012fe80fa7f62c207288c4ceef538501c183d19894320a96dec797571d23470b
4
+ data.tar.gz: 13fbba968d1a19f618673e69c06c9df475f5b1a4c9ead12b0d10de38c012e22f
5
5
  SHA512:
6
- metadata.gz: d47dea0707204cadc4ab7025622dec0d54a7dcf3621432988c367202f2a010d41fb0ed0d64f3b38a41d93a26c8bb252d31d6edef2aad53a3636c733062b2bec9
7
- data.tar.gz: f1e7cdea8d76f3a65a03de462fcd4188fa888ab8d00ef5590b0b48d4bca8c9bbc045a8914c6df31739bdeeb1c1fa387d5668989c85b80fe63d61cde32f5f51a8
6
+ metadata.gz: 341eea85492c25ac9a5118d947496ac8dcad2e78302591bd4f50c83fe392c968ff2fa7bf6497cf9bd818301b3f59d8525113d82dc58ce5b210e63070a864b79f
7
+ data.tar.gz: '019754ee7ff40de379f153e5eb52697f488ce86515ba9f07812c13654020d7c69858ad16ed4faea0faabb4cc7ec85b3c7aa1f66ab88306342298afda1dac7e24'
data/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.2] - 2026-04-30
11
+
12
+ ### Fixed
13
+ - `ActionController::InvalidCrossOriginRequest` raised when the browser loads `app.js` via a `<script>` tag. Rails' same-origin JavaScript protection was firing on the `StaticController` asset responses; forgery protection is now skipped since these are public static assets.
14
+
10
15
  ## [0.2.1] - 2026-04-29
11
16
 
12
17
  ### Fixed
@@ -3,6 +3,7 @@
3
3
  module Migflow
4
4
  class StaticController < ActionController::Base
5
5
  layout false
6
+ skip_forgery_protection
6
7
 
7
8
  def app_js
8
9
  send_file Migflow::Engine.root.join("app/assets/migflow/app.js"),
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Migflow
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: migflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joao Victor Valentim