vuejs 1.0.28 → 1.0.29
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/README.md +12 -5
- data/lib/vuejs/version.rb +1 -1
- data/vendor/assets/javascripts/vue-validator.js +28 -0
- metadata +7 -5
- data/vendor/assets/CHANGELOG +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3fa67bc924e0c080deed960070ed7b6bac1bbf4
|
4
|
+
data.tar.gz: f9f52c81daae1575bd5d3a1d5a86b9728d1a7dc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9ad75b6428d90be38736819744134e95296b1f4de28255bbd54e9b3d38301e9d06dfd79c9af86ec651948e6a6bce7fb892f08689a8ab307d35a5a2bcb9cf39f
|
7
|
+
data.tar.gz: 478ad78ccfa4b6fd43fea779577a0099a9485bbc03c72faef397cb406d0b2611fe730d6d079e4cc1e8b9779924f4700e3ff49c1d7b33bb84193515e877a747c0
|
data/README.md
CHANGED
@@ -1,12 +1,15 @@
|
|
1
1
|
# Vuejs
|
2
2
|
|
3
|
-
|
3
|
+
> Reactive Components for Modern Web Interfaces
|
4
4
|
|
5
|
-
The current 2.x version is Vue.js (v2.0.1) + vue-router (v2.0.0). Note that Vue 2.x is not compatible with 1.x. vue-router 2.0 only works with Vue 2.x
|
6
5
|
|
7
|
-
|
6
|
+
gem `vuejs` ships with the latest [Vue.js + vue-router + vue-resource + vue-validator](http://vuejs.org/) and integrate with Rails' asset pipeline. Vue.js is created by Evan You and the vuejs team.
|
7
|
+
|
8
|
+
The current 2.x version is `Vue.js` (v2.0.1) + `vue-router` (v2.0.0) + `vue-validator` (v2.1.3).
|
9
|
+
> Note that Vue 2.x is not compatible with 1.x. vue-router 2.0 only works with Vue 2.x`
|
10
|
+
|
11
|
+
The current 1.x version is `Vue.js` (v1.0.28) + `vue-router` (v0.7.13) + `vue-resource` (v1.0.3)
|
8
12
|
|
9
|
-
> Reactive Components for Modern Web Interfaces
|
10
13
|
|
11
14
|
## Installation
|
12
15
|
|
@@ -26,6 +29,8 @@ Or install it yourself as:
|
|
26
29
|
|
27
30
|
## Usage
|
28
31
|
|
32
|
+
For 1.x
|
33
|
+
|
29
34
|
```
|
30
35
|
//= require jquery
|
31
36
|
//= require jquery_ujs
|
@@ -36,10 +41,12 @@ Or install it yourself as:
|
|
36
41
|
//= require_tree .
|
37
42
|
```
|
38
43
|
|
39
|
-
For 2.x Vue &
|
44
|
+
For 2.x Vue & vue-router or Vue-validator
|
40
45
|
```
|
41
46
|
//= require vue2
|
42
47
|
//= require vue-router2
|
48
|
+
//= require vue-validator
|
49
|
+
|
43
50
|
```
|
44
51
|
## Development
|
45
52
|
|
data/lib/vuejs/version.rb
CHANGED
@@ -0,0 +1,28 @@
|
|
1
|
+
/*!
|
2
|
+
* vue-validator v2.1.3
|
3
|
+
* (c) 2016 kazuya kawaguchi
|
4
|
+
* Released under the MIT License.
|
5
|
+
*/
|
6
|
+
(function (global, factory) {
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
8
|
+
typeof define === 'function' && define.amd ? define(factory) :
|
9
|
+
(global.VueValidator = factory());
|
10
|
+
}(this, function () { 'use strict';
|
11
|
+
|
12
|
+
function plugin(Vue) {
|
13
|
+
var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];
|
14
|
+
|
15
|
+
Vue.prototype.$add = function (a, b) {
|
16
|
+
return a + b;
|
17
|
+
};
|
18
|
+
}
|
19
|
+
|
20
|
+
plugin.version = '2.1.3';
|
21
|
+
|
22
|
+
if (typeof window !== 'undefined' && window.Vue) {
|
23
|
+
window.Vue.use(plugin);
|
24
|
+
}
|
25
|
+
|
26
|
+
return plugin;
|
27
|
+
|
28
|
+
}));
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vuejs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Lim
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,7 +38,8 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
-
description: Latest Vue.js +
|
41
|
+
description: Latest Vue.js + vue-router + vue-resource + vue-validator for Rails -
|
42
|
+
ship with Vue 2.x
|
42
43
|
email:
|
43
44
|
- ytbryan@gmail.com
|
44
45
|
executables: []
|
@@ -50,10 +51,10 @@ files:
|
|
50
51
|
- lib/vuejs.rb
|
51
52
|
- lib/vuejs/post_message.rb
|
52
53
|
- lib/vuejs/version.rb
|
53
|
-
- vendor/assets/CHANGELOG
|
54
54
|
- vendor/assets/javascripts/vue-resource.js
|
55
55
|
- vendor/assets/javascripts/vue-router.js
|
56
56
|
- vendor/assets/javascripts/vue-router2.js
|
57
|
+
- vendor/assets/javascripts/vue-validator.js
|
57
58
|
- vendor/assets/javascripts/vue.js
|
58
59
|
- vendor/assets/javascripts/vue2.js
|
59
60
|
homepage: http://github.com/ytbryan/vuejs
|
@@ -82,5 +83,6 @@ rubyforge_project:
|
|
82
83
|
rubygems_version: 2.5.1
|
83
84
|
signing_key:
|
84
85
|
specification_version: 4
|
85
|
-
summary: Latest Vue.js +
|
86
|
+
summary: Latest Vue.js + vue-router + vue-resource + vue-validator for Rails - ship
|
87
|
+
with Vue 2.x
|
86
88
|
test_files: []
|