mocha 2.0.0 → 2.0.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: 4f52376e6c8b1042085cca75e7d22e0241452dca80e73de22510f39a83041030
4
- data.tar.gz: aa4584255d27f58ee1e9c18935921e352044ac8c2cc91d97221d280e21c54b29
3
+ metadata.gz: 81bbdc1243eca4d6ca258b07e9738745a329022a6c70951f5cf5e613a7ac5ee4
4
+ data.tar.gz: 398d1b4de44a9caaaa3a602b346e5f392356d2347127f8c70f08a0950d31b335
5
5
  SHA512:
6
- metadata.gz: d23cc4f2cb0ffcf1464103c1bca607d8a2fac7fef3592dc4637d25ed72dbfd91f5d7234c9f4df23f1c27248829b6638013396e780212f41d9a44236b7a95bd16
7
- data.tar.gz: efbcf261aab3292625c56f9f8cab796a19b4dc1ac474a64041ee1a6a92e72c4941b1ce0a0299322e682607d8e8c92598da7ffe853de1257cd92f49027b0891d4
6
+ metadata.gz: 607d34cccbe3a09d7986a435b88e30612b09832e658b97ae0b7893480bc466a20cd88f47cfb818b607ed71dc6ddd29854f75ff67a9d57df20075c938f0b35ecf
7
+ data.tar.gz: 8cac0563afe03c8182b5a52f14c7f1419c9024e6bceca570eeca899fb1fb139ca74dbacead46394330562f99c12ad608f07e391c48624953e23463ff076e8729
data/Gemfile CHANGED
@@ -28,5 +28,3 @@ if ENV['MOCHA_GENERATE_DOCS']
28
28
  gem 'redcarpet'
29
29
  gem 'yard'
30
30
  end
31
-
32
- gem 'ruby2_keywords', '~> 0.0.5'
data/RELEASE.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Release Notes
2
2
 
3
+ ## 2.0.1
4
+
5
+ ### External changes
6
+
7
+ * Fix `LoadError` when using v2.0.0 with Ruby < v2.7 by moving declaration of runtime dependency on `ruby2_keywords` gem from `Gemfile` to `mocha.gemspec` - thanks to @mishina2228 for reporting (#581, #582, cdeb0356)
8
+
3
9
  ## 2.0.0
4
10
 
5
11
  ### External changes
data/lib/mocha/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Mocha
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.0.1'.freeze
3
3
  end
data/mocha.gemspec CHANGED
@@ -21,4 +21,6 @@ Gem::Specification.new do |s|
21
21
  s.homepage = 'https://mocha.jamesmead.org'
22
22
  s.require_paths = ['lib']
23
23
  s.summary = 'Mocking and stubbing library'
24
+
25
+ s.add_runtime_dependency 'ruby2_keywords', '>= 0.0.5'
24
26
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mocha
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Mead
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-01 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2022-11-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: ruby2_keywords
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.0.5
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.0.5
13
27
  description: Mocking and stubbing library with JMock/SchMock syntax, which allows
14
28
  mocking and stubbing of methods on real (non-mock) classes.
15
29
  email: mocha-developer@googlegroups.com