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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7d60fc99230b384e745f27e908b36ed4873e76d
4
- data.tar.gz: 1bf08d7fec925b1129c3627a8660754b8448de4d
3
+ metadata.gz: 728305501c6c63dd8d1f564c06fe067335ca39fc
4
+ data.tar.gz: d642681a7c3e9f7d4b10ea3352491ebb952d7514
5
5
  SHA512:
6
- metadata.gz: 2a9affc0340e3baf6bb5cef62e6c2c269863e494500e8483fc8f6ca8d7a0b9ab24f623c2cf695c7ffa553d3aac02a74410dc111d530a365794d397a4d174afb6
7
- data.tar.gz: f5159d57a487420eb35fdeae5d25cb7f8c02a7a72611e705daad439808b5b04335896ab9f9582bf28b2ffd98f6601756fffa518995af21c8df431b453a63a287
6
+ metadata.gz: f41318dbf91ac24a627cf495a486765dd0aaadea53cfccc5b32d13c445084fc0d70ffb38875ec9f4b8f268bbfd147389445779051053478b0c18b151dfaa1801
7
+ data.tar.gz: a97867c73a59c934ce553b7c901970612b80ab838258a20c17a2187b3fa07091ebd90756a51fd3cfb9fcd12c8b7475d147f9ed17a8108664e037775b5147bc65
@@ -10,6 +10,14 @@ module Jsimple
10
10
  Builder.app_factory(name, props, id)
11
11
  end
12
12
 
13
+ def self.path(*args)
14
+ app(*args).path
15
+ end
16
+
17
+ def self.init(*args)
18
+ app(*args).init
19
+ end
20
+
13
21
  # Config
14
22
  DEFAULT_HOST = 'localhost'
15
23
  DEFAULT_PORT = '3100'
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Jsimple
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0'
3
3
  end
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.3.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-08 00:00:00.000000000 Z
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