mtk_framework 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +5 -4
- data/VERSION +1 -1
- data/lib/mtk_framework/active_interaction_params.rb +2 -2
- data/mtk_framework.gemspec +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36ad34fda0aa5488cc30ed1f3572c5df3d3ec3f5760d65da6cdf0a11585b07bd
|
4
|
+
data.tar.gz: 136de5ab172cd3ab53c327dee13c80ac138cf416da20ab826b6851bcd836759b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66a860357f139a1e84faa4e77266741a8932043e4a7642579e6cc82356a05613409942817c18318132250fb742aa42060771e477cd852d27d9064da002835272
|
7
|
+
data.tar.gz: 6172bec43e5825c5bfead9dc7bbe89382dbf1058490ea9336bbe7af127361a3aee63de202d6ff09ebea6474b6500e6f0b04a069edb45a2a7fb7b6cd39276cf87
|
data/.github/workflows/test.yml
CHANGED
@@ -2,7 +2,8 @@ env:
|
|
2
2
|
ImageOS: ubuntu18
|
3
3
|
|
4
4
|
name: Tests
|
5
|
-
on:
|
5
|
+
on:
|
6
|
+
pull_request:
|
6
7
|
jobs:
|
7
8
|
test:
|
8
9
|
runs-on: ubuntu-20.04
|
@@ -16,6 +17,6 @@ jobs:
|
|
16
17
|
|
17
18
|
- uses: ruby/setup-ruby@v1
|
18
19
|
with:
|
19
|
-
ruby-version: 2.7 # Not needed with a .ruby-version file
|
20
|
-
bundler-cache:
|
21
|
-
- run: bundle exec rspec spec/
|
20
|
+
ruby-version: 2.7.0 # Not needed with a .ruby-version file
|
21
|
+
bundler-cache: false # runs 'bundle install' and caches installed gems automatically
|
22
|
+
- run: gem install bundler:2.2.33 && bundle _2.2.33_ install && bundle install && bundle exec rspec spec/
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.7
|
@@ -4,9 +4,9 @@ require_relative 'active_interaction_params/parametrize_filter.rb'
|
|
4
4
|
|
5
5
|
module MtkFramework
|
6
6
|
module ActiveInteractionParams
|
7
|
-
def params_from_interaction(klass,
|
7
|
+
def params_from_interaction(klass, only: [])
|
8
8
|
params do
|
9
|
-
klass.filters.
|
9
|
+
klass.filters.slice(*only).each do |_, filter|
|
10
10
|
ParametrizeFilter.call(filter, self)
|
11
11
|
yield self if block_given?
|
12
12
|
end
|
data/mtk_framework.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: mtk_framework 0.1.
|
5
|
+
# stub: mtk_framework 0.1.6 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "mtk_framework".freeze
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.7"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["othmane el kesri".freeze]
|
14
|
-
s.date = "2021-
|
14
|
+
s.date = "2021-09-22"
|
15
15
|
s.email = "dev@moneytrack.io".freeze
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE.txt",
|
@@ -39,8 +39,8 @@ Gem::Specification.new do |s|
|
|
39
39
|
"lib/mtk_framework/active_interaction_params/parametrize_filter.rb",
|
40
40
|
"lib/mtk_framework/core_extensions/array/except.rb",
|
41
41
|
"lib/mtk_framework/core_extensions/class/virtual_method.rb",
|
42
|
-
"lib/mtk_framework/core_extensions/module/virtual_method.rb",
|
43
42
|
"lib/mtk_framework/core_extensions/hash/rename_keys.rb",
|
43
|
+
"lib/mtk_framework/core_extensions/module/virtual_method.rb",
|
44
44
|
"lib/mtk_framework/gem_extensions/active_interaction/base.rb",
|
45
45
|
"lib/mtk_framework/gem_extensions/active_interaction/filters/abstract_tz_filter.rb",
|
46
46
|
"lib/mtk_framework/gem_extensions/active_interaction/filters/hash_filter.rb",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mtk_framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- othmane el kesri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_interaction
|
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
226
|
- !ruby/object:Gem::Version
|
227
227
|
version: '0'
|
228
228
|
requirements: []
|
229
|
-
rubygems_version: 3.1.
|
229
|
+
rubygems_version: 3.1.6
|
230
230
|
signing_key:
|
231
231
|
specification_version: 4
|
232
232
|
summary: Moneytrack's gems extensions and monkey patches.
|