xcactivitylog 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -0
- data/VERSION +1 -1
- data/lib/xcactivitylog/objects.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0941e9747f9f3d7a0084d056e888b5cc81d99387de1e57ff4d388dd4bcc85d74'
|
4
|
+
data.tar.gz: ea4dcc96f4ffc78b07e188a3b58d5469c4a74f7277bdcd087ce7b9101c8023ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29d2b99572f5f8701d42e1ca0299bfefcf57da06118587ad3f09c86be44a812c7c22069d204308584c8f854cad230275ce5a872d3ca4fe1b678c917ccc457b6c
|
7
|
+
data.tar.gz: 8d6a3b9b96c23729dacc2aceb35d868223307b63efc0412a1f8f029532723e51566073d1b81e1e90fe6497c21ee02bac90e907defc9c0a409ac7c9e87cce3282
|
data/README.md
CHANGED
@@ -36,6 +36,14 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
36
36
|
|
37
37
|
Bug reports and pull requests are welcome on GitHub at https://github.com/segiddins/xcactivitylog. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
38
38
|
|
39
|
+
## New Xcode versions
|
40
|
+
|
41
|
+
As new versions of Xcode come out it might be necessary to handle new private API, the parser will fail and the name of the unhandled class can be found in the error message as `#<NameError: uninitialized constant <CLASS_NAME>`.
|
42
|
+
|
43
|
+
One way to fix it is to create a dummy project using the new Xcode version and generate a `.xcactivitylog` that allows one to reproduce the same error, the logs can be found in Xcode's `DerivedData` folder (`~/Library/Developer/Xcode/DerivedData/{UUID}/Logs/Build`). Manually parse the `.xcactivitylog` file, check the `version` at the top and then for `version = X` create a folder `spec/fixtures/xcactivitylog/vX` and puth the `.xcactivitylog` in there.
|
44
|
+
|
45
|
+
Now `rake spec` will try to parse the new log file and it should fail with the same exception above. Make the necessary code changes to handle the new class (it might help to check for class dumps like these [here](https://github.com/segiddins/Xcode-RuntimeHeaders)). Once the proper changes are in `rake spec` should go green.
|
46
|
+
|
39
47
|
## License
|
40
48
|
|
41
49
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
@@ -259,6 +259,10 @@ module XCActivityLog
|
|
259
259
|
attributes.freeze
|
260
260
|
end
|
261
261
|
|
262
|
+
class IDEDiagnosticActivityLogMessage < IDEActivityLogMessage
|
263
|
+
attributes.freeze
|
264
|
+
end
|
265
|
+
|
262
266
|
class IDEActivityLogAnalyzerControlFlowStepEdge < SerializedObject
|
263
267
|
attribute :start_location, :document_location
|
264
268
|
attribute :end_location, :document_location
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcactivitylog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Giddins
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|