vuejs 1.1.0.beta4 → 1.1.0.beta5

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
  SHA256:
3
- metadata.gz: f54241575a69ae4937f9e7b47d695e439ef25a86ded0ab9d07d2856e53ed5834
4
- data.tar.gz: b128c57a407b4456e6d302d37a9c8a79b5aaee7ba8b7457ad410c61d9efba458
3
+ metadata.gz: d2c6a6db3580dd879476ab521327eecee1fd02591ebd02d8c366352af5e97af8
4
+ data.tar.gz: ebd37c9afcaba9597b94fc7eacf43a93b100a1dd0509ded36d87d893994dc410
5
5
  SHA512:
6
- metadata.gz: 774610f241c8ee542eed74d99f679f8bbcc00519ecfa0964db7e4ef31ffa32e79084961a50b2b1068a8cbcf748e788019870b0384839fb950aafcafb26be07ec
7
- data.tar.gz: 003da68ee8e8d575b9199792171624761b1dd326acfa55648ef3f4ebd68108f8028e7432a0f5751038ad8ba7025cae5851b948bb8ab8aeae0714274c5a29acc5
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 jest configuration to package.json"
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/alias.rb", __dir__)
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
@@ -1,3 +1,3 @@
1
1
  module Vuejs
2
- VERSION = "1.1.0.beta4"
2
+ VERSION = "1.1.0.beta5"
3
3
  end
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.beta4
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-10 00:00:00.000000000 Z
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
-