jazzy 0.9.6 → 0.12.0

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
  SHA256:
3
- metadata.gz: 7723d71fdd04817497ff84b517c5d413b43857f56167f3fc96a6de3e082e9cf3
4
- data.tar.gz: e9c0a9283b79b76ecaece6ed35d3d323ffafb370d228f4fcc3e00c81876a6fac
3
+ metadata.gz: b8b0a6f32e8d7182725eafedb4ec488e382de192af903fb42ee9d7cd3c7396c3
4
+ data.tar.gz: 1b2dbf01dae14692d0a04a1912f71d98cc44d2397fe81280df0d072089b3ad4b
5
5
  SHA512:
6
- metadata.gz: d3d6685a6ca5b1eea07b0775bd0368f4f259e0325fb68f08a24d9ac1d8855b9759feeaad387d34fbd7201cfb61c031f31723fbe3fa65a236fffb01ac422fbb99
7
- data.tar.gz: cc8b9d21b5876440a0a2858791a5e516f550d805b22b41def851921814ff96748880bfab5d613f22297d7570fdb6bd82462eac3597defff8f4464a6b93835164
6
+ metadata.gz: 04ef74edf753cb424bfe2b9f8bdc7860b3d9072e91a5be60a7db38981d705cc595286a33d805482129746b4ee6626ef5852cbbf13e428d0e0f7fcd99310adf14
7
+ data.tar.gz: 8b038aaabd0516983b87d80841e1dc490b35e6493cae241193d07b09c946f8f47dd0b7b84bd20300fd382d522ad6ca3104fb2478c9eb6ab764afb5a6840014b4
data/.circleci/config.yml CHANGED
@@ -12,25 +12,16 @@ aliases:
12
12
  BUNDLE_RETRY: 3
13
13
  BUNDLE_PATH: vendor/bundle
14
14
 
15
- - &shell
16
- /bin/bash --login -eo pipefail
17
-
18
- - &set-ruby-version
19
- echo "ruby-2.4" > ~/.ruby-version
20
-
21
15
  version: 2
22
16
  jobs:
23
17
 
24
18
  swift:
25
19
  macos:
26
- xcode: "10.2.0"
20
+ xcode: "11.2.0"
27
21
  environment: *bundler-environment
28
- # Used to invoke chruby
29
- shell: *shell
30
22
  steps:
31
23
  - checkout
32
24
  - restore_cache: *restore-mac-bundler-cache
33
- - run: *set-ruby-version
34
25
  - run: bundle install
35
26
  - run: git submodule update --init --recursive
36
27
  - run: bundle exec rake swift_spec
@@ -38,14 +29,11 @@ jobs:
38
29
 
39
30
  objc:
40
31
  macos:
41
- xcode: "10.2.0"
32
+ xcode: "11.2.0"
42
33
  environment: *bundler-environment
43
- # Used to invoke chruby
44
- shell: *shell
45
34
  steps:
46
35
  - checkout
47
36
  - restore_cache: *restore-mac-bundler-cache
48
- - run: *set-ruby-version
49
37
  - run: bundle install
50
38
  - run: git submodule update --init --recursive
51
39
  - run: bundle exec rake objc_spec
@@ -53,16 +41,13 @@ jobs:
53
41
 
54
42
  cocoapods:
55
43
  macos:
56
- xcode: "10.2.0"
44
+ xcode: "11.2.0"
57
45
  environment: *bundler-environment
58
- # Used to invoke chruby
59
- shell: *shell
60
46
  steps:
61
47
  - checkout
62
48
  - restore_cache:
63
49
  key: cocoapods
64
50
  - restore_cache: *restore-mac-bundler-cache
65
- - run: *set-ruby-version
66
51
  - run: bundle install
67
52
  - run: git submodule update --init --recursive
68
53
  - run: bundle exec rake cocoapods_spec
@@ -76,8 +61,6 @@ jobs:
76
61
  docker:
77
62
  - image: circleci/ruby:2.4-node
78
63
  environment: *bundler-environment
79
- # Used to invoke chruby
80
- shell: *shell
81
64
  steps:
82
65
  - checkout
83
66
  - restore_cache:
data/CHANGELOG.md CHANGED
@@ -1,3 +1,153 @@
1
+ ## 0.12.0
2
+
3
+ ##### Breaking
4
+
5
+ * None.
6
+
7
+ ##### Enhancements
8
+
9
+ * Support for mixed Swift-ObjC modules: generate two sets of SourceKitten
10
+ json and pass them on using `--sourcekitten-sourcefile`.
11
+ [Joe Susnick](https://github.com/joesus)
12
+ [John Fairhurst](https://github.com/johnfairh)
13
+ [#447](https://github.com/realm/jazzy/issues/447)
14
+
15
+ ##### Bug Fixes
16
+
17
+ * Stop displaying type attributes on extension declarations.
18
+ [John Fairhurst](https://github.com/johnfairh)
19
+
20
+ * Show ObjC and Swift classes (etc.) in the same category.
21
+ [John Fairhurst](https://github.com/johnfairh)
22
+
23
+ * Merge Swift extensions into ObjC classes.
24
+ [John Fairhurst](https://github.com/johnfairh)
25
+ [Joe Susnick](https://github.com/joesus)
26
+
27
+ ## 0.11.2
28
+
29
+ ##### Breaking
30
+
31
+ * None.
32
+
33
+ ##### Enhancements
34
+
35
+ * None.
36
+
37
+ ##### Bug Fixes
38
+
39
+ * Generate Swift docs with Xcode 11 and paths with spaces.
40
+ [John Fairhurst](https://github.com/johnfairh)
41
+ [#1108](https://github.com/realm/jazzy/issues/1108)
42
+
43
+ * Reinstate guessing of module name from podspec, broken in 0.11.0.
44
+ [John Fairhurst](https://github.com/johnfairh)
45
+ [#1109](https://github.com/realm/jazzy/issues/1109)
46
+
47
+ ## 0.11.1
48
+
49
+ ##### Breaking
50
+
51
+ * None.
52
+
53
+ ##### Enhancements
54
+
55
+ * None.
56
+
57
+ ##### Bug Fixes
58
+
59
+ * Don't use SwiftPM if there is an Xcode workspace or project in a non-root
60
+ directory.
61
+ [John Fairhurst](https://github.com/johnfairh)
62
+ [#1103](https://github.com/realm/jazzy/issues/1103)
63
+
64
+ ## 0.11.0
65
+
66
+ ##### Breaking
67
+
68
+ * None.
69
+
70
+ ##### Enhancements
71
+
72
+ * Sass support now provided by `libsass` via `sassc` instead of the
73
+ deprecated Ruby Sass gem.
74
+ [John Fairhurst](https://github.com/johnfairh)
75
+
76
+ * Update bundled jQuery to 3.4.1 (all themes).
77
+ [Paul Idstein](https://github.com/idstein)
78
+
79
+ * Support Xcode 11 Swift projects that pass a response file to the Swift
80
+ compiler.
81
+ [John Fairhurst](https://github.com/johnfairh)
82
+ [#1087](https://github.com/realm/jazzy/issues/1087)
83
+
84
+ * Generate Swift docs from a Swift Package Manager package without
85
+ requiring an Xcode project file. Add `--swift-build-tool` to choose
86
+ the build method if both `.xcodeproj` and `Package.swift` files are
87
+ present. Add `--build-tool-flags` as a preferred alias for
88
+ `--xcodebuild-flags`.
89
+ [John Fairhurst](https://github.com/johnfairh)
90
+ [#487](https://github.com/realm/jazzy/issues/487)
91
+
92
+ ##### Bug Fixes
93
+
94
+ * Preserve non-latin characters in guide filenames and heading IDs.
95
+ [John Fairhurst](https://github.com/johnfairh)
96
+ [#1091](https://github.com/realm/jazzy/issues/1091)
97
+
98
+ * Generate correct html for custom categories containing special
99
+ characters.
100
+ [John Fairhurst](https://github.com/johnfairh)
101
+ [#945](https://github.com/realm/jazzy/issues/945)
102
+
103
+ * Fix crash on files with misplaced documentation comments.
104
+ [John Fairhurst](https://github.com/johnfairh)
105
+ [#1083](https://github.com/realm/jazzy/issues/1083)
106
+
107
+ ## 0.10.0
108
+
109
+ ##### Breaking
110
+
111
+ * The included `sourcekitten` binary is built with Xcode 10.2. This means
112
+ it does not run on macOS earlier than 10.14.4 without the *Swift 5 Runtime
113
+ Support for Command Line Tools* being installed.
114
+ [John Fairhurst](https://github.com/johnfairh)
115
+
116
+ ##### Enhancements
117
+
118
+ * Support CocoaPods 1.6+. Use the `swift_version[s]` dsl in `--podspec` mode
119
+ to set the Swift language version.
120
+ [John Fairhurst](https://github.com/johnfairh)
121
+
122
+ * Show the extension declaration when documenting Swift extensions.
123
+ [John Fairhurst](https://github.com/johnfairh)
124
+
125
+ * Allow docs title customization. Include `--module-version` when it is set
126
+ and support `--title` to fully customize the title. Pass `{{module_version}}`
127
+ and `{{docs_title}}` to templates.
128
+ [Maximilian Alexander](https://github.com/mbalex99)
129
+ [John Fairhurst](https://github.com/johnfairh)
130
+ [#666](https://github.com/realm/jazzy/issues/666)
131
+ [#411](https://github.com/realm/jazzy/issues/411)
132
+
133
+ ##### Bug Fixes
134
+
135
+ * Unfold member documentation when linked to from current web page.
136
+ [John Fairhurst](https://github.com/johnfairh)
137
+ [#788](https://github.com/realm/jazzy/issues/788)
138
+
139
+ * Generate docs when there are unusual characters in source pathnames.
140
+ [John Fairhurst](https://github.com/johnfairh)
141
+ [#1049](https://github.com/realm/jazzy/issues/1049)
142
+
143
+ * Generate docs for signed modules with Xcode 10.2.
144
+ [John Fairhurst](https://github.com/johnfairh)
145
+ [#1057](https://github.com/realm/jazzy/issues/1057)
146
+
147
+ * Use correct module name when only target name is supplied.
148
+ [Chris Zielinski](https://github.com/chriszielinski)
149
+ [#422](https://github.com/realm/jazzy/issues/422)
150
+
1
151
  ## 0.9.6
2
152
 
3
153
  This is (probably) the last release to support Ruby earlier than 2.3.
data/CONTRIBUTING.md CHANGED
@@ -49,7 +49,7 @@ git push
49
49
  You'll need push access to the integration specs repo to do this. You can
50
50
  request access from one of the maintainers when filing your PR.
51
51
 
52
- You must have Xcode 10.2 installed to build the integration specs.
52
+ You must have Xcode 11.2 installed to build the integration specs.
53
53
 
54
54
  ## Making changes to SourceKitten
55
55
 
data/Gemfile.lock CHANGED
@@ -1,31 +1,34 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jazzy (0.9.6)
5
- cocoapods (~> 1.5.3)
6
- mustache (~> 1.1.0)
4
+ jazzy (0.12.0)
5
+ cocoapods (~> 1.5)
6
+ mustache (~> 1.1)
7
7
  open4
8
- redcarpet (~> 3.4.0)
8
+ redcarpet (~> 3.4)
9
9
  rouge (>= 2.0.6, < 4.0)
10
- sass (~> 3.6.0)
11
- sqlite3 (~> 1.3.13)
10
+ sassc (~> 2.1)
11
+ sqlite3 (~> 1.3)
12
12
  xcinvoke (~> 0.3.0)
13
13
 
14
14
  GEM
15
15
  remote: https://rubygems.org/
16
16
  specs:
17
- CFPropertyList (3.0.0)
17
+ CFPropertyList (3.0.1)
18
18
  activesupport (4.2.11.1)
19
19
  i18n (~> 0.7)
20
20
  minitest (~> 5.1)
21
21
  thread_safe (~> 0.3, >= 0.3.4)
22
22
  tzinfo (~> 1.1)
23
- addressable (2.5.2)
24
- public_suffix (>= 2.0.2, < 4.0)
23
+ addressable (2.7.0)
24
+ public_suffix (>= 2.0.2, < 5.0)
25
+ algoliasearch (1.27.1)
26
+ httpclient (~> 2.8, >= 2.8.3)
27
+ json (>= 1.5.1)
25
28
  ast (2.4.0)
26
29
  atomos (0.1.3)
27
30
  bacon (1.2.0)
28
- claide (1.0.2)
31
+ claide (1.0.3)
29
32
  claide-plugins (0.9.2)
30
33
  cork
31
34
  nap
@@ -33,27 +36,29 @@ GEM
33
36
  clintegracon (0.7.0)
34
37
  colored (~> 1.2)
35
38
  diffy
36
- cocoapods (1.5.3)
39
+ cocoapods (1.8.4)
37
40
  activesupport (>= 4.0.2, < 5)
38
41
  claide (>= 1.0.2, < 2.0)
39
- cocoapods-core (= 1.5.3)
40
- cocoapods-deintegrate (>= 1.0.2, < 2.0)
41
- cocoapods-downloader (>= 1.2.0, < 2.0)
42
+ cocoapods-core (= 1.8.4)
43
+ cocoapods-deintegrate (>= 1.0.3, < 2.0)
44
+ cocoapods-downloader (>= 1.2.2, < 2.0)
42
45
  cocoapods-plugins (>= 1.0.0, < 2.0)
43
46
  cocoapods-search (>= 1.0.0, < 2.0)
44
47
  cocoapods-stats (>= 1.0.0, < 2.0)
45
- cocoapods-trunk (>= 1.3.0, < 2.0)
48
+ cocoapods-trunk (>= 1.4.0, < 2.0)
46
49
  cocoapods-try (>= 1.1.0, < 2.0)
47
50
  colored2 (~> 3.1)
48
51
  escape (~> 0.0.4)
49
- fourflusher (~> 2.0.1)
52
+ fourflusher (>= 2.3.0, < 3.0)
50
53
  gh_inspector (~> 1.0)
51
- molinillo (~> 0.6.5)
54
+ molinillo (~> 0.6.6)
52
55
  nap (~> 1.0)
53
- ruby-macho (~> 1.1)
54
- xcodeproj (>= 1.5.7, < 2.0)
55
- cocoapods-core (1.5.3)
56
+ ruby-macho (~> 1.4)
57
+ xcodeproj (>= 1.11.1, < 2.0)
58
+ cocoapods-core (1.8.4)
56
59
  activesupport (>= 4.0.2, < 6)
60
+ algoliasearch (~> 1.0)
61
+ concurrent-ruby (~> 1.1)
57
62
  fuzzy_match (~> 2.0.4)
58
63
  nap (~> 1.0)
59
64
  cocoapods-deintegrate (1.0.4)
@@ -62,7 +67,7 @@ GEM
62
67
  nap
63
68
  cocoapods-search (1.0.0)
64
69
  cocoapods-stats (1.1.0)
65
- cocoapods-trunk (1.3.1)
70
+ cocoapods-trunk (1.4.1)
66
71
  nap (>= 0.8, < 2.0)
67
72
  netrc (~> 0.11)
68
73
  cocoapods-try (1.1.0)
@@ -73,13 +78,13 @@ GEM
73
78
  colored2 (~> 3.1)
74
79
  crack (0.4.3)
75
80
  safe_yaml (~> 1.0.0)
76
- danger (6.0.2)
81
+ danger (6.1.0)
77
82
  claide (~> 1.0)
78
83
  claide-plugins (>= 0.9.2)
79
84
  colored2 (~> 3.1)
80
85
  cork (~> 0.1)
81
86
  faraday (~> 0.9)
82
- faraday-http-cache (~> 1.0)
87
+ faraday-http-cache (~> 2.0)
83
88
  git (~> 1.5)
84
89
  kramdown (~> 2.0)
85
90
  kramdown-parser-gfm (~> 1.0)
@@ -88,30 +93,32 @@ GEM
88
93
  terminal-table (~> 1)
89
94
  diffy (3.3.0)
90
95
  escape (0.0.4)
91
- faraday (0.15.4)
96
+ faraday (0.17.0)
92
97
  multipart-post (>= 1.2, < 3)
93
- faraday-http-cache (1.3.1)
98
+ faraday-http-cache (2.0.0)
94
99
  faraday (~> 0.8)
95
- ffi (1.10.0)
96
- fourflusher (2.0.1)
100
+ ffi (1.11.1)
101
+ fourflusher (2.3.1)
97
102
  fuzzy_match (2.0.4)
98
103
  gh_inspector (1.1.3)
99
104
  git (1.5.0)
100
- hashdiff (0.3.8)
105
+ hashdiff (1.0.0)
106
+ httpclient (2.8.3)
101
107
  i18n (0.9.5)
102
108
  concurrent-ruby (~> 1.0)
109
+ json (2.2.0)
103
110
  kramdown (2.1.0)
104
- kramdown-parser-gfm (1.0.1)
111
+ kramdown-parser-gfm (1.1.0)
105
112
  kramdown (~> 2.0)
106
113
  liferaft (0.0.6)
107
114
  metaclass (0.0.4)
108
- minitest (5.11.3)
109
- mocha (1.8.0)
115
+ minitest (5.13.0)
116
+ mocha (1.9.0)
110
117
  metaclass (~> 0.0.1)
111
118
  mocha-on-bacon (0.2.3)
112
119
  mocha (>= 0.13.0)
113
120
  molinillo (0.6.6)
114
- multipart-post (2.0.0)
121
+ multipart-post (2.1.1)
115
122
  mustache (1.1.0)
116
123
  nanaimo (0.2.6)
117
124
  nap (1.1.0)
@@ -120,21 +127,18 @@ GEM
120
127
  octokit (4.14.0)
121
128
  sawyer (~> 0.8.0, >= 0.5.3)
122
129
  open4 (1.3.4)
123
- parallel (1.17.0)
124
- parser (2.6.2.0)
130
+ parallel (1.18.0)
131
+ parser (2.6.5.0)
125
132
  ast (~> 2.4.0)
126
133
  powerpack (0.1.2)
127
134
  prettybacon (0.0.2)
128
135
  bacon (~> 1.2)
129
- public_suffix (3.0.3)
136
+ public_suffix (4.0.1)
130
137
  rainbow (2.2.2)
131
138
  rake
132
139
  rake (10.5.0)
133
- rb-fsevent (0.10.3)
134
- rb-inotify (0.10.0)
135
- ffi (~> 1.0)
136
- redcarpet (3.4.0)
137
- rouge (3.3.0)
140
+ redcarpet (3.5.0)
141
+ rouge (3.12.0)
138
142
  rubocop (0.49.0)
139
143
  parallel (~> 1.10)
140
144
  parser (>= 2.3.3.1, < 3.0)
@@ -143,30 +147,27 @@ GEM
143
147
  ruby-progressbar (~> 1.7)
144
148
  unicode-display_width (~> 1.0, >= 1.0.1)
145
149
  ruby-macho (1.4.0)
146
- ruby-progressbar (1.10.0)
150
+ ruby-progressbar (1.10.1)
147
151
  safe_yaml (1.0.5)
148
- sass (3.6.0)
149
- sass-listen (~> 4.0.0)
150
- sass-listen (4.0.0)
151
- rb-fsevent (~> 0.9, >= 0.9.4)
152
- rb-inotify (~> 0.9, >= 0.9.7)
153
- sawyer (0.8.1)
154
- addressable (>= 2.3.5, < 2.6)
155
- faraday (~> 0.8, < 1.0)
156
- sqlite3 (1.3.13)
152
+ sassc (2.2.1)
153
+ ffi (~> 1.9)
154
+ sawyer (0.8.2)
155
+ addressable (>= 2.3.5)
156
+ faraday (> 0.8, < 2.0)
157
+ sqlite3 (1.4.1)
157
158
  terminal-table (1.8.0)
158
159
  unicode-display_width (~> 1.1, >= 1.1.1)
159
160
  thread_safe (0.3.6)
160
161
  tzinfo (1.2.5)
161
162
  thread_safe (~> 0.1)
162
- unicode-display_width (1.5.0)
163
- webmock (3.5.1)
163
+ unicode-display_width (1.6.0)
164
+ webmock (3.7.6)
164
165
  addressable (>= 2.3.6)
165
166
  crack (>= 0.3.2)
166
- hashdiff
167
+ hashdiff (>= 0.4.0, < 2.0.0)
167
168
  xcinvoke (0.3.0)
168
169
  liferaft (~> 0.0.6)
169
- xcodeproj (1.8.2)
170
+ xcodeproj (1.13.0)
170
171
  CFPropertyList (>= 2.3.3, < 4.0)
171
172
  atomos (~> 0.1.3)
172
173
  claide (>= 1.0.2, < 2.0)