danger-checkstyle_formatter 0.0.2 → 0.0.3

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
  SHA256:
3
- metadata.gz: 313c129a86402d906ec66558913984510f2ee2383f10f953cf49329605f9a28d
4
- data.tar.gz: 40c72d863de1a76f9966fb40cba03a6d3db8632496c1fd80aaed479d70617c0c
3
+ metadata.gz: 8d66f1fe791fd0829f59138138f0c1df0a793f5f48f8c014bd2333b6738db5d7
4
+ data.tar.gz: 03addf7be6183d6b1b980912bb444b1b68600f50aa719a99de6b3d435c1fceaa
5
5
  SHA512:
6
- metadata.gz: 573f0b33bbdd9426d6dacc97909bc4fa829ae11bd487c416ace88ee91baf662b073471326d09ea00f224a0730570f68e72d787134fafe8770c8beae209669f38
7
- data.tar.gz: 2cb06bef03beeb8085b9fa22533e0ae4664dedd42b4eb0bd35385545e24f154d39ce6f841ce5f293734cf1aa7e1aab3fca938948dbb9a72ea5c9dbdc36965e38
6
+ metadata.gz: 20433573b339fb955742efeb5b0034fe526be427a4541da37a08a8a7aa613f2daf1f033f2dde78d956a0202996744fac75454c4c6e3a15b7c18048a1048f0882
7
+ data.tar.gz: fd501df6d9dff8e6180a7f3d72e486f9def6a12e3f8661eea5583c65ced84ebbb317e48447f3ad501067f05b7098e34fc9aefedb3d92f3afea65b58df7aa0f6d
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-checkstyle_formatter (0.0.2)
4
+ danger-checkstyle_formatter (0.0.3)
5
5
  danger-plugin-api (~> 1.0)
6
6
  ox (~> 2.0)
7
7
 
@@ -1,3 +1,3 @@
1
1
  module CheckstyleFormatter
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -75,6 +75,9 @@ module Danger
75
75
  errors.each do |error|
76
76
  warn(error.message, file: error.file_name, line: error.line)
77
77
  end
78
+ if errors.size > 0
79
+ fail("Fix code convention problems")
80
+ end
78
81
  end
79
82
  end
80
83
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger-checkstyle_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - noboru-i