torquebox-caching 4.0.0.beta2-java → 4.0.0.beta3-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: 166e0e1fa4ec386f4309c61cfc095b7af9173dc8
4
- data.tar.gz: 2a7947e546488105c3cddd4ba543e533fa49bf16
3
+ metadata.gz: 768add5f206d2ef75f0ed86739f082fc4143479e
4
+ data.tar.gz: 24e9e8d2aa6d94c886ea009b5d400d38279c2e26
5
5
  SHA512:
6
- metadata.gz: 01e4e590682d0003708cfc64c4df1a2b918fae9bec3a94b20b7a93ae0bc0e2a850a0bd9a7f4cd964acc48608b404643d8adc521d7c924f9df44cd6fc41e17264
7
- data.tar.gz: bd3a38ba7f962f109cf1b0ce2fb4a573ca50ab3c9567a35e9347d2fd5e167c186b98e05fe00657337bb3bf371386ff74a6777f498dd96298285088800cb942ac
6
+ metadata.gz: 9a44eb2a802a85c21c32564dc5b231ef3a5302e2f66613654b47fd62dfe8aa33c4ef10d82ed9fb76d180dee4f0bd906fe15084f1f33320247f9771304101a11a
7
+ data.tar.gz: 3c589138f7dacf3a59a3a78db7abb8878991a5fc71cb6355ad996aa0c79648d5377b63883abe8eb9231e85c014a62406f6facf503b3276edb3d8fd87e68300d4
@@ -94,6 +94,9 @@ module TorqueBox
94
94
  # @return [Cache] The cache reference
95
95
  def cache(name, options = {})
96
96
  validate_options(options, VALID_OPTIONS)
97
+ if options[:max_entries].to_i > 0 && !options[:eviction]
98
+ options[:eviction] = :lru
99
+ end
97
100
  cache = component.find_or_create(name, extract_options(options, Caching::CreateOption))
98
101
  codec = Codecs[options.fetch(:encoding, :marshal_smart)]
99
102
  Cache.new(component.withCodec(cache, codec), options)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torquebox-caching
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.beta2
4
+ version: 4.0.0.beta3
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: 2015-09-03 00:00:00.000000000 Z
11
+ date: 2016-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: torquebox-core
@@ -16,12 +16,12 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.0.beta2
19
+ version: 4.0.0.beta3
20
20
  requirement: !ruby/object:Gem::Requirement
21
21
  requirements:
22
22
  - - '='
23
23
  - !ruby/object:Gem::Version
24
- version: 4.0.0.beta2
24
+ version: 4.0.0.beta3
25
25
  prerelease: false
26
26
  type: :runtime
27
27
  - !ruby/object:Gem::Dependency
@@ -87,16 +87,19 @@ extensions: []
87
87
  extra_rdoc_files: []
88
88
  files:
89
89
  - lib/torquebox-caching.rb
90
- - lib/active_support/cache/torquebox_store.rb
90
+ - lib/wunderboss-jars/wunderboss-wildfly-caching-0.12.1.jar
91
+ - lib/wunderboss-jars/wunderboss-caching-0.12.1.jar
92
+ - lib/wunderboss-jars/infinispan-commons-7.2.3.Final.jar
93
+ - lib/wunderboss-jars/wunderboss-caching-ispan8-0.12.1.jar
94
+ - lib/wunderboss-jars/wunderboss-caching-ispan6-0.12.1.jar
95
+ - lib/wunderboss-jars/jboss-marshalling-osgi-1.4.10.Final.jar
96
+ - lib/wunderboss-jars/infinispan-core-7.2.3.Final.jar
97
+ - lib/wunderboss-jars/wunderboss-caching-ispan5-0.12.1.jar
98
+ - lib/wunderboss-jars/jboss-transaction-api_1.1_spec-1.0.1.Final.jar
91
99
  - lib/active_support/cache/torque_box_store.rb
100
+ - lib/active_support/cache/torquebox_store.rb
92
101
  - lib/torquebox/caching.rb
93
102
  - lib/torquebox/caching/cache.rb
94
- - lib/wunderboss-jars/infinispan-core-6.0.2.Final.jar
95
- - lib/wunderboss-jars/jboss-marshalling-1.4.4.Final.jar
96
- - lib/wunderboss-jars/wunderboss-caching-0.8.0.jar
97
- - lib/wunderboss-jars/jboss-marshalling-river-1.4.4.Final.jar
98
- - lib/wunderboss-jars/infinispan-commons-6.0.2.Final.jar
99
- - lib/wunderboss-jars/jboss-transaction-api_1.1_spec-1.0.1.Final.jar
100
103
  homepage: http://torquebox.org/4x
101
104
  licenses:
102
105
  - Apache-2.0
@@ -116,8 +119,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
119
  - !ruby/object:Gem::Version
117
120
  version: 1.3.1
118
121
  requirements:
119
- - jar org.projectodd.wunderboss:wunderboss-ruby, 0.8.0
120
- - jar org.projectodd.wunderboss:wunderboss-caching, 0.8.0
122
+ - jar org.projectodd.wunderboss:wunderboss-ruby, 0.12.1
123
+ - jar org.projectodd.wunderboss:wunderboss-caching, 0.12.1
124
+ - jar org.projectodd.wunderboss:wunderboss-wildfly-caching, 0.12.1
121
125
  rubyforge_project:
122
126
  rubygems_version: 2.1.9
123
127
  signing_key: