attr_bool 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/attr_bool.gemspec +8 -3
- data/lib/attr_bool/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 157027292cdc404395192f6372dca22a286c93a25a8be537e762f45f22c72ffe
|
|
4
|
+
data.tar.gz: 9922d7205c2b06d5a0a63fb5fff54f6c8901a43c082435645be514ff3a5cee16
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a729e5654e55f3952556251ec67490dd9bb20ddd45b0564336fad0d24c38d1a8f862f03d04bb075debbd02851a33de35fbc9e02d9770a78f2bc35b9a7ee6d12
|
|
7
|
+
data.tar.gz: 1dab140de4d8f01fb50870117a775dc522c63426118c6f78cd71076da2769b1874217586f79e7288542f2f71b63f8f23b3857b01fc5fa5eb8e4fa7ea58a279c4
|
data/attr_bool.gemspec
CHANGED
|
@@ -23,9 +23,14 @@ Gem::Specification.new() do |spec|
|
|
|
23
23
|
spec.licenses = ['MIT']
|
|
24
24
|
spec.homepage = 'https://github.com/esotericpig/attr_bool'
|
|
25
25
|
spec.summary = 'Finally attr_accessor & attr_reader with question marks for booleans!?'
|
|
26
|
-
spec.description =
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
spec.description = <<-EOD.gsub(/\s+/,' ').strip()
|
|
27
|
+
#{spec.summary}
|
|
28
|
+
Simply use: attr_accessor?, attr_reader?, attr_bool, attr_bool?.
|
|
29
|
+
Default values can also be passed in as the last argument
|
|
30
|
+
or with the 'default: ' keyword argument.
|
|
31
|
+
In a Module/Class, extend 'AttrBool::Ext',
|
|
32
|
+
or in the file, require 'attr_bool/core_ext'.
|
|
33
|
+
EOD
|
|
29
34
|
|
|
30
35
|
spec.metadata = {
|
|
31
36
|
'homepage_uri' => 'https://github.com/esotericpig/attr_bool',
|
data/lib/attr_bool/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: attr_bool
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Bradley Whited (@esotericpig)
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-11-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -95,8 +95,9 @@ dependencies:
|
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '0.9'
|
|
97
97
|
description: 'Finally attr_accessor & attr_reader with question marks for booleans!?
|
|
98
|
-
Simply use
|
|
99
|
-
|
|
98
|
+
Simply use: attr_accessor?, attr_reader?, attr_bool, attr_bool?. Default values
|
|
99
|
+
can also be passed in as the last argument or with the ''default: '' keyword argument.
|
|
100
|
+
In a Module/Class, extend ''AttrBool::Ext'', or in the file, require ''attr_bool/core_ext''.'
|
|
100
101
|
email:
|
|
101
102
|
- bradley@esotericpig.com
|
|
102
103
|
executables: []
|
|
@@ -124,7 +125,7 @@ rdoc_options:
|
|
|
124
125
|
- "--hyperlink-all"
|
|
125
126
|
- "--show-hash"
|
|
126
127
|
- "--title"
|
|
127
|
-
- AttrBool v0.2.
|
|
128
|
+
- AttrBool v0.2.1 Doc
|
|
128
129
|
require_paths:
|
|
129
130
|
- lib
|
|
130
131
|
required_ruby_version: !ruby/object:Gem::Requirement
|