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 +4 -4
- data/.github/workflows/rake.yml +7 -2
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/Gemfile +1 -1
- data/MIT-LICENSE +1 -3
- data/README.md +5 -2
- data/lib/act_with_booleans/version.rb +2 -1
- data/test/coding_one_test.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee31f79ad3bc2684ec406b67baac50b24931eff281eb3aebb955186c2e169d9e
|
4
|
+
data.tar.gz: '049e7d194885bf8fedf2d09f6be56a725db2be1e6f9a1b17561da55ebae96be2'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc727cb213bc9c34b750069a1e3cb4cf6657fc8c1339274a58f9784591b312e326f93e9c2e1a338c876c448a9c06f568a22fce5e273d809e24cd2b2e731a923c
|
7
|
+
data.tar.gz: 534d07cac57f18f2c39e479bb1dde392717972049ca3cd34af2e20de452c9911090483324a37069f58f494c1754c6285402259c13fc2781583f7df3ccb7ff845
|
data/.github/workflows/rake.yml
CHANGED
@@ -8,15 +8,20 @@ jobs:
|
|
8
8
|
strategy:
|
9
9
|
fail-fast: false
|
10
10
|
matrix:
|
11
|
-
ruby_version: ["3.
|
11
|
+
ruby_version: ["3.2", "3.3"]
|
12
12
|
runs-on: ubuntu-latest
|
13
13
|
|
14
14
|
steps:
|
15
|
-
- uses: actions/checkout@
|
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
|
+
rails-7.2
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-3.
|
1
|
+
ruby-3.3.5
|
data/Gemfile
CHANGED
data/MIT-LICENSE
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
|
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.
|
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).
|
data/test/coding_one_test.rb
CHANGED
@@ -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
|
+
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:
|
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.
|
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: []
|