rspec-inline-snapshot 1.0.0 → 1.0.1

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: 01661d8bb47e00451b851af3d426cc0bc2e0dd5a1ad6a087b2bf036fe0260fd2
4
- data.tar.gz: d9bcd6ddb63f4b6234e29fe10933abc60e13c4e8fc73573125d04cee83c0668b
3
+ metadata.gz: 8862836288656fafa748e1ae6ddde2a664db1ac978f397b9c17dbca0d10c498b
4
+ data.tar.gz: 196ea4134c343ca0c13cd5149d9f6fdee5fd29768a4413c35ca1afab5f003696
5
5
  SHA512:
6
- metadata.gz: 50ff7415887cf95c6f04cf7e5d1655fcd984f70f9673f9eab20c650a45a1427e52328c9f6642621d9dbb6e8baef752557d4c6988003d04958d6d10e8433f9c8f
7
- data.tar.gz: 0b38196c74116b3a432924c12aaab36fb2f81a010eb62b7d96a094235e5dd839bc495aa22906c0fa4403b9184aac9418ab0419ca40970470bb86bce7c46e45dd
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
- 2.7)
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
@@ -13,6 +13,6 @@
13
13
  # limitations under the License.
14
14
  module RSpec
15
15
  module InlineSnapshot
16
- VERSION = '1.0.0'.freeze
16
+ VERSION = '1.0.1'.freeze
17
17
  end
18
18
  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.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: 2022-12-13 00:00:00.000000000 Z
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: []