everyday-menu 1.3.4 → 1.3.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ca47c4834ec7543c6a22e78325aa930dabeb107
4
- data.tar.gz: dbf497393c9abf45ed3dafb4309b94446ee28cd0
3
+ metadata.gz: 65fe99d0614a2c80d84ecd7e9aa70c9fd5481e45
4
+ data.tar.gz: bb2e0bd5c2ed4ac778d709cc8499e847853a6f99
5
5
  SHA512:
6
- metadata.gz: 143e0858b5524034ebc6ee079c508cb9bfd6a779ad39b6cfebbe36207bfd6a8b0bc19afae936f73bd361dc0bf8fbc6ae1005166cb73bbe565684e0efd1bda5ea
7
- data.tar.gz: 44cff6e035b83d5490b663a0278663b0018b2e7efa932b6796aca0620cc69cc3d271d2fe6109f81f9fa6295dcf4827aacec241155cdd1cc3e978a680f20f336f
6
+ metadata.gz: 6fc838c7298c9fa120c0f6f33930d1be0a91a35c93b9c5c1f7d206204ec63094f5f8ce6790acaff37f1d8960faab5118cdc902cd87ba25408042773b7519dfd1
7
+ data.tar.gz: ca3113c3197d23a54b6d1ce6c32df21acbe2973e2ba8e530b1f2ccb4ffd8480ac772b4bdc001afc1daf88a50711bd39cca37337eb5835484376b31c333388525
@@ -41,7 +41,7 @@ module EverydayMenu
41
41
  end
42
42
 
43
43
  def unique_id
44
- EverydayRmDigest::MD5.hexdigest("#{@rand.rand}#{@rand.rand}")
44
+ EverydayRmDigest::MD5.hexdigest(WeakRef.new("#{@rand.rand}#{@rand.rand}"))
45
45
  end
46
46
 
47
47
  def rand_id
@@ -103,12 +103,12 @@ module EverydayMenu
103
103
  end
104
104
 
105
105
  def self.key_to_name(key, prefix = nil)
106
- rval = key.to_s.gsub(/_(\w)/) { |_| $1.upcase }
107
- prefix.nil? ? rval : "#{prefix}#{rval[0].upcase}#{rval[1..-1]}"
106
+ rval = WeakRef.new(WeakRef.new(key.to_s).gsub(/_(\w)/) { |_| $1.upcase })
107
+ prefix.nil? ? rval : WeakRef.new("#{prefix}#{rval[0].upcase}#{rval[1..-1]}")
108
108
  end
109
109
 
110
110
  def self.name_to_key(name)
111
- name.to_s.gsub(/A-Z/) { |c| c.downcase }.to_sym
111
+ WeakRef.new(WeakRef.new(name.to_s).gsub(/A-Z/) { |c| c.downcase }).to_sym
112
112
  end
113
113
 
114
114
  def self.getter_names(name)
@@ -1,3 +1,3 @@
1
1
  module EverydayMenu
2
- VERSION = '1.3.4'
2
+ VERSION = '1.3.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: everyday-menu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Henderson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-17 00:00:00.000000000 Z
11
+ date: 2014-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler