roda-component 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/roda/component.rb +4 -2
- data/lib/roda/component/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99e6bfe78383851747266d3252a1e85148a222be
|
4
|
+
data.tar.gz: 5daaa2804d4702903348037a32b4c930d0daa272
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f9128cbf5788261d9061cb3794bcb2e461d191e5d00bd9856c0d29216e86a9ead1f60e4d8733c0807aee5231d9d029a7a0a40fed93c70a5438f4f3b3c158098
|
7
|
+
data.tar.gz: 851ad34ad3055be888b45b3d5d372ecdf5abf1d90a65c39c38a54aa9bb6139470a61f0bb0624616c60041c30e1675bcdcd6b7c23ae78cd502d7a28e436140f1f
|
data/lib/roda/component.rb
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
if RUBY_ENGINE == 'ruby'
|
2
|
+
require 'tilt'
|
3
|
+
end
|
4
|
+
|
1
5
|
require 'opal'
|
2
6
|
require 'opal-jquery'
|
3
7
|
require "base64"
|
@@ -15,8 +19,6 @@ end
|
|
15
19
|
|
16
20
|
class Roda
|
17
21
|
class Component
|
18
|
-
VERSION = "0.0.1"
|
19
|
-
|
20
22
|
attr_accessor :scope
|
21
23
|
|
22
24
|
def initialize(scope = false)
|