dsh 0.2.0 → 0.2.1
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 +8 -8
- data/Gemfile.lock +1 -1
- data/README.md +19 -4
- data/README.rdoc +4 -0
- data/lib/dsh/version.rb +1 -1
- data/lib/dsh.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTI3NWZmNjc4YmUxMTg0MzdmNzg3MjZiZDdlMjI4NTE1ZmY4MWQzOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDk1NDdiMDM5NGM0M2FhY2IxYTkwOGRjN2Y1NTQ0OGY0MDIwZjZlYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NWZjOWQ1YzQ3NWNmNjEzYWQ1ZGI3MWJjZGMyYzlkM2Q3MDQ4MDIzYjlhM2Ew
|
10
|
+
ZTM5YTdmZjAyZmFhNzI4MzY0OWUzNDcwM2NhOGEzMTgwNDJhZWEzYzgwYTMw
|
11
|
+
NzQzN2M1NjMxZTAyNDEzNWFjMjBkOGI3N2MxOGZmOTFmNWJkZmE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWRhOTU5NWMzZmRlMzE4ZWQ3Y2M4Zjc2MWM5MjMyMzE2YzI1M2E5YjgxYmNj
|
14
|
+
ZDk1MmMzZTBlYjg0NjY3ZDkzM2YzMzc3NTgwN2FlOGFiN2NiMTFlNDA1ZDk0
|
15
|
+
Nzc1NDRjMGMwYzYwYmIwZmIzODU0ZWE0NjdkYzQyNTUyY2I1NWM=
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# dsh [](http://badge.fury.io/rb/dsh)
|
2
2
|
|
3
|
-
A command line search interface to programming language documentation in the [Dash application (Mac OSX)](http://kapeli.com/dash) with optional docset keyword filters.
|
3
|
+
A command line search interface to programming language/framework documentation in the [Dash application (Mac OSX)](http://kapeli.com/dash) with optional docset keyword filters.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -22,13 +22,13 @@ You can find the language docset keyword in Preferences > Docsets:
|
|
22
22
|
|
23
23
|
<img src="https://raw.github.com/chrissimpkins/dsh/master/img/docset_keywords.png" width="598" height="530" alt="Dash Docset Keywords">
|
24
24
|
|
25
|
-
Enter the keyword that is displayed in your preferences **without** the colon symbol (:).
|
25
|
+
Enter the keyword that is displayed in your preferences **without** the colon symbol (:).
|
26
26
|
|
27
27
|
## Examples
|
28
28
|
|
29
29
|
Search across all Dash docsets:
|
30
30
|
|
31
|
-
```
|
31
|
+
```
|
32
32
|
dsh string
|
33
33
|
```
|
34
34
|
|
@@ -37,8 +37,23 @@ Restrict search to documentation for a specific language:
|
|
37
37
|
```
|
38
38
|
dsh -l python3 print
|
39
39
|
```
|
40
|
-
|
40
|
+
|
41
|
+
Use a multiple word search:
|
42
|
+
```
|
43
|
+
dsh -l manpages 'git diff'
|
44
|
+
```
|
45
|
+
|
41
46
|
## License
|
42
47
|
MIT License
|
43
48
|
|
49
|
+
## Changelog
|
50
|
+
|
51
|
+
**v0.2.1** - added support for multiple word queries
|
52
|
+
|
53
|
+
**v0.2.0** - exception handling for incorrect CL switches/flags/arguments
|
54
|
+
|
55
|
+
**v0.1.1** - documentation update and CL flag changes
|
56
|
+
|
57
|
+
**v0.1.0** - initial release
|
58
|
+
|
44
59
|
✪ Chris
|
data/README.rdoc
CHANGED
data/lib/dsh/version.rb
CHANGED
data/lib/dsh.rb
CHANGED
@@ -4,9 +4,9 @@ module Dsh
|
|
4
4
|
# supplemental methods here
|
5
5
|
def Dsh.makeCommand(query, language)
|
6
6
|
if language.to_s == ''
|
7
|
-
command = "open dash://" + query
|
7
|
+
command = "open 'dash://" + query + "'"
|
8
8
|
else
|
9
|
-
command = "open dash://" + language + ":" + query
|
9
|
+
command = "open 'dash://" + language + ":" + query + "'"
|
10
10
|
end
|
11
11
|
end #end makeCommand()
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dsh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Simpkins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
140
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.1.
|
141
|
+
rubygems_version: 2.1.10
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: dsh
|