heel 4.0.0 → 4.0.1

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: a30c25c0812fab3683289b6401bcb36f4317495e2d82ddca4f5e9b8894576e6a
4
- data.tar.gz: 5f18466155c4622d2b1fb1dffbf5e519fc744f94502610e89c5579f3d140eaf2
3
+ metadata.gz: 393082605b27fbe2a70c79ea429139d8710446669ae018edca7a81f8336484d2
4
+ data.tar.gz: fe57b4911204f1d3495fd6dec4ada0ba6db103c03510bc81da893312998ce264
5
5
  SHA512:
6
- metadata.gz: a8c31dc5c10aeb6d7662b81ac406a0b0b6753a980455f8247c96854575b5129c24bc57810d3015c61eefc99b8627aa69f98a2833745c0187da690781833f71d1
7
- data.tar.gz: f5157ca6f4bc58fb0687de0bfe3be450f12bcdc48088f4b0004f1489dca9fdadd3b8c2459cb4181da591bfd8a555c3e9c75a4336113c010df62f49ab89f76c83
6
+ metadata.gz: 1580b107ef70638394ed0684027395b399ccaac927ebf4fac92528ae82eec602364dab410ac759997681255ffd388565ce6291d7d8c1cd61a2100c7cb079f256
7
+ data.tar.gz: 2993098c31d87247dc560c4ebf4dd10bb9d240dedaaf6ee65f0fe17830d8a6177fd5c2a1941e075f55bd19c2eca0f2ee7813daf44cd169e7c49979e53379226f
data/HISTORY.md CHANGED
@@ -1,4 +1,9 @@
1
1
  # Changelog
2
+ ## Version 4.0.1 - 2024-03-03
3
+ * Update all dependencies
4
+ * update test versions of ruby
5
+ * fix a couple of tests
6
+
2
7
  ## Version 4.0.0 - 2023-04-11
3
8
  * Update all dependencies
4
9
  * ruby 3.0 minimum dependencies
data/README.md CHANGED
@@ -11,6 +11,10 @@ directory. Once the server is running, heel will use
11
11
  [launchy](https://rubygems.org/gems/launchy/) to open your browser at
12
12
  the URL of your document root.
13
13
 
14
+ Run it right now! `gem exec heel`
15
+
16
+ -----
17
+
14
18
  Heel is built using [Rack](https://github.com/rack/rack) and
15
19
  [Puma](https://puma.io)
16
20
 
data/lib/heel.rb CHANGED
@@ -4,7 +4,7 @@
4
4
  #++
5
5
 
6
6
  module Heel
7
- VERSION = '4.0.0'
7
+ VERSION = '4.0.1'
8
8
  end
9
9
 
10
10
  require 'heel/configuration'
@@ -34,8 +34,8 @@ describe Heel::DirectoryIndexer do
34
34
  [
35
35
  { :ext => 'svg', :type => 'image/svg+xml' },
36
36
  { :ext => 'flv', :type => 'video/x-flv' },
37
- { :ext => 'rb', :type => 'application/x-ruby' },
38
- { :ext => 'rhtml', :type => 'application/x-html+ruby' }
37
+ { :ext => 'rb', :type => 'text/plain' },
38
+ { :ext => 'rhtml', :type => 'text/plain' }
39
39
  ].each do |m|
40
40
  it "finds #{m[:ext]} extension in the map as #{m[:type]}" do
41
41
  _(@indexer.mime_map.mime_type_of( "test.#{m[:ext]}" )).must_equal m[:type]
data/spec/rackapp_spec.rb CHANGED
@@ -26,7 +26,7 @@ describe Heel::RackApp do
26
26
  res = @request.get("/lib/heel.rb?highlighting=off")
27
27
  _(res).must_be :ok?
28
28
  _(res.body.size).must_equal File.size("lib/heel.rb")
29
- _(res['Content-Type']).must_equal "application/x-ruby"
29
+ _(res['Content-Type']).must_equal "text/plain"
30
30
  end
31
31
 
32
32
  it "should return a 405 if given a non-GET request" do
data/tasks/default.rake CHANGED
@@ -146,7 +146,7 @@ namespace :fixme do
146
146
 
147
147
  def local_fixme_files
148
148
  local_files = This.manifest.select { |p| p =~ %r|^tasks/| }
149
- local_files << ".semaphore/semaphore.yml"
149
+ local_files.concat( Dir.glob( ".semaphore/*" ) )
150
150
  end
151
151
 
152
152
  def outdated_fixme_files
data/tasks/this.rb CHANGED
@@ -21,6 +21,9 @@ class ThisProject
21
21
  # The hash of Gem::Specifications keyed' by platform
22
22
  attr_accessor :gemspecs
23
23
 
24
+ # List of cross platforms to build the gem for
25
+ attr_accessor :cross_platforms
26
+
24
27
  # Public: Initialize ThisProject
25
28
  #
26
29
  # Yields self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heel
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Hinegardner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-11 00:00:00.000000000 Z
11
+ date: 2024-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -166,12 +166,13 @@ dependencies:
166
166
  version: '0.21'
167
167
  description: 'Heel is a small static web server for use when you need a quick web
168
168
  server for a directory. Once the server is running, heel will use (https://rubygems.org/gems/launchy/)
169
- to open your browser at the URL of your document root. Heel is built using (https://github.com/rack/rack)
170
- and (https://puma.io) % heel Launching your browser... Puma starting
171
- in single mode... * Puma version: 6.2.1 (ruby 3.2.2-p53) ("Speaking of Now") * Min
172
- threads: 0 * Max threads: 5 * Environment: none * PID: 11322 *
173
- Listening on http://0.0.0.0:4331 Use Ctrl-C to stop Or run it in the background %
174
- heel --daemonize Launching your browser at http://0.0.0.0:4331/ % heel --kill Sending
169
+ to open your browser at the URL of your document root. Run it right now! `gem exec
170
+ heel` ----- Heel is built using (https://github.com/rack/rack) and (https://puma.io) %
171
+ heel Launching your browser... Puma starting in single mode... * Puma
172
+ version: 6.2.1 (ruby 3.2.2-p53) ("Speaking of Now") * Min threads: 0 * Max
173
+ threads: 5 * Environment: none * PID: 11322 * Listening on
174
+ http://0.0.0.0:4331 Use Ctrl-C to stop Or run it in the background % heel
175
+ --daemonize Launching your browser at http://0.0.0.0:4331/ % heel --kill Sending
175
176
  TERM to process 3304 Done.'
176
177
  email: jeremy@copiousfreetime.org
177
178
  executables:
@@ -249,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
250
  - !ruby/object:Gem::Version
250
251
  version: '0'
251
252
  requirements: []
252
- rubygems_version: 3.4.10
253
+ rubygems_version: 3.5.3
253
254
  signing_key:
254
255
  specification_version: 4
255
256
  summary: Heel is a small static web server for use when you need a quick web server