codeclimate 0.14.7 → 0.15.0

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: 8680877759cb9d64b775677c48ef5ec45abdf3ac
4
- data.tar.gz: 9857356e8ec12071e973337f505b98964321d585
3
+ metadata.gz: 6c5fadf51ddc60ed198a99faf2d283a70e455c4e
4
+ data.tar.gz: 6222d76642aa0c241db41372ab733a67aa9a1596
5
5
  SHA512:
6
- metadata.gz: 15e9c529f7fd7d656d93cc7580564ad5fb36016868292e773c260b6e53eb06a704998c867c5cc8cc378a7e5e3abaee86379aa0e729b93bbef78cb41bead356aa
7
- data.tar.gz: 636f04b117fbd5b3951fa2409bb80fc75c99b70fbac75836c55ed79856236fec7ed976a59214b537287edca3ba56d311168060a1eef1861bddf11fc3dd826d9c
6
+ metadata.gz: 001fdb8c809b27aaeee49a4bb12b7225e8d1811d17ffc7ccfec3cb6f1872b76c9fe735c601ed4007188cfd8ed9ff09e1c58f0033746320557403379c71ae6c45
7
+ data.tar.gz: 9e575b88397aa0d7b60e5a8b856cd5088aeeeb1a1fe767357795fb399f005e2c53a9a1b2828f08bed392cda69306fdba6a2a690c5df07d365ee34f32eb264453
data/bin/prep-release CHANGED
@@ -25,24 +25,23 @@ printf "RELEASE %s => %s\n" "$old_version" "$version"
25
25
  git checkout master
26
26
  git pull
27
27
 
28
- git checkout -b $branch
28
+ git checkout -b "$branch"
29
29
 
30
30
  printf "%s\n" "$version" > VERSION
31
31
  bundle
32
32
  git add VERSION Gemfile.lock
33
33
  git commit -m "Release v$version"
34
- git push origin $branch
34
+ git push origin "$branch"
35
35
 
36
- compare_link="https://github.com/codeclimate/codeclimate/compare/${old_version}...$(git rev-parse --short $branch)"
37
- pr_description_file=$(mktemp -t cc_commit_message) || exit 1
38
- printf "Release v$version\n\n$s\n" "$compare_link" > "$pr_description_file"
36
+ branch_head=$(git rev-parse --short $branch)
39
37
  if command -v hub > /dev/null 2>&1; then
40
- hub pull-request -F "$pr_description_file"
41
- elif command -v gh > /dev/null 2>&1; then
42
- gh pull-request -F "$pr_description_file"
38
+ hub pull-request -F - <<EOF
39
+ Release v$version
40
+
41
+ https://github.com/codeclimate/codeclimate/compare/$old_version...$branch_head
42
+ EOF
43
43
  else
44
44
  echo "hub not installed? Please open the PR manually" >&2
45
45
  fi
46
- rm "$commit_message_file"
47
46
 
48
47
  echo "After merging the version-bump PR, run bin/release"
@@ -1,34 +1,2 @@
1
- {
2
- "adjoining-classes": false,
3
- "box-model": false,
4
- "box-sizing": false,
5
- "bulletproof-font-face": false,
6
- "compatible-vendor-prefixes": false,
7
- "display-property-grouping": false,
8
- "duplicate-background-images": false,
9
- "duplicate-properties": false,
10
- "empty-rules": false,
11
- "fallback-colors": false,
12
- "floats": false,
13
- "font-faces": false,
14
- "font-sizes": false,
15
- "gradients": false,
16
- "ids": false,
17
- "import": false,
18
- "important": false,
19
- "known-properties": false,
20
- "non-link-hover": false,
21
- "outline-none": false,
22
- "overqualified-elements": false,
23
- "qualified-headings": false,
24
- "regex-selectors": false,
25
- "shorthand": false,
26
- "star-property-hack": false,
27
- "text-indent": false,
28
- "underscore-property-hack": false,
29
- "vendor-prefix": false,
30
- "unique-headings": false,
31
- "universal-selector": false,
32
- "unqualified-attributes": false,
33
- "zero-units": false
34
- }
1
+ --exclude-exts=.min.css
2
+ --ignore=adjoining-classes,ids,order-alphabetical,unqualified-attributes
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.14.7
4
+ version: 0.15.0
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-12-03 00:00:00.000000000 Z
11
+ date: 2015-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport