jsimple 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jsimple.rb +8 -0
- data/lib/jsimple/rails_view_helper.rb +8 -0
- data/lib/jsimple/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 728305501c6c63dd8d1f564c06fe067335ca39fc
|
4
|
+
data.tar.gz: d642681a7c3e9f7d4b10ea3352491ebb952d7514
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f41318dbf91ac24a627cf495a486765dd0aaadea53cfccc5b32d13c445084fc0d70ffb38875ec9f4b8f268bbfd147389445779051053478b0c18b151dfaa1801
|
7
|
+
data.tar.gz: a97867c73a59c934ce553b7c901970612b80ab838258a20c17a2187b3fa07091ebd90756a51fd3cfb9fcd12c8b7475d147f9ed17a8108664e037775b5147bc65
|
data/lib/jsimple.rb
CHANGED
@@ -6,5 +6,13 @@ module Jsimple
|
|
6
6
|
js_app.init = js_app.init.html_safe
|
7
7
|
js_app
|
8
8
|
end
|
9
|
+
|
10
|
+
def jsimple_js_path(name, props: {}, id: nil)
|
11
|
+
Jsimple.path(name, props: {}, id: nil).html_safe
|
12
|
+
end
|
13
|
+
|
14
|
+
def jsimple_js_init(name, props: {}, id: nil)
|
15
|
+
Jsimple.init(name, props: {}, id: nil).html_safe
|
16
|
+
end
|
9
17
|
end
|
10
18
|
end
|
data/lib/jsimple/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsimple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Burenstam
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hot_reload_proxy
|