lens_of_truth 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c683afe773d926b884d995ae7ff5bc05fec12f11
4
- data.tar.gz: 289b22fef2d14618f33c9f9e75414d47f8dbca9c
3
+ metadata.gz: 0d4227b01e682a23a39d63d6b4f6817a6962c3df
4
+ data.tar.gz: a4d51f01633123f96513b5d9294dfd45d42e3855
5
5
  SHA512:
6
- metadata.gz: 0ed81aaf5eedbb77795e96d087d0539f38e030d501d866c65d606454a1b79bf073fe6d196989731c31c8e22f10012b5c2fa2d0ea03a315ab49243f587d2db21a
7
- data.tar.gz: 2231dc06fd3cfb5efafdb4d7f94c5f3b97d08193b8bea926c74efbd797d5a82969f603ce7d4225961d3fb1c5e6bffb909ac97f1e5798665dca9a0950b7600803
6
+ metadata.gz: 53c512eb6e9113877b3f3e412e16debc058bbd73bb2b1435c50200dfcf1c762b71a1fe98ff28a14ed69e8dd6241f4142bd5448dd67cd7feb76d6b2b44ecfc1ea
7
+ data.tar.gz: becb19db80657445df85300a3fdf9bd90f6f9d0f51122187f1dae5199dba8e131dfd90c37ef7e5cdb807221abfa76a1d4de9c52e732f7195a556e8621dda0825
data/README.md CHANGED
@@ -6,7 +6,7 @@ Operating on the assumption that related data tend to live reasonably close toge
6
6
 
7
7
  ### "Use cases"
8
8
 
9
- Under the hood, `Enumerator` is implemented in terms of fibers so as to support suspension and resumption. CRuby does the right thing by not exposing this implementation detail directly, but maybe we want a reference to the underlying `Fiber` anyway. We knows its [approximate location](https://git.io/vzNsN), so let's see if the **Lens of Truth** can help us home in on it:
9
+ Under the hood, `Enumerator` is implemented in terms of fibers so as to support suspension and resumption. CRuby does the right thing by not exposing this implementation detail directly, but maybe we want a reference to the underlying `Fiber` anyway. We know its [approximate location](https://git.io/vzNsN), so let's see if the **Lens of Truth** can help us home in on it:
10
10
 
11
11
  ```ruby
12
12
  require 'fiber' # for Fiber#transfer
@@ -44,7 +44,7 @@ Finding the right `Proc` or `Array` is a little harder (read: non-deterministic)
44
44
 
45
45
  ### Usage
46
46
 
47
- `Object#find_nearby` uses case equality (`===`) when performing the search, so you can scan around for nearby strings matching some regular expression or a numeric object within a given range. You can instead pass a block to be used as the predicate. There's also an optional keyword argument `limit` which specifies how far to search in other direction before bailing. Examples follow.
47
+ `Object#find_nearby` uses case equality (`===`) when performing the search, so you can scan around for nearby strings matching some regular expression or a numeric object within a given range. You can instead pass a block to be used as the predicate. There's also an optional keyword argument `limit` which specifies how far to search in either direction before bailing. Examples follow.
48
48
 
49
49
  ```ruby
50
50
  p Object.find_nearby /^[A-Z]+$/
@@ -1,3 +1,3 @@
1
1
  module LensOfTruth
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lens_of_truth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - D.E. Akers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-29 00:00:00.000000000 Z
11
+ date: 2016-02-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: lens_of_truth adds Object#find_nearby to look around in proximal memory
14
14
  for things of interest.
@@ -46,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
46
46
  version: '0'
47
47
  requirements: []
48
48
  rubyforge_project:
49
- rubygems_version: 2.5.1
49
+ rubygems_version: 2.5.2
50
50
  signing_key:
51
51
  specification_version: 4
52
52
  summary: Use the Lens of Truth to find objects hidden nearby.