act_with_booleans 0.0.1 → 0.0.2
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/.watchr +6 -6
- data/lib/act_with_booleans/version.rb +2 -2
- 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: 9ff0e9f9dd9b6904d92a893cc073253e94c4972cd4bf2a3192c9a32b0036a6ad
|
4
|
+
data.tar.gz: 75d84e166a9057378d55929fd279c3af9f52909d394c947c1153a3ed1b033ea1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99b35188502f608a687db95c7b9aee03277169838703b1fbce3e651f7c6d823b797cb385b2f04a32dceaa0022ca2737256ed9142a5b729a72c7ed82b5737acb2
|
7
|
+
data.tar.gz: eb14fa56c77c35c9b52a6bab3e1cc47a91d04c1e460c27ef4582300c832d28bcd94f87f1e7a6211ae5b87bcac10014423dad98307df2e6e4ee81b767faca287f
|
data/.github/workflows/rake.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-3.1.
|
1
|
+
ruby-3.1.3
|
data/.watchr
CHANGED
@@ -33,23 +33,23 @@ end
|
|
33
33
|
def run_matching_files(base)
|
34
34
|
base = base.split("_").first
|
35
35
|
TESTING.each { |type|
|
36
|
-
files = Dir["#{type}/**/*.rb"].select { |file| file =~ /#{base}_
|
36
|
+
files = Dir["#{type}/**/*.rb"].select { |file| file =~ /#{base}_.*.rb/ }
|
37
37
|
run_it type, files.join(" ") unless files.empty?
|
38
38
|
}
|
39
39
|
end
|
40
40
|
|
41
41
|
TESTING.each { |type|
|
42
|
-
watch("#{type}/#{type}_helper
|
43
|
-
watch("lib
|
44
|
-
watch("#{type}/.*/*_#{type}
|
45
|
-
watch("#{type}/data/(.*)
|
42
|
+
watch("#{type}/#{type}_helper.rb") { run_all_tests }
|
43
|
+
watch("lib/.*.rb") { run_all_tests }
|
44
|
+
watch("#{type}/.*/*_#{type}.rb") { |match| run_it type, match[0] }
|
45
|
+
watch("#{type}/data/(.*).rb") { |match|
|
46
46
|
m1 = match[1]
|
47
47
|
run_matching_files("#{type}/#{m1}/#{m1}_#{type}.rb")
|
48
48
|
}
|
49
49
|
}
|
50
50
|
|
51
51
|
%w[rb erb haml slim].each { |type|
|
52
|
-
watch("app/.*/(.*)
|
52
|
+
watch("app/.*/(.*).#{type}") { |match|
|
53
53
|
run_matching_files(match[1])
|
54
54
|
}
|
55
55
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: act_with_booleans
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
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-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
- !ruby/object:Gem::Version
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
|
-
rubygems_version: 3.3.
|
115
|
+
rubygems_version: 3.3.26
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: Ruby gem act_with_booleans
|