simple_configure 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: f86f31dbc5e4d799ee566be89e31e0ae9097d2ed
4
- data.tar.gz: 4e6c86aae500df7d18f0ee7e056940a2a9652504
3
+ metadata.gz: 4b705d53ac529feb073f833e1c1b79fe13f0e02b
4
+ data.tar.gz: d5ce06724bf99c071f0da11c6272eb85a63ce546
5
5
  SHA512:
6
- metadata.gz: 2f60de2cb9bbcb676e8c6d3293952d231e7d8b4ba55995252c4d40a179cc50b09d57c69a02014ca2abc45bd27fdb756f6768f9851384c4d81b6d3505691f9ed0
7
- data.tar.gz: e029acee538b72682f10cedf5190de371d72e3fa868e8c396eb64ff30098c26f1c33d1fec0055e00f2c30734b55156c5decd53940a634a30fb010cafb82c8b03
6
+ metadata.gz: dea870448a4d1125f49d940ce6da49d780a5430d7687f558a4c1e6e32c72d472cc8d874895a9fa03ca8727e5250774344886a09ec128900039c66eb395674ea6
7
+ data.tar.gz: b38d4d6e050114bf1157202c87a5c999e7edd7223f97ddf62a158292091eabbbb36c54c76b20741efbce86e8e96fc63440499a15bfda8a9c19082255ed1a3b8e
data/README.md CHANGED
@@ -1,15 +1,15 @@
1
1
  ## simple_configure
2
- simple_configure is a simple provisioning tool for provisioning servers to deploy Rails apps.
2
+ simple_configure is a simple configuration tool for configuring servers to deploy Rails apps.
3
3
 
4
4
  ### Why do you need this?
5
- Have you ever deployed Rails apps to VPS manually without making mistakes and wasting time? The answer is most probably no. This is because humans are very error prone. We already have a great tool called **Capistrano** which automates most of the tasks involved in deployment of Rails apps. I haven't found a simple tool which performs the same automation for provisioning servers. That's why I wrote this tool. This is another tool extracted from Groupsy/Clubalert.
5
+ Have you ever deployed Rails apps to VPS manually without making mistakes and wasting time? The answer is most probably no. This is because humans are very error prone. We already have a great tool called **Capistrano** which automates most of the tasks involved in deployment of Rails apps. I haven't found a simple tool which performs the same automation for configuration servers. That's why I wrote this tool. This is another tool extracted from Groupsy/Clubalert.
6
6
 
7
7
  #### What about Chef/Puppet/Ansible/SaltStack?
8
- I have some experience with Ansible but not a lot. I have never used SaltStack. So I am going to leave it out in this comparison. But I have played around with both Chef and Puppet. They are great at configuration management. But for a less compilated task like provisioning a Rails server, they are unnecessarily complicated and it will take a week for getting a person up to speed on the basics of these tools. simple_configure actually rose out my frustration with Chef.
8
+ I have some experience with Ansible but not a lot. I have never used SaltStack. So I am going to leave it out in this comparison. But I have played around with both Chef and Puppet. They are great at configuration management. But for a less compilated task like configuring a Rails server, they are unnecessarily complicated and it will take a week for getting a person up to speed on the basics of these tools. simple_configure actually rose out my frustration with Chef.
9
9
 
10
10
  ### Architecture
11
11
 
12
- `simple_configure` is an agentless provisioning tool written in Ruby. All the provisioning is done over SSH. `simple_configure` breaks down the provisioning of servers into a series of tasks. `simple_configure` exposes those tasks through a DSL. The list of tasks currently available in `simple_configure` are in the tasks section below.
12
+ `simple_configure` is an agentless configuration tool written in Ruby. All the configuration is done over SSH. `simple_configure` breaks down the configuration of servers into a series of tasks. `simple_configure` exposes those tasks through a DSL. The list of tasks currently available in `simple_configure` are in the tasks section below.
13
13
 
14
14
  ### Installation
15
15
 
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # This code was taken from https://github.com/lsegal/yard/blob/master/bin/yard. The code is licensed under the MIT License.
4
+
5
+ # We do all this work just to find the proper load path
6
+ path = __FILE__
7
+ while File.symlink?(path)
8
+ path = File.expand_path(File.readlink(path), File.dirname(path))
9
+ end
10
+ $:.unshift(File.join(File.dirname(File.expand_path(path)), '..', 'lib'))
11
+
12
+ require 'simple_configure'
13
+
14
+ puts ARGV
@@ -1,5 +1,7 @@
1
+ $LOAD_PATH << File.dirname(__FILE__)
2
+
1
3
  require "simple_configure/version"
2
4
 
3
5
  module SimpleConfigure
4
- # Your code goes here...
6
+
5
7
  end
File without changes
@@ -1,3 +1,3 @@
1
1
  module SimpleConfigure
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_configure
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
  - Adhithya Rajasekaran
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-13 00:00:00.000000000 Z
11
+ date: 2015-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -43,7 +43,8 @@ description: simple_configure automates the set up of your Rails deployment serv
43
43
  to deploy your Rails apps
44
44
  email:
45
45
  - adhithyan15@gmail.com
46
- executables: []
46
+ executables:
47
+ - simpleconfig
47
48
  extensions: []
48
49
  extra_rdoc_files: []
49
50
  files:
@@ -53,7 +54,9 @@ files:
53
54
  - LICENSE.txt
54
55
  - README.md
55
56
  - Rakefile
57
+ - bin/simpleconfig
56
58
  - lib/simple_configure.rb
59
+ - lib/simple_configure/core_methods.rb
57
60
  - lib/simple_configure/version.rb
58
61
  - simple_configure.gemspec
59
62
  homepage: http://adhithyan15.github.io/simple_configure/