vuejs 1.1.0.beta4 → 1.1.0.beta5
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/install/setup.rb +2 -2
- data/lib/tasks/setup.rake +1 -1
- data/lib/vuejs/version.rb +1 -1
- metadata +2 -3
- data/lib/install/alias.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2c6a6db3580dd879476ab521327eecee1fd02591ebd02d8c366352af5e97af8
|
4
|
+
data.tar.gz: ebd37c9afcaba9597b94fc7eacf43a93b100a1dd0509ded36d87d893994dc410
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 188cf52fae49b3509c76cdc02173eceebd0e7c8decd10b8e94bfa5ca6d97350d006dbb58b747e7b64553a08b90a713e7212be84f2377b412a9d1f4da23cf30bd
|
7
|
+
data.tar.gz: ea6963634941ed503934b5c27b601ebae85ef2935c6381af9e06571c2a3bc51a4b547505c4dcd5f5724ab90f9a92fe3ff8b028ea1b8326163c45ac0f50b199f4
|
data/lib/install/setup.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
say "Adding alias.js to config/webpack/alias"
|
2
2
|
copy_file "#{__dir__}/config/alias.js", Rails.root.join("config/webpack/alias/alias.js").to_s
|
3
3
|
|
4
|
-
say "Adding alias to config/webpack/environment.js"
|
4
|
+
say "Adding alias configuration to config/webpack/environment.js"
|
5
5
|
insert_into_file Rails.root.join("config/webpack/environment.js").to_s,
|
6
6
|
"const alias = require('./alias/alias')\n",
|
7
7
|
after: "require('@rails/webpacker')\n"
|
@@ -36,7 +36,7 @@ insert_into_file Rails.root.join("config/webpack/environment.js").to_s,
|
|
36
36
|
},
|
37
37
|
eos
|
38
38
|
|
39
|
-
say "Adding scripts and
|
39
|
+
say "Adding scripts and Jest configuration to package.json"
|
40
40
|
insert_into_file Rails.root.join("package.json").to_s,
|
41
41
|
"#{scripts}",
|
42
42
|
after: "\"private\": true,\n"
|
data/lib/tasks/setup.rake
CHANGED
@@ -2,7 +2,7 @@ bin_path = ENV["BUNDLE_BIN"] || "./bin"
|
|
2
2
|
namespace :vue do
|
3
3
|
desc "Setup your Vue on Rails project"
|
4
4
|
task :setup do
|
5
|
-
template = File.expand_path("../install/
|
5
|
+
template = File.expand_path("../install/setup.rb", __dir__)
|
6
6
|
base_path =
|
7
7
|
if Rails::VERSION::MAJOR >= 5
|
8
8
|
"#{RbConfig.ruby} #{bin_path}/rails app:template"
|
data/lib/vuejs/version.rb
CHANGED
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.1.0.
|
4
|
+
version: 1.1.0.beta5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Lim
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -64,7 +64,6 @@ files:
|
|
64
64
|
- lib/generators/generator_templates/vuex/index.js
|
65
65
|
- lib/generators/vue/USAGE
|
66
66
|
- lib/generators/vue/vue_generator.rb
|
67
|
-
- lib/install/alias.rb
|
68
67
|
- lib/install/component_with_seperate_concern.rb
|
69
68
|
- lib/install/config/alias.js
|
70
69
|
- lib/install/setup.rb
|
data/lib/install/alias.rb
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
say "Adding alias.js to config/webpack/alias"
|
2
|
-
copy_file "#{__dir__}/config/alias.js", Rails.root.join("config/webpack/alias/alias.js").to_s
|
3
|
-
|
4
|
-
say "Adding alias configuration to config/webpack/environment.js"
|
5
|
-
insert_into_file Rails.root.join("config/webpack/environment.js").to_s,
|
6
|
-
"const alias = require('./alias/alias')\n",
|
7
|
-
after: "require('@rails/webpacker')\n"
|
8
|
-
|
9
|
-
insert_into_file Rails.root.join("config/webpack/environment.js").to_s,
|
10
|
-
"environment.config.merge(alias)\n",
|
11
|
-
before: "module.exports"
|
12
|
-
|