jruby-ehcache 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/VERSION +1 -1
- data/lib/ehcache/cache_manager.rb +2 -2
- data/lib/ehcache/extensions.rb +9 -0
- data/lib/ehcache/version.rb +1 -1
- metadata +3 -2
data/.gitignore
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.3.
|
|
1
|
+
1.3.1
|
|
@@ -53,9 +53,9 @@ def process_init_args(*args)
|
|
|
53
53
|
args.compact!
|
|
54
54
|
if args.empty?
|
|
55
55
|
# First, look relative to the file that is creating the CacheManager.
|
|
56
|
-
# The expression caller[
|
|
56
|
+
# The expression caller[1] finds the entry in the call stack where
|
|
57
57
|
# CacheManager.new or CacheManager.create was called.
|
|
58
|
-
creator =
|
|
58
|
+
creator = /^\s*(.+?):\d/.match(caller[1])[1]
|
|
59
59
|
if ehcache_config = Java::NetSfEhcacheConfig::Configuration.find(File.dirname(creator))
|
|
60
60
|
yield(ehcache_config)
|
|
61
61
|
else
|
data/lib/ehcache/version.rb
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: jruby-ehcache
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 1.3.
|
|
5
|
+
version: 1.3.1
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Dylan Stamat
|
|
@@ -57,6 +57,7 @@ files:
|
|
|
57
57
|
- lib/ehcache/cache_manager.rb
|
|
58
58
|
- lib/ehcache/config.rb
|
|
59
59
|
- lib/ehcache/element.rb
|
|
60
|
+
- lib/ehcache/extensions.rb
|
|
60
61
|
- lib/ehcache/java.rb
|
|
61
62
|
- lib/ehcache/version.rb
|
|
62
63
|
- lib/ehcache/yaml_config.rb
|
|
@@ -108,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
108
109
|
requirements: []
|
|
109
110
|
|
|
110
111
|
rubyforge_project: ehcache
|
|
111
|
-
rubygems_version: 1.8.
|
|
112
|
+
rubygems_version: 1.8.9
|
|
112
113
|
signing_key:
|
|
113
114
|
specification_version: 3
|
|
114
115
|
summary: JRuby interface to Ehcache
|