Skip to content

Commit dcca130

Browse files
committed
Merge remote-tracking branch 'upstream/master' into sg-json-for-json
2 parents 25f0e65 + b532fa8 commit dcca130

File tree

317 files changed

+19325
-12551
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+19325
-12551
lines changed

.buildpacks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
https://github.com/rcaught/heroku-buildpack-cmake#e4e2c9e
1+
https://github.com/Starkast/heroku-buildpack-cmake#a243c67
22
https://github.com/emk/heroku-buildpack-rust#578d630
33
https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/emberjs.tgz
44
https://github.com/travis-ci/nginx-buildpack.git#2fbde35

.diesel_version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.16.0
1+
1.3.0

.eslintrc.js

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,36 @@ module.exports = {
44
ecmaVersion: 2017,
55
sourceType: 'module',
66
ecmaFeatures: {
7-
'experimentalObjectRestSpread': true,
7+
experimentalObjectRestSpread: true,
88
},
99
},
10-
extends: [
11-
'eslint:recommended',
12-
'plugin:ember-suave/recommended',
13-
],
10+
plugins: ['ember', 'prettier'],
11+
extends: ['eslint:recommended', 'plugin:ember/recommended', 'plugin:prettier/recommended'],
1412
env: {
1513
browser: true,
1614
},
1715
rules: {
16+
'prettier/prettier': 'error',
17+
1818
'arrow-parens': 'off',
1919
'brace-style': 'off',
20-
'camelcase': 'off',
20+
camelcase: 'off',
2121
'comma-dangle': 'off',
2222
'dot-notation': 'off',
23-
'indent': ['error', 4],
2423
'operator-linebreak': 'off',
25-
'quotes': ['error', 'single', {
26-
'allowTemplateLiterals': true,
27-
'avoidEscape': true,
28-
}],
29-
30-
'ember-suave/no-const-outside-module-scope': 'off',
31-
'ember-suave/no-direct-property-access': 'off',
32-
'ember-suave/require-access-in-comments': 'off',
3324
},
25+
overrides: [
26+
// node files
27+
{
28+
files: ['testem.js', 'ember-cli-build.js', 'config/**/*.js', 'lib/*/index.js'],
29+
parserOptions: {
30+
sourceType: 'script',
31+
ecmaVersion: 2015,
32+
},
33+
env: {
34+
browser: false,
35+
node: true,
36+
},
37+
},
38+
],
3439
};

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
/.sass-cache
1414
/connect.lock
1515
/coverage/*
16+
/coverage_*
1617
/local_uploads
1718
/libpeerconnection.log
1819
npm-debug.log

.nycrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"temp-directory": "coverage"
3+
}

.rustfmt.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
combine_control_expr = true
21
max_width = 100
3-
error_on_line_overflow = false
4-
write_mode = "Overwrite"
5-

.template-lintrc.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
'use strict';
2+
3+
/* eslint-env node */
4+
5+
module.exports = {
6+
extends: 'recommended',
7+
8+
rules: {
9+
'block-indentation': false,
10+
'img-alt-attributes': false,
11+
'triple-curlies': false,
12+
},
13+
};

.travis.yml

Lines changed: 35 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,36 @@ dist: trusty
44

55
branches:
66
except:
7-
- staging.tmp
7+
- staging.tmp
88

99
cache:
1010
cargo: true
11-
12-
addons:
13-
chrome: stable
11+
directories:
12+
- $HOME/.npm
1413

1514
env:
1615
global:
17-
# See https://git.io/vdao3 for details.
18-
- JOBS=1
16+
- JOBS=1 # See https://git.io/vdao3 for details.
17+
- DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
18+
- TEST_DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
19+
- CARGO_TARGET_DIR=target
20+
- PERCY_PARALLEL_TOTAL=2
21+
# Percy secrets are included here to enable Percy's GitHub integration
22+
# on community-submitted PRs
23+
- PERCY_TOKEN=0d8707a02b19aebbec79bb0bf302b8d2fa95edb33169cfe41b084289596670b1
24+
- PERCY_PROJECT=crates-io/crates.io
1925

2026
before_install:
21-
- nvm install 8
27+
- nvm install 10
2228

2329
install:
24-
- cargo install --force diesel_cli --vers 1.0.0 --no-default-features --features postgres && export PATH=$HOME/.cargo/bin:$PATH
30+
- cargo install --force diesel_cli --vers `cat .diesel_version` --no-default-features --features postgres && export PATH=$HOME/.cargo/bin:$PATH
2531

2632
before_script:
2733
- diesel database setup
2834

2935
addons:
36+
chrome: stable
3037
postgresql: "9.5"
3138
apt:
3239
sources:
@@ -42,32 +49,26 @@ matrix:
4249
allow_failures:
4350
- rust: nightly
4451
include:
45-
- rust: nightly-2017-12-28
46-
script:
47-
- cargo install --force rustfmt-nightly --vers 0.3.4
48-
- cargo fmt -- --write-mode=diff
49-
- cargo install --force clippy --vers 0.0.177
50-
- cargo clippy
51-
- rust: stable
52-
script:
53-
- cargo build
54-
- cargo test
55-
- npm install
56-
- npm test
57-
- rust: beta
58-
script:
59-
- cargo build
60-
- cargo test
61-
- rust: nightly
62-
script:
63-
- cargo build
64-
- cargo test
65-
66-
env:
67-
global:
68-
- DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
69-
- TEST_DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
70-
- CARGO_TARGET_DIR=target
52+
- rust: nightly-2018-06-26
53+
script:
54+
- cargo install --force clippy --vers 0.0.210
55+
- cargo clippy
56+
- rust: stable
57+
script:
58+
- rustup component add rustfmt-preview
59+
- cargo fmt -- --write-mode=diff
60+
- cargo build
61+
- cargo test
62+
- npm install
63+
- npm test
64+
- rust: beta
65+
script:
66+
- cargo build
67+
- cargo test
68+
- rust: nightly
69+
script:
70+
- cargo build
71+
- cargo test
7172

7273
notifications:
7374
email:

0 commit comments

Comments
 (0)