html-pipeline-negarmoji 0.0.3 → 0.0.4

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: 46edae81c4900008044d7ff883532cde0f6a35cd77bebdb59a902172ec7e1844
4
- data.tar.gz: a8b0715ba49b667e32397d0682cc680b7a61e9a51804e1fba353202fb4f5b124
3
+ metadata.gz: 213a37f5979e92b48d06df671693a02ba6ea87df6d77db8959c33752bfd093d9
4
+ data.tar.gz: 88fa3de77bdbb092f2b272c8dcb62d081fce0f3286f302971e2cb6a6c96ae6ff
5
5
  SHA512:
6
- metadata.gz: '0854ff1edddef1980d151489582236334deec0e025da2a205fca02b8d4ce5f90b34e0b3169a019a70a6f0319c1c36881aae4336f01e10c63826a2ce25e7b08e2'
7
- data.tar.gz: 1788bc861cce092585d49c569bef4a52afb9fa2f1e78dad76ea3e18632c0de141bac8d097baeefabee60fceb5f2a0e12ef996d16ec60af13950e9278a354bf1b
6
+ metadata.gz: 6c4bf1dc1c6a321b44eac7ab2e18b0b1eb4907baf9d0bdd94923ca45a1dd9e3dfdcb1459c728d022dc6dad8feca1d5bf8c86d878872803e10d4383ae57485e3d
7
+ data.tar.gz: 6348597c12f092971da8cf3c7f67a3ed7487484b9b91fd26667eb38485ef1568202b08e10b661ae5b864a01c0566d3ce12f2cdf522c901ef88ba1ae6de5ea48e
@@ -103,7 +103,7 @@ module HTML
103
103
  def emoji_image_tag(name)
104
104
  require "active_support/core_ext/hash/indifferent_access"
105
105
  html_attrs = default_img_attrs(name)
106
- .merge!((context[:img_attrs] || {}).with_indifferent_access)
106
+ .merge!((context[:img_attrs] || {}))
107
107
  .map do |attr, value|
108
108
  !value.nil? && %(#{attr}="#{value.respond_to?(:call) && value.call(name) || value}")
109
109
  end
@@ -3,7 +3,7 @@
3
3
  module Html
4
4
  module Pipeline
5
5
  module NegarMojiHtmlPipeline
6
- VERSION = "0.0.3"
6
+ VERSION = "0.0.4"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-pipeline-negarmoji
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mohammad Mahdi Baghbani Pourvahid