torquebox-core 3.1.0-java → 3.1.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/torquebox/injectors.rb +6 -1
- data/lib/torquebox-core.jar +0 -0
- data/lib/torquebox-core.rb +2 -2
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5be3ba463531fcd70b806b0baf8e694488dd99cd
|
4
|
+
data.tar.gz: c48a7db5f479c4b1da954017dde101af49fece11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38b9b09af388adbb216106dd55dad9b2c1c5ea812be5bc695227ff206c8a7bcf67a2bc279a9e0f175babdeba30517d11520d23e94c0e40e4c7058a9715e3cc19
|
7
|
+
data.tar.gz: e8362d10b0bfe9a98bda8eca4f755608bda0ffeb88e0a5aa7c24ddccb2f60fdcb8e9ad05bf847568a5dea223b55e7354c6781001b5a3b86475db0223becde294
|
data/lib/torquebox/injectors.rb
CHANGED
@@ -43,7 +43,12 @@ module TorqueBox
|
|
43
43
|
value = service.value
|
44
44
|
raise InjectionError.new("Injected service had no value - #{service_name}") if value.nil?
|
45
45
|
value = value.convert(JRuby.runtime) if value.respond_to?(:convert)
|
46
|
-
|
46
|
+
if something.to_s.start_with?("service:")
|
47
|
+
# don't cache services to support zero-downtime deploys (TORQUE-1217)
|
48
|
+
return value
|
49
|
+
else
|
50
|
+
TorqueBox::Registry.merge!(something.to_s => value)
|
51
|
+
end
|
47
52
|
end
|
48
53
|
TorqueBox::Registry[something.to_s]
|
49
54
|
end
|
data/lib/torquebox-core.jar
CHANGED
Binary file
|
data/lib/torquebox-core.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: torquebox-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- The TorqueBox Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: edn
|
@@ -63,28 +63,28 @@ files:
|
|
63
63
|
- lib/torquebox-core.jar
|
64
64
|
- lib/torquebox-core.rb
|
65
65
|
- lib/gem_hook.rb
|
66
|
+
- lib/torquebox/component_manager.rb
|
67
|
+
- lib/torquebox/kernel.rb
|
68
|
+
- lib/torquebox/core.rb
|
69
|
+
- lib/torquebox/service_registry.rb
|
70
|
+
- lib/torquebox/scheduled_job.rb
|
71
|
+
- lib/torquebox/injectors.rb
|
66
72
|
- lib/torquebox/logger.rb
|
67
73
|
- lib/torquebox/registry.rb
|
68
|
-
- lib/torquebox/injectors.rb
|
69
|
-
- lib/torquebox/msc.rb
|
70
74
|
- lib/torquebox/codecs.rb
|
71
|
-
- lib/torquebox/
|
72
|
-
- lib/torquebox/scheduled_job.rb
|
73
|
-
- lib/torquebox/service_registry.rb
|
75
|
+
- lib/torquebox/msc.rb
|
74
76
|
- lib/torquebox/service.rb
|
75
|
-
- lib/torquebox/
|
76
|
-
- lib/torquebox/component_manager.rb
|
77
|
+
- lib/torquebox/codecs/marshal_base64.rb
|
77
78
|
- lib/torquebox/codecs/edn.rb
|
79
|
+
- lib/torquebox/codecs/marshal.rb
|
78
80
|
- lib/torquebox/codecs/marshal_smart.rb
|
79
81
|
- lib/torquebox/codecs/json.rb
|
80
|
-
- lib/torquebox/codecs/marshal_base64.rb
|
81
|
-
- lib/torquebox/codecs/marshal.rb
|
82
|
-
- spec/service_registry_spec.rb
|
83
|
-
- spec/logger_spec.rb
|
84
|
-
- spec/injectors_spec.rb
|
85
|
-
- spec/kernel_spec.rb
|
86
82
|
- spec/scheduled_job_spec.rb
|
83
|
+
- spec/injectors_spec.rb
|
84
|
+
- spec/logger_spec.rb
|
85
|
+
- spec/service_registry_spec.rb
|
87
86
|
- spec/codecs_spec.rb
|
87
|
+
- spec/kernel_spec.rb
|
88
88
|
homepage: http://torquebox.org/
|
89
89
|
licenses:
|
90
90
|
- Public Domain
|
@@ -110,9 +110,9 @@ signing_key:
|
|
110
110
|
specification_version: 4
|
111
111
|
summary: TorqueBox Core Gem
|
112
112
|
test_files:
|
113
|
-
- spec/service_registry_spec.rb
|
114
|
-
- spec/logger_spec.rb
|
115
|
-
- spec/injectors_spec.rb
|
116
|
-
- spec/kernel_spec.rb
|
117
113
|
- spec/scheduled_job_spec.rb
|
114
|
+
- spec/injectors_spec.rb
|
115
|
+
- spec/logger_spec.rb
|
116
|
+
- spec/service_registry_spec.rb
|
118
117
|
- spec/codecs_spec.rb
|
118
|
+
- spec/kernel_spec.rb
|