rsm 0.1.7 → 0.1.8

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.
data/.yardopts ADDED
@@ -0,0 +1,3 @@
1
+ --protected
2
+ --private
3
+ --files CHANGES.md,VERSION
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.8
data/lib/rsm/actions.rb CHANGED
@@ -25,6 +25,10 @@ module Rsm
25
25
  run(command, config.merge(:with => with))
26
26
  end
27
27
 
28
+ def run_with_bundler(command, config = {})
29
+ run_ruby_binary("#{application_root}/bin/#{command}", config)
30
+ end
31
+
28
32
  # relative downloaded filename
29
33
  # *name*:: application name
30
34
  # *compressor*:: +:gz+ or +:bz2+
@@ -3,7 +3,7 @@ module Rsm
3
3
  class Start < Rsm::Base
4
4
 
5
5
  def thin_start
6
- run_ruby_binary "thin start -C #{application_root}/config/thin.yml"
6
+ run_with_bundler "thin start -C #{application_root}/config/thin.yml"
7
7
  end
8
8
 
9
9
  end
@@ -3,7 +3,7 @@ module Rsm
3
3
  class Start < Rsm::Base
4
4
 
5
5
  def unicorn_rails
6
- run_ruby_binary "unicorn_rails -D -E #{options[:environment]} -c #{application_root.join("config", "unicorn.rb")}"
6
+ run_with_bundler "unicorn -D -E #{options[:environment]} -c #{application_root.join("config", "unicorn.rb")}"
7
7
  end
8
8
 
9
9
  end
metadata CHANGED
@@ -1,38 +1,42 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rsm
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.7
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.1.8
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Oleksandr Ulianytskyi
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-12 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2011-10-27 00:00:00 +03:00
14
+ default_executable: rsm
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
15
17
  name: thor
16
- requirement: &13523712 !ruby/object:Gem::Requirement
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
17
20
  none: false
18
- requirements:
21
+ requirements:
19
22
  - - ~>
20
- - !ruby/object:Gem::Version
23
+ - !ruby/object:Gem::Version
21
24
  version: 0.14.6
22
25
  type: :runtime
23
- prerelease: false
24
- version_requirements: *13523712
26
+ version_requirements: *id001
25
27
  description: Thor tasks for rapid deployment new rails apps on server
26
28
  email: a.ulyanitsky@gmail.com
27
- executables:
29
+ executables:
28
30
  - rsm
29
31
  extensions: []
30
- extra_rdoc_files:
32
+
33
+ extra_rdoc_files:
31
34
  - README.md
32
35
  - CHANGES.md
33
36
  - VERSION
34
- files:
37
+ files:
35
38
  - .gitignore
39
+ - .yardopts
36
40
  - CHANGES.md
37
41
  - Gemfile
38
42
  - README.md
@@ -57,35 +61,37 @@ files:
57
61
  - rsm.gemspec
58
62
  - templates/rsm/install/nginx/nginx-server.conf.erb
59
63
  - templates/rsm/install/rails/unicorn.rb.erb
64
+ has_rdoc: true
60
65
  homepage: https://github.com/asux/rsm
61
- licenses:
66
+ licenses:
62
67
  - BSD
63
68
  post_install_message:
64
- rdoc_options:
69
+ rdoc_options:
65
70
  - --main
66
71
  - README.md
67
72
  - --line-numbers
68
- require_paths:
73
+ require_paths:
69
74
  - lib
70
- required_ruby_version: !ruby/object:Gem::Requirement
75
+ required_ruby_version: !ruby/object:Gem::Requirement
71
76
  none: false
72
- requirements:
73
- - - ! '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- required_rubygems_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: "0"
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
82
  none: false
78
- requirements:
79
- - - ! '>='
80
- - !ruby/object:Gem::Version
81
- version: '0'
82
- requirements:
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: "0"
87
+ requirements:
83
88
  - A coreutils installed
84
89
  - A Git installed
85
90
  - A Nginx installed
86
91
  rubyforge_project:
87
- rubygems_version: 1.8.6
92
+ rubygems_version: 1.6.2
88
93
  signing_key:
89
94
  specification_version: 3
90
95
  summary: Rails server manager
91
96
  test_files: []
97
+