jazzy 0.1.6 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/Gemfile.lock +6 -6
  4. data/lib/jazzy/SourceKitten/Commandant.framework/Commandant +0 -0
  5. data/lib/jazzy/SourceKitten/Commandant.framework/Versions/A/Commandant +0 -0
  6. data/lib/jazzy/SourceKitten/Commandant.framework/Versions/A/Resources/Info.plist +5 -5
  7. data/lib/jazzy/SourceKitten/LlamaKit.framework/LlamaKit +0 -0
  8. data/lib/jazzy/SourceKitten/LlamaKit.framework/Versions/A/LlamaKit +0 -0
  9. data/lib/jazzy/SourceKitten/LlamaKit.framework/Versions/A/Resources/Info.plist +5 -5
  10. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/SourceKittenFramework +0 -0
  11. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SWXMLHash.framework/SWXMLHash +0 -0
  12. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SWXMLHash.framework/Versions/A/Resources/Info.plist +45 -0
  13. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SWXMLHash.framework/Versions/A/SWXMLHash +0 -0
  14. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/SwiftXPC +0 -0
  15. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Resources/Info.plist +6 -6
  16. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/SwiftXPC +0 -0
  17. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftCore.dylib +0 -0
  18. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftCoreGraphics.dylib +0 -0
  19. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftDarwin.dylib +0 -0
  20. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftDispatch.dylib +0 -0
  21. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftFoundation.dylib +0 -0
  22. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftObjectiveC.dylib +0 -0
  23. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftSecurity.dylib +0 -0
  24. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Resources/Info.plist +6 -6
  25. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/SourceKittenFramework +0 -0
  26. data/lib/jazzy/SourceKitten/sourcekitten +0 -0
  27. data/lib/jazzy/config.rb +4 -4
  28. data/lib/jazzy/gem_version.rb +1 -1
  29. data/lib/jazzy/source_declaration/access_control_level.rb +35 -7
  30. data/lib/jazzy/sourcekitten.rb +7 -10
  31. data/spec/sourcekitten_spec.rb +4 -4
  32. metadata +6 -16
  33. data/lib/jazzy/SourceKitten/Commandant.framework/Versions/A/Modules/Commandant.swiftmodule/x86_64.swiftdoc +0 -0
  34. data/lib/jazzy/SourceKitten/Commandant.framework/Versions/A/Modules/Commandant.swiftmodule/x86_64.swiftmodule +0 -0
  35. data/lib/jazzy/SourceKitten/Commandant.framework/Versions/A/Modules/module.modulemap +0 -10
  36. data/lib/jazzy/SourceKitten/LlamaKit.framework/Versions/A/Modules/LlamaKit.swiftmodule/x86_64.swiftdoc +0 -0
  37. data/lib/jazzy/SourceKitten/LlamaKit.framework/Versions/A/Modules/LlamaKit.swiftmodule/x86_64.swiftmodule +0 -0
  38. data/lib/jazzy/SourceKitten/LlamaKit.framework/Versions/A/Modules/module.modulemap +0 -10
  39. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Modules/SwiftXPC.swiftmodule/x86_64.swiftdoc +0 -0
  40. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Modules/SwiftXPC.swiftmodule/x86_64.swiftmodule +0 -0
  41. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Modules/module.modulemap +0 -10
  42. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Modules/SourceKittenFramework.swiftmodule/x86_64.swiftdoc +0 -0
  43. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Modules/SourceKittenFramework.swiftmodule/x86_64.swiftmodule +0 -0
  44. data/lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Modules/module.modulemap +0 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 09d414b695d4ec232442c0a94499bcdd09d47515
4
- data.tar.gz: ff16be25792b49620c85455868db698f9ec8450b
3
+ metadata.gz: d06338c65161e748c8e95e6fe8b9270101f5edc6
4
+ data.tar.gz: 7cc9150d00cb56fd6139df4b3ed0ecd8abe310bd
5
5
  SHA512:
6
- metadata.gz: 894ed2c1fd3096c0539ceb28d108c38efc47e0a4a656906b9c965af40bbb70cc200001301599f76b8ca04e96f2ced0456803f1d8321d2b1777f42bc870c69a8b
7
- data.tar.gz: 0073bb1231f1d7888ba68ef1a297d014736dd5b83375349ef0e165a5f790172b91465c2b78429c964be0260f3f1ecfbe1098ad73966c7f6470dc41b4d407a6a6
6
+ metadata.gz: 5de22817988a276354c66ad51274dd0f61e86f2ce8ae3020d4e85313d16d325ecc5e1f941bf846d42dc8819f2644aa213a5e80ab7b2cc69608f499d069e73fe5
7
+ data.tar.gz: 0f832259dadb561daeebeaf7967114b17e821a5021e04eb012db9a6ba46afbb12c5677bf41bc9a1843411ab70aee77d061dd41cea8f33c8690c88b8c7edd15fd
@@ -1,3 +1,28 @@
1
+ ## 0.2.0
2
+
3
+ ##### Breaking
4
+
5
+ * Jazzy now only supports projects using Swift 1.2.
6
+ [JP Simard](https://github.com/jpsim)
7
+ [#170](https://github.com/realm/jazzy/issues/170)
8
+
9
+ * Increase default minimum ACL to public.
10
+ [JP Simard](https://github.com/jpsim)
11
+ [#186](https://github.com/realm/jazzy/issues/186)
12
+
13
+ ##### Enhancements
14
+
15
+ * Use `key.accessibility` to determine ACL (value coming from SourceKit, which
16
+ is generally more accurate than parsing the declaration for an accessibility
17
+ keyword).
18
+ [JP Simard](https://github.com/jpsim)
19
+ [#185](https://github.com/realm/jazzy/issues/185)
20
+
21
+ ##### Bug Fixes
22
+
23
+ * None.
24
+
25
+
1
26
  ## 0.1.6
2
27
 
3
28
  ##### Breaking
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jazzy (0.1.6)
4
+ jazzy (0.2.0)
5
5
  cocoapods (~> 0.36.0.rc.1)
6
6
  mustache (~> 0.99)
7
7
  open4
@@ -28,10 +28,10 @@ GEM
28
28
  clintegracon (0.5.3)
29
29
  colored (~> 1.2)
30
30
  diffy
31
- cocoapods (0.36.3)
31
+ cocoapods (0.36.4)
32
32
  activesupport (>= 3.2.15)
33
33
  claide (~> 0.8.1)
34
- cocoapods-core (= 0.36.3)
34
+ cocoapods-core (= 0.36.4)
35
35
  cocoapods-downloader (~> 0.9.0)
36
36
  cocoapods-plugins (~> 0.4.1)
37
37
  cocoapods-trunk (~> 0.6.0)
@@ -42,7 +42,7 @@ GEM
42
42
  nap (~> 0.8)
43
43
  open4 (~> 1.3)
44
44
  xcodeproj (~> 0.23.1)
45
- cocoapods-core (0.36.3)
45
+ cocoapods-core (0.36.4)
46
46
  activesupport (>= 3.2.15)
47
47
  fuzzy_match (~> 2.0.4)
48
48
  nap (~> 0.8.0)
@@ -62,7 +62,7 @@ GEM
62
62
  i18n (0.7.0)
63
63
  json (1.8.2)
64
64
  metaclass (0.0.4)
65
- minitest (5.5.1)
65
+ minitest (5.6.0)
66
66
  mocha (1.1.0)
67
67
  metaclass (~> 0.0.1)
68
68
  mocha-on-bacon (0.2.2)
@@ -80,7 +80,7 @@ GEM
80
80
  bacon (~> 1.2)
81
81
  rainbow (2.0.0)
82
82
  rake (10.3.2)
83
- redcarpet (3.2.2)
83
+ redcarpet (3.2.3)
84
84
  rouge (1.8.0)
85
85
  rubocop (0.26.1)
86
86
  astrolabe (~> 1.3)
@@ -3,7 +3,7 @@
3
3
  <plist version="1.0">
4
4
  <dict>
5
5
  <key>BuildMachineOSBuild</key>
6
- <string>14C1514</string>
6
+ <string>14D136</string>
7
7
  <key>CFBundleDevelopmentRegion</key>
8
8
  <string>en</string>
9
9
  <key>CFBundleExecutable</key>
@@ -25,17 +25,17 @@
25
25
  <key>DTCompiler</key>
26
26
  <string>com.apple.compilers.llvm.clang.1_0</string>
27
27
  <key>DTPlatformBuild</key>
28
- <string>6C131e</string>
28
+ <string>6D1002</string>
29
29
  <key>DTPlatformVersion</key>
30
30
  <string>GM</string>
31
31
  <key>DTSDKBuild</key>
32
- <string>14A383</string>
32
+ <string>14D125</string>
33
33
  <key>DTSDKName</key>
34
34
  <string>macosx10.10</string>
35
35
  <key>DTXcode</key>
36
- <string>0620</string>
36
+ <string>0631</string>
37
37
  <key>DTXcodeBuild</key>
38
- <string>6C131e</string>
38
+ <string>6D1002</string>
39
39
  <key>NSHumanReadableCopyright</key>
40
40
  <string>Copyright © 2014 Carthage. All rights reserved.</string>
41
41
  </dict>
@@ -3,7 +3,7 @@
3
3
  <plist version="1.0">
4
4
  <dict>
5
5
  <key>BuildMachineOSBuild</key>
6
- <string>14C1514</string>
6
+ <string>14D136</string>
7
7
  <key>CFBundleDevelopmentRegion</key>
8
8
  <string>en</string>
9
9
  <key>CFBundleExecutable</key>
@@ -25,17 +25,17 @@
25
25
  <key>DTCompiler</key>
26
26
  <string>com.apple.compilers.llvm.clang.1_0</string>
27
27
  <key>DTPlatformBuild</key>
28
- <string>6C131e</string>
28
+ <string>6D1002</string>
29
29
  <key>DTPlatformVersion</key>
30
30
  <string>GM</string>
31
31
  <key>DTSDKBuild</key>
32
- <string>14A383</string>
32
+ <string>14D125</string>
33
33
  <key>DTSDKName</key>
34
34
  <string>macosx10.10</string>
35
35
  <key>DTXcode</key>
36
- <string>0620</string>
36
+ <string>0631</string>
37
37
  <key>DTXcodeBuild</key>
38
- <string>6C131e</string>
38
+ <string>6D1002</string>
39
39
  <key>NSHumanReadableCopyright</key>
40
40
  <string>Copyright © 2014 Rob Napier. All rights reserved.</string>
41
41
  <key>UIDeviceFamily</key>
@@ -0,0 +1,45 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>BuildMachineOSBuild</key>
6
+ <string>14D136</string>
7
+ <key>CFBundleDevelopmentRegion</key>
8
+ <string>en</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>SWXMLHash</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string>drmohundro.SWXMLHash</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>SWXMLHash</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>FMWK</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>1.0</string>
21
+ <key>CFBundleSignature</key>
22
+ <string>????</string>
23
+ <key>CFBundleVersion</key>
24
+ <string>1</string>
25
+ <key>DTCompiler</key>
26
+ <string>com.apple.compilers.llvm.clang.1_0</string>
27
+ <key>DTPlatformBuild</key>
28
+ <string>6D1002</string>
29
+ <key>DTPlatformVersion</key>
30
+ <string>GM</string>
31
+ <key>DTSDKBuild</key>
32
+ <string>14D125</string>
33
+ <key>DTSDKName</key>
34
+ <string>macosx10.10</string>
35
+ <key>DTXcode</key>
36
+ <string>0631</string>
37
+ <key>DTXcodeBuild</key>
38
+ <string>6D1002</string>
39
+ <key>UIDeviceFamily</key>
40
+ <array>
41
+ <integer>1</integer>
42
+ <integer>2</integer>
43
+ </array>
44
+ </dict>
45
+ </plist>
@@ -3,7 +3,7 @@
3
3
  <plist version="1.0">
4
4
  <dict>
5
5
  <key>BuildMachineOSBuild</key>
6
- <string>14C1514</string>
6
+ <string>14D136</string>
7
7
  <key>CFBundleDevelopmentRegion</key>
8
8
  <string>en</string>
9
9
  <key>CFBundleExecutable</key>
@@ -17,7 +17,7 @@
17
17
  <key>CFBundlePackageType</key>
18
18
  <string>FMWK</string>
19
19
  <key>CFBundleShortVersionString</key>
20
- <string>0.0.1</string>
20
+ <string>1.0.0</string>
21
21
  <key>CFBundleSignature</key>
22
22
  <string>????</string>
23
23
  <key>CFBundleVersion</key>
@@ -25,17 +25,17 @@
25
25
  <key>DTCompiler</key>
26
26
  <string>com.apple.compilers.llvm.clang.1_0</string>
27
27
  <key>DTPlatformBuild</key>
28
- <string>6C131e</string>
28
+ <string>6D1002</string>
29
29
  <key>DTPlatformVersion</key>
30
30
  <string>GM</string>
31
31
  <key>DTSDKBuild</key>
32
- <string>14A383</string>
32
+ <string>14D125</string>
33
33
  <key>DTSDKName</key>
34
34
  <string>macosx10.10</string>
35
35
  <key>DTXcode</key>
36
- <string>0620</string>
36
+ <string>0631</string>
37
37
  <key>DTXcodeBuild</key>
38
- <string>6C131e</string>
38
+ <string>6D1002</string>
39
39
  <key>NSHumanReadableCopyright</key>
40
40
  <string>Copyright © 2014 JP Simard. All rights reserved.</string>
41
41
  </dict>
@@ -3,7 +3,7 @@
3
3
  <plist version="1.0">
4
4
  <dict>
5
5
  <key>BuildMachineOSBuild</key>
6
- <string>14C1514</string>
6
+ <string>14D136</string>
7
7
  <key>CFBundleDevelopmentRegion</key>
8
8
  <string>en</string>
9
9
  <key>CFBundleExecutable</key>
@@ -17,7 +17,7 @@
17
17
  <key>CFBundlePackageType</key>
18
18
  <string>FMWK</string>
19
19
  <key>CFBundleShortVersionString</key>
20
- <string>0.3.0</string>
20
+ <string>0.4.0</string>
21
21
  <key>CFBundleSignature</key>
22
22
  <string>????</string>
23
23
  <key>CFBundleVersion</key>
@@ -25,17 +25,17 @@
25
25
  <key>DTCompiler</key>
26
26
  <string>com.apple.compilers.llvm.clang.1_0</string>
27
27
  <key>DTPlatformBuild</key>
28
- <string>6C131e</string>
28
+ <string>6D1002</string>
29
29
  <key>DTPlatformVersion</key>
30
30
  <string>GM</string>
31
31
  <key>DTSDKBuild</key>
32
- <string>14A383</string>
32
+ <string>14D125</string>
33
33
  <key>DTSDKName</key>
34
34
  <string>macosx10.10</string>
35
35
  <key>DTXcode</key>
36
- <string>0620</string>
36
+ <string>0631</string>
37
37
  <key>DTXcodeBuild</key>
38
- <string>6C131e</string>
38
+ <string>6D1002</string>
39
39
  <key>NSHumanReadableCopyright</key>
40
40
  <string>Copyright © 2015 SourceKitten. All rights reserved.</string>
41
41
  </dict>
@@ -39,7 +39,7 @@ module Jazzy
39
39
  self.clean = false
40
40
  self.docset_platform = 'jazzy'
41
41
  self.version = '1.0'
42
- self.min_acl = SourceDeclaration::AccessControlLevel.internal
42
+ self.min_acl = SourceDeclaration::AccessControlLevel.public
43
43
  self.skip_undocumented = false
44
44
  self.source_directory = Pathname.pwd
45
45
  end
@@ -126,11 +126,11 @@ module Jazzy
126
126
 
127
127
  opt.on('--min-acl [private | internal | public]',
128
128
  'minimum access control level to document \
129
- (default is internal)') do |acl|
129
+ (default is public)') do |acl|
130
130
  if acl == 'private'
131
131
  config.min_acl = SourceDeclaration::AccessControlLevel.private
132
- elsif acl == 'public'
133
- config.min_acl = SourceDeclaration::AccessControlLevel.public
132
+ elsif acl == 'internal'
133
+ config.min_acl = SourceDeclaration::AccessControlLevel.internal
134
134
  end
135
135
  end
136
136
 
@@ -1,3 +1,3 @@
1
1
  module Jazzy
2
- VERSION = '0.1.6' unless defined? Jazzy::VERSION
2
+ VERSION = '0.2.0' unless defined? Jazzy::VERSION
3
3
  end
@@ -5,26 +5,54 @@ module Jazzy
5
5
 
6
6
  attr_reader :level
7
7
 
8
- def initialize(declaration_string)
9
- if declaration_string =~ /private\ /
8
+ ACCESSIBILITY_PRIVATE = 'source.lang.swift.accessibility.private'
9
+ ACCESSIBILITY_INTERNAL = 'source.lang.swift.accessibility.internal'
10
+ ACCESSIBILITY_PUBLIC = 'source.lang.swift.accessibility.public'
11
+
12
+ def initialize(accessibility)
13
+ if accessibility == ACCESSIBILITY_PRIVATE
10
14
  @level = :private
11
- elsif declaration_string =~ /public\ /
15
+ elsif accessibility == ACCESSIBILITY_INTERNAL
16
+ @level = :internal
17
+ elsif accessibility == ACCESSIBILITY_PUBLIC
12
18
  @level = :public
13
19
  else
14
- @level = :internal
20
+ raise "cannot initialize AccessControlLevel with '#{accessibility}'"
21
+ end
22
+ end
23
+
24
+ def self.from_doc(doc)
25
+ accessibility = doc['key.accessibility']
26
+ if accessibility
27
+ acl = new(accessibility)
28
+ if acl
29
+ return acl
30
+ end
31
+ end
32
+ acl = from_explicit_declaration(doc['key.parsed_declaration'])
33
+ acl || AccessControlLevel.public # fallback on public ACL
34
+ end
35
+
36
+ def self.from_explicit_declaration(declaration_string)
37
+ if declaration_string =~ /private\ /
38
+ return AccessControlLevel.private
39
+ elsif declaration_string =~ /public\ /
40
+ return AccessControlLevel.public
41
+ elsif declaration_string =~ /internal\ /
42
+ return AccessControlLevel.internal
15
43
  end
16
44
  end
17
45
 
18
46
  def self.private
19
- AccessControlLevel.new('private ')
47
+ new(ACCESSIBILITY_PRIVATE)
20
48
  end
21
49
 
22
50
  def self.internal
23
- AccessControlLevel.new('internal ')
51
+ new(ACCESSIBILITY_INTERNAL)
24
52
  end
25
53
 
26
54
  def self.public
27
- AccessControlLevel.new('public ')
55
+ new(ACCESSIBILITY_PUBLIC)
28
56
  end
29
57
 
30
58
  LEVELS = {
@@ -12,6 +12,7 @@ module Jazzy
12
12
  module SourceKitten
13
13
  @documented_count = 0
14
14
  @undocumented_tokens = []
15
+ @expected_swift_version = '1.2'
15
16
 
16
17
  # Group root-level docs by type and add as children to a group doc element
17
18
  def self.group_docs(docs, type)
@@ -56,7 +57,7 @@ module Jazzy
56
57
  expected_xcode_select_path =
57
58
  Pathname('/Applications/Xcode.app/Contents/Developer')
58
59
  return if xcode_developer_directory == expected_xcode_select_path
59
- raise 'Please install or symlink Xcode 6.1 or 6.2 in ' \
60
+ raise 'Please install or symlink Xcode 6.3 in ' \
60
61
  "#{expected_xcode_select_path} and set as active developer " \
61
62
  'directory by running `sudo xcode-select -s ' \
62
63
  "#{expected_xcode_select_path}`"
@@ -70,9 +71,8 @@ module Jazzy
70
71
  def self.assert_swift_version
71
72
  swift_version = `xcrun swift --version` =~ /Swift version ([\d\.]+)/ &&
72
73
  Regexp.last_match[1]
73
- expected_swift_version = '1.1'
74
- return if swift_version == expected_swift_version
75
- raise "Jazzy only works with Swift #{expected_swift_version}."
74
+ return if swift_version == @expected_swift_version
75
+ raise "Jazzy only works with Swift #{@expected_swift_version}."
76
76
  end
77
77
 
78
78
  # Run sourcekitten with given arguments and return STDOUT
@@ -104,8 +104,7 @@ module Jazzy
104
104
  # Always document extensions, since we can't tell what ACL they are
105
105
  return true if doc['key.kind'] == 'source.lang.swift.decl.extension'
106
106
 
107
- SourceDeclaration::AccessControlLevel.new(doc['key.annotated_decl']) >=
108
- @min_acl
107
+ SourceDeclaration::AccessControlLevel.from_doc(doc) >= @min_acl
109
108
  end
110
109
 
111
110
  def self.process_undocumented_token(doc, declaration)
@@ -211,10 +210,8 @@ module Jazzy
211
210
  declaration.usr = doc['key.usr']
212
211
  declaration.name = doc['key.name']
213
212
  declaration.mark = current_mark
214
- acl = SourceDeclaration::AccessControlLevel.new(
215
- doc['key.annotated_decl'],
216
- )
217
- declaration.access_control_level = acl
213
+ declaration.access_control_level =
214
+ SourceDeclaration::AccessControlLevel.from_doc(doc)
218
215
  declaration.start_line = doc['key.parsed_scope.start']
219
216
  declaration.end_line = doc['key.parsed_scope.end']
220
217
 
@@ -15,17 +15,17 @@ module Jazzy
15
15
 
16
16
  it 'validates the current xcode version' do
17
17
  SourceKitten.stubs(:`).returns <<-O
18
- Swift version 1.1 (swift-600.0.57.4)
19
- Target: x86_64-apple-darwin14.1.0
18
+ Apple Swift version 1.2 (swiftlang-602.0.49.6 clang-602.0.49)
19
+ Target: x86_64-apple-darwin14.3.0
20
20
  O
21
21
  should.not.raise { SourceKitten.assert_swift_version }
22
22
 
23
23
  SourceKitten.stubs(:`).returns <<-O
24
- Apple Swift version 1.2 (swiftlang-602.0.47.4 clang-602.0.48)
24
+ Swift version 1.1 (swift-600.0.57.4)
25
25
  Target: x86_64-apple-darwin14.1.0
26
26
  O
27
27
  should.raise { SourceKitten.assert_swift_version }.message.should
28
- .match /Jazzy.*Swift 1\.1/
28
+ .match /Jazzy.*Swift 1\.2/
29
29
  end
30
30
  end
31
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jazzy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Simard
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-04-09 00:00:00.000000000 Z
13
+ date: 2015-04-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cocoapods
@@ -163,22 +163,16 @@ files:
163
163
  - lib/jazzy.rb
164
164
  - lib/jazzy/SourceKitten/Commandant.framework/Commandant
165
165
  - lib/jazzy/SourceKitten/Commandant.framework/Versions/A/Commandant
166
- - lib/jazzy/SourceKitten/Commandant.framework/Versions/A/Modules/Commandant.swiftmodule/x86_64.swiftdoc
167
- - lib/jazzy/SourceKitten/Commandant.framework/Versions/A/Modules/Commandant.swiftmodule/x86_64.swiftmodule
168
- - lib/jazzy/SourceKitten/Commandant.framework/Versions/A/Modules/module.modulemap
169
166
  - lib/jazzy/SourceKitten/Commandant.framework/Versions/A/Resources/Info.plist
170
167
  - lib/jazzy/SourceKitten/LlamaKit.framework/LlamaKit
171
168
  - lib/jazzy/SourceKitten/LlamaKit.framework/Versions/A/LlamaKit
172
- - lib/jazzy/SourceKitten/LlamaKit.framework/Versions/A/Modules/LlamaKit.swiftmodule/x86_64.swiftdoc
173
- - lib/jazzy/SourceKitten/LlamaKit.framework/Versions/A/Modules/LlamaKit.swiftmodule/x86_64.swiftmodule
174
- - lib/jazzy/SourceKitten/LlamaKit.framework/Versions/A/Modules/module.modulemap
175
169
  - lib/jazzy/SourceKitten/LlamaKit.framework/Versions/A/Resources/Info.plist
176
170
  - lib/jazzy/SourceKitten/Rakefile
177
171
  - lib/jazzy/SourceKitten/SourceKittenFramework.framework/SourceKittenFramework
172
+ - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SWXMLHash.framework/SWXMLHash
173
+ - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SWXMLHash.framework/Versions/A/Resources/Info.plist
174
+ - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SWXMLHash.framework/Versions/A/SWXMLHash
178
175
  - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/SwiftXPC
179
- - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Modules/SwiftXPC.swiftmodule/x86_64.swiftdoc
180
- - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Modules/SwiftXPC.swiftmodule/x86_64.swiftmodule
181
- - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Modules/module.modulemap
182
176
  - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Resources/Info.plist
183
177
  - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/SwiftXPC
184
178
  - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftCore.dylib
@@ -188,9 +182,6 @@ files:
188
182
  - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftFoundation.dylib
189
183
  - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftObjectiveC.dylib
190
184
  - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Frameworks/libswiftSecurity.dylib
191
- - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Modules/SourceKittenFramework.swiftmodule/x86_64.swiftdoc
192
- - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Modules/SourceKittenFramework.swiftmodule/x86_64.swiftmodule
193
- - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Modules/module.modulemap
194
185
  - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/Resources/Info.plist
195
186
  - lib/jazzy/SourceKitten/SourceKittenFramework.framework/Versions/A/SourceKittenFramework
196
187
  - lib/jazzy/SourceKitten/sourcekitten
@@ -252,9 +243,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
243
  version: '0'
253
244
  requirements: []
254
245
  rubyforge_project:
255
- rubygems_version: 2.4.6
246
+ rubygems_version: 2.2.2
256
247
  signing_key:
257
248
  specification_version: 4
258
249
  summary: Soulful docs for Swift & Objective-C.
259
250
  test_files: []
260
- has_rdoc:
@@ -1,10 +0,0 @@
1
- framework module Commandant {
2
- umbrella header "Commandant.h"
3
-
4
- export *
5
- module * { export * }
6
- }
7
-
8
- module Commandant.Swift {
9
- header "Commandant-Swift.h"
10
- }
@@ -1,10 +0,0 @@
1
- framework module LlamaKit {
2
- umbrella header "LlamaKit.h"
3
-
4
- export *
5
- module * { export * }
6
- }
7
-
8
- module LlamaKit.Swift {
9
- header "LlamaKit-Swift.h"
10
- }
@@ -1,10 +0,0 @@
1
- framework module SwiftXPC {
2
- umbrella header "SwiftXPC.h"
3
-
4
- export *
5
- module * { export * }
6
- }
7
-
8
- module SwiftXPC.Swift {
9
- header "SwiftXPC-Swift.h"
10
- }
@@ -1,10 +0,0 @@
1
- framework module SourceKittenFramework {
2
- umbrella header "SourceKittenFramework.h"
3
-
4
- export *
5
- module * { export * }
6
- }
7
-
8
- module SourceKittenFramework.Swift {
9
- header "SourceKittenFramework-Swift.h"
10
- }