sunzi-rails 0.2.14 → 0.2.15

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: be3e8368828a448b362bf589d42fac5f8835b726
4
- data.tar.gz: c9c802118b0ee2aea8791bdfef7e31f9a3ceacaf
3
+ metadata.gz: 7352a278de207b6cb7fc6f7f6036737098a38778
4
+ data.tar.gz: f389f62f048975d04d7f76cd4840304eae8201fd
5
5
  SHA512:
6
- metadata.gz: 49bca19603f7ab620ed78f51bdc63772e7da630d50bbe79934084096e6efb53348abfe68599f238e308b413de2ca887156b86c146e1f8cf1ac745749393e85cf
7
- data.tar.gz: baa6e3cf9fdd19db57b801d768abb6f8f9ca10dc4c4072f95c034af4d14322a1fe7bb27811a757a974e595fd2b99c668c1fa287d3c4d5f18a15081e478fae496
6
+ metadata.gz: ed4626cbfd6f70ac9fb06639a06b2be7707c37a73123a8f98405e3401e2789bf412c9fa55f665cd71fb1b5cb6faef7a2cdeaa93e0864a38c8937a47db4619b16
7
+ data.tar.gz: c22f84f8597fe50e63d2417928ced30de234342a6c3a6cdaf75f54b82ba4cf0d582733be54aed5560e8b9413c7ccbc9a06e1e887f6c67d273003b5d1037887e6
data/README.md CHANGED
@@ -187,25 +187,8 @@ Vagrant
187
187
 
188
188
  If you're using Sunzi with [Vagrant](http://vagrantup.com/), make sure that you have a root access via SSH.
189
189
 
190
- An easy way is to edit `Vagrantfile`:
191
-
192
- ```ruby
193
- Vagrant.configure("2") do |config|
194
- config.vm.provision "shell",
195
- inline: "sudo echo 'root:vagrant' | /usr/sbin/chpasswd"
196
- end
197
- end
198
- ```
199
-
200
- and now run `vagrant up`, it will change the root password to `vagrant`.
201
-
202
- Also keep in mind that you need to specify the port number 2222 within `config/deploy/vagrant.rb`.
190
+ After `vagrant up`, connect with `vagrant ssh` and add your public ssh key `id_rsa.pub` to `~/.ssh/authorized_keys`.
203
191
 
204
192
  ```bash
205
193
  $ sunzi-cap deploy vagrant deployer
206
194
  ```
207
-
208
- Demonstration Videos
209
- -------
210
-
211
- You can watch video on how to deploy a Rails 4.1 app with Sunzi and Capistrano 3 at http://youtu.be/3mwupXqtkmg
data/lib/sunzi/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Sunzi
2
- VERSION = "0.2.14"
2
+ VERSION = "0.2.15"
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
4
  RAILS_VERSION = "4.2"
5
5
  end
@@ -1,5 +1,6 @@
1
1
  if sunzi.to_be_done "install sysstat"; then
2
2
  sunzi.install "sysstat"
3
+ sunzi.install "iotop"
3
4
 
4
5
  sed -i 's/ENABLED="false"/ENABLED="true"/' /etc/default/sysstat
5
6
  /etc/init.d/sysstat restart
@@ -13,7 +13,7 @@ source recipes/mysql.sh
13
13
  <% end -%>
14
14
  source recipes/passenger.sh
15
15
  source recipes/user.sh
16
- # source recipes/sysstat.sh
16
+ source recipes/sysstat.sh
17
17
 
18
18
  sunzi.elapsed_time $start
19
19
 
data/sunzi.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.name = 'sunzi-rails'
10
10
  spec.version = Sunzi::VERSION
11
11
  spec.authors = ['Kenn Ejima', 'Patrice Lebel']
12
- spec.email = ['kenn.ejima@gmail.com']
12
+ spec.email = ['patrice@lebel.com']
13
13
  spec.homepage = 'http://github.com/o2web/sunzi-rails'
14
14
  spec.summary = %q{Server provisioning utility for minimalists}
15
15
  spec.description = %q{Server provisioning utility for minimalists}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunzi-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 0.2.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenn Ejima
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-18 00:00:00.000000000 Z
12
+ date: 2016-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -103,7 +103,7 @@ dependencies:
103
103
  version: '0'
104
104
  description: Server provisioning utility for minimalists
105
105
  email:
106
- - kenn.ejima@gmail.com
106
+ - patrice@lebel.com
107
107
  executables:
108
108
  - sunzi-cap
109
109
  extensions: []
@@ -167,4 +167,3 @@ signing_key:
167
167
  specification_version: 4
168
168
  summary: Server provisioning utility for minimalists
169
169
  test_files: []
170
- has_rdoc: