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 +4 -4
- data/CHANGELOG.md +16 -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: 3acec95607776e567399ffef5a77c6701f6b442818d2288f3064ec4d68bb91e6
|
|
4
|
+
data.tar.gz: 504439f061bfc674fd7736f289f82b3216aaff00eaf563eb86a021e70c63e6ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 "
|
|
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