inline_forms 7.13.10 → 7.13.12

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: 3acec95607776e567399ffef5a77c6701f6b442818d2288f3064ec4d68bb91e6
4
+ data.tar.gz: 504439f061bfc674fd7736f289f82b3216aaff00eaf563eb86a021e70c63e6ef
5
5
  SHA512:
6
- metadata.gz: 751560c0fe2a7a5e7ca1a8e6bd7816fc73d5483b30f4a17237f9b2359b565ae27e5095d595cd40a20873a34184d18750552c8c5d80ee361f352ef11b962b2e54
7
- data.tar.gz: '018b81cbe7a80ae3e00e20789f872a839d847d618a903628757e46ec53804621b1dd82426c965595bbdab835e09883053b179fbad5d6d16b038b9f736d6be174'
6
+ metadata.gz: '0960256de3944fd0286eb710885a5c6289ecbb68d4397a866828ae412e3e601419610cf2b6e194c0a37cd6aa4562519ed0f6a55bb69aea65d9d4e2c7957f2354'
7
+ data.tar.gz: 5927089981d365d1a58ad907af910810da94180e3fb2ff5de51c093c3a254c3f0dd67f284b8f900a7114b35e9ba5b4d369bf9aca9d458335a38a999848304eff
data/CHANGELOG.md CHANGED
@@ -4,6 +4,22 @@ All notable changes to this project are documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [7.13.12] - 2026-05-20
8
+
9
+ ### Changed
10
+
11
+ - **`InlineForms::VERSION`** and **`InlineFormsInstaller::VERSION`** → **7.13.12** (three-gem lockstep with **validation_hints**).
12
+ - **`installer_core.rb`:** `bundle_install!` runs `bundle install` + `bundle check` and **aborts** app generation if either fails (avoids a finished `MyApp` with `Gemfile.lock` but missing `inline_forms` / `validation_hints` in the RVM gemset).
13
+ - **`InlineFormsInstaller::Creator`:** prints `rvm use .`, `bundle install`, and `bundle exec rails test` after a successful create.
14
+
15
+ ## [7.13.11] - 2026-05-20
16
+
17
+ ### Changed
18
+
19
+ - **`InlineForms::VERSION`** and **`InlineFormsInstaller::VERSION`** → **7.13.11** (three-gem lockstep with **validation_hints**).
20
+ - **`rake install:local`:** optional task to `gem install` built gems from `pkg/`.
21
+ - **`rake release:all`:** build + tag + RubyGems push only (no MyApp, no `install:local`).
22
+
7
23
  ## [7.13.10] - 2026-05-20
8
24
 
9
25
  ### 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.12"
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.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ace Suares