mimoco 0.2.0 → 0.3.0

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: 8e0963c7da7fd1d21ddabbee149892a7ca21875335d29c674ffdf6a19eeccaaa
4
- data.tar.gz: 6a1c91af9b2cb82f7ca53d028bdea0b1b3d9e52f2b238f7564839f6b628db219
3
+ metadata.gz: 46ad2c23a3e296f3eef76808c4637c58bbe86331adc4b2ab3ee43d71355065ae
4
+ data.tar.gz: 79623b87cb340614552ad62ae3518475aadbb74a9920f916da84dc51f03819d6
5
5
  SHA512:
6
- metadata.gz: 020fcf4c9d673af15d2395f39ba91343f424aa35324c477b083275154c0f3269d0b60ff3ac5c7ece19e78a813680dadc001011cd757e5de1ceb581cb408ea2c9
7
- data.tar.gz: 78bb7afaadf170b233b8da4097e7d87c3926efac76380b0fa246be4a7808bad6db76823c41fa260868aa58c9558db53c6349c1720c4aacc1154a11867c2ac276
6
+ metadata.gz: 198befd7ec6df74f17e6c7f180df8e726db56552b69207d0b83306e88ce4e90719c00a0b4d06994ca6884da897cf57efbdd3471cabb3221f4e3994a05cbc74d7
7
+ data.tar.gz: 4b9290d366fbb089f86b7ae6ec1a336cca97a7e0f6feabead71870363f545338800976349ff4e7d4954fa556bc83df571fd3434b0cd9519084b1f65a67bcfbd3
@@ -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.3
1
+ ruby-3.1.0
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2021 Dittmar Krall - www.matique.com
1
+ Copyright (c) 2021-2022 Dittmar Krall - www.matique.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
@@ -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.
@@ -2,7 +2,8 @@
2
2
  # rubocop: disable all
3
3
 
4
4
  module Mimoco
5
- VERSION = "0.2.0" # 2022-01-06
5
+ VERSION = "0.3.0" # 2022-02-11
6
+ # VERSION = "0.2.0" # 2022-01-06
6
7
  # VERSION = "0.1.0" # 2022-01-03
7
8
  # VERSION = "0.0.1" # 2021-12-29
8
9
  end
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, msg = @klass.create(klass_params)
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
- # s.metadata["source_code_uri"] = "https://github.com/matique/stones2"
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.2.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-01-06 00:00:00.000000000 Z
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.2.32
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'