vueport 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4354b3d28b9fb9abdd79b86a7f938d7c0418b691
4
- data.tar.gz: 797fa83759d343762081eb41e34e1c38125a9d79
3
+ metadata.gz: bef1280dc4dad59ecb508f1587869cc625edb3ee
4
+ data.tar.gz: 1f0ff8226cf6488a9c807347d54d42fd1b78b766
5
5
  SHA512:
6
- metadata.gz: 544efefd33496bf100e5d508e0aa8c8125b26dd234a867cea1e07dda593bd25762a25de42dd23fca7f5d76bd1121fc28a17aac99f5133ce5d35016abd82f296e
7
- data.tar.gz: b8a7d86c85957e24dfa76f23e398be43af6a189f358e36e61b6dced3bb07708d9adbb010d169e9409197814b581752ea2e17be9703be1ae8d0db26d74bc0dd17
6
+ metadata.gz: b1c76aa468fe39f8c0f902e304247948b4872fe630f60579990aab83055fca457639236eef225596b96394d6ca0f5616816a9a782e3290b133c3d2c5b7fc9321
7
+ data.tar.gz: d7a603b355c440f27f2c3ee88498593a0d831c8a73e3b99817115281e06105d35f01eb07230eb172bc9cbfb3f4728f50cb5f0e9511cc724fe344a528048db351
@@ -10,6 +10,10 @@ import MyComponent from 'components/my-component'
10
10
  export default function (template) {
11
11
  return new Vue({
12
12
  template,
13
+ computed: {
14
+ // This is a utitly to add classes to your container
15
+ wrapperClass () { return '' }
16
+ },
13
17
  // Then include them here:
14
18
  components: {
15
19
  // MyComponent
@@ -33,7 +33,7 @@ module Vueport
33
33
  end
34
34
 
35
35
  def wrapper(content = '')
36
- content_tag :div, content, id: CONTENT_WRAPPER_ID
36
+ content_tag :div, content, id: CONTENT_WRAPPER_ID, 'v-bind:class' => 'wrapperClass'
37
37
  end
38
38
 
39
39
  def ssr_enabled?
@@ -1,3 +1,3 @@
1
1
  module Vueport
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vueport
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Garson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-12 00:00:00.000000000 Z
11
+ date: 2017-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler