spark-component 1.0.0.pre.alpha.4 → 1.0.0.pre.alpha.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -9
- data/lib/spark/component/element.rb +3 -2
- data/lib/spark/component/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d1bd4dedf7c1b85faaf558fa0e34383f9cbda2ee7f684f65138c60dd0b28c18
|
4
|
+
data.tar.gz: fe875a9bfef081afec06dc0d202a32539e4fff981ba9b56d6ba4816d79a63519
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 852c5e0a7bb30dd1380e9bd8354d1956d99e54754ba6d8cc24f825e603b7e4dd776d3e348565dcc8418764b76663d41bd9932d13e84080b0afd263f93c20570c
|
7
|
+
data.tar.gz: 3df0f24f2d5eec532633f865b999919a40aac22d9d041cdbd43562a1f3b4aa388ae6b7ade958fd1b032bd9824aaa6af6bceacd5886044c00b4e8cdfc5628b90b
|
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.
|
4
|
+
spark-component (1.0.0.pre.alpha.5)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -42,7 +42,7 @@ GEM
|
|
42
42
|
erubi (~> 1.4)
|
43
43
|
rails-dom-testing (~> 2.0)
|
44
44
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
45
|
-
actionview-component (1.
|
45
|
+
actionview-component (1.5.3)
|
46
46
|
activejob (6.0.1)
|
47
47
|
activesupport (= 6.0.1)
|
48
48
|
globalid (>= 0.3.6)
|
@@ -73,8 +73,8 @@ GEM
|
|
73
73
|
activesupport (>= 4.2.0)
|
74
74
|
i18n (1.7.0)
|
75
75
|
concurrent-ruby (~> 1.0)
|
76
|
-
jaro_winkler (1.5.
|
77
|
-
loofah (2.
|
76
|
+
jaro_winkler (1.5.4)
|
77
|
+
loofah (2.4.0)
|
78
78
|
crass (~> 1.0.2)
|
79
79
|
nokogiri (>= 1.5.9)
|
80
80
|
mail (2.7.1)
|
@@ -88,10 +88,10 @@ GEM
|
|
88
88
|
mini_portile2 (2.4.0)
|
89
89
|
minitest (5.1.0)
|
90
90
|
nio4r (2.5.2)
|
91
|
-
nokogiri (1.10.
|
91
|
+
nokogiri (1.10.7)
|
92
92
|
mini_portile2 (~> 2.4.0)
|
93
|
-
parallel (1.
|
94
|
-
parser (2.6.
|
93
|
+
parallel (1.19.1)
|
94
|
+
parser (2.6.5.0)
|
95
95
|
ast (~> 2.4.0)
|
96
96
|
pry (0.12.2)
|
97
97
|
coderay (~> 1.1.0)
|
@@ -130,7 +130,7 @@ GEM
|
|
130
130
|
thor (>= 0.20.3, < 2.0)
|
131
131
|
rainbow (3.0.0)
|
132
132
|
rake (10.5.0)
|
133
|
-
rubocop (0.
|
133
|
+
rubocop (0.77.0)
|
134
134
|
jaro_winkler (~> 1.5.1)
|
135
135
|
parallel (~> 1.10)
|
136
136
|
parser (>= 2.6)
|
@@ -158,7 +158,7 @@ GEM
|
|
158
158
|
websocket-driver (0.7.1)
|
159
159
|
websocket-extensions (>= 0.1.0)
|
160
160
|
websocket-extensions (0.1.4)
|
161
|
-
zeitwerk (2.2.
|
161
|
+
zeitwerk (2.2.2)
|
162
162
|
|
163
163
|
PLATFORMS
|
164
164
|
ruby
|
@@ -223,8 +223,9 @@ module Spark
|
|
223
223
|
|
224
224
|
# Prevent an element method from overwriting an existing method
|
225
225
|
def define_method_if_able(method_name, &block)
|
226
|
-
#
|
227
|
-
methods
|
226
|
+
# Protect instance methods which are crucial to components and elements
|
227
|
+
# Consider adding ActionView::Component::Base core instance methods to reserved list
|
228
|
+
methods = [Element, Attribute, superclass].map { |c| c.instance_methods(false) }.flatten
|
228
229
|
|
229
230
|
if methods.include?(method_name.to_sym)
|
230
231
|
raise(Element::Error, "Method '#{method_name}' already exists.")
|
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.5
|
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-12-
|
11
|
+
date: 2019-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview-component
|