jazzy 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -1
- data/Gemfile.lock +1 -1
- data/Rakefile +2 -0
- data/jazzy.gemspec +2 -0
- data/lib/jazzy/SourceKitten/Rakefile +19 -0
- data/lib/jazzy/config.rb +1 -1
- data/lib/jazzy/gem_version.rb +1 -1
- data/lib/jazzy/sourcekitten/Rakefile +19 -0
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55b0cf77e35178ade7180bcea5c9f2ae217ba984
|
4
|
+
data.tar.gz: 402313f50a5eb3eaf93d2623504ed7d08252c2eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e51295e801d44de04dfa88adf5656674e16e09808f13704349a1dec87f3f27e8ab7cf0faf8fa15348d2e2ab895d127fb95f865b816bee9ade3862723b7bc0b20
|
7
|
+
data.tar.gz: c48faa4ab08c0bca70fbd7a0b243730fff9154524382715a903bfac5c4280ed1f5cac9c399f538f9dd39287adcf9cfe66ba25e9278d9afb2cd84582099a28a40
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
## Master
|
2
2
|
|
3
|
-
[sourcekitten](https://github.com/jpsim/sourcekitten/compare/0.
|
3
|
+
[sourcekitten](https://github.com/jpsim/sourcekitten/compare/0.3.1...master)
|
4
4
|
|
5
5
|
##### Breaking
|
6
6
|
|
@@ -12,8 +12,25 @@
|
|
12
12
|
|
13
13
|
##### Bug Fixes
|
14
14
|
|
15
|
+
* None
|
16
|
+
|
17
|
+
## 0.1.1
|
18
|
+
|
19
|
+
##### Breaking
|
20
|
+
|
21
|
+
* None.
|
22
|
+
|
23
|
+
##### Enhancements
|
24
|
+
|
15
25
|
* None.
|
16
26
|
|
27
|
+
##### Bug Fixes
|
28
|
+
|
29
|
+
* Fixes installation as a RubyGem.
|
30
|
+
[Samuel Giddins](https://github.com/segiddins)
|
31
|
+
[#159](https://github.com/realm/jazzy/issues/159)
|
32
|
+
|
33
|
+
|
17
34
|
## 0.1.0
|
18
35
|
|
19
36
|
[sourcekitten](https://github.com/jpsim/sourcekitten/compare/0.2.7...0.3.1)
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -82,12 +82,14 @@ begin
|
|
82
82
|
end
|
83
83
|
|
84
84
|
destination = 'lib/jazzy/sourcekitten'
|
85
|
+
rakefile = File.read("#{destination}/Rakefile")
|
85
86
|
frameworks = Dir.glob('/tmp/SourceKitten.dst/Library/Frameworks/*')
|
86
87
|
binary = '/tmp/SourceKitten.dst/usr/local/bin/sourcekitten'
|
87
88
|
FileUtils.rm_rf destination
|
88
89
|
FileUtils.mkdir_p destination
|
89
90
|
FileUtils.cp_r frameworks, destination
|
90
91
|
FileUtils.cp binary, destination
|
92
|
+
File.open("#{destination}/Rakefile", 'w') { |f| f.write rakefile }
|
91
93
|
end
|
92
94
|
|
93
95
|
rescue LoadError, NameError
|
data/jazzy.gemspec
CHANGED
@@ -17,6 +17,8 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.files = `git ls-files`.split($/)
|
18
18
|
spec.executables << 'jazzy'
|
19
19
|
|
20
|
+
spec.extensions = ['lib/jazzy/SourceKitten/Rakefile']
|
21
|
+
|
20
22
|
spec.add_runtime_dependency 'mustache', '~> 0.99'
|
21
23
|
spec.add_runtime_dependency 'activesupport', '~> 4.1'
|
22
24
|
spec.add_runtime_dependency 'redcarpet', '~> 3.2'
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# This Rakefile just ensures that the necessary framework symlinks are in place
|
2
|
+
# when installed as a gem, as RubyGems doesn't play nice with symlinks.
|
3
|
+
|
4
|
+
task :prepare do
|
5
|
+
Dir.glob('*.framework').each do |fw|
|
6
|
+
p fw
|
7
|
+
Dir.chdir(fw) do
|
8
|
+
basename = File.basename(fw, '*.framework')
|
9
|
+
version = Dir.glob('Versions/*').sort.last
|
10
|
+
|
11
|
+
File.symlink(version, 'Versions/Current')
|
12
|
+
File.symlink("Versions/Current/#{basename}", "#{basename}")
|
13
|
+
File.symlink("Versions/Current/Resources", "Resources")
|
14
|
+
File.symlink("Versions/Current/Modules", "Modules")
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
task default: :prepare
|
data/lib/jazzy/config.rb
CHANGED
@@ -30,7 +30,7 @@ module Jazzy
|
|
30
30
|
attr_accessor :source_directory
|
31
31
|
|
32
32
|
def initialize
|
33
|
-
PodspecDocumenter.configure(self, Dir['*.podspec{
|
33
|
+
PodspecDocumenter.configure(self, Dir['*.podspec{,.json}'].first)
|
34
34
|
self.output = Pathname('docs')
|
35
35
|
self.xcodebuild_arguments = []
|
36
36
|
self.author_name = ''
|
data/lib/jazzy/gem_version.rb
CHANGED
@@ -0,0 +1,19 @@
|
|
1
|
+
# This Rakefile just ensures that the necessary framework symlinks are in place
|
2
|
+
# when installed as a gem, as RubyGems doesn't play nice with symlinks.
|
3
|
+
|
4
|
+
task :prepare do
|
5
|
+
Dir.glob('*.framework').each do |fw|
|
6
|
+
p fw
|
7
|
+
Dir.chdir(fw) do
|
8
|
+
basename = File.basename(fw, '*.framework')
|
9
|
+
version = Dir.glob('Versions/*').sort.last
|
10
|
+
|
11
|
+
File.symlink(version, 'Versions/Current')
|
12
|
+
File.symlink("Versions/Current/#{basename}", "#{basename}")
|
13
|
+
File.symlink("Versions/Current/Resources", "Resources")
|
14
|
+
File.symlink("Versions/Current/Modules", "Modules")
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
task default: :prepare
|
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.
|
4
|
+
version: 0.1.1
|
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-
|
13
|
+
date: 2015-02-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: mustache
|
@@ -158,7 +158,8 @@ email:
|
|
158
158
|
- jp@realm.io
|
159
159
|
executables:
|
160
160
|
- jazzy
|
161
|
-
extensions:
|
161
|
+
extensions:
|
162
|
+
- lib/jazzy/SourceKitten/Rakefile
|
162
163
|
extra_rdoc_files: []
|
163
164
|
files:
|
164
165
|
- ".gitignore"
|
@@ -174,6 +175,7 @@ files:
|
|
174
175
|
- bin/jazzy
|
175
176
|
- jazzy.gemspec
|
176
177
|
- lib/jazzy.rb
|
178
|
+
- lib/jazzy/SourceKitten/Rakefile
|
177
179
|
- lib/jazzy/assets/css/highlight.css.scss
|
178
180
|
- lib/jazzy/assets/css/jazzy.css.scss
|
179
181
|
- lib/jazzy/assets/img/carat.png
|
@@ -215,6 +217,7 @@ files:
|
|
215
217
|
- lib/jazzy/sourcekitten/LlamaKit.framework/Versions/A/Modules/LlamaKit.swiftmodule/x86_64.swiftmodule
|
216
218
|
- lib/jazzy/sourcekitten/LlamaKit.framework/Versions/A/Modules/module.modulemap
|
217
219
|
- lib/jazzy/sourcekitten/LlamaKit.framework/Versions/A/Resources/Info.plist
|
220
|
+
- lib/jazzy/sourcekitten/Rakefile
|
218
221
|
- lib/jazzy/sourcekitten/SourceKittenFramework.framework/SourceKittenFramework
|
219
222
|
- lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/SwiftXPC
|
220
223
|
- lib/jazzy/sourcekitten/SourceKittenFramework.framework/Versions/A/Frameworks/SwiftXPC.framework/Versions/A/Modules/SwiftXPC.swiftmodule/x86_64.swiftdoc
|
@@ -260,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
263
|
version: '0'
|
261
264
|
requirements: []
|
262
265
|
rubyforge_project:
|
263
|
-
rubygems_version: 2.
|
266
|
+
rubygems_version: 2.4.5
|
264
267
|
signing_key:
|
265
268
|
specification_version: 4
|
266
269
|
summary: Soulful docs for Swift & Objective-C.
|