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
- return ret unless ret.to_s.blank?
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
@@ -1,3 +1,3 @@
1
1
  module ImagineCms
2
- VERSION = "3.0.16"
2
+ VERSION = "3.0.17"
3
3
  end
@@ -1,15 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
3
  class ImagineCmsTest < ActiveSupport::TestCase
4
-
5
- def teardown
6
- end
7
-
8
4
  test "truth" do
9
5
  assert_kind_of Module, ImagineCms
10
6
  end
11
-
12
- private
13
-
14
-
15
7
  end
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.16
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-09 00:00:00.000000000 Z
12
+ date: 2013-04-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails