hyper-component 0.12.1 → 0.12.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/hyper-component.gemspec +1 -1
- data/lib/hyper-component.rb +0 -14
- data/lib/hyperloop/component/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86c89106cd3b1bb60d097229d5e63d5948da6544
|
4
|
+
data.tar.gz: abcf782a5bfe443ff33d205678ddc4bd34a96c32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 524ed90422b63f60b1c38edc53b7594652c161d948526f8a2500021fd2a34629dc6c89ad1c8f549f4099db5bbee72853fc346b7dc2c08a8d039530268d6b52b9
|
7
|
+
data.tar.gz: a770b33782d3996d424e125843bcc805a5222fd32c3b34d93ad6a57f7fddfcba9f4aff60ef7997cc683e6b928de1fed6723587ca26306bfd94b80fe15cce0165
|
data/hyper-component.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_dependency 'hyper-react', '>= 0.12.0'
|
22
22
|
spec.add_dependency 'hyperloop-config', '>= 0.9.2'
|
23
|
-
spec.add_dependency 'react-rails', '
|
23
|
+
spec.add_dependency 'react-rails', '< 1.10.0'
|
24
24
|
spec.add_dependency 'opal-rails', '~> 0.9.0'
|
25
25
|
|
26
26
|
spec.add_development_dependency 'hyper-spec'
|
data/lib/hyper-component.rb
CHANGED
@@ -9,20 +9,6 @@ if RUBY_ENGINE == 'opal'
|
|
9
9
|
end
|
10
10
|
end
|
11
11
|
require 'hyper-react'
|
12
|
-
module React
|
13
|
-
module Component
|
14
|
-
class Base
|
15
|
-
def self.inherited(child)
|
16
|
-
debugger
|
17
|
-
# note this is turned off during old style testing: See the spec_helper
|
18
|
-
unless child.to_s == "React::Component::HyperTestDummy"
|
19
|
-
React::Component.deprecation_warning child, "The class name React::Component::Base has been deprecated. Use Hyperloop::Component instead."
|
20
|
-
end
|
21
|
-
child.include(ComponentNoNotice)
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
12
|
else
|
27
13
|
require 'opal'
|
28
14
|
require 'react-rails'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hyper-component
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- catmando
|
@@ -42,14 +42,14 @@ dependencies:
|
|
42
42
|
name: react-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "<"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.10.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "<"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.10.0
|
55
55
|
- !ruby/object:Gem::Dependency
|