railsworks 0.2.1 → 0.2.2

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: 5e93e993f9acdefe576825384eea5b02569c1964
4
- data.tar.gz: 4d78bade24585191f7f98ea2f4f07fe18f0aaa35
3
+ metadata.gz: 72a87066d53b6c1b9df184059ed60e8ed6ad3a1c
4
+ data.tar.gz: 348b30feee82b8cf24c910725ec9d8577014731f
5
5
  SHA512:
6
- metadata.gz: 2f0eb393b30b5079b186796a79a21fda0267f9a21b825adaf16b949ce86d064d9d00777a1a5c2a32e2f2347178e49f0b5813dcef3d39227fe9b8151b03dc380e
7
- data.tar.gz: b02f4021a651dd44b216b22c87bf32ed9f81cc87cabd2122005fccd6b0472da5ba2f5fcec62871b929e4bef48f965f602629867948d771be50418fde52c1dfe4
6
+ metadata.gz: 636d2d36458406b60b463531f4106a77e57e33b23d9297d604905cdcd0f36bd2386076293a0baf7d5ea1b956a755189be48b328b8419e58c5315983f0fd5183b
7
+ data.tar.gz: 00f86394c40122c4f164596581d5d19b72287a2e7b84ba4c25e9ef93148ab64e294fee9d19f1752eb55ce3759e905397676269f7edd727db7f96292301c0d804
@@ -9,7 +9,7 @@ namespace :shell do
9
9
  regions = YAML.load_file('config/opsworks.yml')['staging']
10
10
  ip = get_ip(regions)
11
11
  path = '/srv/www/' + get_name(regions) + '/current'
12
- run_interactively(ip, path)
12
+ run_shell(ip, path)
13
13
  end
14
14
 
15
15
  desc "Connecting to production console"
@@ -17,7 +17,7 @@ namespace :shell do
17
17
  regions = YAML.load_file('config/opsworks.yml')['production']
18
18
  ip = get_ip(regions)
19
19
  path = '/srv/www/' + get_name(regions) + '/current'
20
- run_interactively(ip, path)
20
+ run_shell(ip, path)
21
21
  end
22
22
 
23
23
  def get_ip(regions)
@@ -41,8 +41,8 @@ namespace :shell do
41
41
  end
42
42
  end
43
43
 
44
- def run_interactively(server, path)
44
+ def run_shell(server, path)
45
45
  server = ENV['AWS_USERNAME'] + "@" + server if ENV['AWS_USERNAME']
46
- exec %Q(ssh #{server} -t 'cd #{path}') if server && path
46
+ exec %Q(ssh #{server}) if server && path
47
47
  end
48
48
  end
@@ -1,3 +1,3 @@
1
1
  module Railsworks
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railsworks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kurt Nelson