rspec-big-infer 0.5.0 → 0.6.0

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: db7e04301f8aeda4523f3570a1a6d289c94007a1b2b9b39b0eceff30172f2f41
4
- data.tar.gz: 9227adbe57bf51c7e37586260b3008b48fff17f1075c93eb14a9ff6992e8de7d
3
+ metadata.gz: 78fb83d114e6a34f11259bf099f525d9bdb649c9f7846a93c21c8991064e7ee0
4
+ data.tar.gz: db1f9b0c6d9f10f7ddd15dfe6d2ae3e2757321498d613572f2769372d84eafc2
5
5
  SHA512:
6
- metadata.gz: a5849499d80ad460d82531ce4ad5fc61f4bb3e6678364c11fd673ddb049f6b6f6dc0828327ef6cdcb400c544ef8ea0f0fed4d00e919232bb15a1460b71f740fe
7
- data.tar.gz: b17753f2062279b0ca231da662612f19eb30b7d4639c2870647b971dba515cf60a86b16115f8198d617f138c34f73cfc4c7bd95b372674941525a80a7401b481
6
+ metadata.gz: a5766a418a75531442c4fcdfc4adeec035ff664219ed3d6f1a4978d96b29560f4cf03c5718cad9c89d74f2bdd940ca3406d9a55388dd4e7a3106d691b5a472f5
7
+ data.tar.gz: 741a4bd5e810f591a98efe2028664eb19718fe386cfbca71f526971ec4b43d7428b8033c9b267a8a46c0371e151e5fe64e0e23952e246d592acd2df4b56040f8
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Rspec::Big::Infer
1
+ # RSpec::Big::Infer
2
2
 
3
3
  `rspec-big-infer` is a set of helper tools that help working (testing) with big projects.
4
4
 
@@ -12,7 +12,7 @@ bundle add rspec-big-infer
12
12
 
13
13
  ## Usage - infer which tests to run based on the changes in the codebase
14
14
 
15
- 1. Generate tests map with: `bundle exec rspec --dry-run --format Rspec::Big::Infer::Formatter --out tmp/rspec_infer.json`
15
+ 1. Generate tests map with: `bundle exec rspec --dry-run --format RSpec::Big::Infer::Formatter --out tmp/rspec_infer.json`
16
16
  * It works based on `described_class` and `const_source_location`
17
17
  2. (optional) Printout tests that will be run based on infer: `git diff --name-only --diff-filter=D origin/develop | bundle exec rspec-big-infer tmp/rspec_infer.json`
18
18
  3. Run tests with `bundle exec rspec $(git diff --name-only --diff-filter=D origin/develop | bundle exec rspec-big-infer tmp/rspec_infer.json)` to run tests based on the changes in the codebase.
@@ -2,7 +2,7 @@
2
2
 
3
3
  require "rspec/core/formatters/json_formatter"
4
4
 
5
- module Rspec
5
+ module RSpec
6
6
  module Big
7
7
  module Infer
8
8
  class Formatter < RSpec::Core::Formatters::JsonFormatter
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module Rspec
3
+ module RSpec
4
4
  module Big
5
5
  module Infer
6
- VERSION = "0.5.0"
6
+ VERSION = "0.6.0"
7
7
  end
8
8
  end
9
9
  end
@@ -3,7 +3,7 @@
3
3
  require_relative "infer/version"
4
4
  require_relative "infer/formatter"
5
5
 
6
- module Rspec
6
+ module RSpec
7
7
  module Big
8
8
  module Infer
9
9
  class Error < StandardError; end
@@ -4,7 +4,7 @@ require_relative "lib/rspec/big/infer/version"
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "rspec-big-infer"
7
- spec.version = Rspec::Big::Infer::VERSION
7
+ spec.version = RSpec::Big::Infer::VERSION
8
8
  spec.authors = ["Patryk Ptasinski"]
9
9
  spec.email = ["patryk@ipepe.pl"]
10
10
 
@@ -1,4 +1,4 @@
1
- module Rspec
1
+ module RSpec
2
2
  module Big
3
3
  module Infer
4
4
  VERSION: String
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-big-infer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patryk Ptasinski
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-05-21 00:00:00.000000000 Z
10
+ date: 2025-05-22 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rspec-core