pears 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/Gemfile +1 -0
- data/Gemfile.lock +3 -0
- data/lib/pears/subject.rb +5 -0
- data/lib/pears/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c15dd21fc557f0dcb711e9b64e8c05cd7aa17277d8d78fcd6b352a62b9dc46f
|
4
|
+
data.tar.gz: b98aed17f7ac9ca2594cc6b59afdbfbad0eb542430ed523ca4954c09cfd911e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eeb4ad72657094f50ad3edbcac4bdd717184e6e645b9a0b92eb247d4befc757e2ae41c26d25b689c78c9bd2008d08d0341e0dd375373ffe9b88dc6d0f4944984
|
7
|
+
data.tar.gz: 2e5a5e00e406c55235f1a7893500dc6fa6272220f05446b4544b5ffa3896efbfc87b6349153ec20b80ca0c41240af98e36622116524c468982b5c8833c2a9fc0
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -32,6 +32,8 @@ GEM
|
|
32
32
|
rspec-core (~> 3.10.0)
|
33
33
|
rspec-expectations (~> 3.10.0)
|
34
34
|
rspec-mocks (~> 3.10.0)
|
35
|
+
rspec-collection_matchers (1.2.0)
|
36
|
+
rspec-expectations (>= 2.99.0.beta1)
|
35
37
|
rspec-core (3.10.1)
|
36
38
|
rspec-support (~> 3.10.0)
|
37
39
|
rspec-expectations (3.10.1)
|
@@ -54,6 +56,7 @@ DEPENDENCIES
|
|
54
56
|
pears!
|
55
57
|
rake (~> 13.0)
|
56
58
|
rspec (~> 3.0)
|
59
|
+
rspec-collection_matchers
|
57
60
|
|
58
61
|
BUNDLED WITH
|
59
62
|
2.3.5
|
data/lib/pears/subject.rb
CHANGED
@@ -5,6 +5,7 @@ module Pears
|
|
5
5
|
# You could different Pears::Subjects in your application for different parts
|
6
6
|
# of its domain. for instance: application_settings, theming or translations.
|
7
7
|
class Subject
|
8
|
+
include Enumerable
|
8
9
|
attr_reader :name
|
9
10
|
|
10
11
|
def initialize(name, *layers)
|
@@ -40,6 +41,10 @@ module Pears
|
|
40
41
|
end.with_indifferent_access
|
41
42
|
end
|
42
43
|
|
44
|
+
def each(&block)
|
45
|
+
project.each(&block)
|
46
|
+
end
|
47
|
+
|
43
48
|
private
|
44
49
|
|
45
50
|
def layers
|
data/lib/pears/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pears
|
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
|
- Steven Kemp
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|
120
|
-
rubygems_version: 3.2.
|
120
|
+
rubygems_version: 3.2.3
|
121
121
|
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: An overly complicated library for juggling configuration data.
|