codeclimate 0.2.11 → 0.2.12

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/bin/check +1 -1
  3. data/bin/release +16 -13
  4. data/config/engines.yml +13 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32566ddd677d0f2659e3a463d78a2a41e78eee0e
4
- data.tar.gz: 650ce0df21367faa2b8f94362a01ed46c9057620
3
+ metadata.gz: 9cbb3a16763441f73ecd126b74ac0cd7e086315f
4
+ data.tar.gz: 17dd70c727bb8ad8496e65aabcdf3fd6d0ba2254
5
5
  SHA512:
6
- metadata.gz: bbeaad0b4a597ccbefcd387eca14627711d5e1b43184d1c65f414dfd9c2af4774b4867a19493292f6d904a1cce9182be69d0767789afc0585662b32e9176fabd
7
- data.tar.gz: cb8c64a2ddac15d5c9c65de165e0ed9c84a09a2f5d2f6d3aeeeac63759b550f1f8c45518d28da30776aae954e81ad9fc679797a1cb80c0e311912c3824d95f8d
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' succeeds and you've run \`boot2docker shellinit' in this shell" >&2
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" "$(< VERSION)" "$version"
24
- # git checkout master
25
- # git pull
23
+ printf "RELEASE %s => %s\n" "$old_version" "$version"
24
+ git checkout master
25
+ git pull
26
26
 
27
- # printf "%s\n" "$version" > VERSION
28
- # bundle
29
- # git add VERSION Gemfile.lock
30
- # git commit -m "Release v$version"
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
- # docker build --rm -t codeclimate/codeclimate .
35
- # docker push codeclimate/codeclimate
34
+ docker build --rm -t codeclimate/codeclimate .
35
+ docker push codeclimate/codeclimate
36
36
 
37
- # (cd ../homebrew-formulae/ && bin/release "$version")
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 "- TODO URL"
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 Linting
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.11
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-18 00:00:00.000000000 Z
11
+ date: 2015-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport