regtest 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog +4 -0
- data/lib/regtest/git.rb +3 -0
- data/lib/regtest/version.rb +1 -1
- data/regtest.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2c3eae05189bc9397839b3116acbfcfc8669d049a25fe5041f10e2c0d10c710
|
4
|
+
data.tar.gz: 32d1023dcd6cc66eea0bb47ede52a474edc026d8e87cefc2a79a50e3c95f07ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c47c65c0b8fb2e68b77f742d669f870a665b4777a3466da43c03bee7dc450d1875e67f1fce45098ca2e36d00f30cb7da85043af4c9393095d4d985f85ce0b57
|
7
|
+
data.tar.gz: 8d6afb80fe0584f38783a87b129272c48732d6362a404316afc38c40df6c6b1d8d90c428bebb20e5c881d7766b941f90e982935de2da71953b482443a8451ca5
|
data/Changelog
CHANGED
data/lib/regtest/git.rb
CHANGED
@@ -15,6 +15,9 @@ begin
|
|
15
15
|
# Redefine Regtest.check_results.
|
16
16
|
def check_results
|
17
17
|
output_files = Regtest.results.keys
|
18
|
+
if Git.C || Git.work_tree
|
19
|
+
output_files.map! {|fn| File.expand_path(fn)}
|
20
|
+
end
|
18
21
|
if output_files.empty?
|
19
22
|
report "\nNothing to do.", type: :success
|
20
23
|
return :success
|
data/lib/regtest/version.rb
CHANGED
data/regtest.gemspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: regtest 2.4.
|
2
|
+
# stub: regtest 2.4.1 ruby lib
|
3
3
|
#
|
4
4
|
# This file is automatically generated by rim.
|
5
5
|
# PLEASE DO NOT EDIT IT DIRECTLY!
|
@@ -7,12 +7,12 @@
|
|
7
7
|
|
8
8
|
Gem::Specification.new do |s|
|
9
9
|
s.name = "regtest"
|
10
|
-
s.version = "2.4.
|
10
|
+
s.version = "2.4.1"
|
11
11
|
|
12
12
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
13
13
|
s.require_paths = ["lib"]
|
14
14
|
s.authors = ["Jan Friedrich"]
|
15
|
-
s.date = "2024-09-
|
15
|
+
s.date = "2024-09-14"
|
16
16
|
s.description = "This library supports a very simple way to do regression testing with Ruby. It\nis not limited to Ruby projects you can use it also in other contexts where you\ncan extract data with Ruby.\n\nYou write Ruby scripts with samples. Run these and get the sample results as\nresults files besides your scripts. Check both the scripts and the results\nfiles in you Source Code Management System (SCM). When you run the scrips on a\nlater (or even previous) version of your code a simple diff show you if and how\nthe changes in your code or environment impact the results of your samples.\n\nThis is not a replacement for unit testing but a complement: You can produce a\nlot of samples with a small amount of Ruby code (e.g. a large number of\ncombinations of data).\n"
|
17
17
|
s.email = "janfri26@gmail.com"
|
18
18
|
s.files = ["./.aspell.pws", "Changelog", "Gemfile", "LICENSE", "README.md", "Rakefile", "lib/regtest", "lib/regtest.rb", "lib/regtest/colors.rb", "lib/regtest/git.rb", "lib/regtest/task.rb", "lib/regtest/version.rb", "regtest.gemspec"]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: regtest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Friedrich
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2024-09-
|
10
|
+
date: 2024-09-14 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: rake
|