act_with_booleans 0.0.4 → 0.0.5

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: 3a1762002b1c5d4f306f6a8e12e45fdec641ad0efba59e5c73a4882a9331e410
4
- data.tar.gz: 3ac016617687d41dc3c84f90c39486a25b278f6f8dc7434220b50f6d4d5ab7cd
3
+ metadata.gz: ee31f79ad3bc2684ec406b67baac50b24931eff281eb3aebb955186c2e169d9e
4
+ data.tar.gz: '049e7d194885bf8fedf2d09f6be56a725db2be1e6f9a1b17561da55ebae96be2'
5
5
  SHA512:
6
- metadata.gz: 052e9ab681b552860948a481df24e3ce16462034983d6bc8a535292e8f0564fbf0119e99d8ad2cf55a288e2d156e1b725136045704effa5b41699602f3244278
7
- data.tar.gz: ca371c13cafa8fcfc9ec5f38f232eb795db3aa850f601fe65cf5655db7a52f1dc1d72e95323df78f62fb499ae7f5cafb0e396069ca346ee457d838c16030d39a
6
+ metadata.gz: dc727cb213bc9c34b750069a1e3cb4cf6657fc8c1339274a58f9784591b312e326f93e9c2e1a338c876c448a9c06f568a22fce5e273d809e24cd2b2e731a923c
7
+ data.tar.gz: 534d07cac57f18f2c39e479bb1dde392717972049ca3cd34af2e20de452c9911090483324a37069f58f494c1754c6285402259c13fc2781583f7df3ccb7ff845
@@ -8,15 +8,20 @@ jobs:
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- ruby_version: ["3.0", 3.2]
11
+ ruby_version: ["3.2", "3.3"]
12
12
  runs-on: ubuntu-latest
13
13
 
14
14
  steps:
15
- - uses: actions/checkout@v3
15
+ - uses: actions/checkout@v4
16
16
  - name: Set up Ruby
17
17
  uses: ruby/setup-ruby@v1
18
18
  with:
19
19
  ruby-version: ${{ matrix.ruby_version }}
20
20
  bundler-cache: true
21
+ - name: Bundle install
22
+ run: |
23
+ bundle config path /home/runner/bundle
24
+ bundle install
25
+ bundle update
21
26
  - name: Build and test with Rake
22
27
  run: bundle exec rake
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- rails-7.1
1
+ rails-7.2
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.2.2
1
+ ruby-3.3.5
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ gemspec
3
3
 
4
4
  group :test do
5
5
  gem "benchmark-ips"
6
- gem "observr"
6
+ gem "cuco"
7
7
  gem "ricecream"
8
8
  gem "simplecov", require: false
9
9
  gem "standard", require: false
data/MIT-LICENSE CHANGED
@@ -1,6 +1,4 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2022-2023 Dittmar Krall (www.matiq.com)
1
+ Copyright (c) 2022-2024 Dittmar Krall (www.matiq.com)
4
2
 
5
3
  Permission is hereby granted, free of charge, to any person obtaining
6
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # ActWithBooleans
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/act_with_booleans.png)](http://badge.fury.io/rb/act_with_booleans)
3
+ [![Gem Version](https://badge.fury.io/rb/act_with_booleans.svg)](http://badge.fury.io/rb/act_with_booleans)
4
4
  [![GEM Downloads](https://img.shields.io/gem/dt/act_with_booleans?color=168AFE&logo=ruby&logoColor=FE1616)](https://rubygems.org/gems/act_with_booleans)
5
+ [![rake](https://github.com/matique/act_with_booleans/actions/workflows/rake.yml/badge.svg)](https://github.com/matique/act_with_booleans/actions/workflows/rake.yml)
6
+ [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/standardrb/standard)
7
+ [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](http://choosealicense.com/licenses/mit/)
5
8
 
6
9
  A Ruby gem handling booleans placed in an integer.
7
10
 
@@ -115,5 +118,5 @@ Further reading:
115
118
 
116
119
  ## Miscellaneous
117
120
 
118
- Copyright (c) 2023 Dittmar Krall (www.matiq.com),
121
+ Copyright (c) 2023-2024 Dittmar Krall (www.matiq.com),
119
122
  released under the [MIT license](https://opensource.org/licenses/MIT).
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActWithBooleans
4
- VERSION = "0.0.4" # 2023-12-11
4
+ VERSION = "0.0.5" # 2024-10-19
5
+ # VERSION = "0.0.4" # 2023-12-11
5
6
  # VERSION = "0.0.3" # 2023-04-23
6
7
  # VERSION = "0.0.2" # 2022-12-11
7
8
  # VERSION = "0.0.1" # 2022-09-10
@@ -20,7 +20,7 @@ describe "Internal One Flag" do
20
20
  it "checks definition of methods" do
21
21
  msg = "method '#{bool}' not defined"
22
22
  assert order.respond_to?(bool.to_s), msg
23
- assert order.respond_to?("#{bool}?"), msg
24
- assert order.respond_to?("#{bool}="), msg
23
+ assert order.respond_to?(:"#{bool}?"), msg
24
+ assert order.respond_to?(:"#{bool}="), msg
25
25
  end
26
26
  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.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-11 00:00:00.000000000 Z
11
+ date: 2024-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -94,7 +94,7 @@ homepage: https://github.com/matique/act_with_booleans
94
94
  licenses:
95
95
  - MIT
96
96
  metadata: {}
97
- post_install_message:
97
+ post_install_message:
98
98
  rdoc_options: []
99
99
  require_paths:
100
100
  - lib
@@ -109,8 +109,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  requirements: []
112
- rubygems_version: 3.4.20
113
- signing_key:
112
+ rubygems_version: 3.5.20
113
+ signing_key:
114
114
  specification_version: 4
115
115
  summary: Ruby gem act_with_booleans
116
116
  test_files: []