appril-cli 0.0.8 → 0.0.9

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: c35966729ddb1fdba992af4e06e467f86fcbe560
4
- data.tar.gz: deaa22602500fba0fc0bd87af2efdd8f38a46747
3
+ metadata.gz: a59ff3fe21255ea48b9809f16896c7a26abcfdf7
4
+ data.tar.gz: 1301cc1479ea82ca40e13948b29e69db18974526
5
5
  SHA512:
6
- metadata.gz: b49fe7811bfd656adb0b6f573668b70cc627d698553cda7d4afef89635696629612fa88e0b2453042626918fae4d07d832d4630586dc4a57c870db421d1d0168
7
- data.tar.gz: e95dc5484b014c74976d184f62e0feef2faa3a9589ff04bc24d764ff73e0316e0ac6e1887d46bdbc770b65ec671a4a3e1c33b94d9e9f53032f3e3737651e66d5
6
+ metadata.gz: 52d14e4f4f43a047155b907d190db15ea0a85d86dd687c60556193b0bdd8acfa970186b21d160f6dc0bb872ded9e74f56c3a31819d8a30d5bf613349ecb3499c
7
+ data.tar.gz: db17c6171a86eb7f9db8a1558c8bb9bfcf08a52917120bcec7329f964b90227e3a152f224ba1cb04d4945bcf4e85fa30e93c388ee4502266138b3a06f52f5c1e
@@ -8,7 +8,7 @@ Page = require('appril-page')
8
8
  Load = require('appril-load')
9
9
  Render = require('appril-ractive')
10
10
  Reporter = require('appril-reporter')
11
- DeployApi = require('./api/deploy.coffee')
11
+ DeployApi = require('api/deploy.coffee')
12
12
  require 'appril-polyfills'
13
13
  require 'assets/styles.css'
14
14
 
@@ -1,5 +1,4 @@
1
1
 
2
- module.exports = (env) ->
3
- env.render
4
- el: 'body'
5
- template: require('./layout')
2
+ module.exports = (env, layout) ->
3
+ layout.partials.content = require('./layout')
4
+ env.render(layout)
@@ -8,8 +8,6 @@
8
8
  "appril-reporter": "*",
9
9
  "appril-polyfills": "*",
10
10
  "crudle": "*",
11
- "crudle-list": "*",
12
- "crudle-editor": "*",
13
11
  "extract-text-webpack-plugin": "1"
14
12
  }
15
13
  }
@@ -1,7 +1,7 @@
1
1
  module Appril
2
2
  class CLI
3
3
  module App
4
-
4
+
5
5
  class Install
6
6
  include Helpers
7
7
 
@@ -16,6 +16,7 @@ module Appril
16
16
  src = working_dir_opted ? APP_DIR.to_path + '/.' : APP_DIR
17
17
  FileUtils.cp_r(src, dir)
18
18
  if crudle_app
19
+ FileUtils.rm_rf(dir / 'generators/api')
19
20
  FileUtils.cp_r(CRUDLE_DIR.to_path + '/.', dir)
20
21
  end
21
22
  cleanup(dir)
@@ -1,7 +1,7 @@
1
1
  module Appril
2
2
  class CLI
3
3
  module App
4
-
4
+
5
5
  class Update
6
6
  include Helpers
7
7
 
@@ -10,6 +10,7 @@ module Appril
10
10
  Dir.chdir APP_DIR do
11
11
 
12
12
  Dir['**/*'].select {|e| File.file?(e)}.each do |file|
13
+ next if file['generators/']
13
14
  next if File.file?(dir / file)
14
15
  create_dirname_for(dir / file)
15
16
  puts "Installing #{File.basename(dir)}/#{file}"
@@ -1,5 +1,5 @@
1
1
  module Appril
2
2
  class CLI
3
- VERSION = '0.0.8'.freeze
3
+ VERSION = '0.0.9'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appril-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Slee Woo
@@ -159,5 +159,5 @@ rubyforge_project:
159
159
  rubygems_version: 2.5.1
160
160
  signing_key:
161
161
  specification_version: 4
162
- summary: '["appril-cli-0.0.8", "Appril CLI"]'
162
+ summary: '["appril-cli-0.0.9", "Appril CLI"]'
163
163
  test_files: []