jqr-helpers 1.0.37 → 1.0.38

Sign up to get free protection for your applications and to get access to all the features.
data/jqr-helpers.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'jqr-helpers'
3
3
  s.require_paths = %w(. lib lib/jqr-helpers)
4
- s.version = '1.0.37'
4
+ s.version = '1.0.38'
5
5
  s.date = '2014-03-27'
6
6
  s.summary = 'Helpers to print unobtrusive jQuery-UI tags.'
7
7
  s.description = <<-EOF
@@ -478,6 +478,7 @@ module JqrHelpers
478
478
  # @param format [String] the Rails date format to map
479
479
  # @return [String] the jQuery date format
480
480
  def _map_date(format)
481
+ format = format.clone
481
482
  format.gsub!(/'/, "''")
482
483
  format_map = {
483
484
  '%Y' => 'yy',
@@ -1,6 +1,6 @@
1
1
  module JqrHelpers
2
2
  # @private
3
3
  module Rails
4
- VERSION = '1.0.37'
4
+ VERSION = '1.0.38'
5
5
  end
6
6
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: jqr-helpers
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.37
5
+ version: 1.0.38
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Orner