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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f62e6caefc8016f1155eb0ec2017653016d048b99c5df037e420f0e118263c0
4
- data.tar.gz: 4829db0454d5897a91c0cfda0b8f47920973b3c3dd10221502262de6e480a7be
3
+ metadata.gz: a2c3eae05189bc9397839b3116acbfcfc8669d049a25fe5041f10e2c0d10c710
4
+ data.tar.gz: 32d1023dcd6cc66eea0bb47ede52a474edc026d8e87cefc2a79a50e3c95f07ef
5
5
  SHA512:
6
- metadata.gz: 404b61dad357ce2f41e922de4287afba65945652ad1b3dc6ca1feb58cadee1048f1fe27a4d2aed530770a573322ace55c57bd8f4e2eb394196702d4d4dd4e23e
7
- data.tar.gz: fb0a2d617bc3744305126ccbc9d161119511f5dc76e4d73ccd9abba744e2bb240bbe55826bbdb93332243d3b4fbc5b815e7bf59cdf80dfecc692ca2c9112b5d5
6
+ metadata.gz: 8c47c65c0b8fb2e68b77f742d669f870a665b4777a3466da43c03bee7dc450d1875e67f1fce45098ca2e36d00f30cb7da85043af4c9393095d4d985f85ce0b57
7
+ data.tar.gz: 8d6afb80fe0584f38783a87b129272c48732d6362a404316afc38c40df6c6b1d8d90c428bebb20e5c881d7766b941f90e982935de2da71953b482443a8451ca5
data/Changelog CHANGED
@@ -1,3 +1,7 @@
1
+ 2.4.1
2
+ Fix a bug when using Regtest::Git.C or Regtest::Git.git_dir with relative
3
+ paths for filenames.
4
+
1
5
  2.4.0
2
6
  Add parameter Regtest::Git.C.
3
7
 
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
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Regtest
5
- VERSION = '2.4.0'
5
+ VERSION = '2.4.1'
6
6
  end
data/regtest.gemspec CHANGED
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: regtest 2.4.0 ruby lib
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.0"
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-13"
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.0
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-13 00:00:00.000000000 Z
10
+ date: 2024-09-14 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rake