mina-serverbuild 0.0.1 → 0.0.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: 39e750dc30780bbd2ab4481e680091c8510fecf2
4
- data.tar.gz: eedcf95aa5ca8b9931996cb89919de1c0812199a
3
+ metadata.gz: 306fd1d8094daef7141f9d253ac31963723b79ed
4
+ data.tar.gz: 5e1bd4f4f4770de0b1dc3b6bf78b6010bd575db5
5
5
  SHA512:
6
- metadata.gz: c843a192920473f9626dbbdf30f4ed6fc72581b8638a29f9c6f7b327cf37294f2c271f5e329102a8898c23efe7507349a59a75211d26bdc5e5a7cc4d49adf9c5
7
- data.tar.gz: 0d9be8015e6ce44f4c63a664b730a495c1044c430e025e52a06c81d99bd96c27796a2c67d8babffac72e79864c1c263a9c953168110e45228337656cbf532984
6
+ metadata.gz: 9d4031b3ff8d73a4d87b9667ce51de08f431e4645cecc9f6da4fa3a9af179c5f9f822d6e2f19d08e8ce14c6926786323612ada834e2663c64b8f26ea72aa58ea
7
+ data.tar.gz: 84722de581a255fe8b27648aa7d9a3b43aaff8b00a0822a86ad3bbe9fe86ad99142c7685e66ae33004629d293d4dedb3fd6a15aa37311efb448f0e4a238c5535
data/.gitignore CHANGED
@@ -29,3 +29,4 @@ config/secrets.yml
29
29
  /vendor/assets/bower_components
30
30
  *.bowerrc
31
31
  bower.json
32
+ /pkg/
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mina-serverbuild (0.0.1)
4
+ mina-serverbuild (0.0.2)
5
5
  mina (~> 0.3)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -36,19 +36,26 @@ to give you a server ready for deployment
36
36
  You can add the following variables to your deploy.rb file to customise the installation, the default values
37
37
  are currently for an Ubuntu 14.04 installation
38
38
 
39
- set :deployment_platform, 'ubuntu'
40
- set :platform_codename, 'trusty'
41
- set :database_server, 'postgresql'
42
- set :ruby_manager, 'rbenv'
43
- set :ruby_version, '2.1.2'
39
+ set :deployment_platform, "ubuntu"
40
+ set :platform_codename, "trusty"
41
+ set :database_server, "postgresql"
42
+ set :web_server, "nginx"
43
+ set :ruby_manager, "rbenv"
44
+ set :ruby_version, "2.1.2"
44
45
 
45
46
  * deployment_platform
46
47
  * ubuntu
47
- * ubuntu_codename
48
- Supported platforms are 12.04 (precise), and 14.04 (trusty)
48
+ * platform_codename
49
+ Supported platforms are 12.04 (precise), and 14.04 (trusty)
50
+ * redhat (work in progress)
49
51
 
50
52
  * ruby_manager
51
53
  * rbenv
54
+ * rvm (work in progress)
55
+
56
+ * web_server
57
+ * nginx
58
+ * apache
52
59
 
53
60
 
54
61
  ## Contributing
@@ -1,6 +1,9 @@
1
1
  require "mina/serverbuild/version"
2
2
 
3
+ # Mina Module is the Parent of all Classes in this Gem
3
4
  module Mina
5
+ #
6
+ # The Serverbuild Module encloses all the Rake Taskd for this gem
4
7
  module Serverbuild
5
8
  load File.expand_path("../serverbuild/serverbuild.rake", __FILE__)
6
9
  end
@@ -49,6 +49,11 @@ namespace :build_ubuntu do
49
49
  queue "sudo apt-get -y update"
50
50
  queue "sudo apt-get -y install nginx"
51
51
  end
52
+
53
+ desc "Install Apache 2"
54
+ task :apt_install_apache2 do
55
+ queue "sudo apt-get install apache2"
56
+ end
52
57
 
53
58
  desc "Install RBENV Ruby Manager"
54
59
  task :build_rbenv do
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module Serverbuild
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -22,4 +22,5 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "rake", "~> 10"
23
23
  spec.add_development_dependency "minitest", "~> 5.0"
24
24
  spec.add_dependency "mina", "~> 0.3"
25
+ spec.required_ruby_version = '>= 1.9.3'
25
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-serverbuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Simkins
@@ -96,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - ">="
98
98
  - !ruby/object:Gem::Version
99
- version: '0'
99
+ version: 1.9.3
100
100
  required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - ">="