imagine_cms 3.0.16 → 3.0.17
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.
@@ -126,7 +126,10 @@ module CmsApplicationHelper
|
|
126
126
|
def first_non_empty(*args)
|
127
127
|
while !args.empty?
|
128
128
|
ret = args.shift
|
129
|
-
|
129
|
+
# TODO: This is what I want to do, but it caused a subtle change in behavior that was
|
130
|
+
# unacceptable for existing sites. Implement in next major version (post-3.0).
|
131
|
+
# return ret unless ret.to_s.blank?
|
132
|
+
return ret unless ret.to_s == ''
|
130
133
|
end
|
131
134
|
return ''
|
132
135
|
end
|
data/lib/imagine_cms/version.rb
CHANGED
data/test/imagine_cms_test.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imagine_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.17
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|