rdoc_osx_dictionary 2.0.1 → 2.1.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 +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.txt +10 -0
- data/README.txt +6 -0
- data/Rakefile +1 -3
- data/bin/rdoc_osx_dictionary +16 -3
- data/lib/rdoc_osx_dictionary.rb +9 -6
- metadata +71 -91
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 97dcae6787df07ef47b5b1688dcdf9c1f9cec917
|
4
|
+
data.tar.gz: db089f182a066bb02ebd6b58fc74d9d74de0bf39
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: dafeb0c63e3c1c98189d2c3721543461d4d81e9f0a7625fd67b214e425ef2a86cba4a108c0167956dd1c3819a8c54034c0624e0bbdb9bf177f9e574457c9e500
|
7
|
+
data.tar.gz: b7cd8561dcd82da3b2db39ea252ce6679b3ec51d3baf1e945a9cff8a52a4e2d7d54e74721b3765276c479ae389664d62d3c0cddbf2da99e1f5f9e8080c84f34a
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -25,6 +25,12 @@ Inspired by: http://priithaamer.com/blog/ruby-on-rails-dictionary-for-macosx
|
|
25
25
|
|
26
26
|
* sudo gem install rdoc_osx_dictionary
|
27
27
|
|
28
|
+
== USAGE:
|
29
|
+
|
30
|
+
1. Download Auxiliary Tools for Xcode from {Apple Developer}[http://developer.apple.com].
|
31
|
+
2. Mount the dmg by click.
|
32
|
+
3. Execute rdoc_osx_dictionary in terminal.
|
33
|
+
|
28
34
|
== LICENSE:
|
29
35
|
|
30
36
|
(The MIT License)
|
data/Rakefile
CHANGED
data/bin/rdoc_osx_dictionary
CHANGED
@@ -1,7 +1,20 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
1
|
+
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
|
+
require 'optparse'
|
4
5
|
require 'rdoc_osx_dictionary'
|
5
6
|
|
6
|
-
|
7
|
-
|
7
|
+
OPTS = {}
|
8
|
+
OptionParser.new do |parser|
|
9
|
+
parser.on('-d', '--dev_path=path',
|
10
|
+
'Directory of Dictionary Development Kit') do |v|
|
11
|
+
OPTS[:dev_path] = v
|
12
|
+
end
|
13
|
+
parser.parse(ARGV)
|
14
|
+
end
|
15
|
+
|
16
|
+
unless OPTS[:dev_path]
|
17
|
+
OPTS[:dev_path] = '/Volumes/Auxiliary Tools/Dictionary Development Kit'
|
18
|
+
end
|
19
|
+
|
20
|
+
RDoc::OSXDictionary.new(OPTS[:dev_path]).make
|
data/lib/rdoc_osx_dictionary.rb
CHANGED
@@ -14,7 +14,7 @@ ENV['LANG'] = ""
|
|
14
14
|
ENV['LC_ALL'] = "C"
|
15
15
|
|
16
16
|
class RDoc::OSXDictionary
|
17
|
-
VERSION = '2.0
|
17
|
+
VERSION = '2.1.0'
|
18
18
|
|
19
19
|
EXCLUDE = {
|
20
20
|
}
|
@@ -57,8 +57,9 @@ class RDoc::OSXDictionary
|
|
57
57
|
|
58
58
|
attr_reader :to_html
|
59
59
|
|
60
|
-
def initialize
|
61
|
-
@
|
60
|
+
def initialize(dictionary_development_kit_dir)
|
61
|
+
@dictionary_development_kit_dir = dictionary_development_kit_dir
|
62
|
+
@to_html = RDoc::Markup::ToHtml.new(RDoc::Options.new)
|
62
63
|
end
|
63
64
|
|
64
65
|
def id *args
|
@@ -311,9 +312,11 @@ class RDoc::OSXDictionary
|
|
311
312
|
dict_path = File.expand_path "~/Library/Dictionaries"
|
312
313
|
|
313
314
|
Dir.chdir base do
|
314
|
-
|
315
|
-
|
316
|
-
|
315
|
+
build_dict = "#{@dictionary_development_kit_dir}/bin/build_dict.sh"
|
316
|
+
unless File.exist?(build_dict)
|
317
|
+
fail "Specify the directory containing bin/build_dict.sh."
|
318
|
+
end
|
319
|
+
run(build_dict, "-c=0", dict_name, dict_src_path,
|
317
320
|
"#{data}/RubyGemsDictionary.css",
|
318
321
|
"#{data}/RubyGemsInfo.plist")
|
319
322
|
end
|
metadata
CHANGED
@@ -1,24 +1,18 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdoc_osx_dictionary
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 0
|
9
|
-
- 1
|
10
|
-
version: 2.0.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.1.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Ryan Davis
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
|
-
cert_chain:
|
10
|
+
cert_chain:
|
17
11
|
- |
|
18
12
|
-----BEGIN CERTIFICATE-----
|
19
|
-
|
13
|
+
MIIDPjCCAiagAwIBAgIBAjANBgkqhkiG9w0BAQUFADBFMRMwEQYDVQQDDApyeWFu
|
20
14
|
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
21
|
-
|
15
|
+
GRYDY29tMB4XDTE0MDkxNzIzMDcwN1oXDTE1MDkxNzIzMDcwN1owRTETMBEGA1UE
|
22
16
|
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
23
17
|
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
24
18
|
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
@@ -28,77 +22,72 @@ cert_chain:
|
|
28
22
|
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
29
23
|
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
30
24
|
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBBQUAA4IB
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
25
|
+
AQAFoDJRokCQdxFfOrmsKX41KOFlU/zjrbDVM9hgB/Ur999M6OXGSi8FitXNtMwY
|
26
|
+
FVjsiAPeU7HaWVVcZkj6IhINelTkXsxgGz/qCzjHy3iUMuZWw36cS0fiWJ5rvH+e
|
27
|
+
hD7uXxJSFuyf1riDGI1aeWbQ74WMwvNstOxLUMiV5a1fzBhlxPqb537ubDjq/M/h
|
28
|
+
zPUFPVYeL5KjDHLCqI2FwIk2sEMOQgjpXHzl+3NlD2LUgUhHDMevmgVua0e2GT1B
|
29
|
+
xJcC6UN6NHMOVMyAXsr2HR0gRRx4ofN1LoP2KhXzSr8UMvQYlwPmE0N5GQv1b5AO
|
30
|
+
VpzF30vNaJK6ZT7xlIsIlwmH
|
37
31
|
-----END CERTIFICATE-----
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
- !ruby/object:Gem::Dependency
|
32
|
+
date: 2014-11-12 00:00:00.000000000 Z
|
33
|
+
dependencies:
|
34
|
+
- !ruby/object:Gem::Dependency
|
42
35
|
name: rdoc
|
43
|
-
|
44
|
-
|
45
|
-
none: false
|
46
|
-
requirements:
|
36
|
+
requirement: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
47
38
|
- - ~>
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
|
50
|
-
segments:
|
51
|
-
- 3
|
52
|
-
- 12
|
53
|
-
version: "3.12"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '4.0'
|
54
41
|
type: :runtime
|
55
|
-
version_requirements: *id001
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: minitest
|
58
42
|
prerelease: false
|
59
|
-
|
60
|
-
|
61
|
-
|
43
|
+
version_requirements: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '4.0'
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: minitest
|
50
|
+
requirement: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
62
52
|
- - ~>
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
|
65
|
-
segments:
|
66
|
-
- 2
|
67
|
-
- 9
|
68
|
-
version: "2.9"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.4'
|
69
55
|
type: :development
|
70
|
-
version_requirements: *id002
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: hoe
|
73
56
|
prerelease: false
|
74
|
-
|
75
|
-
|
76
|
-
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '5.4'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: hoe
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
77
66
|
- - ~>
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
|
80
|
-
segments:
|
81
|
-
- 2
|
82
|
-
- 12
|
83
|
-
version: "2.12"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.13'
|
84
69
|
type: :development
|
85
|
-
|
70
|
+
prerelease: false
|
71
|
+
version_requirements: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.13'
|
86
76
|
description: |-
|
87
77
|
rdoc via Apple's Dictionary.app. Automatically builds and installs an
|
88
78
|
Apple Dictionary with all rdoc nicely formatted.
|
89
|
-
|
79
|
+
|
90
80
|
Inspired by: http://priithaamer.com/blog/ruby-on-rails-dictionary-for-macosx
|
91
|
-
email:
|
81
|
+
email:
|
92
82
|
- ryand-ruby@zenspider.com
|
93
|
-
executables:
|
83
|
+
executables:
|
94
84
|
- rdoc_osx_dictionary
|
95
85
|
extensions: []
|
96
|
-
|
97
|
-
extra_rdoc_files:
|
86
|
+
extra_rdoc_files:
|
98
87
|
- History.txt
|
99
88
|
- Manifest.txt
|
100
89
|
- README.txt
|
101
|
-
files:
|
90
|
+
files:
|
102
91
|
- History.txt
|
103
92
|
- Manifest.txt
|
104
93
|
- README.txt
|
@@ -109,38 +98,29 @@ files:
|
|
109
98
|
- lib/rdoc_osx_dictionary.rb
|
110
99
|
- lib/rubygems_plugin.rb
|
111
100
|
homepage: https://github.com/seattlerb/rdoc_osx_dictionary
|
112
|
-
licenses:
|
113
|
-
|
101
|
+
licenses:
|
102
|
+
- MIT
|
103
|
+
metadata: {}
|
114
104
|
post_install_message:
|
115
|
-
rdoc_options:
|
105
|
+
rdoc_options:
|
116
106
|
- --main
|
117
107
|
- README.txt
|
118
|
-
require_paths:
|
108
|
+
require_paths:
|
119
109
|
- lib
|
120
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
none: false
|
131
|
-
requirements:
|
132
|
-
- - ">="
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
hash: 3
|
135
|
-
segments:
|
136
|
-
- 0
|
137
|
-
version: "0"
|
110
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - '>='
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0'
|
115
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - '>='
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
138
120
|
requirements: []
|
139
|
-
|
140
|
-
|
141
|
-
rubygems_version: 1.8.12
|
121
|
+
rubyforge_project:
|
122
|
+
rubygems_version: 2.4.1
|
142
123
|
signing_key:
|
143
|
-
specification_version:
|
124
|
+
specification_version: 4
|
144
125
|
summary: rdoc via Apple's Dictionary.app
|
145
126
|
test_files: []
|
146
|
-
|
metadata.gz.sig
CHANGED
Binary file
|