mimoco 1.0.2 → 1.0.3

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: 55881f4bb2a6bbbb55fb1cc84b89a39f45aaa8bc523b00fdf85f8f0f433286bb
4
- data.tar.gz: 71b5d2172c7e844f00bd335222a447678a21e7c4dd6ab73243ce6fbf8422ee4b
3
+ metadata.gz: 1613f09fef3f8110dfa32da257c5a24b0a087d9286469eaba8f29803f473dbaa
4
+ data.tar.gz: fea092ba59796f697acf4372fa2c92b32b7ccff78790dae5a7e9718d6da6de7c
5
5
  SHA512:
6
- metadata.gz: 20af7bf9fa4a8a336c0baeed618d5f228d681e9a042708a9562a46da707998b24a178585ece1e18e7a7b43c1f77de031113ccd90e673cd4590f7edfc555f8392
7
- data.tar.gz: b65fba30259a4f002f8a6d9c81b3808df93f67a73759adc2eb876cd02e64bb671cddcf888ab8ffe3cdc578634b40bb38bfebb1b5acf828403a492148dfc7b5eb
6
+ metadata.gz: 59f2ff22f833d1d601c7adaac6cab731e136b0fc0d315fa2aaca834fa5594e5106478a9a4b19953f91fb8c4765a9bddb9dc7a46035bfb383056d21c26fa174a4
7
+ data.tar.gz: 9b1d647e55a2cf572826d0b947032d57adf8d6be8fbbc76e26680ced2313bd6c8481db1ee18c440f3233dc7a4e9ab7cb370ab1ac68b33386106baba10c1b9c27
@@ -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: ["3.2", "3.3"]
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/.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.3.6
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://badge.fury.io/rb/mimoco.svg)](http://badge.fury.io/rb/mimoco)
4
+ [![GEM Downloads](https://img.shields.io/gem/dt/mimoco?color=168AFE&logo=ruby&logoColor=FE1616)](https://rubygems.org/gems/mimoco)
5
+ [![rake](https://github.com/matique/mimoco/actions/workflows/rake.yml/badge.svg)](https://github.com/matique/mimoco/actions/workflows/rake.yml)
6
+ [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/standardrb/standard)
7
+ [![MIT License](https://img.shields.io/badge/license-MIT-blue.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.
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mimoco
4
- VERSION = "1.0.2" # 2024-08-22
4
+ VERSION = "1.0.3" # 2024-11-11
5
+ # VERSION = "1.0.2" # 2024-08-22
5
6
  # VERSION = "1.0.1" # 2024-02-16
6
7
  # VERSION = "1.0.0" # 2023-12-06
7
8
  # 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/test/test_helper.rb CHANGED
@@ -6,7 +6,7 @@ if ENV["COVERAGE"]
6
6
  end
7
7
 
8
8
  require "combustion"
9
- Combustion.path = "test/internal"
9
+ Combustion.path = "test/dummy"
10
10
  Combustion.initialize! :active_record
11
11
 
12
12
  require "rails/test_help"
metadata CHANGED
@@ -1,14 +1,14 @@
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-22 00:00:00.000000000 Z
11
+ date: 2024-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: combustion
@@ -62,20 +62,20 @@ files:
62
62
  - mimoco.gemspec
63
63
  - test/controllers/controllers_test.rb
64
64
  - test/controllers/orders_controller_test.rb
65
- - test/internal/app/controllers/application_controller.rb
66
- - test/internal/app/controllers/orders_controller.rb
67
- - test/internal/app/models/application_record.rb
68
- - test/internal/app/models/order.rb
69
- - test/internal/app/views/orders/_form.html.erb
70
- - test/internal/app/views/orders/_order.html.erb
71
- - test/internal/app/views/orders/edit.html.erb
72
- - test/internal/app/views/orders/index.html.erb
73
- - test/internal/app/views/orders/new.html.erb
74
- - test/internal/app/views/orders/show.html.erb
75
- - test/internal/config/database.yml
76
- - test/internal/config/routes.rb
77
- - test/internal/db/migrate/20141016161801_create_orders.rb
78
- - test/internal/db/schema.rb
65
+ - test/dummy/app/controllers/application_controller.rb
66
+ - test/dummy/app/controllers/orders_controller.rb
67
+ - test/dummy/app/models/application_record.rb
68
+ - test/dummy/app/models/order.rb
69
+ - test/dummy/app/views/orders/_form.html.erb
70
+ - test/dummy/app/views/orders/_order.html.erb
71
+ - test/dummy/app/views/orders/edit.html.erb
72
+ - test/dummy/app/views/orders/index.html.erb
73
+ - test/dummy/app/views/orders/new.html.erb
74
+ - test/dummy/app/views/orders/show.html.erb
75
+ - test/dummy/config/database.yml
76
+ - test/dummy/config/routes.rb
77
+ - test/dummy/db/migrate/20141016161801_create_orders.rb
78
+ - test/dummy/db/schema.rb
79
79
  - test/models/models_ignore_test.rb
80
80
  - test/models/models_test.rb
81
81
  - test/models/models_valid_test.rb
@@ -85,7 +85,7 @@ licenses:
85
85
  - MIT
86
86
  metadata:
87
87
  source_code_uri: https://github.com/matique/mimoco
88
- post_install_message:
88
+ post_install_message:
89
89
  rdoc_options: []
90
90
  require_paths:
91
91
  - lib
@@ -100,8 +100,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0'
102
102
  requirements: []
103
- rubygems_version: 3.5.11
104
- signing_key:
103
+ rubygems_version: 3.5.23
104
+ signing_key:
105
105
  specification_version: 4
106
106
  summary: 'Mimoco: some minitests for models and controllers'
107
107
  test_files: []
File without changes
File without changes
File without changes
File without changes