attr_bool 0.2.0 → 0.2.1

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: '08774043d349869b1a07f48acc95fb7c4239a6f7cbb7616db959adb82f204972'
4
- data.tar.gz: 8076675a422c70291b7e5c775a6b8bb1ab7483e2987786ce53af438e2190ad72
3
+ metadata.gz: 157027292cdc404395192f6372dca22a286c93a25a8be537e762f45f22c72ffe
4
+ data.tar.gz: 9922d7205c2b06d5a0a63fb5fff54f6c8901a43c082435645be514ff3a5cee16
5
5
  SHA512:
6
- metadata.gz: 2bda865800a81e391929d58265b5d094384ba9f516c8ac2bb893d4f742d5bbd18e33eb43c4b237ac63993adca625db3dd0cd2e8fc69bbae33bc18f5da94da512
7
- data.tar.gz: 78fe47e718bc4c9bd8988b17f9aca267b72861398c809761ae35288c96c860e663179867834debf4368a74f07c5c069a5b0f9bae08b1ec348ade1b58e93ade47
6
+ metadata.gz: 2a729e5654e55f3952556251ec67490dd9bb20ddd45b0564336fad0d24c38d1a8f862f03d04bb075debbd02851a33de35fbc9e02d9770a78f2bc35b9a7ee6d12
7
+ data.tar.gz: 1dab140de4d8f01fb50870117a775dc522c63426118c6f78cd71076da2769b1874217586f79e7288542f2f71b63f8f23b3857b01fc5fa5eb8e4fa7ea58a279c4
@@ -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 = spec.summary +
27
- ' Simply use one the following: attr_accessor?, attr_reader?, attr_bool, attr_bool?.' \
28
- ' Default values can also be passed in.'
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',
@@ -15,5 +15,5 @@
15
15
 
16
16
 
17
17
  module AttrBool
18
- VERSION = '0.2.0'
18
+ VERSION = '0.2.1'
19
19
  end
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.0
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-10-23 00:00:00.000000000 Z
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 one the following: attr_accessor?, attr_reader?, attr_bool, attr_bool?.
99
- Default values can also be passed in.'
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.0 Doc
128
+ - AttrBool v0.2.1 Doc
128
129
  require_paths:
129
130
  - lib
130
131
  required_ruby_version: !ruby/object:Gem::Requirement