technomancy-harker 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +4 -0
  2. data/README.rdoc +10 -8
  3. data/lib/harker.rb +2 -2
  4. metadata +1 -1
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.5.1 / 2009-03-30
2
+
3
+ * Fixed a problem with the Usage message.
4
+
1
5
  === 0.5.0 / 2009-03-30
2
6
 
3
7
  * Use gem's config/database.yml for a base.
data/README.rdoc CHANGED
@@ -42,30 +42,32 @@ Once your app is a gem, install it locally with "rake install_gem",
42
42
  and you should be able to use the bin wrapper to generate a new
43
43
  instance:
44
44
 
45
- $ your_app init ~/apps/your_app_3000
45
+ $ your_app init ~/apps/your_app_3001
46
46
 
47
47
  Then edit /var/myapp/database.yml with your database settings. At that
48
48
  point you should be able to bring up your database:
49
49
 
50
- $ your_app migrate ~/apps/your_app_3000
50
+ $ your_app migrate ~/apps/your_app_3001
51
51
 
52
52
  Test it out by dropping into the console:
53
53
 
54
- $ your_app console ~/apps/your_app_3000
54
+ $ your_app console ~/apps/your_app_3001
55
55
 
56
56
  Then you can start and stop your application server via Rack:
57
57
 
58
- $ your_app start ~/apps/your_app_3000 --daemon
59
- $ your_app stop ~/apps/your_app_3000
58
+ $ your_app start ~/apps/your_app_3001 --daemon --port=3001
59
+ $ your_app stop ~/apps/your_app_3001
60
60
 
61
- To configure the web server, create a config.ru file in your instance
62
- directory, and Rails will pick that up with Rack.
61
+ The start command takes all the same arguments as script/server. To
62
+ configure it in a way that doesn't require command-line arguments,
63
+ create a config.ru file in your instance directory, and Rails will
64
+ pick that up with Rack.
63
65
 
64
66
  If you omit the second argument, it defaults to the current directory.
65
67
 
66
68
  For deployment, simply publish your gem to a gem server (public or
67
69
  private), install it on the target server, and launch it via the bin
68
- wrappers.
70
+ wrapper.
69
71
 
70
72
  == Requirements
71
73
 
data/lib/harker.rb CHANGED
@@ -6,7 +6,7 @@ require 'fileutils'
6
6
  # rather than by Harker itself.
7
7
  #
8
8
  module Harker
9
- VERSION = '0.5.0'
9
+ VERSION = '0.5.1'
10
10
  ACTIONS = %w(start stop restart init migrate console)
11
11
  GEM_ROOT = Gem.loaded_specs[File.basename($0)].full_gem_path rescue '.'
12
12
 
@@ -17,7 +17,7 @@ module Harker
17
17
  action = args.shift
18
18
 
19
19
  unless ACTIONS.include?(action)
20
- abort "Usage: #{name} INSTANCE_DIR (#{ACTIONS.join('|')}).
20
+ abort "Usage: #{name} (#{ACTIONS.join('|')}) [INSTANCE_DIR] [START_ARGS]
21
21
  The start command takes the same arguments as script/server."
22
22
  end
23
23
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: technomancy-harker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phil Hagelberg