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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzFmNzhlZjhhM2U2YzUyM2YwNzY2OWNkZDhmNjc3ZTJiOTUyOGUwOQ==
4
+ YTI3NWZmNjc4YmUxMTg0MzdmNzg3MjZiZDdlMjI4NTE1ZmY4MWQzOQ==
5
5
  data.tar.gz: !binary |-
6
- NmU2YmZjOGFjY2U4ZjYzMmE5NWVmMGIyODQyMjZkM2NhZGQxZTkxNw==
6
+ NDk1NDdiMDM5NGM0M2FhY2IxYTkwOGRjN2Y1NTQ0OGY0MDIwZjZlYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmYzNTNmMTBlNzYyMTE1ZmEwMDNlNzVlZmFkOGIzZTY5ZTU1ZGRmMmIyMjBm
10
- NWNjYTNhNjU5ZTJiY2RjZjJmN2MyYjUyNTU5ZDI4NWY5OTVlYjExZTAwNzE4
11
- NmNlOTIxMTNjYzNlNWM4YzU5ZDZjZmUwNGQxNWFhZWIzYjFmMmY=
9
+ NWZjOWQ1YzQ3NWNmNjEzYWQ1ZGI3MWJjZGMyYzlkM2Q3MDQ4MDIzYjlhM2Ew
10
+ ZTM5YTdmZjAyZmFhNzI4MzY0OWUzNDcwM2NhOGEzMTgwNDJhZWEzYzgwYTMw
11
+ NzQzN2M1NjMxZTAyNDEzNWFjMjBkOGI3N2MxOGZmOTFmNWJkZmE=
12
12
  data.tar.gz: !binary |-
13
- N2Y0NGMzZjZkNGVjYTE5NjJhMWNkOTM5YWM3MTRjOTdiYWEwYjMyZmYxMTMx
14
- YjkxZmRmZjc4YTNkY2EwOGJlMDRjZTIzNTM0ZmNkZDliYjY1N2I1ZjYwZmQ1
15
- OWIxNjU2ZWM5ODczNjhmN2I0MjViZTcyNWMwNjc1M2JiOThmZTM=
13
+ MWRhOTU5NWMzZmRlMzE4ZWQ3Y2M4Zjc2MWM5MjMyMzE2YzI1M2E5YjgxYmNj
14
+ ZDk1MmMzZTBlYjg0NjY3ZDkzM2YzMzc3NTgwN2FlOGFiN2NiMTFlNDA1ZDk0
15
+ Nzc1NDRjMGMwYzYwYmIwZmIzODU0ZWE0NjdkYzQyNTUyY2I1NWM=
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dsh (0.1.1)
4
+ dsh (0.2.1)
5
5
  methadone (~> 1.3.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # dsh [![Gem Version](https://badge.fury.io/rb/dsh.png)](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
@@ -25,3 +25,7 @@ Restrict search to documentation for a specific language:
25
25
 
26
26
  $ dsh -l ruby puts
27
27
 
28
+ And a multiple word search query:
29
+
30
+ $ dsh -l manpages 'git diff'
31
+
data/lib/dsh/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dsh
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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-04 00:00:00.000000000 Z
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.4
141
+ rubygems_version: 2.1.10
142
142
  signing_key:
143
143
  specification_version: 4
144
144
  summary: dsh