lemon 0.9.3 → 0.9.4

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: 64d9cd2a28e7ea13ff88b7470b8799bea46c63f2820815b7e671aaef2f7dbb9d
4
- data.tar.gz: ccf45aac87c34579ea4647f9e1f2971e1ad69251f8327764593003a1691c2c35
3
+ metadata.gz: 57ce6da63fc64e109b277714ec13e83ce8e5da35bc0f0c3352ad911bd9a4dab6
4
+ data.tar.gz: 14b39be1d69fdf300000c11bdc8563dc96845a6d826e61835e49791807e5acec
5
5
  SHA512:
6
- metadata.gz: bc68af0a2bfe806bff320bc49368e95ba61658b84dc31920c305b4d42344ef776860d334bb079aa69eb67d97be8bbe5458bce8d5ff2469a588203950c434d725
7
- data.tar.gz: fb96f5c06b6fce006920b67f36c7c6fbad043c0ce1cff255bc18c52698727adea00fbc0d4de3c156dd3d87e0ed1f8749a8b392a40bd6493f8583e8f34bece693
6
+ metadata.gz: a2b1c8ad6a4b851128e5f86337a2053ee9ea78789b22ea84df5a77fca0491e83b9d8c4c3fd34e862dd1654466dc83583d487ec17e09a53243dc2c70baf5fd0c9
7
+ data.tar.gz: 7d9cea50548f36c64e477e020076974bce9825139ed12fcdb0dc02ef6641cee87ea40eaf7960ad5b2ec2f54c6557b4e0795ff0144e0d364a77cf2ef3b7dcdb6d
data/HISTORY.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # RELEASE HISTORY
2
2
 
3
+ ## 0.9.4 / 2026-11-29
4
+
5
+ Bug fix release. `lemons test` works again.
6
+
7
+ Changes:
8
+
9
+ * Fix `lemons test`, which failed with "undefined method 'cli' for class
10
+ Test::Runner". It now runs Rubytest's own command line.
11
+ * Require Rubytest 0.10 or later, which has the TAP formats built in.
12
+ * Use the built-in TAP format in the README example.
13
+
3
14
  ## 0.9.3 / 2026-04-01
4
15
 
5
16
  Bug fix release. Fixes Ruby 3+ compatibility issues in test method dispatch.
data/README.md CHANGED
@@ -77,7 +77,7 @@ Lemon utilizes the RubyTest universal test harness to run tests, the `lemons tes
77
77
 
78
78
  Normal output is typically a _dot progression_. Other output types can be specified by the `--format` or `-f` option.
79
79
 
80
- $ rubytest -r lemon -f tapy test/cases/name_case.rb
80
+ $ rubytest -r lemon -f tap test/cases/name_case.rb
81
81
 
82
82
  See [RubyTest](https://github.com/rubyworks/rubytest) for more information.
83
83
 
data/lib/lemon/cli.rb CHANGED
@@ -1,4 +1,3 @@
1
- #require 'lemon/cli/runner'
2
1
  require 'lemon/cli/generate'
3
2
  require 'lemon/cli/scaffold'
4
3
  require 'lemon/cli/coverage'
@@ -11,10 +10,6 @@ module Lemon
11
10
  module CLI
12
11
  end
13
12
 
14
- #--
15
- # TODO: Use Lemon::CLI::Runner and have it delegate to RubyTest ?
16
- #++
17
-
18
13
  # Command line interface takes the first argument off `argv` to determine
19
14
  # the subcommand: `test`, `cov` or `gen`. If `test`, then Lemon delegates
20
15
  # control to Ruby Test.
@@ -24,9 +19,8 @@ module Lemon
24
19
  case cmd
25
20
  when 't', 'test', 'run'
26
21
  require 'lemon'
27
- require 'rubytest'
28
- Test::Runner.cli(*ARGV)
29
- #Lemon::CLI::Test.new.run(argv)
22
+ require 'rubytest/cli'
23
+ Test::CLI.run(argv)
30
24
  when 'g', 'gen', 'generate', 'generator'
31
25
  Lemon::CLI::Generate.run(argv)
32
26
  when 's', 'sca', 'scaffold'
data/lib/lemon.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Lemon
2
- VERSION = '0.9.3'
2
+ VERSION = '0.9.4'
3
3
  end
4
4
 
5
5
  # Ruby Test standard location for test objects.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lemon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Sawyer
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: '0.8'
18
+ version: '0.10'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
- version: '0.8'
25
+ version: '0.10'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: ae
28
28
  requirement: !ruby/object:Gem::Requirement