traquitana 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/config/proc.sh +3 -3
  2. data/lib/deploy.rb +0 -1
  3. metadata +9 -11
data/config/proc.sh CHANGED
@@ -6,14 +6,14 @@ cd $1/..
6
6
 
7
7
  # make a copy of the old contents
8
8
  echo Making a safe copy of the old contents ...
9
- zip -q traq/$2.safe.zip `cat traq/$2.list`
9
+ zip -q traq/$2.safe.zip `cat traq/$2.list` &> /dev/null
10
10
  echo Stored on traq/$2.safe.zip
11
11
 
12
12
  # install the new files
13
13
  echo
14
14
  echo Unzipping the new content
15
15
  echo -------------------------
16
- unzip -o traq/$2.zip
16
+ unzip -o traq/$2.zip &> /dev/null
17
17
 
18
18
  # run migrations if needed
19
19
  migrations=$(grep "^db/migrate" traq/$2.list)
@@ -22,7 +22,7 @@ if [ -n "$migrations" ]; then
22
22
  echo
23
23
  echo Running migrations
24
24
  echo ------------------
25
- rake db:migrate
25
+ bundle exec rake db:migrate
26
26
  fi
27
27
 
28
28
  # change file permissions on public dir
data/lib/deploy.rb CHANGED
@@ -135,7 +135,6 @@ module Traquitana
135
135
  result = ""
136
136
  cmd = "#{@config.directory}/traq/proc.sh #{@config.directory}/traq #{all_list_file.split(File.extname(all_list_file)).first}"
137
137
  cmd = "#{@shell} \"#{cmd}\"" if @shell
138
- section_msg("Executing #{cmd} on remote host ...")
139
138
 
140
139
  ssh.exec!(cmd) do |channel, stream, data|
141
140
  result << data
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: traquitana
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-05-05 00:00:00.000000000 -03:00
13
- default_executable:
12
+ date: 2012-08-13 00:00:00.000000000Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rubyzip
17
- requirement: &75722500 !ruby/object:Gem::Requirement
16
+ requirement: &75949470 !ruby/object:Gem::Requirement
18
17
  none: false
19
18
  requirements:
20
19
  - - ! '>='
@@ -22,10 +21,10 @@ dependencies:
22
21
  version: '0'
23
22
  type: :runtime
24
23
  prerelease: false
25
- version_requirements: *75722500
24
+ version_requirements: *75949470
26
25
  - !ruby/object:Gem::Dependency
27
26
  name: net-ssh
28
- requirement: &75722200 !ruby/object:Gem::Requirement
27
+ requirement: &75949230 !ruby/object:Gem::Requirement
29
28
  none: false
30
29
  requirements:
31
30
  - - ! '>='
@@ -33,10 +32,10 @@ dependencies:
33
32
  version: '0'
34
33
  type: :runtime
35
34
  prerelease: false
36
- version_requirements: *75722200
35
+ version_requirements: *75949230
37
36
  - !ruby/object:Gem::Dependency
38
37
  name: net-scp
39
- requirement: &75721890 !ruby/object:Gem::Requirement
38
+ requirement: &75948990 !ruby/object:Gem::Requirement
40
39
  none: false
41
40
  requirements:
42
41
  - - ! '>='
@@ -44,7 +43,7 @@ dependencies:
44
43
  version: '0'
45
44
  type: :runtime
46
45
  prerelease: false
47
- version_requirements: *75721890
46
+ version_requirements: *75948990
48
47
  description: Simple tool for deploy Rails apps
49
48
  email: eustaquiorangel@gmail.com
50
49
  executables:
@@ -58,7 +57,6 @@ files:
58
57
  - config/default.yml
59
58
  - config/passenger.sh
60
59
  - config/proc.sh
61
- has_rdoc: true
62
60
  homepage: http://github.com/taq/traquitana
63
61
  licenses: []
64
62
  post_install_message:
@@ -79,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
77
  version: '0'
80
78
  requirements: []
81
79
  rubyforge_project:
82
- rubygems_version: 1.6.2
80
+ rubygems_version: 1.8.10
83
81
  signing_key:
84
82
  specification_version: 3
85
83
  summary: Simple tool for deploy Rails apps