mina-rails-tools 0.1.2 → 0.1.3

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: 0b1ec0a24ccf8326ac0f432baee756bf25e0191f
4
- data.tar.gz: c69caa75b329a4320855f9458a5ff9187a2dddaf
3
+ metadata.gz: 51bfa5a2614813f6107da6717c0c6471f8e41e3d
4
+ data.tar.gz: ee25ca4274b61b1c47c3b078fb41a7fa9e08e0b8
5
5
  SHA512:
6
- metadata.gz: 8b7bbfb3051c57118b6302a15ea8a45df6ebd8298686637145f48d83b44f7d1db5144d8d32085e65e3be0cf33cbaf2e53741405f0215f962c1e97a7f4d21ec41
7
- data.tar.gz: 0d577df6d81c040332d449ca6806c5bd1d7342410723018bff29479aec0479e4ce29cba36290592ed8ce3adfedea69849169c954911f7fe17a883e069ddcaf1f
6
+ metadata.gz: a38ad90ffb511a8e1278a776109c3bd57f0629bd1a15bc8d0bc0cdeab0a45340a971619513c1c6bfd9f28c6960e24f2fdfedac5c144eb69970d827c841c6784f
7
+ data.tar.gz: 2c7edbba97477d93ad6245933e6026395cc57a89b0af2342bb4ffd3a94222d7d831fda2c2ae86c52ab489db4213dfb4e3262e1ce02e86c8056a2d0cbee80bc82
@@ -1,4 +1,4 @@
1
- set_default :apt_source, :us
1
+ set :apt_source, :us
2
2
 
3
3
  def apt_get(package)
4
4
  command echo_cmd "sudo apt-get install #{package} -y"
@@ -1,6 +1,6 @@
1
1
  require "mina/extras"
2
2
 
3
- set_default :sudoer, "root"
3
+ set :sudoer, "root"
4
4
  task :sudo do
5
5
  # set :user, sudoer
6
6
  set :sudo, true
@@ -1,9 +1,9 @@
1
- set_default :god_path, "/etc/god"
2
- set_default :god_user, "root"
3
- set_default :god_group, "root"
4
- set_default :god_service_path, "/etc/init.d"
5
- set_default :god_pid_path, "/var/run"
6
- set_default :god_log_path, "/var/log"
1
+ set :god_path, "/etc/god"
2
+ set :god_user, "root"
3
+ set :god_group, "root"
4
+ set :god_service_path, "/etc/init.d"
5
+ set :god_pid_path, "/var/run"
6
+ set :god_log_path, "/var/log"
7
7
 
8
8
  set :use_god, true
9
9
 
@@ -1,5 +1,5 @@
1
- # set_default :ssh_pub_key_path, "/home/"
2
- # set_default :ssh_key_path, "/home/"
1
+ # set :ssh_pub_key_path, "/home/"
2
+ # set :ssh_key_path, "/home/"
3
3
  #
4
4
  namespace :local do
5
5
  task :check_ssh_key do
@@ -1,5 +1,5 @@
1
- set_default :mysql_user, :root
2
- set_default :mysql_pass, true
1
+ set :mysql_user, :root
2
+ set :mysql_pass, true
3
3
 
4
4
  namespace :mysql do
5
5
 
@@ -1,8 +1,8 @@
1
1
  require "mina/extras"
2
2
 
3
- set_default :nginx_conf_path, "/etc/nginx/sites-enabled"
4
- set_default :nginx_port, 80
5
- set_default :nginx_default, false
3
+ set :nginx_conf_path, "/etc/nginx/sites-enabled"
4
+ set :nginx_port, 80
5
+ set :nginx_default, false
6
6
 
7
7
  namespace :nginx do
8
8
 
@@ -1,5 +1,5 @@
1
- set_default :platform, :ubuntu
2
- set_default :webserver, :unicorn
1
+ set :platform, :ubuntu
2
+ set :webserver, :unicorn
3
3
 
4
4
  namespace :platform do
5
5
  desc 'List support platforms'
@@ -1,4 +1,4 @@
1
- set_default :log_line, 200
1
+ set :log_line, 200
2
2
 
3
3
  desc "Rails Log"
4
4
  task :log => :environment do
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module Extras
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-rails-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joey Lin