vuejs 1.0.28 → 1.0.29

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: 2f737043f53f61ba47212bfa3b8351aa6096ffe9
4
- data.tar.gz: 0eb0df43f061b60f5f525926d0d78296295cf4be
3
+ metadata.gz: d3fa67bc924e0c080deed960070ed7b6bac1bbf4
4
+ data.tar.gz: f9f52c81daae1575bd5d3a1d5a86b9728d1a7dc2
5
5
  SHA512:
6
- metadata.gz: e336f2a9ff8028f9474a42b826b233f386c5f12dc19184139b8741fe1e957523374a150d6780727703386ab021307645330c1657ab6916adf5593f1c3bdcd0f3
7
- data.tar.gz: f4cea0fcfdba4eed34c4ed1eaa5b85767e53971d446e3c0d6ce902bd0765a632c3a266f2db0b31e4fc3dacb8f156996c623664d88116b29598e895b1ac873d76
6
+ metadata.gz: b9ad75b6428d90be38736819744134e95296b1f4de28255bbd54e9b3d38301e9d06dfd79c9af86ec651948e6a6bce7fb892f08689a8ab307d35a5a2bcb9cf39f
7
+ data.tar.gz: 478ad78ccfa4b6fd43fea779577a0099a9485bbc03c72faef397cb406d0b2611fe730d6d079e4cc1e8b9779924f4700e3ff49c1d7b33bb84193515e877a747c0
data/README.md CHANGED
@@ -1,12 +1,15 @@
1
1
  # Vuejs
2
2
 
3
- Vuejs ships with the latest [Vue.js + router + resource](http://vuejs.org/) and integrate with Rails' asset pipeline. Vue.js is created by Evan You.
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
- The current 1.x version is Vue.js (v1.0.28) + vue-router (v0.7.13) + vue-resource (v1.0.3)
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 & Router
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
@@ -1,3 +1,3 @@
1
1
  module Vuejs
2
- VERSION = "1.0.28"
2
+ VERSION = "1.0.29"
3
3
  end
@@ -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.28
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-06 00:00:00.000000000 Z
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 + latest router + resource for rails 3.x & 4.x
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 + latest router + resource for rails 3.x & 4.x
86
+ summary: Latest Vue.js + vue-router + vue-resource + vue-validator for Rails - ship
87
+ with Vue 2.x
86
88
  test_files: []
@@ -1,13 +0,0 @@
1
- # 1.0.28
2
-
3
- added
4
- - vuejs v1.0.28
5
- - vuejs v2.0.1
6
- - vue-router v2.0.0
7
- - vue-resource v1.0.3
8
-
9
- # 1.0.27
10
-
11
- - vuejs v1.0.26
12
- - vue-router v0.7.13
13
- - vue-resource v0.7.3