sleeping_king_studios-tools 0.4.0.rc.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/DEVELOPMENT.md +13 -9
- data/README.md +2 -0
- data/lib/sleeping_king_studios/tools/toolbelt.rb +0 -1
- data/lib/sleeping_king_studios/tools/version.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f296e034d67c6ae33d69e7e40ccbdb62eaa65cdf
|
4
|
+
data.tar.gz: 694ed1dc928edc084e9aa54453c8944ab25f8937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 521bc036894b1f5eaaf08a512875f7d4adac55abfc63166a36be39ef3ade2d827fdc48c454fff4385ffda5ae32ed4128cdc86e85ce9496ce727c7c3f6b426f28
|
7
|
+
data.tar.gz: bdec4ed0afeae762c0402507910a80a1e7572c8ee19389a69938393ff935f3c66fa5c7d6ea78ec8aa6d273b03f002a9ef702f82074a62aba1404485d22736304
|
data/DEVELOPMENT.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
# Development Notes
|
2
2
|
|
3
|
-
## Version 0.5.0
|
3
|
+
## Version 0.5.0 - The Cold Update
|
4
|
+
|
5
|
+
- ObjectTools#immutable? - delegates to specific toolset implementations.
|
6
|
+
- Values of `nil`, `false`, and `true` are always immutable, as are instances of `Numeric` and `Symbol`.
|
7
|
+
- Arrays are immutable if the array is frozen and all items are immutable.
|
8
|
+
- Hashes are immutable if the hash is frozen and all keys and values are immutable.
|
9
|
+
- All other objects are only immutable if the object is frozen.
|
10
|
+
- ObjectTools#freeze - delegates to specific toolset implementation
|
11
|
+
- Arrays freeze the collection and each item
|
12
|
+
- Hashes freeze the collection and each key and value
|
13
|
+
- ObjectTools#frozen_copy
|
14
|
+
|
15
|
+
## Version 0.6.0 - The Identity Update
|
4
16
|
|
5
17
|
### Features
|
6
18
|
|
@@ -26,14 +38,6 @@
|
|
26
38
|
- RegexpTools#nonmatching_strings - generates a set of strings that do not match the regular expression.
|
27
39
|
- Identity Methods
|
28
40
|
- RegexpTools#regexp? - true if object is regular expression, otherwise false.
|
29
|
-
- ObjectTools#immutable? - delegates to specific toolset implementations.
|
30
|
-
- Values of `nil`, `false`, and `true` are always immutable, as are instances of `Numeric` and `Symbol`.
|
31
|
-
- Arrays are immutable if the array is frozen and all items are immutable.
|
32
|
-
- Hashes are immutable if the hash is frozen and all keys and values are immutable.
|
33
|
-
- All other objects are only immutable if the object is frozen.
|
34
|
-
- ObjectTools#freeze - delegates to specific toolset implementation
|
35
|
-
- Arrays freeze the collection and each item
|
36
|
-
- Hashes freeze the collection and each key and value
|
37
41
|
|
38
42
|
#### Toolkit
|
39
43
|
|
data/README.md
CHANGED
@@ -16,6 +16,8 @@ Hi, I'm Rob Smith, a Ruby Engineer and the developer of this library. I use thes
|
|
16
16
|
|
17
17
|
The tools can be accessed in a convenient form using the Toolbelt class.
|
18
18
|
|
19
|
+
require 'sleeping_king_studios/tools/toolbelt'
|
20
|
+
|
19
21
|
tools = ::SleepingKingStudios::Tools::Toolbelt.new
|
20
22
|
|
21
23
|
tools.array.humanize_list 'one', 'two', 'three'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sleeping_king_studios-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.0
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob "Merlin" Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -119,9 +119,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
119
119
|
version: '0'
|
120
120
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: '0'
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
127
|
rubygems_version: 2.5.1
|