spark-component 1.1.2 → 1.1.3

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: 9464f05e5121dce8c628531abf34817e72c3cb83628a4c8b60f82d99292078d1
4
- data.tar.gz: 6380a3ebc543c2d6a1e504d79f982b76a1e83205dd9af3bf8222caa683f7ee9d
3
+ metadata.gz: 4e3e0ad334927fb07eb25c2decef437583ba133adcc5ff0d9a6e6ed0e06513cf
4
+ data.tar.gz: adaec489d853409d38ffbb58c1b0aee91d599f45ea64a8fe4065f77b6c34def9
5
5
  SHA512:
6
- metadata.gz: f1bc76fb688cba102924ef87659a2615d1c8ce8eab2e9a482d4d6b15dfd582c2787f2969d68a5899d68b4524869d19d32350764412f0bd5bbc7747aed76b4d68
7
- data.tar.gz: 2fbbecb520838250bfce8fac365d71f81e02464e093bcac19bc4b059b7cdae0c82dc20c4e1357bba66246bf64d0af6e56ed5e6daa12bbc43bbcad6993ec208d3
6
+ metadata.gz: 1669ffd2003ef564d045bb103a479ff210ae143635b81deccaa445f566079410659cda4463a0d5b3cb90dd0e3309184e00957d83fbf9ed2c536cd508261e98c9
7
+ data.tar.gz: 6b39bb0f6c86b2c87a991cab875680930b3e4fc7296837c428e0c189de6697e244b9abc8625d2845ea892a05650a9479440fb952fc72760ef8fdd6522a96a94b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # v1.1.3 - 2020-01-15
2
+ - Fix: Extending a component will now extend its class defined tag attributes, aria attributes, and data attributes.
3
+
1
4
  # v1.1.2 - 2020-01-14
2
5
  - Fix: Added render checking to component to prevent executing `render_self` more than once.
3
6
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- spark-component (1.1.2)
4
+ spark-component (1.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -111,8 +111,11 @@ module Spark
111
111
 
112
112
  module ClassMethods
113
113
  def inherited(child)
114
- child.elements.replace(elements.merge(child.elements))
115
- child.attributes.replace(attributes.merge(child.attributes))
114
+ child.elements.replace(elements)
115
+ child.attributes.replace(attributes)
116
+ child.tag_attributes.replace(tag_attributes)
117
+ child.data_attributes.replace(data_attributes)
118
+ child.aria_attributes.replace(aria_attributes)
116
119
  end
117
120
 
118
121
  def elements
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Spark
4
4
  module Component
5
- VERSION = "1.1.2"
5
+ VERSION = "1.1.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spark-component
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-14 00:00:00.000000000 Z
11
+ date: 2020-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview-component