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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/spark/component/element.rb +1 -1
- data/lib/spark/component/version.rb +1 -1
- data/spark-component.gemspec +3 -3
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: afe2d6b965105ac53510dd1bab58e4344c21b12157985cd6810b7801b3670fdd
|
|
4
|
+
data.tar.gz: 6ce35faa65ff38f2c912dd0ee292c5dd5c1d41ed040c60d367588faa794932fa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cbba721a6639d4aba940130fd9828bac5d072b2243458fb5ed8141cb6893c316cc7b065c36f4b1a53ddf299c3082226fb1166513fb943ff57986b3c3dd1964aa
|
|
7
|
+
data.tar.gz: 9b614e67410e879e3f15e16d12b5be22a93e668b6d253b69f093b0dbf41a6125e4305ddf4f5f8a8555211d4c9657fdd2aa0da491b792c276c8624e3202801eda
|
data/Gemfile.lock
CHANGED
|
@@ -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
|
data/spark-component.gemspec
CHANGED
|
@@ -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.
|
|
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-
|
|
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:
|