dsh 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 229d542c79cc7c2e6b25c4a1dd9200c3ba0fdb3b
4
- data.tar.gz: 0304e59806df4f7ba0bdc09f8ac633b7f02a59d2
3
+ metadata.gz: 1b04bdae88a6a2acff391bd71f46e9d58a71256d
4
+ data.tar.gz: 4609bd9d654e75068d9715d154c19106f2e47469
5
5
  SHA512:
6
- metadata.gz: db2f08e6fd24bd1696a458cf3ebdc225ba25147741862c8b7eb5fbb09b4ffbec34fc7f4981671d63c8f2cc8b8203c362d56f94a2f360852014f7d38adf77acff
7
- data.tar.gz: 61ec995f5118960033248934a2b95d667b8be92a073a2c431fba9c02023f19e4553391ec068b4194fc20cdb16a380df0c7a31971fabce407c88ba6b363eec1bb
6
+ metadata.gz: 3978a2590494dce7e1c272f292c66dd2ae4a49f5fe543aa462544e30a35d60e49257bd9b8506cb9bf1d6bc40f8024afe203106f2fe019d549498a5ad4fc17eef
7
+ data.tar.gz: 294ee446b40ef94337c715a973789f08eaae92687523de8e241534da9c0846b1183bfba18c64d7cbcd1c175585ddbc5a5a204a6d0bf5ed3e893aaf8c53ee3f7b
data/README.md CHANGED
@@ -1,18 +1,10 @@
1
- # Dsh
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) with optional docset keyword filters.
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.
4
4
 
5
5
  ## Installation
6
6
 
7
- Add this line to your application's Gemfile:
8
-
9
- gem 'dsh'
10
-
11
- And then execute:
12
-
13
- $ bundle
14
-
15
- Or install it yourself as:
7
+ Install the Ruby gem with the following command:
16
8
 
17
9
  $ gem install dsh
18
10
 
@@ -22,8 +14,31 @@ To search across all language docsets, simply enter your search query after the
22
14
 
23
15
  dsh <search_term(s)>
24
16
 
25
- To restrict your search to a specific programming language docset, use the `-l` or `--lang` flags with the docset keyword as the argument:
17
+ To restrict your search to a specific programming language/framework docset, use the `-l` or `--lang` flags with a docset keyword as the argument:
18
+
19
+ dsh -l <language> <query>
20
+
21
+ You can find the language docset keyword in Preferences > Docsets:
22
+
23
+ <img src="https://raw.github.com/chrissimpkins/dsh/master/img/docset_keywords.png" width="598" height="530" alt="Dash Docset Keywords">
24
+
25
+ Enter the keyword that is displayed in your preferences **without** the colon symbol (:).
26
+
27
+ ## Examples
28
+
29
+ Search across all Dash docsets:
30
+
31
+ ```
32
+ dsh string
33
+ ```
26
34
 
27
- dsh -l ruby puts
35
+ Restrict search to documentation for a specific language:
28
36
 
37
+ ```
38
+ dsh -l python3 print
39
+ ```
40
+
41
+ ## License
42
+ MIT License
29
43
 
44
+ ✪ Chris
data/README.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- = dsh - A command line search interface to programming language documentation in the Mac OSX Dash application.
1
+ = dsh - A command line search interface to programming language documentation in the Mac OSX application, Dash.
2
2
 
3
3
  Author:: Christopher Simpkins
4
4
  Copyright:: Copyright (c) 2013 Christopher Simpkins
@@ -9,11 +9,20 @@ License:: mit, see LICENSE.txt
9
9
  == Links
10
10
 
11
11
  * {Source on Github}[https://github.com/chrissimpkins/dsh]
12
- * RDoc[LINK TO RDOC.INFO]
13
12
 
14
13
  == Install
15
14
 
15
+ Install the gem with the following command:
16
+
17
+ $ gem install dsh
18
+
16
19
  == Examples
17
20
 
18
- == Contributing
21
+ Search across all Dash docsets:
22
+
23
+ $ dsh string
24
+
25
+ Restrict search to documentation for a specific language:
26
+
27
+ $ dsh -l ruby puts
19
28
 
data/bin/dsh CHANGED
@@ -20,7 +20,7 @@ class App
20
20
  end
21
21
  end
22
22
 
23
- description "A command line interface to search programming language documentation in the Dash application (Mac OSX) with optional docset keyword filters."
23
+ description "A command line search interface to programming language/framework documentation in the Dash application (Mac OSX) with optional docset keyword filters."
24
24
  # Docset Language Flag:
25
25
  on("-l <language>","Language docset filter")
26
26
  # Required argument
data/dsh.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Dsh::VERSION
9
9
  spec.authors = ["Chris Simpkins"]
10
10
  spec.email = ["git.simpkins@gmail.com"]
11
- spec.description = %q{A command line interface to search programming language documentation in the Dash application (Mac OSX) with optional docset keyword filters.}
11
+ spec.description = %q{A command line search interface to programming language documentation in the Dash application (Mac OSX) with optional docset keyword filters.}
12
12
  spec.summary = %q{dsh}
13
13
  spec.homepage = "http://rubygems.org/gems/dsh"
14
14
  spec.license = "MIT"
Binary file
data/lib/dsh/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dsh
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dsh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Simpkins
@@ -94,7 +94,7 @@ dependencies:
94
94
  - - ~>
95
95
  - !ruby/object:Gem::Version
96
96
  version: 1.3.1
97
- description: A command line interface to search programming language documentation
97
+ description: A command line search interface to programming language documentation
98
98
  in the Dash application (Mac OSX) with optional docset keyword filters.
99
99
  email:
100
100
  - git.simpkins@gmail.com
@@ -114,6 +114,7 @@ files:
114
114
  - features/dsh.feature
115
115
  - features/step_definitions/dsh_steps.rb
116
116
  - features/support/env.rb
117
+ - img/docset_keywords.png
117
118
  - lib/dsh.rb
118
119
  - lib/dsh/version.rb
119
120
  - test/tc_something.rb