cache_column 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/cache_column.gemspec +2 -2
- data/lib/cache_column.rb +2 -2
- metadata +3 -6
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('cache_column', '0.1.
|
5
|
+
Echoe.new('cache_column', '0.1.4') do |p|
|
6
6
|
p.description = "Utilize the database to cache complex operations."
|
7
7
|
p.url = "http://github.com/arjes/Cache-Column"
|
8
8
|
p.author = "Brian Malinconico"
|
data/cache_column.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{cache_column}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.4"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Brian Malinconico"]
|
9
|
-
s.date = %q{2010-08-
|
9
|
+
s.date = %q{2010-08-31}
|
10
10
|
s.description = %q{Utilize the database to cache complex operations.}
|
11
11
|
s.email = %q{arjesins@gmail.com}
|
12
12
|
s.extra_rdoc_files = ["README.rdoc", "lib/cache_column.rb", "lib/tasks/cache_column.rake"]
|
data/lib/cache_column.rb
CHANGED
@@ -43,8 +43,8 @@ module CacheColumn
|
|
43
43
|
|
44
44
|
return if params.nil?
|
45
45
|
|
46
|
-
|
47
|
-
|
46
|
+
return if params[:update_validation].present? and self.respond_to?(params[:update_validation]) and self.send("#{params[:update_validation]}") == false
|
47
|
+
return if params[:on_save].blank?
|
48
48
|
|
49
49
|
if params[:on_save] == :blank
|
50
50
|
new_value = ""
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cache_column
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 29
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
8
|
+
- 4
|
9
|
+
version: 0.1.4
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Brian Malinconico
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2010-08-
|
17
|
+
date: 2010-08-31 00:00:00 -04:00
|
19
18
|
default_executable:
|
20
19
|
dependencies: []
|
21
20
|
|
@@ -63,7 +62,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
62
|
requirements:
|
64
63
|
- - ">="
|
65
64
|
- !ruby/object:Gem::Version
|
66
|
-
hash: 3
|
67
65
|
segments:
|
68
66
|
- 0
|
69
67
|
version: "0"
|
@@ -72,7 +70,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
72
70
|
requirements:
|
73
71
|
- - ">="
|
74
72
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 11
|
76
73
|
segments:
|
77
74
|
- 1
|
78
75
|
- 2
|