mini_sanity 2.0.0 → 3.0.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: 7c8c35bb9700789272562d521aac498397bbc97c889147386fd9381787ea59f0
4
- data.tar.gz: 8be2caee26ff3dd317f5cd7efe81c2c2628fcb7870f14d0b7e8fb4295a2b32fd
3
+ metadata.gz: 38c674ac249e8e02d75079e3ecd9a96150f4f6fbc4d8211a46f1837e9d8d4198
4
+ data.tar.gz: cc578b1ff20709384a8a322b44378a828020d3b3391a539853ba0d8121e3c73e
5
5
  SHA512:
6
- metadata.gz: d61148344efa1863fdf331cc9a2e42deec1e92e5d40d596b566592b3accc826f6042eeaa440340acd7e456e0ccffcef5c0fc5cc13cbf2e573cf9695d1befeb8e
7
- data.tar.gz: bbf8dbfbb7c41a1cdd0084ab81a938e85a99d3271716d6fb2d67593a503ed026bc2439c3d489097c8fd0190c6741eed8c2ba56d197d2883e20be06904e04f728
6
+ metadata.gz: 58a408bd36b1ac28b54f987b1645d28edc96162b2067dd703be26d98a4fc91ac4a6c6d1a452ffcccf65ec064ecbbb0f44b0729b33d658bee48f56435931bfd2d
7
+ data.tar.gz: 0f21c36082f440825eee69a2c36051e78a28077c961b5e4b558d9bf6bccf5d322f27b73beffc576969e87466241f921d0c175ea6621f30f1943f636879b50255
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 3.0.0
2
+
3
+ * [BREAKING] Drop support for Ruby < 3.4
4
+
5
+
1
6
  ## 2.0.0
2
7
 
3
8
  * [BREAKING] Drop support for Ruby < 2.6
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source "https://rubygems.org"
3
3
  # Specify your gem's dependencies in mini_sanity.gemspec
4
4
  gemspec
5
5
 
6
- gem "rake", "~> 12.0"
7
- gem "minitest", "~> 5.0"
6
+ gem "rake", "~> 13.0"
7
+ gem "minitest", "~> 6.0"
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
- # mini_sanity [![Build Status](https://travis-ci.org/jonathanhefner/mini_sanity.svg?branch=master)](https://travis-ci.org/jonathanhefner/mini_sanity)
1
+ # mini_sanity
2
2
 
3
- In-line [sanity checks], written as extensions to core Ruby objects.
4
- See API listing below, or browse the [full documentation].
3
+ In-line [sanity checks][], written as extensions to core Ruby objects.
4
+ See API listing below, or browse the [full documentation][].
5
5
 
6
6
  [sanity checks]: https://en.wikipedia.org/wiki/Sanity_check
7
7
  [full documentation]: https://www.rubydoc.info/gems/mini_sanity/
@@ -30,32 +30,22 @@ end.uniq
30
30
  ## API
31
31
 
32
32
  - `"mini_sanity/assert"`
33
- - [Object#assert!](https://www.rubydoc.info/gems/mini_sanity/Object:assert%21)
34
- - [Object#refute!](https://www.rubydoc.info/gems/mini_sanity/Object:refute%21)
33
+ - [`Object#assert!`](https://www.rubydoc.info/gems/mini_sanity/Object:assert%21)
34
+ - [`Object#refute!`](https://www.rubydoc.info/gems/mini_sanity/Object:refute%21)
35
35
  - `"mini_sanity/change"`
36
- - [String#change](https://www.rubydoc.info/gems/mini_sanity/String:change)
37
- - [String#change!](https://www.rubydoc.info/gems/mini_sanity/String:change%21)
36
+ - [`String#change`](https://www.rubydoc.info/gems/mini_sanity/String:change)
37
+ - [`String#change!`](https://www.rubydoc.info/gems/mini_sanity/String:change%21)
38
38
  - `"mini_sanity/match"`
39
- - [Regexp#match!](https://www.rubydoc.info/gems/mini_sanity/Regexp:match%21)
40
- - [String#match!](https://www.rubydoc.info/gems/mini_sanity/String:match%21)
39
+ - [`Regexp#match!`](https://www.rubydoc.info/gems/mini_sanity/Regexp:match%21)
40
+ - [`String#match!`](https://www.rubydoc.info/gems/mini_sanity/String:match%21)
41
41
  - `"mini_sanity/results"`
42
- - [Enumerator#result!](https://www.rubydoc.info/gems/mini_sanity/Enumerator:result%21)
43
- - [Enumerator#results!](https://www.rubydoc.info/gems/mini_sanity/Enumerator:results%21)
42
+ - [`Enumerator#result!`](https://www.rubydoc.info/gems/mini_sanity/Enumerator:result%21)
43
+ - [`Enumerator#results!`](https://www.rubydoc.info/gems/mini_sanity/Enumerator:results%21)
44
44
 
45
45
 
46
46
  ## Installation
47
47
 
48
- Install the [gem](https://rubygems.org/gems/mini_sanity):
49
-
50
- ```bash
51
- $ gem install mini_sanity
52
- ```
53
-
54
- Then require in your Ruby code:
55
-
56
- ```ruby
57
- require "mini_sanity"
58
- ```
48
+ Install the [`mini_sanity` gem](https://rubygems.org/gems/mini_sanity).
59
49
 
60
50
 
61
51
  ## Contributing
@@ -65,4 +55,4 @@ Run `rake test` to run the tests.
65
55
 
66
56
  ## License
67
57
 
68
- [MIT License](https://opensource.org/licenses/MIT)
58
+ [MIT License](LICENSE.txt)
@@ -1,3 +1,3 @@
1
1
  module MiniSanity
2
- VERSION = "2.0.0"
2
+ VERSION = "3.0.0"
3
3
  end
data/mini_sanity.gemspec CHANGED
@@ -9,16 +9,15 @@ Gem::Specification.new do |spec|
9
9
  spec.summary = %q{In-line sanity checks}
10
10
  spec.homepage = "https://github.com/jonathanhefner/mini_sanity"
11
11
  spec.license = "MIT"
12
- spec.required_ruby_version = ">= 2.6"
12
+ spec.required_ruby_version = ">= 3.4"
13
13
 
14
- spec.metadata["homepage_uri"] = spec.homepage
15
14
  spec.metadata["source_code_uri"] = spec.homepage
16
15
  spec.metadata["changelog_uri"] = spec.metadata["source_code_uri"] + "/blob/master/CHANGELOG.md"
17
16
 
18
17
  # Specify which files should be added to the gem when it is released.
19
18
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
19
  spec.files = Dir.chdir(__dir__) do
21
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
+ `git ls-files -z`.split("\x0").reject { |f| f.start_with?("test/", ".git") }
22
21
  end
23
22
  spec.bindir = "exe"
24
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,24 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_sanity
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Hefner
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2020-02-02 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
- description:
14
12
  email:
15
13
  - jonathan@hefner.pro
16
14
  executables: []
17
15
  extensions: []
18
16
  extra_rdoc_files: []
19
17
  files:
20
- - ".gitignore"
21
- - ".travis.yml"
22
18
  - CHANGELOG.md
23
19
  - Gemfile
24
20
  - LICENSE.txt
@@ -36,10 +32,8 @@ homepage: https://github.com/jonathanhefner/mini_sanity
36
32
  licenses:
37
33
  - MIT
38
34
  metadata:
39
- homepage_uri: https://github.com/jonathanhefner/mini_sanity
40
35
  source_code_uri: https://github.com/jonathanhefner/mini_sanity
41
36
  changelog_uri: https://github.com/jonathanhefner/mini_sanity/blob/master/CHANGELOG.md
42
- post_install_message:
43
37
  rdoc_options: []
44
38
  require_paths:
45
39
  - lib
@@ -47,15 +41,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
47
41
  requirements:
48
42
  - - ">="
49
43
  - !ruby/object:Gem::Version
50
- version: '2.6'
44
+ version: '3.4'
51
45
  required_rubygems_version: !ruby/object:Gem::Requirement
52
46
  requirements:
53
47
  - - ">="
54
48
  - !ruby/object:Gem::Version
55
49
  version: '0'
56
50
  requirements: []
57
- rubygems_version: 3.1.2
58
- signing_key:
51
+ rubygems_version: 4.0.10
59
52
  specification_version: 4
60
53
  summary: In-line sanity checks
61
54
  test_files: []
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /Gemfile.lock
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
data/.travis.yml DELETED
@@ -1,5 +0,0 @@
1
- language: ruby
2
-
3
- rvm:
4
- - 2.6
5
- - 2.7