Skip to content

Commit 68c01f1

Browse files
authored
Merge pull request #6 from mocktools/develop
RSpec::Mock v0.2.0
2 parents 24af758 + 1edd5d8 commit 68c01f1

File tree

7 files changed

+19
-12
lines changed

7 files changed

+19
-12
lines changed

.circleci/gemspecs/compatible

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ Gem::Specification.new do |spec|
1212
spec.homepage = 'https://github.com/mocktools/ruby-rspec-mock'
1313
spec.license = 'MIT'
1414

15-
spec.required_ruby_version = '>= 2.5.0'
15+
spec.required_ruby_version = '>= 2.4.0'
1616
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
1717
spec.require_paths = %w[lib]
1818

19-
spec.add_runtime_dependency 'rspec-core', '~> 3.13', '>= 3.13.2'
20-
spec.add_runtime_dependency 'rspec-mocks', '~> 3.13', '>= 3.13.2'
19+
spec.add_runtime_dependency 'rspec-core', '~> 3.10'
20+
spec.add_runtime_dependency 'rspec-mocks', '~> 3.10'
2121

2222
spec.add_development_dependency 'rspec', '~> 3.13'
2323
end

.circleci/gemspecs/latest

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ Gem::Specification.new do |spec|
1212
spec.homepage = 'https://github.com/mocktools/ruby-rspec-mock'
1313
spec.license = 'MIT'
1414

15-
spec.required_ruby_version = '>= 2.5.0'
15+
spec.required_ruby_version = '>= 2.4.0'
1616
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
1717
spec.require_paths = %w[lib]
1818

19-
spec.add_runtime_dependency 'rspec-core', '~> 3.13', '>= 3.13.2'
20-
spec.add_runtime_dependency 'rspec-mocks', '~> 3.13', '>= 3.13.2'
19+
spec.add_runtime_dependency 'rspec-core', '~> 3.10'
20+
spec.add_runtime_dependency 'rspec-mocks', '~> 3.10'
2121

2222
spec.add_development_dependency 'bundler-audit', '~> 0.9.2'
2323
spec.add_development_dependency 'fasterer', '~> 0.11.0'

.circleci/linter_configs/.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require:
77
AllCops:
88
DisplayCopNames: true
99
DisplayStyleGuide: true
10-
TargetRubyVersion: 2.5
10+
TargetRubyVersion: 2.4
1111
SuggestExtensions: false
1212
NewCops: enable
1313

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-2.5.0
1+
ruby-2.4.0

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
44

5+
## [0.2.0] - 2024-11-04
6+
7+
### Added
8+
9+
- Added support of Ruby 2.4
10+
- Added support of RSpec 3.10
11+
512
## [0.1.0] - 2024-11-04
613

714
### Added

lib/rspec/mock/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module RSpec
44
module Mock
5-
VERSION = '0.1.0'
5+
VERSION = '0.2.0'
66
end
77
end

rspec-mock.gemspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ Gem::Specification.new do |spec|
2222
'bug_tracker_uri' => 'https://github.com/mocktools/ruby-rspec-mock/issues'
2323
}
2424

25-
spec.required_ruby_version = '>= 2.5.0'
25+
spec.required_ruby_version = '>= 2.4.0'
2626
spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(bin|lib)/|.ruby-version|rspec-mock.gemspec|LICENSE}) }
2727
spec.require_paths = %w[lib]
2828

29-
spec.add_runtime_dependency 'rspec-core', '~> 3.13', '>= 3.13.2'
30-
spec.add_runtime_dependency 'rspec-mocks', '~> 3.13', '>= 3.13.2'
29+
spec.add_runtime_dependency 'rspec-core', '~> 3.10'
30+
spec.add_runtime_dependency 'rspec-mocks', '~> 3.10'
3131

3232
spec.add_development_dependency 'rspec', '~> 3.13'
3333
end

0 commit comments

Comments
 (0)