sinject 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sinject/container.rb +1 -1
- data/lib/sinject/version.rb +5 -0
- metadata +20 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74d73c7073d972685d7102f6760e326669637d897330058adec4d32acf28e192
|
4
|
+
data.tar.gz: 92c467b5781f2893261c602b676c3cc84263886e5f44ddf7cb1540d18b8d0602
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdfdd548a9ac9befbfeb94f0a9ac7ff5456b68746af2183764cb4593656c03f42c5bdb81cf108c6aaacf5129a0bc1ef3fe82505d24ff5c79e43a4aeabdf4f4b9
|
7
|
+
data.tar.gz: aa2b989d31dc8ad7939e7d20228cdabb05adc68c694198391364e675e53b820beba258e3e68d9fb7b4199c7fed51d9ee09a7e3b56899cf2fcc5fa061dfe462e2
|
data/lib/sinject/container.rb
CHANGED
@@ -107,7 +107,7 @@ module Sinject
|
|
107
107
|
end
|
108
108
|
|
109
109
|
def load_groups
|
110
|
-
Sinject::DependencyGroup.descendants.each do |g|
|
110
|
+
Sinject::DependencyGroup.descendants.sort_by(&:name).each do |g|
|
111
111
|
group = g.new
|
112
112
|
if (group.respond_to?(:valid?) && group.valid?) || (group.respond_to?(:is_valid?) && group.is_valid?)
|
113
113
|
group.register(self)
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinject
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sage One
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.11'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.11'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: simplecov
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.21.2
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.21.2
|
55
69
|
description: A simple dependency injection framework.
|
56
70
|
email:
|
57
71
|
- vaughan.britton@sage.com
|
@@ -67,6 +81,7 @@ files:
|
|
67
81
|
- lib/sinject/container_item.rb
|
68
82
|
- lib/sinject/dependency_group.rb
|
69
83
|
- lib/sinject/exceptions.rb
|
84
|
+
- lib/sinject/version.rb
|
70
85
|
homepage: https://github.com/sage/sinject
|
71
86
|
licenses:
|
72
87
|
- MIT
|
@@ -86,8 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
101
|
- !ruby/object:Gem::Version
|
87
102
|
version: '0'
|
88
103
|
requirements: []
|
89
|
-
|
90
|
-
rubygems_version: 2.7.6
|
104
|
+
rubygems_version: 3.0.8
|
91
105
|
signing_key:
|
92
106
|
specification_version: 4
|
93
107
|
summary: Simple Dependency Injection.
|