sanity_check 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 70d7731b7a55c2de05195b0fc7a248cccb07fdcb
4
+ data.tar.gz: 537457fd868d3f6da6c2cca04b268e0b0b40e7f1
5
+ SHA512:
6
+ metadata.gz: cd96b91dab98a724e0b77a7e04febbdf149110d3c08502646573b9c315571d29f744552c2f4bae4bb0390bd870c3f98221ec64cd3f54624c95be4b5f0e41e37f
7
+ data.tar.gz: 6a977f4c8e39503898461dcb50e1fec0a9cfecae1e38ffae9638b649c2682b990426795ad0f52ac6e1aadb13b295e1844f8f0ccf293bf6ca2162b7206d250d5c
@@ -9,11 +9,17 @@ namespace :sanity do
9
9
  sh "brakeman -q -z"
10
10
  end
11
11
 
12
+ desc "Lint project using rubocop"
13
+ task :rubocop do
14
+ sh "rubocop -l"
15
+ end
16
+
12
17
  desc "Run full sanity check"
13
18
  task :check do
14
19
  Rake::Task["spec"].invoke if defined?(RSpec)
15
20
  Rake::Task["test"].invoke if defined?(Test::Unit)
16
21
  Rake::Task["traceroute"].invoke
22
+ Rake::Task["sanity:rubocop"].invoke
17
23
  Rake::Task["sanity:brakeman"].invoke
18
24
  Rake::Task["sanity:best_practices"].invoke
19
25
  end
@@ -1,3 +1,3 @@
1
1
  module SanityCheck
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/sanity_check.gemspec CHANGED
@@ -19,6 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency "brakeman", ">= 3.0.0"
22
+ spec.add_dependency "rubocop", "~> 0.29.1"
22
23
  spec.add_dependency "rails_best_practices", ">= 1.15.6"
23
24
  spec.add_dependency "traceroute", ">= 0.4.0"
24
25
  spec.add_development_dependency "bundler", "~> 1.7"
metadata CHANGED
@@ -1,94 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sanity_check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
5
- prerelease:
4
+ version: 0.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Thomas Cioppettini
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2015-03-02 00:00:00.000000000 Z
11
+ date: 2015-03-09 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: brakeman
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 3.0.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 3.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.29.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.29.1
30
41
  - !ruby/object:Gem::Dependency
31
42
  name: rails_best_practices
32
43
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
44
  requirements:
35
- - - ! '>='
45
+ - - ">="
36
46
  - !ruby/object:Gem::Version
37
47
  version: 1.15.6
38
48
  type: :runtime
39
49
  prerelease: false
40
50
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
51
  requirements:
43
- - - ! '>='
52
+ - - ">="
44
53
  - !ruby/object:Gem::Version
45
54
  version: 1.15.6
46
55
  - !ruby/object:Gem::Dependency
47
56
  name: traceroute
48
57
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
58
  requirements:
51
- - - ! '>='
59
+ - - ">="
52
60
  - !ruby/object:Gem::Version
53
61
  version: 0.4.0
54
62
  type: :runtime
55
63
  prerelease: false
56
64
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
65
  requirements:
59
- - - ! '>='
66
+ - - ">="
60
67
  - !ruby/object:Gem::Version
61
68
  version: 0.4.0
62
69
  - !ruby/object:Gem::Dependency
63
70
  name: bundler
64
71
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
72
  requirements:
67
- - - ~>
73
+ - - "~>"
68
74
  - !ruby/object:Gem::Version
69
75
  version: '1.7'
70
76
  type: :development
71
77
  prerelease: false
72
78
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
79
  requirements:
75
- - - ~>
80
+ - - "~>"
76
81
  - !ruby/object:Gem::Version
77
82
  version: '1.7'
78
83
  - !ruby/object:Gem::Dependency
79
84
  name: rake
80
85
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
86
  requirements:
83
- - - ~>
87
+ - - "~>"
84
88
  - !ruby/object:Gem::Version
85
89
  version: '10.0'
86
90
  type: :development
87
91
  prerelease: false
88
92
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
93
  requirements:
91
- - - ~>
94
+ - - "~>"
92
95
  - !ruby/object:Gem::Version
93
96
  version: '10.0'
94
97
  description: Run tests, check best practices, and run security checks before CI or
@@ -99,7 +102,7 @@ executables: []
99
102
  extensions: []
100
103
  extra_rdoc_files: []
101
104
  files:
102
- - .gitignore
105
+ - ".gitignore"
103
106
  - Gemfile
104
107
  - LICENSE.txt
105
108
  - README.md
@@ -112,32 +115,25 @@ files:
112
115
  homepage: https://github.com/tomciopp/sanity_check
113
116
  licenses:
114
117
  - MIT
118
+ metadata: {}
115
119
  post_install_message:
116
120
  rdoc_options: []
117
121
  require_paths:
118
122
  - lib
119
123
  required_ruby_version: !ruby/object:Gem::Requirement
120
- none: false
121
124
  requirements:
122
- - - ! '>='
125
+ - - ">="
123
126
  - !ruby/object:Gem::Version
124
127
  version: '0'
125
- segments:
126
- - 0
127
- hash: 338486319968998537
128
128
  required_rubygems_version: !ruby/object:Gem::Requirement
129
- none: false
130
129
  requirements:
131
- - - ! '>='
130
+ - - ">="
132
131
  - !ruby/object:Gem::Version
133
132
  version: '0'
134
- segments:
135
- - 0
136
- hash: 338486319968998537
137
133
  requirements: []
138
134
  rubyforge_project:
139
- rubygems_version: 1.8.23
135
+ rubygems_version: 2.4.5
140
136
  signing_key:
141
- specification_version: 3
137
+ specification_version: 4
142
138
  summary: Rake Tasks that review your code before deploy.
143
139
  test_files: []