svc 0.0.1 → 0.0.2

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.
Files changed (4) hide show
  1. data/README.md +35 -0
  2. data/lib/svc/version.rb +1 -1
  3. data/svc.gemspec +0 -2
  4. metadata +5 -4
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ Svc - The Launchd Helper
2
+ ========================
3
+ A ruby command line tool that provides a shortcut for starting and stopping launchd services on Mac OSX.
4
+
5
+ A config file will be created in your home directory (~/.svc) that will contain a hash of all the nicknames and plist locations. Be careful not to delete that file, as you will then have to manually re-add all the services.
6
+
7
+ Installation
8
+ ------------
9
+ `$ gem install svc`
10
+
11
+ Usage
12
+ -----
13
+ To see a list of all available services:
14
+
15
+ `$ svc list`
16
+
17
+ To add a new service:
18
+
19
+ `$ svc add <nickname> <path_to_plist>`
20
+
21
+ To delete a service:
22
+
23
+ `$ svc delete <nickname>`
24
+
25
+ To start a service:
26
+
27
+ `$ svc start <nickname>`
28
+
29
+ To stop a service:
30
+
31
+ `$ svc stop <nickname>`
32
+
33
+ To restart a service:
34
+
35
+ `$ svc restart <nickname>`
data/lib/svc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Svc
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/svc.gemspec CHANGED
@@ -15,8 +15,6 @@ Gem::Specification.new do |s|
15
15
  s.add_dependency "thor"
16
16
  s.add_dependency "json"
17
17
 
18
- s.rubyforge_project = "svc"
19
-
20
18
  s.files = `git ls-files`.split("\n")
21
19
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
22
20
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jamie Murai
@@ -58,6 +58,7 @@ extra_rdoc_files: []
58
58
  files:
59
59
  - .gitignore
60
60
  - Gemfile
61
+ - README.md
61
62
  - Rakefile
62
63
  - bin/svc
63
64
  - lib/svc.rb
@@ -92,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
93
  version: "0"
93
94
  requirements: []
94
95
 
95
- rubyforge_project: svc
96
+ rubyforge_project:
96
97
  rubygems_version: 1.3.7
97
98
  signing_key:
98
99
  specification_version: 3