gploy 0.1.2 → 0.1.3
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/README.markdown +1 -1
- data/Rakefile +1 -1
- data/lib/gploy/configure.rb +2 -2
- metadata +3 -3
data/README.markdown
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## Introduction
|
|
2
2
|
|
|
3
|
-
This is a
|
|
3
|
+
This is a simple RubyGems to configure your Rails Project for deployment using git push, this gem only make a series of configurations in your local project and to in your web server. This gem consider what you are using locaweb to host your project and using git obviously.
|
|
4
4
|
|
|
5
5
|
## What directory structure is used
|
|
6
6
|
This gem use a structure in webserver like this:
|
data/Rakefile
CHANGED
|
@@ -5,7 +5,7 @@ require 'rake/gempackagetask'
|
|
|
5
5
|
require 'spec/rake/spectask'
|
|
6
6
|
|
|
7
7
|
GEM = "gploy"
|
|
8
|
-
GEM_VERSION = "0.1.
|
|
8
|
+
GEM_VERSION = "0.1.3"
|
|
9
9
|
SUMMARY = "Simple gem to configure rails project deploy using git(locaweb server only)"
|
|
10
10
|
AUTHOR = "Edipo Luis Federle"
|
|
11
11
|
EMAIL = "edipofederle@gmail.com"
|
data/lib/gploy/configure.rb
CHANGED
|
@@ -8,7 +8,7 @@ module Gploy
|
|
|
8
8
|
class Configure
|
|
9
9
|
|
|
10
10
|
include Helpers
|
|
11
|
-
VERSION = '0.1.
|
|
11
|
+
VERSION = '0.1.3'
|
|
12
12
|
|
|
13
13
|
def configure_server
|
|
14
14
|
create_file_and_direcotry_unless_exists("config", "config.yaml")
|
|
@@ -92,7 +92,7 @@ module Gploy
|
|
|
92
92
|
def initialize_local_repo
|
|
93
93
|
puts "Starting local git repository"
|
|
94
94
|
unless dirExists?(".git/")
|
|
95
|
-
|
|
95
|
+
run_local("git init && git add . && git commit -m 'Initial Commit' ")
|
|
96
96
|
else
|
|
97
97
|
puts "Git is already configured in this project"
|
|
98
98
|
end
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 1
|
|
8
|
-
-
|
|
9
|
-
version: 0.1.
|
|
8
|
+
- 3
|
|
9
|
+
version: 0.1.3
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Edipo Luis Federle
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2010-03-
|
|
17
|
+
date: 2010-03-26 00:00:00 -03:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|