lab42_core 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -1
- data/lib/lab42/core/enumerable.rb +12 -12
- data/lib/lab42/core/hash.rb +8 -0
- data/lib/lab42/core/version.rb +1 -1
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5abf33645e91cd25afc2561b6d8b16a2aa7f5cd8
|
4
|
+
data.tar.gz: 09f7c35a4b526bbd577b549ff7a8b260168137e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a755bb762ce16516d920c1b48e8c7c2843dafa2acc08cc63400b89f8eaf960114190c996b4a60620dd22a44c99f6883620a831827667fb9d06e5bd113159c36c
|
7
|
+
data.tar.gz: dc4ae82fb3c196b5fc7b8ff581db88d586af9bdfea529c57b2dce1a7eea844208a2174ee907d9d95c436248ddf96128143ad29ec0b370ba3b84b5cc0170df9c0
|
data/README.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
1
4
|
# lab42\_core
|
2
5
|
|
6
|
+
|
7
|
+
[![Build Status](https://travis-ci.org/RobertDober/lab42_core.svg?branch=master)](https://travis-ci.org/RobertDober/lab42_core)
|
8
|
+
[![Code Climate](https://codeclimate.com/github/RobertDober/lab42_core/badges/gpa.svg)](https://codeclimate.com/github/RobertDober/lab42_core)
|
9
|
+
[![Test Coverage](https://codeclimate.com/github/RobertDober/lab42_core/badges/coverage.svg)](https://codeclimate.com/github/RobertDober/lab42_core)
|
10
|
+
|
11
|
+
|
3
12
|
Simple Ruby Core Module Extensions (for more see lab42\_more)
|
4
13
|
|
5
14
|
## Array
|
@@ -56,7 +65,7 @@ For details see the corresponding [QED demo](https://github.com/RobertDober/lab4
|
|
56
65
|
|
57
66
|
## File
|
58
67
|
|
59
|
-
`
|
68
|
+
`expand_local_path` to get rid of the `__FILE__` inside `expand_path`.
|
60
69
|
|
61
70
|
For details see the corresponding [QED demo](https://github.com/RobertDober/lab42_core/blob/master/demo/file.md).
|
62
71
|
|
@@ -23,16 +23,16 @@ class Enumerator::Lazy
|
|
23
23
|
[ select{ |x| expr === x }, reject{ |x| expr === x } ]
|
24
24
|
end
|
25
25
|
|
26
|
-
def to_proc
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
end
|
26
|
+
# def to_proc
|
27
|
+
# this = self
|
28
|
+
# yielder = to_enum.lazy
|
29
|
+
# -> do
|
30
|
+
# yielder.next
|
31
|
+
# end
|
32
|
+
# .extend( Module.new do
|
33
|
+
# define_method :reset! do
|
34
|
+
# yielder = this.to_enum.lazy
|
35
|
+
# end
|
36
|
+
# end)
|
37
|
+
# end
|
38
38
|
end
|
data/lib/lab42/core/hash.rb
CHANGED
data/lib/lab42/core/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lab42_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Dober
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: forwarder2
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.2'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: pry
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,19 +95,19 @@ dependencies:
|
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: '1.8'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
98
|
+
name: travis-lint
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
101
|
- - "~>"
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
103
|
+
version: '2.0'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - "~>"
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
110
|
+
version: '2.0'
|
97
111
|
description: Extending Array, Hash, File, Enumerable with convenience methods, conceptual
|
98
112
|
changes have been moved into lab42_more
|
99
113
|
email: robert.dober@gmail.com
|