inline_forms 7.13.8 → 7.13.11
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 +4 -4
- data/CHANGELOG.md +32 -0
- data/README.rdoc +8 -2
- data/Rakefile +33 -1
- data/inline_forms.gemspec +1 -1
- data/lib/inline_forms/version.rb +1 -1
- metadata +5 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b949fcfd3a6a923f97ba65b8bdabf557f943004f0f753b475163317a2ae7c24d
|
|
4
|
+
data.tar.gz: b96af8b797589a2e07872f15d354868ca57ccc4ef7332a00ae169365bb8fefc6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a7f2ed63f6f51f4582470735e90ed28369af436c6a2321dc6752946e3e2c5cb561cd189216715c9dc33987234c8f3e7e5d697846620060bdcbf74efd45bcc6c2
|
|
7
|
+
data.tar.gz: 061721e4479b8ca6cb7bb83fa73ffad72cbf8ef07c7a6027d3e7529613c629a470e068bb2f083abea29128a90aad7291ea917b8ce4200178f70c6b4014eab033
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,38 @@ All notable changes to this project are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- **`rake release:all`:** back to build + tag + RubyGems push only (no `install:local`, no MyApp). `install:local` remains a separate task for testing `inline_forms create`.
|
|
10
|
+
- **Release docs in `Rakefile`:** `validation_hints` is released from its own repo (`rake release` there).
|
|
11
|
+
|
|
12
|
+
## [7.13.11] - 2026-05-20
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- **`InlineForms::VERSION`** and **`InlineFormsInstaller::VERSION`** → **7.13.11** (three-gem lockstep with **validation_hints**).
|
|
17
|
+
- **`rake install:local`:** builds and `gem install`s `inline_forms` + `inline_forms_installer` from `pkg/` (and `validation_hints` from `../validation_hints/pkg/` when present). **`rake release:all`** now runs this first so `inline_forms create` uses the new installer template instead of an old RubyGems `inline_forms_installer` (e.g. 7.11.0 with `validation_hints ~> 6.3`).
|
|
18
|
+
|
|
19
|
+
## [7.13.10] - 2026-05-20
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- **`InlineForms::VERSION`** and **`InlineFormsInstaller::VERSION`** → **7.13.10** (three-gem lockstep with **validation_hints**).
|
|
24
|
+
- **Generated app Gemfile:** `inline_forms` and `validation_hints` pinned at `~> 7` (Bundler resolves the highest 7.x), not `~> 7.13` / exact installer version.
|
|
25
|
+
- **`inline_forms` gemspec:** `validation_hints ~> 7`.
|
|
26
|
+
- **`inline_forms_installer` gemspec:** `inline_forms ~> 7` (not locked to installer version).
|
|
27
|
+
- **`InlineFormsInstaller::Creator`:** removed install-time check that installer and engine versions must match.
|
|
28
|
+
- **`README.rdoc`:** documents `~> 7` pins and joint releases instead of matching versions at `gem install` time.
|
|
29
|
+
|
|
30
|
+
## [7.13.9] - 2026-05-20
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
|
|
34
|
+
- **`InlineForms::VERSION`**, **`InlineFormsInstaller::VERSION`**, and **`ValidationHints::VERSION`** → **7.13.9** (three-gem lockstep; publish all three to RubyGems together via `rake release:all` plus `validation_hints` release).
|
|
35
|
+
- **`inline_forms_installer` gemspec:** depends on `inline_forms ~> <installer version>` so `gem install inline_forms_installer` pulls a matching engine.
|
|
36
|
+
- **`InlineFormsInstaller::Creator`:** aborts before `rails new` when the installed `inline_forms` gem version differs from `inline_forms_installer` (avoids `validation_hints ~> 6.3` vs `>= 7.13` resolver failures). Defines `exit_on_failure?` for Thor.
|
|
37
|
+
- **`README.rdoc`:** documents that `inline_forms`, `inline_forms_installer`, and matching `validation_hints` must share the same release; `gem install inline_forms_installer` installs the CLI (not `gem install inline_forms` alone).
|
|
38
|
+
|
|
7
39
|
## [7.13.8] - 2026-05-20
|
|
8
40
|
|
|
9
41
|
### Added
|
data/README.rdoc
CHANGED
|
@@ -10,7 +10,13 @@ We will post a notice when the gem is good again.
|
|
|
10
10
|
|
|
11
11
|
= Usage
|
|
12
12
|
|
|
13
|
-
gem
|
|
13
|
+
The +inline_forms create+ CLI ships in the +inline_forms_installer+ gem (not in +inline_forms+ itself). Install the installer to get the +inline_forms+ executable:
|
|
14
|
+
|
|
15
|
+
gem install inline_forms_installer
|
|
16
|
+
|
|
17
|
+
Generated apps pin +inline_forms+ and +validation_hints+ at +~> 7+ (Bundler picks the latest 7.x). The three gems (+inline_forms+, +inline_forms_installer+, +validation_hints+) are released together with the same version number; use a current +inline_forms_installer+ so the installer template matches current Rails pins. To add the engine to an existing Rails app without the CLI:
|
|
18
|
+
|
|
19
|
+
gem install inline_forms inline_forms_installer
|
|
14
20
|
|
|
15
21
|
If you want to just start a new app called MyApp:
|
|
16
22
|
|
|
@@ -240,7 +246,7 @@ In every case the Turbo wiring is the same: +link_options: { data: { turbo_frame
|
|
|
240
246
|
|
|
241
247
|
== Generated application +rails-i18n+
|
|
242
248
|
|
|
243
|
-
New apps get +rails-i18n+ from RubyGems (+ '~> 7.0'+), not from the +svenfuchs/rails-i18n+ Git repository. Release line 7.0.x declares +railties+ between 6 and 8, which matches the template’s
|
|
249
|
+
New apps get +rails-i18n+ from RubyGems (+ '~> 7.0'+), not from the +svenfuchs/rails-i18n+ Git repository. Release line 7.0.x declares +railties+ between 6 and 8, which matches the installer template’s pinned +rails ~> 7.2.3+ (with +config.load_defaults 7.2+). The upstream repository’s default branch is aimed at newer Rails and would pull in +railties+ 8+, which cannot be resolved together with that pin.
|
|
244
250
|
|
|
245
251
|
== File uploads (CarrierWave)
|
|
246
252
|
|
data/Rakefile
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
require "bundler"
|
|
2
|
+
require_relative "lib/inline_forms/version"
|
|
2
3
|
|
|
3
4
|
Bundler::GemHelper.install_tasks name: "inline_forms"
|
|
4
5
|
|
|
@@ -6,10 +7,41 @@ namespace :installer do
|
|
|
6
7
|
Bundler::GemHelper.install_tasks name: "inline_forms_installer"
|
|
7
8
|
end
|
|
8
9
|
|
|
10
|
+
def inline_forms_pkg_gems
|
|
11
|
+
pkg = File.expand_path("pkg", __dir__)
|
|
12
|
+
version = InlineForms::VERSION
|
|
13
|
+
%w[inline_forms inline_forms_installer].map do |name|
|
|
14
|
+
path = File.join(pkg, "#{name}-#{version}.gem")
|
|
15
|
+
raise "Missing #{path}. Run rake build:all first." unless File.file?(path)
|
|
16
|
+
path
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def validation_hints_pkg_gem
|
|
21
|
+
version = InlineForms::VERSION
|
|
22
|
+
[
|
|
23
|
+
File.expand_path("../validation_hints/pkg/validation_hints-#{version}.gem", __dir__),
|
|
24
|
+
File.expand_path("~/code/validation_hints/pkg/validation_hints-#{version}.gem")
|
|
25
|
+
].find { |path| File.file?(path) }
|
|
26
|
+
end
|
|
27
|
+
|
|
9
28
|
desc "Build both inline_forms and inline_forms_installer into pkg/"
|
|
10
29
|
task "build:all" => ["build", "installer:build"]
|
|
11
30
|
|
|
12
|
-
desc "
|
|
31
|
+
desc "Install freshly built gems from pkg/ into the current gemset (required before inline_forms create)"
|
|
32
|
+
task "install:local" => ["build:all"] do
|
|
33
|
+
gems = inline_forms_pkg_gems
|
|
34
|
+
vh = validation_hints_pkg_gem
|
|
35
|
+
gems << vh if vh
|
|
36
|
+
sh "gem install #{gems.shelljoin}"
|
|
37
|
+
puts "Installed: #{gems.map { |g| File.basename(g) }.join(', ')}"
|
|
38
|
+
puts "Verify: inline_forms --version 2>/dev/null || gem which inline_forms_installer"
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Release inline_forms + inline_forms_installer only (build, git tag/push, RubyGems push).
|
|
42
|
+
# Does not run inline_forms create, MyApp, or tests. validation_hints is a separate
|
|
43
|
+
# repo: cd ../validation_hints && rake release (same version number).
|
|
44
|
+
desc "Release inline_forms and inline_forms_installer to RubyGems (no app generation)"
|
|
13
45
|
task "release:all" => [
|
|
14
46
|
"build:all",
|
|
15
47
|
"release:guard_clean",
|
data/inline_forms.gemspec
CHANGED
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
|
19
19
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
|
20
20
|
s.require_paths = ["lib"]
|
|
21
21
|
|
|
22
|
-
s.add_dependency("validation_hints", "
|
|
22
|
+
s.add_dependency("validation_hints", "~> 7")
|
|
23
23
|
s.add_dependency("rails", ">= 7.2.3.1", "< 7.3")
|
|
24
24
|
s.add_dependency("rails-i18n", ">= 7.0", "< 8.0")
|
|
25
25
|
|
data/lib/inline_forms/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inline_forms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.13.
|
|
4
|
+
version: 7.13.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ace Suares
|
|
@@ -15,22 +15,16 @@ dependencies:
|
|
|
15
15
|
name: validation_hints
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
requirements:
|
|
18
|
-
- - "
|
|
19
|
-
- !ruby/object:Gem::Version
|
|
20
|
-
version: '7.13'
|
|
21
|
-
- - "<"
|
|
18
|
+
- - "~>"
|
|
22
19
|
- !ruby/object:Gem::Version
|
|
23
|
-
version: '
|
|
20
|
+
version: '7'
|
|
24
21
|
type: :runtime
|
|
25
22
|
prerelease: false
|
|
26
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
27
24
|
requirements:
|
|
28
|
-
- - "
|
|
29
|
-
- !ruby/object:Gem::Version
|
|
30
|
-
version: '7.13'
|
|
31
|
-
- - "<"
|
|
25
|
+
- - "~>"
|
|
32
26
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
27
|
+
version: '7'
|
|
34
28
|
- !ruby/object:Gem::Dependency
|
|
35
29
|
name: rails
|
|
36
30
|
requirement: !ruby/object:Gem::Requirement
|