carioca 1.3 → 1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ChangeLog +4 -1
- data/Rakefile +13 -6
- data/carioca.gemspec +20 -21
- data/lib/carioca.rb +53 -53
- data/lib/carioca/exceptions.rb +1 -1
- data/lib/carioca/helpers.rb +3 -3
- data/lib/carioca/private.rb +24 -26
- data/lib/carioca/services.rb +10 -10
- data/lib/carioca/services/configuration.rb +31 -29
- data/lib/carioca/services/debug.rb +8 -10
- data/lib/carioca/services/logger.rb +13 -13
- data/lib/carioca/tasks/rake.rb +3 -3
- data/lib/carioca/tasks/registry_init.rake +2 -1
- data/spec/carioca_spec.rb +72 -78
- data/spec/config/.config +14 -0
- data/spec/init_spec.rb +1 -0
- data/spec/samples/dummy.rb +1 -0
- data/spec/samples/otherdummy.rb +1 -0
- data/spec/samples/requireddummy.rb +1 -0
- data/spec/spec_helper.rb +1 -1
- metadata +49 -72
- data/Gemfile.lock +0 -54
- data/test.rb +0 -12
data/spec/config/.config
ADDED
data/spec/init_spec.rb
CHANGED
data/spec/samples/dummy.rb
CHANGED
data/spec/samples/otherdummy.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# coding: utf-8
|
1
2
|
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
3
|
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
4
|
# Require this file using `require "spec_helper.rb"` to ensure that it is only
|
@@ -15,4 +16,3 @@ RSpec.configure do |config|
|
|
15
16
|
c.syntax = [:should, :expect]
|
16
17
|
end
|
17
18
|
end
|
18
|
-
|
metadata
CHANGED
@@ -1,131 +1,90 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carioca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.4'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Romain GEORGES
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: bundler
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.5'
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.5'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: rake
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - "~>"
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
19
|
+
version: 13.0.1
|
34
20
|
type: :development
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
24
|
- - "~>"
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
26
|
+
version: 13.0.1
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: rspec
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
- - ">="
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: 2.14.1
|
33
|
+
version: 3.9.0
|
51
34
|
type: :development
|
52
35
|
prerelease: false
|
53
36
|
version_requirements: !ruby/object:Gem::Requirement
|
54
37
|
requirements:
|
55
38
|
- - "~>"
|
56
39
|
- !ruby/object:Gem::Version
|
57
|
-
version:
|
58
|
-
- - ">="
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 2.14.1
|
40
|
+
version: 3.9.0
|
61
41
|
- !ruby/object:Gem::Dependency
|
62
42
|
name: yard
|
63
43
|
requirement: !ruby/object:Gem::Requirement
|
64
44
|
requirements:
|
65
45
|
- - "~>"
|
66
46
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
68
|
-
- - ">="
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: 0.8.7.2
|
47
|
+
version: 0.9.24
|
71
48
|
type: :development
|
72
49
|
prerelease: false
|
73
50
|
version_requirements: !ruby/object:Gem::Requirement
|
74
51
|
requirements:
|
75
52
|
- - "~>"
|
76
53
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
78
|
-
- - ">="
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: 0.8.7.2
|
54
|
+
version: 0.9.24
|
81
55
|
- !ruby/object:Gem::Dependency
|
82
56
|
name: rdoc
|
83
57
|
requirement: !ruby/object:Gem::Requirement
|
84
58
|
requirements:
|
85
59
|
- - "~>"
|
86
60
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
88
|
-
- - ">="
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: 4.0.1
|
61
|
+
version: 6.2.1
|
91
62
|
type: :development
|
92
63
|
prerelease: false
|
93
64
|
version_requirements: !ruby/object:Gem::Requirement
|
94
65
|
requirements:
|
95
66
|
- - "~>"
|
96
67
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
98
|
-
- - ">="
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: 4.0.1
|
68
|
+
version: 6.2.1
|
101
69
|
- !ruby/object:Gem::Dependency
|
102
70
|
name: roodi
|
103
71
|
requirement: !ruby/object:Gem::Requirement
|
104
72
|
requirements:
|
105
73
|
- - "~>"
|
106
74
|
- !ruby/object:Gem::Version
|
107
|
-
version:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 3.1.1
|
75
|
+
version: 5.0.0
|
111
76
|
type: :development
|
112
77
|
prerelease: false
|
113
78
|
version_requirements: !ruby/object:Gem::Requirement
|
114
79
|
requirements:
|
115
80
|
- - "~>"
|
116
81
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
118
|
-
- - ">="
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
version: 3.1.1
|
82
|
+
version: 5.0.0
|
121
83
|
- !ruby/object:Gem::Dependency
|
122
84
|
name: code_statistics
|
123
85
|
requirement: !ruby/object:Gem::Requirement
|
124
86
|
requirements:
|
125
87
|
- - "~>"
|
126
|
-
- !ruby/object:Gem::Version
|
127
|
-
version: '0.2'
|
128
|
-
- - ">="
|
129
88
|
- !ruby/object:Gem::Version
|
130
89
|
version: 0.2.13
|
131
90
|
type: :development
|
@@ -133,9 +92,6 @@ dependencies:
|
|
133
92
|
version_requirements: !ruby/object:Gem::Requirement
|
134
93
|
requirements:
|
135
94
|
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '0.2'
|
138
|
-
- - ">="
|
139
95
|
- !ruby/object:Gem::Version
|
140
96
|
version: 0.2.13
|
141
97
|
- !ruby/object:Gem::Dependency
|
@@ -152,6 +108,20 @@ dependencies:
|
|
152
108
|
- - "~>"
|
153
109
|
- !ruby/object:Gem::Version
|
154
110
|
version: '0.1'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: uuid
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 2.3.9
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 2.3.9
|
155
125
|
- !ruby/object:Gem::Dependency
|
156
126
|
name: dorsal
|
157
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,20 +142,20 @@ dependencies:
|
|
172
142
|
requirements:
|
173
143
|
- - "~>"
|
174
144
|
- !ruby/object:Gem::Version
|
175
|
-
version: '1.
|
145
|
+
version: '1.3'
|
176
146
|
- - ">="
|
177
147
|
- !ruby/object:Gem::Version
|
178
|
-
version: '1.
|
148
|
+
version: '1.3'
|
179
149
|
type: :runtime
|
180
150
|
prerelease: false
|
181
151
|
version_requirements: !ruby/object:Gem::Requirement
|
182
152
|
requirements:
|
183
153
|
- - "~>"
|
184
154
|
- !ruby/object:Gem::Version
|
185
|
-
version: '1.
|
155
|
+
version: '1.3'
|
186
156
|
- - ">="
|
187
157
|
- !ruby/object:Gem::Version
|
188
|
-
version: '1.
|
158
|
+
version: '1.3'
|
189
159
|
- !ruby/object:Gem::Dependency
|
190
160
|
name: xml-simple
|
191
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,6 +176,20 @@ dependencies:
|
|
206
176
|
- - ">="
|
207
177
|
- !ruby/object:Gem::Version
|
208
178
|
version: 1.1.5
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: activesupport
|
181
|
+
requirement: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - "~>"
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: 6.0.2.2
|
186
|
+
type: :runtime
|
187
|
+
prerelease: false
|
188
|
+
version_requirements: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - "~>"
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: 6.0.2.2
|
209
193
|
description: 'Carioca : provide a full IoC light Container for designing your applications'
|
210
194
|
email: romain@ultragreen.net
|
211
195
|
executables: []
|
@@ -216,7 +200,6 @@ files:
|
|
216
200
|
- COPYRIGHT
|
217
201
|
- ChangeLog
|
218
202
|
- Gemfile
|
219
|
-
- Gemfile.lock
|
220
203
|
- INSTALL
|
221
204
|
- README.md
|
222
205
|
- Rakefile
|
@@ -233,25 +216,20 @@ files:
|
|
233
216
|
- lib/carioca/tasks/rake.rb
|
234
217
|
- lib/carioca/tasks/registry_init.rake
|
235
218
|
- spec/carioca_spec.rb
|
219
|
+
- spec/config/.config
|
236
220
|
- spec/config/services.registry
|
237
221
|
- spec/init_spec.rb
|
238
222
|
- spec/samples/dummy.rb
|
239
223
|
- spec/samples/otherdummy.rb
|
240
224
|
- spec/samples/requireddummy.rb
|
241
225
|
- spec/spec_helper.rb
|
242
|
-
- test.rb
|
243
226
|
- ultragreen_roodi_coding_convention.yml
|
244
|
-
homepage:
|
227
|
+
homepage: https://github.com/Ultragreen/carioca
|
245
228
|
licenses:
|
246
|
-
- BSD-2
|
229
|
+
- BSD-2-Clause
|
247
230
|
metadata: {}
|
248
231
|
post_install_message:
|
249
|
-
rdoc_options:
|
250
|
-
- "--title"
|
251
|
-
- 'Carioca : Gem documentation'
|
252
|
-
- "--main"
|
253
|
-
- doc/manual.rdoc
|
254
|
-
- "--line-numbers"
|
232
|
+
rdoc_options: []
|
255
233
|
require_paths:
|
256
234
|
- lib
|
257
235
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -265,8 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
265
243
|
- !ruby/object:Gem::Version
|
266
244
|
version: '0'
|
267
245
|
requirements: []
|
268
|
-
|
269
|
-
rubygems_version: 2.4.7
|
246
|
+
rubygems_version: 3.1.2
|
270
247
|
signing_key:
|
271
248
|
specification_version: 4
|
272
249
|
summary: 'Carioca : Configuration Agent and Registry with Inversion Of Control for
|
data/Gemfile.lock
DELETED
@@ -1,54 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
carioca (1.0)
|
5
|
-
dorsal
|
6
|
-
methodic
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: http://rubygems.org/
|
10
|
-
specs:
|
11
|
-
code_statistics (0.2.13)
|
12
|
-
daemons (1.1.9)
|
13
|
-
diff-lcs (1.2.1)
|
14
|
-
dorsal (1.0)
|
15
|
-
daemons
|
16
|
-
macaddr (1.6.1)
|
17
|
-
systemu (~> 2.5.0)
|
18
|
-
methodic (1.2)
|
19
|
-
rdoc (4.0.0)
|
20
|
-
roodi (2.2.0)
|
21
|
-
ruby_parser (~> 2.3.0)
|
22
|
-
rspec (2.13.0)
|
23
|
-
rspec-core (~> 2.13.0)
|
24
|
-
rspec-expectations (~> 2.13.0)
|
25
|
-
rspec-mocks (~> 2.13.0)
|
26
|
-
rspec-core (2.13.1)
|
27
|
-
rspec-expectations (2.13.0)
|
28
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
29
|
-
rspec-mocks (2.13.0)
|
30
|
-
ruby_parser (2.3.1)
|
31
|
-
sexp_processor (~> 3.0)
|
32
|
-
sexp_processor (3.2.0)
|
33
|
-
systemu (2.5.2)
|
34
|
-
uuid (2.3.7)
|
35
|
-
macaddr (~> 1.0)
|
36
|
-
yard (0.8.5.2)
|
37
|
-
yard-rspec (0.1)
|
38
|
-
yard
|
39
|
-
|
40
|
-
PLATFORMS
|
41
|
-
ruby
|
42
|
-
|
43
|
-
DEPENDENCIES
|
44
|
-
carioca!
|
45
|
-
code_statistics
|
46
|
-
rdoc
|
47
|
-
roodi
|
48
|
-
rspec
|
49
|
-
uuid
|
50
|
-
yard
|
51
|
-
yard-rspec
|
52
|
-
|
53
|
-
BUNDLED WITH
|
54
|
-
1.10.3
|