mimoco 0.2.0 → 0.3.0
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 +1 -1
- data/.ruby-version +1 -1
- data/MIT-LICENSE +1 -1
- data/README.md +1 -1
- data/lib/mimoco/version.rb +2 -1
- data/lib/mimoco.rb +2 -1
- data/mimoco.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46ad2c23a3e296f3eef76808c4637c58bbe86331adc4b2ab3ee43d71355065ae
|
4
|
+
data.tar.gz: 79623b87cb340614552ad62ae3518475aadbb74a9920f916da84dc51f03819d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 198befd7ec6df74f17e6c7f180df8e726db56552b69207d0b83306e88ce4e90719c00a0b4d06994ca6884da897cf57efbdd3471cabb3221f4e3994a05cbc74d7
|
7
|
+
data.tar.gz: 4b9290d366fbb089f86b7ae6ec1a336cca97a7e0f6feabead71870363f545338800976349ff4e7d4954fa556bc83df571fd3434b0cd9519084b1f65a67bcfbd3
|
data/.github/workflows/rake.yml
CHANGED
@@ -13,7 +13,7 @@ jobs:
|
|
13
13
|
os: [ubuntu-latest]
|
14
14
|
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
|
15
15
|
# ruby: [2.5, 2.6, 2.7, '3.0', head, jruby, jruby-head, truffleruby, truffleruby-head]
|
16
|
-
ruby: ["3.0.3
|
16
|
+
ruby: ["2.7.2", "3.0.1", 3.1.0]
|
17
17
|
test_command: ["bundle exec rake test"]
|
18
18
|
runs-on: ${{ matrix.os }}
|
19
19
|
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-3.0
|
1
|
+
ruby-3.1.0
|
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/miau.png)](http://badge.fury.io/rb/mimoco)
|
4
4
|
|
5
5
|
Mimoco (MInitest MOdels COntrollers) DRY
|
6
|
-
your tests by specifying some (trivial) of them via table.
|
6
|
+
your tests by specifying some (trivial) of them via a table.
|
7
7
|
|
8
8
|
Mimoco doesn't replace the "assert"s of MiniTest.
|
9
9
|
It is more a kind of a quick and dirty check.
|
data/lib/mimoco/version.rb
CHANGED
data/lib/mimoco.rb
CHANGED
@@ -87,7 +87,7 @@ module Minitest
|
|
87
87
|
raise ValidMissingError unless klass_params
|
88
88
|
|
89
89
|
methods.each { |meth|
|
90
|
-
row,
|
90
|
+
row, _msg = @klass.create(klass_params)
|
91
91
|
check_no_nil row.send(meth), "<#{meth}> should return no nil"
|
92
92
|
}
|
93
93
|
end
|
@@ -119,6 +119,7 @@ module Minitest
|
|
119
119
|
|
120
120
|
def self.class_methods(expected)
|
121
121
|
cls = @klass.methods(false).sort
|
122
|
+
cls.delete_if { |x| /^_/ =~ x }
|
122
123
|
cls -= %i[__callbacks helpers_path middleware_stack]
|
123
124
|
check_equal expected, cls
|
124
125
|
end
|
data/mimoco.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.homepage = "http://matique.com"
|
14
14
|
s.license = "MIT"
|
15
15
|
|
16
|
-
|
16
|
+
s.metadata["source_code_uri"] = "https://github.com/matique/mimoco"
|
17
17
|
|
18
18
|
s.files = `git ls-files`.split("\n")
|
19
19
|
s.require_paths = ["lib"]
|
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: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dittmar Krall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: combustion
|
@@ -95,7 +95,8 @@ files:
|
|
95
95
|
homepage: http://matique.com
|
96
96
|
licenses:
|
97
97
|
- MIT
|
98
|
-
metadata:
|
98
|
+
metadata:
|
99
|
+
source_code_uri: https://github.com/matique/mimoco
|
99
100
|
post_install_message:
|
100
101
|
rdoc_options: []
|
101
102
|
require_paths:
|
@@ -111,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
112
|
- !ruby/object:Gem::Version
|
112
113
|
version: '0'
|
113
114
|
requirements: []
|
114
|
-
rubygems_version: 3.
|
115
|
+
rubygems_version: 3.3.3
|
115
116
|
signing_key:
|
116
117
|
specification_version: 4
|
117
118
|
summary: 'Mimoco: some minitests for models and controllers'
|