matestack-ui-vuejs 3.0.0 → 3.1.0
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 +4 -4
- data/lib/matestack/ui/vue_js/index.js +7 -4
- data/lib/matestack/ui/vue_js/version.rb +1 -1
- data/lib/matestack/ui/vuejs.rb +1 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47b120cb5d7accb514f74488a23d713e51ba025cca34525acf0a32a7be517522
|
4
|
+
data.tar.gz: 5b73772d7bd90ca14f881714c32dadea62437adc4023716014b7b1bb61c96d1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a5fdec39b4adbf64222edeb3de27ad816a3ffd1e8bc088c8644a506b7ea92707fb3c7419d00618e41c270778819033fe9278bf6b77705a03e3f46f3d8781f2f
|
7
|
+
data.tar.gz: 3ac124c02b8b740c40c87e93e3bd1639f4627edbf37fb1c03792722714b7475535ba1b3d0d90141c7fb1beab3d1cd690e5f0319c7d8fb781fe47a9baeab04a9b
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import axios from 'axios'
|
3
2
|
import eventHub from './event_hub'
|
4
3
|
const matestackEventHub = eventHub // for compatibility with 1.x
|
5
4
|
|
@@ -70,14 +69,18 @@ const registerComponents = function(appInstance){
|
|
70
69
|
}
|
71
70
|
|
72
71
|
const mount = function(appInstance, elementId='#matestack-ui'){
|
73
|
-
|
72
|
+
if (window.matestackAppMounted != true){
|
73
|
+
window.matestackAppMounted = true
|
74
|
+
registerComponents(appInstance)
|
74
75
|
|
75
|
-
|
76
|
+
appInstance.mount(elementId)
|
77
|
+
}
|
76
78
|
|
77
79
|
return appInstance
|
78
80
|
}
|
79
81
|
|
80
82
|
const MatestackUiVueJs = {
|
83
|
+
axios,
|
81
84
|
eventHub,
|
82
85
|
matestackEventHub, // for compatibility with 1.x
|
83
86
|
componentMixin,
|
@@ -0,0 +1 @@
|
|
1
|
+
require "matestack/ui/vue_js"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: matestack-ui-vuejs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Jabari
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: matestack-ui-core
|
@@ -122,6 +122,7 @@ files:
|
|
122
122
|
- lib/matestack/ui/vue_js/vue.rb
|
123
123
|
- lib/matestack/ui/vue_js/vue_attributes.rb
|
124
124
|
- lib/matestack/ui/vue_js_component.rb
|
125
|
+
- lib/matestack/ui/vuejs.rb
|
125
126
|
homepage: https://matestack.io
|
126
127
|
licenses:
|
127
128
|
- MIT
|
@@ -142,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
143
|
- !ruby/object:Gem::Version
|
143
144
|
version: '0'
|
144
145
|
requirements: []
|
145
|
-
rubygems_version: 3.
|
146
|
+
rubygems_version: 3.2.15
|
146
147
|
signing_key:
|
147
148
|
specification_version: 4
|
148
149
|
summary: Escape the frontend hustle & easily create interactive web apps in pure Ruby.
|