fudge 0.6.3 → 0.6.4

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
- SHA1:
3
- metadata.gz: d8267a0d4afa0b74d964694a5871e21528b9d2ae
4
- data.tar.gz: 2406d80644f4ab0355491eafafb1f4699a48e468
2
+ SHA256:
3
+ metadata.gz: a3898cbf00ae43bd17d148a596f9fc31c08ae6e3563268b3c2b3ebd02fbff07b
4
+ data.tar.gz: 1bc288a34f6dac4900db7160ea4a6a8fafb63b66862344846c91e57ad64e8df2
5
5
  SHA512:
6
- metadata.gz: 449dee87fe9c1b006a198bf5a4ca2e10842085f517fc91185a2c078ccc6814b4210b414dd2e39822f4568d18e1c69db7fa261677b5a942db7e1de03e90c5e796
7
- data.tar.gz: 7ecf7d08cfbb75aadd7e388184f2b180632d059594e9e2e710c1c7bdb675e412dd6765853ad8ecb2a78a055007e5cc010e8da5601978d77e380eeafd1e1e8096
6
+ metadata.gz: 5adafe02f6f30b03091740be06208cc81a90b5a2141c0c5dc25c5c84c8a0922d76dcfc8fbdd1dc312131f769755091d15c946e55364202be939532537a4999a4
7
+ data.tar.gz: 51f8abaf88c501707cf66f6623229ae68f03352fe3f15317bc40e69558e9bd9342ae9f783b48e38c1681e0778dd18c0088bf5e61b0c6b36d2d7d48a48e0ef50d
@@ -27,7 +27,7 @@ module Fudge
27
27
  end
28
28
 
29
29
  def check_regex
30
- /\| Security Warnings \| (?<score>\d+) /
30
+ /\|?\s?Security Warnings\:?\s?\|?\s?(?<score>\d+)/
31
31
  end
32
32
 
33
33
  def brakeman_checker(matches)
@@ -1,4 +1,4 @@
1
1
  module Fudge
2
2
  # Define gem version
3
- VERSION = '0.6.3'
3
+ VERSION = '0.6.4'
4
4
  end
@@ -36,6 +36,16 @@ Model Warnings:
36
36
  | Weak | Address | Mass Assignment | Potentially dangerous attribute via_type_id available for mass assignment. |
37
37
  +------------+---------+-----------------+----------------------------------------------------------------------------+
38
38
 
39
+ EOF
40
+ end
41
+
42
+ let(:output_good_new) do
43
+ <<-EOF
44
+ Controllers: 3
45
+ Models: 0
46
+ Templates: 30
47
+ Errors: 0
48
+ Security Warnings: 0
39
49
  EOF
40
50
  end
41
51
 
@@ -46,6 +56,7 @@ EOF
46
56
 
47
57
  it { is_expected.not_to succeed_with_output output_bad }
48
58
  it { is_expected.to succeed_with_output output_good }
59
+ it { is_expected.to succeed_with_output output_good_new }
49
60
 
50
61
  context 'when :max score is supplied' do
51
62
  it 'fails when score is higher than max' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fudge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sage One team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-27 00:00:00.000000000 Z
11
+ date: 2019-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -352,39 +352,37 @@ required_rubygems_version: !ruby/object:Gem::Requirement
352
352
  - !ruby/object:Gem::Version
353
353
  version: '0'
354
354
  requirements: []
355
- rubyforge_project:
356
- rubygems_version: 2.5.1
355
+ rubygems_version: 3.0.3
357
356
  signing_key:
358
357
  specification_version: 4
359
358
  summary: Fudge CI Server
360
359
  test_files:
361
- - spec/lib/fudge/build_spec.rb
362
- - spec/lib/fudge/cli_spec.rb
363
- - spec/lib/fudge/description_spec.rb
360
+ - spec/spec_helper.rb
361
+ - spec/support/dummy_task.rb
362
+ - spec/support/output.rb
363
+ - spec/support/tmpdir.rb
364
+ - spec/lib/fudge/with_directory_spec.rb
364
365
  - spec/lib/fudge/exceptions_spec.rb
365
- - spec/lib/fudge/formatters/simple_spec.rb
366
- - spec/lib/fudge/output_checker_spec.rb
367
- - spec/lib/fudge/parser_spec.rb
368
- - spec/lib/fudge/runner_spec.rb
366
+ - spec/lib/fudge/tasks/rspec_spec.rb
367
+ - spec/lib/fudge/tasks/flog_spec.rb
368
+ - spec/lib/fudge/tasks/yard_spec.rb
369
+ - spec/lib/fudge/tasks/in_directory_spec.rb
369
370
  - spec/lib/fudge/tasks/brakeman_spec.rb
370
- - spec/lib/fudge/tasks/bundler_spec.rb
371
- - spec/lib/fudge/tasks/cane_spec.rb
372
- - spec/lib/fudge/tasks/composite_task_spec.rb
373
- - spec/lib/fudge/tasks/cucumber_spec.rb
374
371
  - spec/lib/fudge/tasks/each_directory_spec.rb
375
372
  - spec/lib/fudge/tasks/flay_spec.rb
376
- - spec/lib/fudge/tasks/flog_spec.rb
377
- - spec/lib/fudge/tasks/in_directory_spec.rb
378
- - spec/lib/fudge/tasks/rake_spec.rb
379
- - spec/lib/fudge/tasks/rspec_spec.rb
380
- - spec/lib/fudge/tasks/shell_spec.rb
381
373
  - spec/lib/fudge/tasks/sub_process_spec.rb
374
+ - spec/lib/fudge/tasks/shell_spec.rb
375
+ - spec/lib/fudge/tasks/composite_task_spec.rb
382
376
  - spec/lib/fudge/tasks/task_spec.rb
383
- - spec/lib/fudge/tasks/yard_spec.rb
377
+ - spec/lib/fudge/tasks/bundler_spec.rb
378
+ - spec/lib/fudge/tasks/rake_spec.rb
379
+ - spec/lib/fudge/tasks/cucumber_spec.rb
380
+ - spec/lib/fudge/tasks/cane_spec.rb
381
+ - spec/lib/fudge/description_spec.rb
382
+ - spec/lib/fudge/build_spec.rb
383
+ - spec/lib/fudge/cli_spec.rb
384
+ - spec/lib/fudge/parser_spec.rb
384
385
  - spec/lib/fudge/tasks_spec.rb
385
- - spec/lib/fudge/with_directory_spec.rb
386
- - spec/spec_helper.rb
387
- - spec/support/dummy_task.rb
388
- - spec/support/output.rb
389
- - spec/support/tmpdir.rb
390
- has_rdoc:
386
+ - spec/lib/fudge/runner_spec.rb
387
+ - spec/lib/fudge/formatters/simple_spec.rb
388
+ - spec/lib/fudge/output_checker_spec.rb