xcpretty-yandex-money-formatter 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25f81a4972b09184d07fc02535d93c605cfbbf65
4
- data.tar.gz: 50399c48db7bbf42126aca16c7170c3b3d585411
3
+ metadata.gz: b5050266fb38fd32129f6297edc8ace292edf345
4
+ data.tar.gz: '038a6e3293d1b3cdfadcec23add4d7913a96af58'
5
5
  SHA512:
6
- metadata.gz: e7026f4603a2ab0ec6eea8ae9df703e1c739f7b90b34a499c75bc36c353530b2cc3d6270c13e8854d929b721ac1874e1e722035b30564c3b5087df463add243d
7
- data.tar.gz: 7fc97fa532a378d2d66a2f78d96358f8f3192017ae22711f4a9d82a48f2abe76346489b0355d47a1d9840cbeb3c9468e8297f128580aa0458d46948a0fba4fb2
6
+ metadata.gz: c38fa7d9056da19d318c4e190e6bece54c1f8b37503d4a6d8ba9040067da07868262cacc7f1e52bcee4c253ea2ee86a3739c86a928fc8b2d63ba0b6d2feeef6d
7
+ data.tar.gz: 94d29da73d52faf76b85278f56cf1abc310fcf0e3bfbc3f133c3304bbb81e99dd1456da27690c3f7bddb98ec955c50cfa1f4d8e7ea19002f10fce94ef732bac5
@@ -60,24 +60,19 @@ class TeamCityFormatter < XCPretty::Simple
60
60
  # @param [Bool] warning
61
61
  # @return [String]
62
62
  def compile_error(message, unformatted_details, warning = false)
63
- status = if warning
64
- 'WARNING'
65
- else
66
- 'ERROR'
67
- end
63
+ status = warning ? 'WARNING' : 'ERROR'
68
64
  str = "##teamcity[message text='#{message}' "
69
65
  unless warning
70
66
  error_details = format_error_details(unformatted_details)
71
67
  str += "errorDetails='#{error_details}' "
72
68
  end
73
- str += "status='#{status}']\n"
74
- str
69
+ str + "status='#{status}']\n"
75
70
  end
76
71
 
77
72
  # @param [Bool] finished
78
73
  # @return [String]
79
74
  def compile_group(finished)
80
- command = finished ? 'compilationStarted' : 'compilationFinished'
75
+ command = finished ? 'compilationFinished' : 'compilationStarted'
81
76
  "##teamcity[#{command} compiler='xcodebuild']"
82
77
  end
83
78
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcpretty-yandex-money-formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alxander Zalutskiy