mimoco 1.0.2 → 1.0.4
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 +4 -4
- data/.github/workflows/rake.yml +2 -2
- data/.gitignore +5 -5
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/Gemfile +1 -1
- data/MIT-LICENSE +1 -1
- data/README.md +6 -2
- data/lib/mimoco/version.rb +3 -1
- data/lib/mimoco_base.rb +2 -2
- data/mimoco.gemspec +1 -0
- metadata +5 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2aea55e49ea45f19c449c3ae61ca502fdf0df9ffa7aefc653b9dc80f3528e055
|
|
4
|
+
data.tar.gz: 94692f33b7d1720a981c3cac717b6881bf98638f062c6f273108ee84cf319cba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ede0868983a7eab99cf24d023d5ca7ae2a039a44a00131488f8b9960acf1b7bfa08cc5db4095a77d62273d7d0461940f993aff985ba27885a169b0d3fc55a356
|
|
7
|
+
data.tar.gz: fe67744d66853e7febe6e410d2cab8bf6eb2d17076b08e58de86f474c174d1e3c8a7457e0f287cce693a30159b63f91a0f82af6311cdd717695fbca8816aa172
|
data/.github/workflows/rake.yml
CHANGED
|
@@ -8,13 +8,13 @@ jobs:
|
|
|
8
8
|
strategy:
|
|
9
9
|
fail-fast: false
|
|
10
10
|
matrix:
|
|
11
|
-
ruby: ["3.
|
|
11
|
+
ruby: [head, "3.4", "3.2"]
|
|
12
12
|
gemfile:
|
|
13
13
|
- Gemfile
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
17
|
+
- uses: actions/checkout@v4
|
|
18
18
|
- name: Set up Ruby
|
|
19
19
|
uses: ruby/setup-ruby@v1
|
|
20
20
|
with:
|
data/.gitignore
CHANGED
data/.ruby-gemset
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
rails-
|
|
1
|
+
rails-8.0
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby-3.
|
|
1
|
+
ruby-3.4.4
|
data/Gemfile
CHANGED
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# MiMoCo
|
|
2
2
|
|
|
3
|
-
[](https://rubygems.org/gems/mimoco)
|
|
4
|
+
[](https://rubygems.org/gems/mimoco)
|
|
5
|
+
[](https://github.com/matique/mimoco/actions/workflows/rake.yml)
|
|
6
|
+
[](https://github.com/standardrb/standard)
|
|
7
|
+
[](http://choosealicense.com/licenses/mit/)
|
|
4
8
|
|
|
5
9
|
Mimoco (MInitest MOdels COntrollers) DRY
|
|
6
10
|
your tests by specifying some (trivial) of them via a table.
|
|
@@ -89,5 +93,5 @@ check_controllers controllers, ignore_methods: %i[magic2 magic3]
|
|
|
89
93
|
|
|
90
94
|
## Miscellaneous
|
|
91
95
|
|
|
92
|
-
Copyright (c) 2022-
|
|
96
|
+
Copyright (c) 2022-2025 Dittmar Krall (www.matiq.com),
|
|
93
97
|
released under the [MIT license](https://opensource.org/licenses/MIT).
|
data/lib/mimoco/version.rb
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module Mimoco
|
|
4
|
-
VERSION = "1.0.
|
|
4
|
+
VERSION = "1.0.4" # 2025-06-18
|
|
5
|
+
# VERSION = "1.0.3" # 2024-11-11
|
|
6
|
+
# VERSION = "1.0.2" # 2024-08-22
|
|
5
7
|
# VERSION = "1.0.1" # 2024-02-16
|
|
6
8
|
# VERSION = "1.0.0" # 2023-12-06
|
|
7
9
|
# VERSION = "0.3.2" # 2023-04-25
|
data/lib/mimoco_base.rb
CHANGED
|
@@ -31,9 +31,9 @@ module Minitest
|
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
def self.delete_methods(which)
|
|
34
|
-
ignore2 = %i[attribute_aliases
|
|
34
|
+
ignore2 = %i[attribute_aliases attribute_aliases=
|
|
35
35
|
attributes_to_define_after_schema_loads column_headers
|
|
36
|
-
default_scope_override]
|
|
36
|
+
default_scope_override default_scope_override=]
|
|
37
37
|
# cls -= %i[__callbacks helpers_path middleware_stack]
|
|
38
38
|
# cls -= %i[attribute_type_decorations defined_enums]
|
|
39
39
|
methods = @klass.send(which, false).sort
|
data/mimoco.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mimoco
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dittmar Krall
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: combustion
|
|
@@ -85,23 +84,21 @@ licenses:
|
|
|
85
84
|
- MIT
|
|
86
85
|
metadata:
|
|
87
86
|
source_code_uri: https://github.com/matique/mimoco
|
|
88
|
-
post_install_message:
|
|
89
87
|
rdoc_options: []
|
|
90
88
|
require_paths:
|
|
91
89
|
- lib
|
|
92
90
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
91
|
requirements:
|
|
94
|
-
- - "
|
|
92
|
+
- - "~>"
|
|
95
93
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '
|
|
94
|
+
version: '3'
|
|
97
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
96
|
requirements:
|
|
99
97
|
- - ">="
|
|
100
98
|
- !ruby/object:Gem::Version
|
|
101
99
|
version: '0'
|
|
102
100
|
requirements: []
|
|
103
|
-
rubygems_version: 3.
|
|
104
|
-
signing_key:
|
|
101
|
+
rubygems_version: 3.6.7
|
|
105
102
|
specification_version: 4
|
|
106
103
|
summary: 'Mimoco: some minitests for models and controllers'
|
|
107
104
|
test_files: []
|