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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cce67ecde91a5e0dd84ce1788a04b4520ea256165da7a03b3cc56187b91660bd
4
- data.tar.gz: 26ed16a60a9992e662b9660da9809e6d29f035901d5292bceae74d8eec0a6792
3
+ metadata.gz: 9ff0e9f9dd9b6904d92a893cc073253e94c4972cd4bf2a3192c9a32b0036a6ad
4
+ data.tar.gz: 75d84e166a9057378d55929fd279c3af9f52909d394c947c1153a3ed1b033ea1
5
5
  SHA512:
6
- metadata.gz: c137960e5a9f0ff722c67102a0fb8dd9105c641e68bdf9c984eb2f852955264d406cd7a582b4c85d46fbc5cb8f6af1f7b6638ba30a347f5aa3a6e51523da0ad8
7
- data.tar.gz: 895bdd627e055424d445152b0b462a83ed55f20d7551ef802ef5debf2d32da4fbe773891f8582d13f7040eec8213e70dca0dbbe942a55ef992ab4a29e94a93e9
6
+ metadata.gz: 99b35188502f608a687db95c7b9aee03277169838703b1fbce3e651f7c6d823b797cb385b2f04a32dceaa0022ca2737256ed9142a5b729a72c7ed82b5737acb2
7
+ data.tar.gz: eb14fa56c77c35c9b52a6bab3e1cc47a91d04c1e460c27ef4582300c832d28bcd94f87f1e7a6211ae5b87bcac10014423dad98307df2e6e4ee81b767faca287f
@@ -10,7 +10,7 @@ jobs:
10
10
  matrix:
11
11
  os: [ubuntu-latest]
12
12
  # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
13
- ruby: [3.0.0, 3.1.2]
13
+ ruby: [3.0.0, head]
14
14
  test_command: ["bundle exec rake test"]
15
15
  runs-on: ${{ matrix.os }}
16
16
 
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.1.2
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}_.*\.rb/ }
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\.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|
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/.*/(.*)\.#{type}") { |match|
52
+ watch("app/.*/(.*).#{type}") { |match|
53
53
  run_matching_files(match[1])
54
54
  }
55
55
  }
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActWithBooleans
4
- VERSION = "0.0.1" # 2022-09-10
5
- # VERSION = "3.1.0" # 2022-08-29
4
+ VERSION = "0.0.2" # 2022-12-11
5
+ # VERSION = "0.0.1" # 2022-09-10
6
6
  end
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.1
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-09-10 00:00:00.000000000 Z
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.7
115
+ rubygems_version: 3.3.26
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Ruby gem act_with_booleans