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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 48ebe5de01d741a0cbde8bb38d99e621b9980e2520ee054f37030ec2b5e720fe
4
- data.tar.gz: ee42597d9d900e1b00aec6c444d686bbb3f59c81c8b7bc2bc6c23ad351511d85
3
+ metadata.gz: b949fcfd3a6a923f97ba65b8bdabf557f943004f0f753b475163317a2ae7c24d
4
+ data.tar.gz: b96af8b797589a2e07872f15d354868ca57ccc4ef7332a00ae169365bb8fefc6
5
5
  SHA512:
6
- metadata.gz: 751560c0fe2a7a5e7ca1a8e6bd7816fc73d5483b30f4a17237f9b2359b565ae27e5095d595cd40a20873a34184d18750552c8c5d80ee361f352ef11b962b2e54
7
- data.tar.gz: '018b81cbe7a80ae3e00e20789f872a839d847d618a903628757e46ec53804621b1dd82426c965595bbdab835e09883053b179fbad5d6d16b038b9f736d6be174'
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 "Release both gems: tag once, push inline_forms and inline_forms_installer to RubyGems"
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",
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module InlineForms
3
- VERSION = "7.13.10"
3
+ VERSION = "7.13.11"
4
4
  end
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.10
4
+ version: 7.13.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares