commit_checker 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c65359a42953c26a1cde2971b6d3834a5c860b3e
4
- data.tar.gz: 0e0dee639d4e3637afb94f8f0a90ba96611ce7af
3
+ metadata.gz: e1bcc4b94a5a1d371917f990e8f16b46cbc9d40a
4
+ data.tar.gz: c130ec0106a049bd1ea0b3231468bbc2ec53921d
5
5
  SHA512:
6
- metadata.gz: 360bac921242878f672eb8c060f7c9cdb78556cf7ff6010527427dc82dcff2f6bceb96d673aa24c2b801127a551b7596cfede5d0f9e4be9c5e57d85e32c375d8
7
- data.tar.gz: c213f99f17fe2330249ff0ff5d60d66bd27dc83f71976d724ff554c5a01816aae934aa826b37ee33f0a1adf8276557ea389ec5024dea24b7f7e037aad73412c1
6
+ metadata.gz: ab3d98da532befef14d7cf68b5e31230088505c63e74d9f9a4abcdf94bd1a18f34c54f8a482c839054c44731aa76bfab117f67e188cdff0668dba8c1cba17cf0
7
+ data.tar.gz: b77df943860b25aa20df1e7cf427b56ece98efc6abf32e2d6e333a7289c125bb7eac41c6595906f1f2d354b7a7f14df88beb8a2579dc03db23bfc260fe28e9cc
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
1
  .bundle/
2
+ *.gem
data/Readme.md CHANGED
@@ -0,0 +1,23 @@
1
+ commit_checker
2
+ ==============
3
+
4
+ Simple tool for adding best practices checker hooks to git
5
+
6
+ Install
7
+ ==
8
+
9
+ You can install from console and install the hook.
10
+
11
+ ```zsh
12
+ gem install commit_checker
13
+ rake hooks:install
14
+ ```
15
+
16
+ After that, the hook will run rubocop to all the files changed in your commit.
17
+
18
+ Credit
19
+ ==
20
+
21
+ This gem rely on [Rubocop](https://github.com/bbatsov/rubocop) as checker
22
+
23
+ Author: [Hieu Nguyen](hieu.nguyen@eastagile.com)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'commit_checker'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.date = '2014-07-14'
5
5
  s.summary = "Commit Checker"
6
6
  s.description = "A simple gem which help setup hook to check commit"
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.require_paths = ["lib"]
11
11
  s.homepage = ''
12
12
  s.license = 'MIT'
13
- s.add_dependency 'railties', '4.1.4'
14
- s.add_dependency 'rubocop', '0.24.1'
15
- s.add_dependency 'highline', '1.6.21'
13
+ s.add_dependency 'railties', '>= 3.2.11'
14
+ s.add_dependency 'rubocop', '>= 0.24.1'
15
+ s.add_dependency 'highline', '>= 1.6.21'
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commit_checker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hieu Nguyen
@@ -14,42 +14,42 @@ dependencies:
14
14
  name: railties
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.1.4
19
+ version: 3.2.11
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 4.1.4
26
+ version: 3.2.11
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.24.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 0.24.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: highline
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 1.6.21
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: 1.6.21
55
55
  description: A simple gem which help setup hook to check commit
@@ -63,7 +63,6 @@ files:
63
63
  - ".ruby-gemset"
64
64
  - ".ruby-version"
65
65
  - Gemfile
66
- - Gemfile.lock
67
66
  - Readme.md
68
67
  - commit_checker.gemspec
69
68
  - lib/commit_checker.rb
data/Gemfile.lock DELETED
@@ -1,65 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- commit_checker (0.0.1)
5
- highline
6
- railties
7
- rubocop
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actionpack (4.1.4)
13
- actionview (= 4.1.4)
14
- activesupport (= 4.1.4)
15
- rack (~> 1.5.2)
16
- rack-test (~> 0.6.2)
17
- actionview (4.1.4)
18
- activesupport (= 4.1.4)
19
- builder (~> 3.1)
20
- erubis (~> 2.7.0)
21
- activesupport (4.1.4)
22
- i18n (~> 0.6, >= 0.6.9)
23
- json (~> 1.7, >= 1.7.7)
24
- minitest (~> 5.1)
25
- thread_safe (~> 0.1)
26
- tzinfo (~> 1.1)
27
- ast (2.0.0)
28
- builder (3.2.2)
29
- erubis (2.7.0)
30
- highline (1.6.21)
31
- i18n (0.6.11)
32
- json (1.8.1)
33
- minitest (5.4.0)
34
- parser (2.2.0.pre.3)
35
- ast (>= 1.1, < 3.0)
36
- slop (~> 3.4, >= 3.4.5)
37
- powerpack (0.0.9)
38
- rack (1.5.2)
39
- rack-test (0.6.2)
40
- rack (>= 1.0)
41
- railties (4.1.4)
42
- actionpack (= 4.1.4)
43
- activesupport (= 4.1.4)
44
- rake (>= 0.8.7)
45
- thor (>= 0.18.1, < 2.0)
46
- rainbow (2.0.0)
47
- rake (10.3.2)
48
- rubocop (0.24.1)
49
- json (>= 1.7.7, < 2)
50
- parser (>= 2.2.0.pre.3, < 3.0)
51
- powerpack (~> 0.0.6)
52
- rainbow (>= 1.99.1, < 3.0)
53
- ruby-progressbar (~> 1.4)
54
- ruby-progressbar (1.5.1)
55
- slop (3.5.0)
56
- thor (0.19.1)
57
- thread_safe (0.3.4)
58
- tzinfo (1.2.1)
59
- thread_safe (~> 0.1)
60
-
61
- PLATFORMS
62
- ruby
63
-
64
- DEPENDENCIES
65
- commit_checker!