muck-engine 0.4.5 → 0.4.6

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.5
1
+ 0.4.6
@@ -25,7 +25,7 @@ module MuckEngineHelper
25
25
 
26
26
  # Outputs scripts that manipulate the country and state select controls
27
27
  def country_scripts
28
- return if @@country_scripts_included
28
+ return if defined?(@@country_scripts_included)
29
29
  @@country_scripts_included = true
30
30
  render :partial => 'scripts/country_scripts'
31
31
  end
@@ -231,6 +231,7 @@ module MuckEngineHelper
231
231
  end
232
232
 
233
233
  def truncate_on_word(text, length = 270, end_string = ' ...')
234
+ return if text.blank?
234
235
  if text.length > length
235
236
  stop_index = text.rindex(' ', length)
236
237
  stop_index = length - 10 if stop_index < length-10
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{muck-engine}
8
- s.version = "0.4.5"
8
+ s.version = "0.4.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Ball", "Joel Duffin"]
@@ -1,4 +1,4 @@
1
- NOTE: the jquery.autocomplete.pack.js file is modified from the original to work with luvfoo. Specifically line
1
+ NOTE: the jquery.autocomplete.pack.js file has been modified. Specifically line
2
2
  314 was changed from
3
3
  if ( data && data.length && hasFocus ) {
4
4
  to
@@ -1,4 +1,4 @@
1
- NOTE: the jquery.autocomplete.pack.js file is modified from the original to work with luvfoo. Specifically line
1
+ NOTE: the jquery.autocomplete.pack.js file has been modified. Specifically line
2
2
  314 was changed from
3
3
  if ( data && data.length && hasFocus ) {
4
4
  to
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muck-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball