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 +4 -4
- data/.github/workflows/rake.yml +2 -2
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/README.md +5 -1
- data/lib/mimoco/version.rb +2 -1
- data/lib/mimoco_base.rb +2 -2
- data/test/test_helper.rb +1 -1
- metadata +20 -20
- /data/test/{internal → dummy}/app/controllers/application_controller.rb +0 -0
- /data/test/{internal → dummy}/app/controllers/orders_controller.rb +0 -0
- /data/test/{internal → dummy}/app/models/application_record.rb +0 -0
- /data/test/{internal → dummy}/app/models/order.rb +0 -0
- /data/test/{internal → dummy}/app/views/orders/_form.html.erb +0 -0
- /data/test/{internal → dummy}/app/views/orders/_order.html.erb +0 -0
- /data/test/{internal → dummy}/app/views/orders/edit.html.erb +0 -0
- /data/test/{internal → dummy}/app/views/orders/index.html.erb +0 -0
- /data/test/{internal → dummy}/app/views/orders/new.html.erb +0 -0
- /data/test/{internal → dummy}/app/views/orders/show.html.erb +0 -0
- /data/test/{internal → dummy}/config/database.yml +0 -0
- /data/test/{internal → dummy}/config/routes.rb +0 -0
- /data/test/{internal → dummy}/db/migrate/20141016161801_create_orders.rb +0 -0
- /data/test/{internal → dummy}/db/schema.rb +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1613f09fef3f8110dfa32da257c5a24b0a087d9286469eaba8f29803f473dbaa
|
4
|
+
data.tar.gz: fea092ba59796f697acf4372fa2c92b32b7ccff78790dae5a7e9718d6da6de7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59f2ff22f833d1d601c7adaac6cab731e136b0fc0d315fa2aaca834fa5594e5106478a9a4b19953f91fb8c4765a9bddb9dc7a46035bfb383056d21c26fa174a4
|
7
|
+
data.tar.gz: 9b1d647e55a2cf572826d0b947032d57adf8d6be8fbbc76e26680ced2313bd6c8481db1ee18c440f3233dc7a4e9ab7cb370ab1ac68b33386106baba10c1b9c27
|
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: ["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@
|
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-
|
1
|
+
rails-8.0
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-3.3.
|
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.
|
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.
|
data/lib/mimoco/version.rb
CHANGED
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
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.
|
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-
|
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/
|
66
|
-
- test/
|
67
|
-
- test/
|
68
|
-
- test/
|
69
|
-
- test/
|
70
|
-
- test/
|
71
|
-
- test/
|
72
|
-
- test/
|
73
|
-
- test/
|
74
|
-
- test/
|
75
|
-
- test/
|
76
|
-
- test/
|
77
|
-
- test/
|
78
|
-
- test/
|
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.
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|