ors 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README +21 -0
  2. data/lib/ors/helpers.rb +1 -1
  3. data/lib/ors/version.rb +1 -1
  4. metadata +5 -4
data/README ADDED
@@ -0,0 +1,21 @@
1
+ Usage: ./ors <action> [environment=production] [options]
2
+
3
+ === Actions
4
+ help You're looking at it
5
+ console Bring up a console on the production servers
6
+ logs Show the last few log entries from the production servers
7
+ deploy Update the code, run the migrations, and restart unicorn
8
+ setup Sets up the default environment on the servers
9
+ update Updates the code on all servers
10
+ migrate Runs the migrations on the migration server
11
+ start Starts up unicorn on the app servers
12
+ stop Stops unicorn on the app servers
13
+ restart Retarts unicorn on the app servers
14
+
15
+ === Environments
16
+ Must be one of: production demo staging
17
+ Defaults to production.
18
+
19
+ === Options
20
+ --pretend (or -p) Don't execute anything, just show me what you're going to do (default: false)
21
+ --no-gateway (or -ng) Don't use a gateway (if you're inside the firewall) (default: true)
data/lib/ors/helpers.rb CHANGED
@@ -8,7 +8,7 @@ module ORS
8
8
 
9
9
  execute_command server, %(cd #{base_path}),
10
10
  %(rm -rf #{deploy_directory}),
11
- %(git clone #{REPO}:#{name} #{deploy_directory}),
11
+ %(git clone #{repo}:#{name} #{deploy_directory}),
12
12
  %(mkdir -p #{deploy_directory}/tmp/pids),
13
13
  %(mkdir -p #{deploy_directory}/log)
14
14
  end
data/lib/ors/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ORS
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ors
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
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
  - Jason Dew and John Long
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-03 00:00:00 -05:00
18
+ date: 2011-02-08 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -74,6 +74,7 @@ files:
74
74
  - .gitignore
75
75
  - .rspec
76
76
  - Gemfile
77
+ - README
77
78
  - Rakefile
78
79
  - bin/ors
79
80
  - lib/ors.rb