carte-server 1.0.3 → 1.0.4
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/.gitignore +1 -2
- data/config.ru +1 -1
- data/lib/carte/client.jade +1 -1
- data/lib/carte/client/tasks.coffee +14 -2
- data/package.json +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 70c68e36781046f2a1f96c0d297f3358eae30633
|
|
4
|
+
data.tar.gz: 6f3e0b282e45e81c7d7df7e6c5d51e206d3bebe5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d59444e47d51ea1f5ccae541bc9f90017a47592d513852ce8e66088b0e06490e33e97ab14097b85c78b31f92c67f63a5c232531a31f850bd889a6e0ae246c01f
|
|
7
|
+
data.tar.gz: da149d7fbec0054798a1b928c2280953f8e05c82b2e746f3373615b234a2ce71323d8c552ee7a4782ed35bcf8199d25d49be0054788d872f25270baa6dcba6ac
|
data/.gitignore
CHANGED
data/config.ru
CHANGED
data/lib/carte/client.jade
CHANGED
|
@@ -14,6 +14,7 @@ browserifyCss = require 'browserify-css'
|
|
|
14
14
|
_ = require 'lodash'
|
|
15
15
|
jade = require 'gulp-jade'
|
|
16
16
|
rename = require 'gulp-rename'
|
|
17
|
+
manifest = require 'gulp-manifest'
|
|
17
18
|
|
|
18
19
|
module.exports = class Carte
|
|
19
20
|
watching: false
|
|
@@ -23,8 +24,8 @@ module.exports = class Carte
|
|
|
23
24
|
fs.writeFileSync(__dirname + '/../shared/custom.json', JSON.stringify(custom))
|
|
24
25
|
|
|
25
26
|
gulp.task 'watching', => @watching = true
|
|
26
|
-
gulp.task 'build', ['build:html', 'build:script']
|
|
27
|
-
gulp.task 'watch', ['watching', 'build:html', 'build:script']
|
|
27
|
+
gulp.task 'build', ['build:html', 'build:script', 'build:manifest']
|
|
28
|
+
gulp.task 'watch', ['watching', 'build:html', 'build:script', 'build:manifest']
|
|
28
29
|
|
|
29
30
|
gulp.task 'build:html', =>
|
|
30
31
|
_config = require('./config')
|
|
@@ -33,6 +34,17 @@ module.exports = class Carte
|
|
|
33
34
|
.pipe rename(_config.html_path)
|
|
34
35
|
.pipe gulp.dest(_config.root_dir)
|
|
35
36
|
|
|
37
|
+
gulp.task 'build:manifest', =>
|
|
38
|
+
_config = require('./config')
|
|
39
|
+
gulp.src([_config.root_dir + '/**'])
|
|
40
|
+
.pipe manifest
|
|
41
|
+
hash: true
|
|
42
|
+
preferOnline: true
|
|
43
|
+
network: ['http://*', 'https://*', '*']
|
|
44
|
+
filename: 'app.manifest'
|
|
45
|
+
exclude: 'app.manifest'
|
|
46
|
+
.pipe gulp.dest(_config.root_dir)
|
|
47
|
+
|
|
36
48
|
gulp.task 'build:script', =>
|
|
37
49
|
@buildScript config: config
|
|
38
50
|
|
data/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carte-client",
|
|
3
3
|
"description": "something like dictionary, wiki, or information card",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"main": "lib/carte.coffee",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"gulp-gzip": "^1.1.0",
|
|
34
34
|
"gulp-if": "^1.2.5",
|
|
35
35
|
"gulp-jade": "^1.0.0",
|
|
36
|
+
"gulp-manifest": "0.0.6",
|
|
36
37
|
"gulp-rename": "^1.2.2",
|
|
37
38
|
"gulp-streamify": "0.0.5",
|
|
38
39
|
"gulp-uglify": "^1.2.0",
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: carte-server
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- tily
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-05-
|
|
11
|
+
date: 2015-05-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|