inline_forms 7.13.10 → 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 +12 -0
- data/Rakefile +33 -1
- data/lib/inline_forms/version.rb +1 -1
- metadata +1 -1
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,18 @@ 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
|
+
|
|
7
19
|
## [7.13.10] - 2026-05-20
|
|
8
20
|
|
|
9
21
|
### Changed
|
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/lib/inline_forms/version.rb
CHANGED