codeclimate 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/check +1 -1
- data/bin/release +16 -13
- data/config/engines.yml +13 -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: 9cbb3a16763441f73ecd126b74ac0cd7e086315f
|
4
|
+
data.tar.gz: 17dd70c727bb8ad8496e65aabcdf3fd6d0ba2254
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ff9002f80834f1bccfa64838fbd88730b9f4246f03bbe24a3b7603caeb1cb551075b70fb64c02de968875ace8fd959444004d0865614ba8ca53308e13b8dcb0
|
7
|
+
data.tar.gz: ad2cf0955f53a1b2c2085bada281958735a8afaef4865abc6e262702215a96374e7ff5cb99798c9671afaa6df4bb4c8171d5e9e3e203561491c43e4d9787e327
|
data/bin/check
CHANGED
@@ -8,7 +8,7 @@ docker version | grep -q "Server version\|Server:" || {
|
|
8
8
|
echo "Unable to run \`docker version', the docker daemon may not be running" >&2
|
9
9
|
|
10
10
|
if command -v boot2docker > /dev/null 2>&1; then
|
11
|
-
echo "Please ensure \`boot2docker up
|
11
|
+
echo "Please ensure \`boot2docker up\` succeeds and you've run \`eval \$(boot2docker shellinit)\` in this shell" >&2
|
12
12
|
else
|
13
13
|
echo "Please ensure \`docker version' succeeds and try again"
|
14
14
|
fi
|
data/bin/release
CHANGED
@@ -7,35 +7,38 @@
|
|
7
7
|
###
|
8
8
|
set -e
|
9
9
|
|
10
|
-
set -- 0.2.11
|
11
10
|
if [ -z "$1" ]; then
|
12
11
|
echo "usage: bin/release VERSION" >&2
|
13
12
|
exit 64
|
14
13
|
fi
|
15
14
|
|
16
15
|
version=$1
|
16
|
+
old_version=$(< VERSION)
|
17
17
|
|
18
18
|
if ! bundle exec rake; then
|
19
19
|
echo "test failure, not releasing" >&2
|
20
20
|
exit 1
|
21
21
|
fi
|
22
22
|
|
23
|
-
printf "RELEASE %s => %s\n" "$
|
24
|
-
|
25
|
-
|
23
|
+
printf "RELEASE %s => %s\n" "$old_version" "$version"
|
24
|
+
git checkout master
|
25
|
+
git pull
|
26
26
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
27
|
+
printf "%s\n" "$version" > VERSION
|
28
|
+
bundle
|
29
|
+
git add VERSION Gemfile.lock
|
30
|
+
git commit -m "Release v$version"
|
31
31
|
|
32
32
|
rake release
|
33
33
|
|
34
|
-
|
35
|
-
|
34
|
+
docker build --rm -t codeclimate/codeclimate .
|
35
|
+
docker push codeclimate/codeclimate
|
36
36
|
|
37
|
-
|
37
|
+
(cd ../homebrew-formulae/ && bin/release "$version")
|
38
38
|
|
39
|
-
# TODO: automate this final step
|
40
39
|
echo "Be sure to update release notes:"
|
41
|
-
echo "
|
40
|
+
echo ""
|
41
|
+
echo " https://github.com/codeclimate/codeclimate/releases/new?tag=v$version"
|
42
|
+
echo ""
|
43
|
+
echo " https://github.com/codeclimate/codeclimate/compare/v$old_version...v$version"
|
44
|
+
echo ""
|
data/config/engines.yml
CHANGED
@@ -91,7 +91,19 @@ bundler-audit:
|
|
91
91
|
- Gemfile.lock
|
92
92
|
phpcodesniffer:
|
93
93
|
image: codeclimate/codeclimate-phpcodesniffer
|
94
|
-
description: PHP
|
94
|
+
description: PHP Code Sniffer
|
95
|
+
community: false
|
96
|
+
enable_regexps:
|
97
|
+
- \.php$
|
98
|
+
- \.module$
|
99
|
+
- \.inc$
|
100
|
+
default_ratings_paths:
|
101
|
+
- "**.php"
|
102
|
+
- "**.module"
|
103
|
+
- "**.inc"
|
104
|
+
phpmd:
|
105
|
+
image: codeclimate/codeclimate-phpmd
|
106
|
+
description: PHP Mess Detector
|
95
107
|
community: false
|
96
108
|
enable_regexps:
|
97
109
|
- \.php$
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codeclimate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code Climate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|