octicons_helper 12.0.0.pre.e0e204f → 12.0.0.pre.ec99d7b

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
  SHA256:
3
- metadata.gz: 724a6828bcee890e39329cb6186a518b0ada02206f28d4be74c15b74e651747c
4
- data.tar.gz: '0862aeb32f84a0bdd4c5f74610d7366d298e4c74915ac27c7fe5b20bfa101990'
3
+ metadata.gz: 1329b8eff4269a7c7ab5d456d0b4d9da03edd6ae45acf3af4d06a65de12ee434
4
+ data.tar.gz: 92dcd969359bd6b7aac065650648d8cee9e71aece4b8cac618146bfd248e0791
5
5
  SHA512:
6
- metadata.gz: ce46a138a33a4c8542e0900e180e0aebff139b5a6329c98f5f0a27a6bea785acd89cda1ba208159926b0681357b8888c4d52a23a9a2d0a951af23aae071b2c25
7
- data.tar.gz: 5dd541179a42f286af30051933f6ab30489d95934fff3b44aeedcb7a2fdc5b92d6405d9c7f15d56550bb1057114888fc2c2749d7f138307ae1544df3f8a1f96b
6
+ metadata.gz: 0e071cb022dce8e73da09b29df34ebe4932598727930f90ee46e7f7f9203416b92501d8912248b9751786a28ce0d11e1dec5de50f232beeb1484404401cb57c4
7
+ data.tar.gz: 0d65654369e2e64f263642708bd93671aa8afc2b9dbbf84925ff102e9617ecddb0270998abeea19f996939775b1ad34bfafde531c756cf627569d54b6a9512c0
@@ -9,10 +9,10 @@ module OcticonsHelper
9
9
  def octicon(symbol, options = {})
10
10
  return "" if symbol.nil?
11
11
 
12
- cache_key = [symbol, options].to_s
12
+ cache_key = [symbol, options]
13
13
 
14
- if octicons_helper_cache[cache_key]
15
- octicons_helper_cache[cache_key]
14
+ if tag = octicons_helper_cache[cache_key]
15
+ tag
16
16
  else
17
17
  icon = Octicons::Octicon.new(symbol, options)
18
18
 
@@ -1,3 +1,3 @@
1
1
  module OcticonsHelper
2
- VERSION = "12.0.0.pre.e0e204f".freeze
2
+ VERSION = "12.0.0.pre.ec99d7b".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octicons_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.0.0.pre.e0e204f
4
+ version: 12.0.0.pre.ec99d7b
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Inc.
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 12.0.0.pre.e0e204f
19
+ version: 12.0.0.pre.ec99d7b
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 12.0.0.pre.e0e204f
26
+ version: 12.0.0.pre.ec99d7b
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement