hephaestus 0.8.20.3 → 0.8.22

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: 53416bfb62985d1d007171eaa75e37bb5f515c8b4a72ce3f01973a616882b9d6
4
- data.tar.gz: 9d17c563b01088561e63d79c9130e8490002f442e9e257a2b705d690d9651fc7
3
+ metadata.gz: bc3242552a959e97e1a48a750f3badbbb4fbf811c9c5c8aba11216c6946670bb
4
+ data.tar.gz: 2a826bc6b2780ef913b8787e6a17888a140f0b5db2ebfbd254625cadac8ec7c5
5
5
  SHA512:
6
- metadata.gz: 22f602cdf989439edfdcf2844a6477be03aeaa620120c27882966a698ecaa4f5cb1f9c95c713db2aee3b44b2982e041961c525053b718bbabfc4dc9bbff06f20
7
- data.tar.gz: 94cfafad858c244394907fed6939c38592f6f8bd4a5cff767cefc1538dd07c0195134155961186112303b0ce34c2339b9adc0be265775fec09ff0cc43629dde4
6
+ metadata.gz: 5d9a866a19947fc6bb91533bc9eb644aa2e564d446b4006db883c4388a388b0cfd5d1df5c0146e0f63cd154bbaaeef148ddca32fcf21afe8682934c631429f17
7
+ data.tar.gz: 8f1a306e8c9f7c32dc6fdc07ebda0f782655d3439872688a23d746a490112996b224d9aec650089c69becdeb68ae8c227d689de84b30c8e4ba525e56bf92cb93
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # [v0.8.22] - 02-07-2025
2
+ ## What's Changed
3
+ * change plugs to use solstice dependabot updates by @gjtorikian in https://github.com/yettoapp/hephaestus/pull/130
4
+
5
+
6
+ **Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.8.21...v0.8.22
7
+ # [v0.8.21] - 02-07-2025
8
+ ## What's Changed
9
+ * Dashes instead of dots in hostnames by @balevine in https://github.com/yettoapp/hephaestus/pull/128
10
+
11
+
12
+ **Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.8.20.3...v0.8.21
1
13
  # [v0.8.20.3] - 10-04-2025
2
14
  **Full Changelog**: https://github.com/yettoapp/hephaestus/compare/v0.8.20.2...v0.8.20.3
3
15
  # [v0.8.20.2] - 10-04-2025
@@ -66,7 +66,8 @@ def plug_url
66
66
  elsif Rails.env.staging?
67
67
  "#{plug_shortname}.plugs.yetto.dev"
68
68
  elsif Rails.env.development?
69
- "#{%x(hostname).chomp.downcase}-plug-#{plug_shortname}.ngrok.io"
69
+ # Replace the `.` with `-` to avoid issues with ngrok subdomains
70
+ "#{%x(hostname).tr(".", "-").chomp.downcase}-plug-#{plug_shortname}.ngrok.io"
70
71
  elsif Rails.env.test?
71
72
  "#{plug_shortname}.plugs.yetto.test"
72
73
  end
@@ -9,7 +9,7 @@ Rails.application.config.after_initialize do
9
9
  class LogSubscriber < ActiveSupport::LogSubscriber
10
10
  alias_method :original_format, :format
11
11
 
12
- private def format(arg)
12
+ private define_method(:format) do |arg|
13
13
  if arg.is_a?(Hash)
14
14
  parameter_filter = ActiveSupport::ParameterFilter.new(Rails.application.config.filter_parameters)
15
15
  parameter_filter.filter(arg.transform_values { |value| original_format(value) })
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Hephaestus
5
- VERSION = "0.8.20.3"
5
+ VERSION = "0.8.22"
6
6
  RAILS_VERSION = ">= 8.0"
7
7
  RUBY_VERSION = File
8
8
  .read("#{File.dirname(__FILE__)}/../../.ruby-version")
data/templates/bin/bundle CHANGED
@@ -13,15 +13,15 @@ require "rubygems"
13
13
  m = Module.new do
14
14
  module_function
15
15
 
16
- def invoked_as_script?
16
+ define_method(:invoked_as_script?) do
17
17
  File.expand_path($PROGRAM_NAME) == File.expand_path(__FILE__)
18
18
  end
19
19
 
20
- def env_var_version
20
+ define_method(:env_var_version) do
21
21
  ENV["BUNDLER_VERSION"]
22
22
  end
23
23
 
24
- def cli_arg_version
24
+ define_method(:cli_arg_version) do
25
25
  return unless invoked_as_script? # don't want to hijack other binstubs
26
26
  return unless "update".start_with?(ARGV.first || " ") # must be running `bundle update`
27
27
 
@@ -39,14 +39,14 @@ m = Module.new do
39
39
  bundler_version
40
40
  end
41
41
 
42
- def gemfile
42
+ define_method(:gemfile) do
43
43
  gemfile = ENV["BUNDLE_GEMFILE"]
44
44
  return gemfile if gemfile && !gemfile.empty? # rubocop:disable Rails/Present
45
45
 
46
46
  File.expand_path("../Gemfile", __dir__)
47
47
  end
48
48
 
49
- def lockfile
49
+ define_method(:lockfile) do
50
50
  lockfile =
51
51
  case File.basename(gemfile)
52
52
  when "gems.rb" then gemfile.sub(/\.rb$/, ".locked")
@@ -55,7 +55,7 @@ m = Module.new do
55
55
  File.expand_path(lockfile)
56
56
  end
57
57
 
58
- def lockfile_version
58
+ define_method(:lockfile_version) do
59
59
  return unless File.file?(lockfile)
60
60
 
61
61
  lockfile_contents = File.read(lockfile)
@@ -64,14 +64,14 @@ m = Module.new do
64
64
  Regexp.last_match(1)
65
65
  end
66
66
 
67
- def bundler_requirement
67
+ define_method(:bundler_requirement) do
68
68
  @bundler_requirement ||=
69
69
  env_var_version ||
70
70
  cli_arg_version ||
71
71
  bundler_requirement_for(lockfile_version)
72
72
  end
73
73
 
74
- def bundler_requirement_for(version)
74
+ define_method(:bundler_requirement_for) do |version|
75
75
  return "#{Gem::Requirement.default}.a" unless version
76
76
 
77
77
  bundler_gem_version = Gem::Version.new(version)
@@ -79,13 +79,13 @@ m = Module.new do
79
79
  bundler_gem_version.approximate_recommendation
80
80
  end
81
81
 
82
- def load_bundler!
82
+ define_method(:load_bundler!) do
83
83
  ENV["BUNDLE_GEMFILE"] ||= gemfile
84
84
 
85
85
  activate_bundler
86
86
  end
87
87
 
88
- def activate_bundler
88
+ define_method(:activate_bundler) do
89
89
  gem_error = activation_error_handling do
90
90
  gem("bundler", bundler_requirement)
91
91
  end
@@ -100,7 +100,7 @@ m = Module.new do
100
100
  exit(42)
101
101
  end
102
102
 
103
- def activation_error_handling
103
+ define_method(:activation_error_handling) do
104
104
  yield
105
105
  nil
106
106
  rescue StandardError, LoadError => e
@@ -16,9 +16,8 @@ updates:
16
16
  - package-ecosystem: bundler
17
17
  directory: "/"
18
18
  schedule:
19
- interval: monthly
20
- day: monday
21
- time: "09:00"
19
+ interval: cron
20
+ cronjob: "0 0 21 3,6,9,12 *"
22
21
  timezone: "Etc/UTC"
23
22
  open-pull-requests-limit: 10
24
23
  groups:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hephaestus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.20.3
4
+ version: 0.8.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-10 00:00:00.000000000 Z
11
+ date: 2025-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootsnap