rspec-inline-snapshot 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/inline_snapshot/matchers.rb +1 -1
- data/lib/rspec/inline_snapshot/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8862836288656fafa748e1ae6ddde2a664db1ac978f397b9c17dbca0d10c498b
|
4
|
+
data.tar.gz: 196ea4134c343ca0c13cd5149d9f6fdee5fd29768a4413c35ca1afab5f003696
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56c2682d12d97629c24ab02e61a3a550310cd0157a4c915310e4d4f1798245c37994197d8ac1f992cb093e7511167161476562c83d1a15e386f0975ac533ec3c
|
7
|
+
data.tar.gz: 74d47269d4f3f1e35f7efa8b5646f58094fce9d6c9d2db77d1e5db529e67cb6b29557541096904eb827bfeda8bd30f43de3369321fd9b5cdd0be10a83cbf62cf
|
@@ -137,7 +137,7 @@ module RSpec
|
|
137
137
|
# https://medium.com/flippengineering/using-rubocop-ast-to-transform-ruby-files-using-abstract-syntax-trees-3e352e9ac916
|
138
138
|
REWRITERS[source_file_path] ||= begin
|
139
139
|
parsed_source = RuboCop::AST::ProcessedSource.from_file(source_file_path,
|
140
|
-
|
140
|
+
RUBY_VERSION.match(/\d+\.\d+/).to_s.to_f)
|
141
141
|
corrector = ::RuboCop::Cop::Corrector.new(parsed_source)
|
142
142
|
[parsed_source, corrector]
|
143
143
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-inline-snapshot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hummingbird RegTech, Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -80,7 +80,7 @@ licenses:
|
|
80
80
|
- Apache-2.0
|
81
81
|
metadata:
|
82
82
|
rubygems_mfa_required: 'true'
|
83
|
-
post_install_message:
|
83
|
+
post_install_message:
|
84
84
|
rdoc_options: []
|
85
85
|
require_paths:
|
86
86
|
- lib
|
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
version: '0'
|
97
97
|
requirements: []
|
98
98
|
rubygems_version: 3.1.6
|
99
|
-
signing_key:
|
99
|
+
signing_key:
|
100
100
|
specification_version: 4
|
101
101
|
summary: Inline snapshot expectations for RSpec
|
102
102
|
test_files: []
|