pre-commit 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +1 -0
  2. data/lib/pre-commit/checks.rb +1 -0
  3. metadata +48 -41
data/README.md CHANGED
@@ -26,6 +26,7 @@ These are the available checks:
26
26
  * js\_lint\_new (Runs JSLint on all new staged JS files)
27
27
  * closure\_syntax\_check
28
28
  * php (Runs php -l on all staged files)
29
+ * ruby_symbol_hashrockets (1.9 syntax. BAD :foo => "bar". GOOD foo: "bar")
29
30
 
30
31
  To configure which checks you would like to run, simply set the `pre-commit.checks` git configuration setting.
31
32
 
@@ -9,6 +9,7 @@ require 'pre-commit/checks/jshint_check'
9
9
  require 'pre-commit/checks/migration_check'
10
10
  require 'pre-commit/checks/ci_check'
11
11
  require 'pre-commit/checks/php_check'
12
+ require 'pre-commit/checks/ruby_symbol_hashrockets'
12
13
 
13
14
  class PreCommit
14
15
 
metadata CHANGED
@@ -1,40 +1,43 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pre-commit
3
- version: !ruby/object:Gem::Version
4
- version: 0.6.0
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 6
8
+ - 1
9
+ version: 0.6.1
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Shajith Chacko, Josh Lubaway
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
- date: 2012-10-19 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
16
+
17
+ date: 2012-11-07 00:00:00 -08:00
18
+ default_executable: pre-commit
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: execjs
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
22
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ version: "0"
30
+ type: :runtime
31
+ version_requirements: *id001
30
32
  description: A git pre-commit hook written in ruby with a few more tricks up its sleeve
31
33
  email: dontneedmoreemail@example.com
32
- executables:
34
+ executables:
33
35
  - pre-commit
34
36
  extensions: []
35
- extra_rdoc_files:
37
+
38
+ extra_rdoc_files:
36
39
  - README.md
37
- files:
40
+ files:
38
41
  - lib/pre-commit/base.rb
39
42
  - lib/pre-commit/checks/ci_check.rb
40
43
  - lib/pre-commit/checks/console_log.rb
@@ -61,32 +64,36 @@ files:
61
64
  - lib/support/whitespace/whitespace_checker.rb
62
65
  - templates/pre-commit-hook
63
66
  - README.md
64
- - !binary |-
65
- YmluL3ByZS1jb21taXQ=
67
+ has_rdoc: true
66
68
  homepage: http://github.com/jish/pre-commit
67
69
  licenses: []
70
+
68
71
  post_install_message:
69
- rdoc_options:
72
+ rdoc_options:
70
73
  - --main
71
74
  - README.md
72
- require_paths:
75
+ require_paths:
73
76
  - lib
74
- required_ruby_version: !ruby/object:Gem::Requirement
75
- none: false
76
- requirements:
77
- - - ! '>='
78
- - !ruby/object:Gem::Version
79
- version: '0'
80
- required_rubygems_version: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ segments:
82
+ - 0
83
+ version: "0"
84
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ segments:
89
+ - 0
90
+ version: "0"
86
91
  requirements: []
92
+
87
93
  rubyforge_project:
88
- rubygems_version: 1.8.24
94
+ rubygems_version: 1.3.6
89
95
  signing_key:
90
96
  specification_version: 3
91
97
  summary: A slightly better git pre-commit hook
92
98
  test_files: []
99
+