isomorfeus-react 16.12.16 → 16.12.17

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: c51e1ae7cb26a3240215e958cf0f605f65cc048f3f0280f06be1af1019b0c667
4
- data.tar.gz: 7820879dd2c4131dea2a133b0d80ec8509ef4ed80fec87bb1315b57e191cbf1d
3
+ metadata.gz: 8704edb4695c6a3bbdcc883561efa8805fc7ed90c1d3543ac745af3eb068b8e4
4
+ data.tar.gz: 753f031d5802e73bd33cda45864af5bcdc18390ab298c8b5c218fcb652e33d56
5
5
  SHA512:
6
- metadata.gz: 7a81c98464f696bef417dbc0cceb1c8acd851ff27338d6270527b0b7ff87759fa78cd04f86764b0361cec6b4e3a4f36e85da5e03fc52dbb38f13c851c0bfa78c
7
- data.tar.gz: 147a51fb0e634a5ed0089c164445ea8981f7cd6bd5bfabb7f5223f1ce6268ade29486c188b6c1c0a2a9567448ddc8677fc31991ecbddf2517c8a5b829a160080
6
+ metadata.gz: 9efe68df61847675035ff10854adc02c4d0b655a009b628786e643b1b52b8d9e429718bbce851c355e2755e610bd4778b67db10806a4348cfbab2e0de7ebb51b
7
+ data.tar.gz: 1f5ee48f594bc5f1f1a46b5669a8100b56086ef2444ad9566d65e5c75c472a24ea0933209f1ab6042cc20b54d936127485070a8ac3d8d832e65667de8ea0dcb5
@@ -95,7 +95,7 @@ module LucidPropDeclaration
95
95
  end
96
96
 
97
97
  def validated_prop(prop, value)
98
- nil unless declared_props.key?(prop)
98
+ Isomorfeus.raise_error(message: "No such prop #{prop} declared!") unless declared_props.key?(prop)
99
99
  validator = Isomorfeus::Props::Validator.new(self, prop, value, declared_props[prop])
100
100
  validator.validated_value
101
101
  end
@@ -1,3 +1,3 @@
1
1
  module React
2
- VERSION = '16.12.16'
2
+ VERSION = '16.12.17'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isomorfeus-react
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.12.16
4
+ version: 16.12.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Biedermann
@@ -277,7 +277,7 @@ metadata:
277
277
  github_repo: ssh://github.com/isomorfeus/gems
278
278
  post_install_message: |2+
279
279
 
280
- isomorfeus-react 16.12.16:
280
+ isomorfeus-react 16.12.17:
281
281
  Breaking change:
282
282
  The event_handler DSL is gone. Instead use normal methods and method_ref, see:
283
283
  https://github.com/isomorfeus/isomorfeus-react/blob/master/ruby/docs/events.md