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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55881f4bb2a6bbbb55fb1cc84b89a39f45aaa8bc523b00fdf85f8f0f433286bb
4
- data.tar.gz: 71b5d2172c7e844f00bd335222a447678a21e7c4dd6ab73243ce6fbf8422ee4b
3
+ metadata.gz: 2aea55e49ea45f19c449c3ae61ca502fdf0df9ffa7aefc653b9dc80f3528e055
4
+ data.tar.gz: 94692f33b7d1720a981c3cac717b6881bf98638f062c6f273108ee84cf319cba
5
5
  SHA512:
6
- metadata.gz: 20af7bf9fa4a8a336c0baeed618d5f228d681e9a042708a9562a46da707998b24a178585ece1e18e7a7b43c1f77de031113ccd90e673cd4590f7edfc555f8392
7
- data.tar.gz: b65fba30259a4f002f8a6d9c81b3808df93f67a73759adc2eb876cd02e64bb671cddcf888ab8ffe3cdc578634b40bb38bfebb1b5acf828403a492148dfc7b5eb
6
+ metadata.gz: ede0868983a7eab99cf24d023d5ca7ae2a039a44a00131488f8b9960acf1b7bfa08cc5db4095a77d62273d7d0461940f993aff985ba27885a169b0d3fc55a356
7
+ data.tar.gz: fe67744d66853e7febe6e410d2cab8bf6eb2d17076b08e58de86f474c174d1e3c8a7457e0f287cce693a30159b63f91a0f82af6311cdd717695fbca8816aa172
@@ -8,13 +8,13 @@ jobs:
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- ruby: ["3.0", "3.2", 3.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@v3
17
+ - uses: actions/checkout@v4
18
18
  - name: Set up Ruby
19
19
  uses: ruby/setup-ruby@v1
20
20
  with:
data/.gitignore CHANGED
@@ -1,10 +1,10 @@
1
- .bundle/
2
- coverage/
1
+ # ~/.gitignore included
2
+
3
3
  .watchr
4
4
 
5
- *.gem
6
- *.log
7
- *.lock
5
+ **/*.gem
6
+ **/*.log
7
+ **/*.lock
8
8
 
9
9
  **/db/test.sqlite3*
10
10
  /test/internal/storage/
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- rails-7.2
1
+ rails-8.0
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.3.4
1
+ ruby-3.4.4
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ gem "rails"
5
5
 
6
6
  group :test do
7
7
  gem "cuco"
8
- gem "ricecream"
8
+ gem "ricecream", require: false
9
9
  gem "simplecov", require: false
10
10
  gem "sqlite3"
11
11
  gem "standard", require: false
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2021-2024 Dittmar Krall (www.matiq.com)
1
+ Copyright (c) 2021-2025 Dittmar Krall (www.matiq.com)
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # MiMoCo
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/mimoco.png)](http://badge.fury.io/rb/mimoco)
3
+ [![Gem Version](https://img.shields.io/gem/v/mimoco?color=168AFE&logo=rubygems&logoColor=FE1616)](https://rubygems.org/gems/mimoco)
4
+ [![Downloads](https://img.shields.io/gem/dt/mimoco?color=168AFE&logo=rubygems&logoColor=FE1616)](https://rubygems.org/gems/mimoco)
5
+ [![GitHub Build](https://img.shields.io/github/actions/workflow/status/matique/mimoco/rake.yml?logo=github)](https://github.com/matique/mimoco/actions/workflows/rake.yml)
6
+ [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-168AFE.svg)](https://github.com/standardrb/standard)
7
+ [![MIT License](https://img.shields.io/badge/license-MIT-168AFE.svg)](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-2024 Dittmar Krall (www.matiq.com),
96
+ Copyright (c) 2022-2025 Dittmar Krall (www.matiq.com),
93
97
  released under the [MIT license](https://opensource.org/licenses/MIT).
@@ -1,7 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mimoco
4
- VERSION = "1.0.2" # 2024-08-22
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
@@ -17,6 +17,7 @@ Gem::Specification.new do |s|
17
17
 
18
18
  s.files = `git ls-files`.split("\n")
19
19
  s.require_paths = ["lib"]
20
+ s.required_ruby_version = "~> 3"
20
21
 
21
22
  s.add_development_dependency "combustion"
22
23
  s.add_development_dependency "minitest"
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.2
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: 2024-08-22 00:00:00.000000000 Z
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: '0'
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.5.11
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: []