xcpretty 0.1.11 → 0.1.12

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: 6059730a79aa8637f3e4125e42d048f480439450
4
- data.tar.gz: ed84469a746cef435bd094a967e5462d9f7c17ad
3
+ metadata.gz: 50d4c5f27b7b112781b1ba26d1d6d9b7ff7a9ae6
4
+ data.tar.gz: 5023aef0aa4f7f29673b50dd450018d2016a30ed
5
5
  SHA512:
6
- metadata.gz: 43cf2b910a3e9c0b59e4b28e6d16a297962ba8dc50e52c58beae023604970e5b9d9be8e58eeac6840e8d8532c41710e9e5b6869b0b192b4f01dfad9d118a9f6e
7
- data.tar.gz: c87cc661a69527f62b1e3aec2fc47fdc84f1fc0fbb4ac566239d01f50e35be2ba52a6d41587befe12f2020e9dd6bb903464fc633ae8fe22182e5a1243e41824b
6
+ metadata.gz: 12c10c7ae73f0c79a0e84f16ca2de00ba242b488cebed919a8ad1e681d374a70dfe0c55d8adfe50793d166a6b2a07725b2a625128c39d135f881ed2073895c48
7
+ data.tar.gz: 38446d8a0898c454bb6fb06f6035762827762f816546760f3379937a8424ac8ae2c491d92eb77942be4f654ff3d457f62490d79df3a04bfc5a812d1027e380b7
@@ -1,6 +1,15 @@
1
1
  # Changelog
2
2
 
3
- ## master
3
+ ## 0.1.12
4
+
5
+ ###### Bug fixes
6
+
7
+ * Fixed COMPILE_MATCHER to match all languages
8
+ | [Paul Cantrell](https://github.com/pcantrell)
9
+ | [#158](https://github.com/supermarin/xcpretty/pull/158)
10
+
11
+
12
+ ## 0.1.11
4
13
 
5
14
  ###### Enhancements
6
15
 
@@ -49,7 +49,7 @@ module XCPretty
49
49
  # @regex Captured groups
50
50
  # $1 file_path
51
51
  # $2 file_name (e.g. KWNull.m)
52
- COMPILE_MATCHER = /^CompileC\s.+?\s((?:\\.|[^ ])+\/((?:\\.|[^ ])+\.(?:m|mm|c|cc|cpp|cxx|swift)))\s.*/
52
+ COMPILE_MATCHER = /^Compile[\w]+\s.+?\s((?:\\.|[^ ])+\/((?:\\.|[^ ])+\.(?:m|mm|c|cc|cpp|cxx|swift)))\s.*/
53
53
 
54
54
  # @regex Captured groups
55
55
  # $1 compiler_command
@@ -1,3 +1,3 @@
1
1
  module XCPretty
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
@@ -59,6 +59,11 @@ CompileC /Users/musalj/Library/Developer/Xcode/DerivedData/Kiwi-guimpeiqlepzeaan
59
59
  setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/musalj/code/go/bin:/Users/musalj/.rbenv/shims:/Users/musalj/.rbenv/bin:/usr/local/share/npm/bin:/usr/local/bin:/Library/Python/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
60
60
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fmessage-length=178 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -std=c99 -fobjc-arc -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wmissing-prototypes -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=5.0 -iquote /Users/musalj/Library/Developer/Xcode/DerivedData/Kiwi-guimpeiqlepzeaankpygesetdzsx/Build/Intermediates/Kiwi.build/Debug-iphonesimulator/Kiwi.build/Kiwi-generated-files.hmap -I/Users/musalj/Library/Developer/Xcode/DerivedData/Kiwi-guimpeiqlepzeaankpygesetdzsx/Build/Intermediates/Kiwi.build/Debug-iphonesimulator/Kiwi.build/Kiwi-own-target-headers.hmap -I/Users/musalj/Library/Developer/Xcode/DerivedData/Kiwi-guimpeiqlepzeaankpygesetdzsx/Build/Intermediates/Kiwi.build/Debug-iphonesimulator/Kiwi.build/Kiwi-all-target-headers.hmap -iquote /Users/musalj/Library/Developer/Xcode/DerivedData/Kiwi-guimpeiqlepzeaankpygesetdzsx/Build/Intermediates/Kiwi.build/Debug-iphonesimulator/Kiwi.build/Kiwi-project-headers.hmap -I/Users/musalj/Library/Developer/Xcode/DerivedData/Kiwi-guimpeiqlepzeaankpygesetdzsx/Build/Products/Debug-iphonesimulator/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/musalj/Library/Developer/Xcode/DerivedData/Kiwi-guimpeiqlepzeaankpygesetdzsx/Build/Intermediates/Kiwi.build/Debug-iphonesimulator/Kiwi.build/DerivedSources/i386 -I/Users/musalj/Library/Developer/Xcode/DerivedData/Kiwi-guimpeiqlepzeaankpygesetdzsx/Build/Intermediates/Kiwi.build/Debug-iphonesimulator/Kiwi.build/DerivedSources -Wall -F/Users/musalj/Library/Developer/Xcode/DerivedData/Kiwi-guimpeiqlepzeaankpygesetdzsx/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -include /Users/musalj/code/OSS/Kiwi/Supporting\ Files/Kiwi-Prefix.pch -MMD -MT dependencies -MF /Users/musalj/Library/Developer/Xcode/DerivedData/Kiwi-guimpeiqlepzeaankpygesetdzsx/Build/Intermediates/Kiwi.build/Debug-iphonesimulator/Kiwi.build/Objects-normal/i386/KWNull.d --serialize-diagnostics /Users/musalj/Library/Developer/Xcode/DerivedData/Kiwi-guimpeiqlepzeaankpygesetdzsx/Build/Intermediates/Kiwi.build/Debug-iphonesimulator/Kiwi.build/Objects-normal/i386/KWNull.dia -c /Users/musalj/code/OSS/Kiwi/Classes/Core/KWNull.m -o /Users/musalj/Library/Developer/Xcode/DerivedData/Kiwi-guimpeiqlepzeaankpygesetdzsx/Build/Intermediates/Kiwi.build/Debug-iphonesimulator/Kiwi.build/Objects-normal/i386/KWNull.o
61
61
  )
62
+ SAMPLE_SWIFT_COMPILE = %Q(
63
+ CompileSwift normal arm64 /Users/paul/foo/bar/siesta/Source/Resource.swift
64
+ cd /Users/paul/foo/bar/siesta
65
+ /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/paul/foo/bar/siesta/Source/Networking-Alamofire.swift /Users/paul/foo/bar/siesta/Source/Networking.swift /Users/paul/foo/bar/siesta/Source/ARC+Siesta.swift /Users/paul/foo/bar/siesta/Source/DebugFormatting.swift /Users/paul/foo/bar/siesta/Source/Configuration.swift /Users/paul/foo/bar/siesta/Source/Networking-NSURLSession.swift /Users/paul/foo/bar/siesta/Source/Collection+Siesta.swift /Users/paul/foo/bar/siesta/Source/Logging.swift /Users/paul/foo/bar/siesta/Source/GCD+Siesta.swift /Users/paul/foo/bar/siesta/Source/Regex.swift /Users/paul/foo/bar/siesta/Source/ResourceObserver.swift /Users/paul/foo/bar/siesta/Source/Service.swift /Users/paul/foo/bar/siesta/Source/Request.swift /Users/paul/foo/bar/siesta/Source/NSURL+Siesta.swift /Users/paul/foo/bar/siesta/Source/ResourceStatusOverlay.swift /Users/paul/foo/bar/siesta/Source/WeakCache.swift -primary-file /Users/paul/foo/bar/siesta/Source/Resource.swift /Users/paul/foo/bar/siesta/Source/ResponseTransformer.swift /Users/paul/foo/bar/siesta/Source/RemoteImageView.swift /Users/paul/foo/bar/siesta/Source/Error.swift /Users/paul/foo/bar/siesta/Source/Entity.swift /Users/paul/foo/bar/siesta/Source/Siesta-ObjC.swift /Users/paul/foo/bar/siesta/Source/String+Siesta.swift /Users/paul/foo/bar/siesta/Source/PersistentCache.swift -target arm64-apple-ios8.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk -I /tmp/xcode-build/Release-iphoneos -F /tmp/xcode-build/Release-iphoneos -F /Users/paul/foo/bar/siesta/Carthage/Build/iOS -g -import-underlying-module -serialize-debugging-options -Xcc -I/tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/swift-overrides.hmap -Xcc -iquote -Xcc /tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/Siesta-generated-files.hmap -Xcc -I/tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/Siesta-own-target-headers.hmap -Xcc -I/tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/Siesta-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /tmp/xcode-build/Siesta.build/all-product-headers.yaml -Xcc -iquote -Xcc /tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/Siesta-project-headers.hmap -Xcc -I/tmp/xcode-build/Release-iphoneos/include -Xcc -I/tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/DerivedSources/arm64 -Xcc -I/tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/DerivedSources -Xcc -ivfsoverlay -Xcc /tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/paul/foo/bar/siesta -emit-module-doc-path /tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/Objects-normal/arm64/Resource~partial.swiftdoc -O -module-name Siesta -emit-module-path /tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/Objects-normal/arm64/Resource~partial.swiftmodule -serialize-diagnostics-path /tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/Objects-normal/arm64/Resource.dia -emit-dependencies-path /tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/Objects-normal/arm64/Resource.d -emit-reference-dependencies-path /tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/Objects-normal/arm64/Resource.swiftdeps -o /tmp/xcode-build/Siesta.build/Release-iphoneos/Siesta.build/Objects-normal/arm64/Resource.o -embed-bitcode-marker
66
+ )
62
67
  SAMPLE_PRECOMPILE = %Q(
63
68
  ProcessPCH /Users/musalj/Library/Developer/Xcode/DerivedData/ObjectiveRecord-gxwwuvyzqubnbfaesalfplrycxpe/Build/Intermediates/PrecompiledHeaders/Pods-CocoaLumberjack-prefix-aklsecopvqdctoeroyamrkgktpei/Pods-CocoaLumberjack-prefix.pch.pch Pods-CocoaLumberjack-prefix.pch normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
64
69
  cd /Users/musalj/code/OSS/ObjectiveRecord/Pods
@@ -90,8 +90,8 @@ module XCPretty
90
90
  end
91
91
 
92
92
  it 'parses compiling Swift source files' do
93
- @formatter.should receive(:format_compile).with("KWNull.swift", "Classes/Core/KWNull.swift")
94
- @parser.parse(SAMPLE_ANOTHER_COMPILE.sub('.m', '.swift'))
93
+ @formatter.should receive(:format_compile).with("Resource.swift", "/Users/paul/foo/bar/siesta/Source/Resource.swift")
94
+ @parser.parse(SAMPLE_SWIFT_COMPILE)
95
95
  end
96
96
 
97
97
  it "parses compiling C and C++ files" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcpretty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marin Usalj
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-13 00:00:00.000000000 Z
12
+ date: 2015-09-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  version: '0'
167
167
  requirements: []
168
168
  rubyforge_project:
169
- rubygems_version: 2.2.2
169
+ rubygems_version: 2.4.5.1
170
170
  signing_key:
171
171
  specification_version: 4
172
172
  summary: xcodebuild formatter done right