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 +4 -4
- data/HISTORY.md +11 -0
- data/README.md +1 -1
- data/lib/lemon/cli.rb +2 -8
- data/lib/lemon.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 57ce6da63fc64e109b277714ec13e83ce8e5da35bc0f0c3352ad911bd9a4dab6
|
|
4
|
+
data.tar.gz: 14b39be1d69fdf300000c11bdc8563dc96845a6d826e61835e49791807e5acec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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::
|
|
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
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.
|
|
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.
|
|
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.
|
|
25
|
+
version: '0.10'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: ae
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|