jruby-ehcache-rails3 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-rails3
|
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
|
@@ -67,6 +67,7 @@ files:
|
|
67
67
|
- lib/ehcache/cache_manager.rb
|
68
68
|
- lib/ehcache/config.rb
|
69
69
|
- lib/ehcache/element.rb
|
70
|
+
- lib/ehcache/extensions.rb
|
70
71
|
- lib/ehcache/java.rb
|
71
72
|
- lib/ehcache/version.rb
|
72
73
|
- lib/ehcache/yaml_config.rb
|
@@ -118,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
119
|
requirements: []
|
119
120
|
|
120
121
|
rubyforge_project: ehcache
|
121
|
-
rubygems_version: 1.8.
|
122
|
+
rubygems_version: 1.8.9
|
122
123
|
signing_key:
|
123
124
|
specification_version: 3
|
124
125
|
summary: Rails 3 cache store provider using Ehcache
|