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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2c5964a8d6edce3348a75b531174b9d78c9defb
4
- data.tar.gz: 8862e3e58b47cb1b12bf4ba72d0c0f13a171faa9
3
+ metadata.gz: 5be3ba463531fcd70b806b0baf8e694488dd99cd
4
+ data.tar.gz: c48a7db5f479c4b1da954017dde101af49fece11
5
5
  SHA512:
6
- metadata.gz: efb36b3fc0bd23992aab5c495ea9c641a1693fa6e1c2fdc92cf396e3763ba90136215be53a90dcc7d1ff6f2903df8976962935d0e9b89016f13015b90218ba3e
7
- data.tar.gz: 4c5abee21f1b34c9086a726a7b6fc6d5e67fb785eb5a231f132796ea5294c24cb906b26b4716c076f58e19d8f86fedd596bc476ca5f9f55e4df69483244d8eaa
6
+ metadata.gz: 38b9b09af388adbb216106dd55dad9b2c1c5ea812be5bc695227ff206c8a7bcf67a2bc279a9e0f175babdeba30517d11520d23e94c0e40e4c7058a9715e3cc19
7
+ data.tar.gz: e8362d10b0bfe9a98bda8eca4f755608bda0ffeb88e0a5aa7c24ddccb2f60fdcb8e9ad05bf847568a5dea223b55e7354c6781001b5a3b86475db0223becde294
@@ -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
- TorqueBox::Registry.merge!(something.to_s => value)
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
Binary file
@@ -1,6 +1,6 @@
1
1
  module TorqueboxCore
2
- VERSION = '3.1.0'
3
- MAVEN_VERSION = '3.1.0'
2
+ VERSION = '3.1.1'
3
+ MAVEN_VERSION = '3.1.1'
4
4
  end
5
5
  begin
6
6
  require 'java'
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.0
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-03-24 00:00:00.000000000 Z
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/kernel.rb
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/core.rb
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