middleman-core 4.6.1 → 4.6.2

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: da8b311e43fa228d2da268e35cf2989a58608b3d77a89caea4517fafc49cb913
4
- data.tar.gz: a1ac754b14972b459d104adc99a1d1f760858b75c03e5e73fcc67cecee9794b0
3
+ metadata.gz: 897f4aa3b3c7d0997c53c95fa7a30a1256238c1fa3d4ccfffd1f661d0cd46b56
4
+ data.tar.gz: ebc14bc55856a7320ef23c8b18f8622e1e95ffcad50dc486c3bf9fd0c85ee3dc
5
5
  SHA512:
6
- metadata.gz: 333100cd1ffc52ec7bc3d0f1456a97cdb81a827902b135078411924b34a502b6097768df1e16cb60cf03a8a3b4e630cf79d380220f3fd0af9e3be79e19031da2
7
- data.tar.gz: d4be7e55116af638717ac5ea1b662273118ea5925dc9afc644b20c9702caf717641ba19b2a8de4294d86b4b5cdb5fd9e24dfbd1fcfee36f150baa3797a211f20
6
+ metadata.gz: 3257e06583706dd55db1a6dce91b0d6ab261490f61f85d2a56a1cbbe3034015b6714c433aeb793ab2e5655198ebd004cca4fa28ab42da35b6aab31685dee98fa
7
+ data.tar.gz: 161b00a558e1acb824ec210b2110eb59e2fc7d1c00d33f8a824b976545d9fbc0564d35d12e16645f614816653cc6ee4e31fd23dfad86348cd828d6a1bec39880
@@ -101,7 +101,7 @@ module Middleman
101
101
 
102
102
  # Respond to an HTML request
103
103
  def response(content)
104
- [200, { 'Content-Type' => 'text/html' }, Array(content)]
104
+ [200, { 'content-type' => 'text/html' }, Array(content)]
105
105
  end
106
106
 
107
107
  def extension_options(extension)
@@ -135,7 +135,7 @@ module Middleman
135
135
  # Immediately send static file
136
136
  def send_file(resource, env)
137
137
  file = ::Rack::Files.new nil
138
- path = resource.file_descriptor[:full_path]
138
+ path = resource.file_descriptor[:full_path].to_s
139
139
  if !file.respond_to?(:path=)
140
140
  request = ::Rack::Request.new(env)
141
141
  response = file.serving(request, path)
@@ -12,7 +12,7 @@ When /^I stop (?:middleman|all commands) if the output( of the last command)? co
12
12
  sleep 0.1
13
13
  end
14
14
  end
15
- rescue ChildProcess::TimeoutError, Timeout::Error
15
+ rescue ::ChildProcess::TimeoutError, Timeout::Error
16
16
  last_command_started.terminate
17
17
  ensure
18
18
  aruba.announcer.announce :stdout, last_command_started.stdout
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  # Current Version
3
3
  # @return [String]
4
- VERSION = '4.6.1'.freeze unless const_defined?(:VERSION)
4
+ VERSION = '4.6.2'.freeze unless const_defined?(:VERSION)
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.6.1
4
+ version: 4.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Reynolds
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2025-06-13 00:00:00.000000000 Z
13
+ date: 2025-08-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler