spark-component 1.0.0.pre.alpha.2 → 1.0.0.pre.alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec7ce0537ea5b7b2ca514cc478dc3a1bf49ba8fb7cd333e1a73bec5531bfedbc
4
- data.tar.gz: dd62d7e6de7a10e1967131e7dcd0c1a9c619f3110b63fe04ee9ce7b501f3a6fe
3
+ metadata.gz: afe2d6b965105ac53510dd1bab58e4344c21b12157985cd6810b7801b3670fdd
4
+ data.tar.gz: 6ce35faa65ff38f2c912dd0ee292c5dd5c1d41ed040c60d367588faa794932fa
5
5
  SHA512:
6
- metadata.gz: 304f0c80b85c11474524b3956659fd83fc5d3dec9f16092561120dbea608c31c11238557070e5448e8c8e6db8358441c4983eb383a7c3c2db77ed84e15519c80
7
- data.tar.gz: 3099d522662b9dba6cbb1b837e3e07d0e6f87a823f6930887b819c22d45f65d0528eae2a309d653b693f8454f1fb542efa7199ecbd88c63c13599e50518a3213
6
+ metadata.gz: cbba721a6639d4aba940130fd9828bac5d072b2243458fb5ed8141cb6893c316cc7b065c36f4b1a53ddf299c3082226fb1166513fb943ff57986b3c3dd1964aa
7
+ data.tar.gz: 9b614e67410e879e3f15e16d12b5be22a93e668b6d253b69f093b0dbf41a6125e4305ddf4f5f8a8555211d4c9657fdd2aa0da491b792c276c8624e3202801eda
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- spark-component (1.0.0.pre.alpha.2)
4
+ spark-component (1.0.0.pre.alpha.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -137,7 +137,7 @@ module Spark
137
137
  def element(name, multiple: false, component: nil, &config)
138
138
  plural_name = name.to_s.pluralize.to_sym if multiple
139
139
  klass = extend_class(component, &config)
140
- elements[name] = { multiple: plural_name }
140
+ elements[name] = { multiple: plural_name, class: klass }
141
141
 
142
142
  define_element(name: name, plural: plural_name, multiple: multiple, klass: klass)
143
143
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Spark
4
4
  module Component
5
- VERSION = "1.0.0.pre.alpha.2"
5
+ VERSION = "1.0.0.pre.alpha.3"
6
6
  end
7
7
  end
@@ -11,14 +11,14 @@ Gem::Specification.new do |spec|
11
11
  spec.email = ["brandon@imathis.com"]
12
12
 
13
13
  spec.summary = "Add a Spark of awesome to your ActionView Component."
14
- spec.homepage = "https://github.com/spark-engine/component"
14
+ spec.homepage = "https://github.com/spark-engine/spark-component"
15
15
  spec.license = "MIT"
16
16
 
17
17
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
18
18
 
19
19
  spec.metadata["homepage_uri"] = spec.homepage
20
- spec.metadata["source_code_uri"] = "https://github.com/spark-engine/component"
21
- spec.metadata["changelog_uri"] = "https://github.com/spark-engine/component/blob/master/CHANGELOG.md"
20
+ spec.metadata["source_code_uri"] = "https://github.com/spark-engine/spark-component"
21
+ spec.metadata["changelog_uri"] = "https://github.com/spark-engine/spark-component/blob/master/CHANGELOG.md"
22
22
 
23
23
  # Specify which files should be added to the gem when it is released.
24
24
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
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.0.0.pre.alpha.2
4
+ version: 1.0.0.pre.alpha.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: 2019-11-14 00:00:00.000000000 Z
11
+ date: 2019-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview-component
@@ -135,14 +135,14 @@ files:
135
135
  - lib/spark/component/tag_attr.rb
136
136
  - lib/spark/component/version.rb
137
137
  - spark-component.gemspec
138
- homepage: https://github.com/spark-engine/component
138
+ homepage: https://github.com/spark-engine/spark-component
139
139
  licenses:
140
140
  - MIT
141
141
  metadata:
142
142
  allowed_push_host: https://rubygems.org
143
- homepage_uri: https://github.com/spark-engine/component
144
- source_code_uri: https://github.com/spark-engine/component
145
- changelog_uri: https://github.com/spark-engine/component/blob/master/CHANGELOG.md
143
+ homepage_uri: https://github.com/spark-engine/spark-component
144
+ source_code_uri: https://github.com/spark-engine/spark-component
145
+ changelog_uri: https://github.com/spark-engine/spark-component/blob/master/CHANGELOG.md
146
146
  post_install_message:
147
147
  rdoc_options: []
148
148
  require_paths: