sumodev_deploy 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NTJhZWNkNDI4ZDIwYmE3MGRiZWQ0NjE1NzIyYzE3OWFhMDI3MTVmNw==
5
- data.tar.gz: !binary |-
6
- YTlhY2ZmM2QzYmUzNWFiMDdlMDExMjg1NzNmZDk5ZWJkYzQxNTNhYw==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- ZTc2NTc1NmRlZmY0ZTlkYmNjNGJkZWMyMDRjYzU0YmE1NGFhN2E0ZjM1YTE4
10
- NjY4ODA4Y2U3N2MzZmZlMzczMzA5MmU4MGU5ZGU0NDVjZjAzYTU3ZjVhNGM4
11
- Zjk0YzA4NDhmYmRmM2UzMTViNWMyOGI3NDM2ZWI4ZmFlZjY1NWQ=
12
- data.tar.gz: !binary |-
13
- Mzk3OWNkZTc2ZmM5MGM0MGVkZjdhZWQxYWIxZjE1MmZmZWU0ZWMxOGQyMmE5
14
- ZjMxZWI1ZDc3ZjZiMjVjMGM1Mjc0YzMyNGE2YTE3NzdkM2Y5ZGQ1N2ZlNTg5
15
- ZWEwZjEzYWUwMWQ3N2Y1MWVkMTkxMTFiMzdkMTY2Njc2ZThlOTY=
2
+ SHA1:
3
+ metadata.gz: 8db8bb8198cb0068cc1390548421180a4f83a00b
4
+ data.tar.gz: f4899eed357033581bbef59ffc2ce99a1f563c28
5
+ SHA512:
6
+ metadata.gz: b8c4ee1fe770f2471c7d66581e742b4e74f8a0f55ac4a831cc031788a539d78ba15b7e22443cf2ed351f36a8136b41c66c6fda76cd35c3339ce3923fadec0512
7
+ data.tar.gz: 55da48fb6ede49957e6f6c00c2d4f5f5dccac6811a88b49d4832ab891b23f2af7f4de6827178252cd5a131b7a3aa06035ebdcc5af4fe925b1ed07bfe4fbade0e
@@ -1,10 +1,10 @@
1
1
  Capistrano::Configuration.instance.load do
2
2
  namespace :sumodev do
3
3
  namespace :db do
4
- def remote_db_name
4
+ def remote_db_name_for_stage
5
5
  production? && !fetch(:production_db, '').empty? ?
6
6
  production_db :
7
- db_name
7
+ remote_db_name
8
8
  end
9
9
 
10
10
  def remote_db_options
@@ -41,7 +41,7 @@ Capistrano::Configuration.instance.load do
41
41
  run_locally %{mysqladmin create #{db_name}} rescue nil
42
42
 
43
43
  mysql = IO.popen("mysql #{db_name}", 'r+')
44
- run "mysqldump --set-charset #{remote_db_options} #{remote_db_name}" do |ch, stream, out|
44
+ run "mysqldump --set-charset #{remote_db_options} #{remote_db_name_for_stage}" do |ch, stream, out|
45
45
  if stream == :err
46
46
  ch[:options][:logger].send(:important, out, "#{stream} :: #{ch[:server]}" )
47
47
  else
@@ -74,7 +74,7 @@ Capistrano::Configuration.instance.load do
74
74
  upload dump, dump_path
75
75
 
76
76
  run %{
77
- mysql #{remote_db_options} #{remote_db_name} < #{dump_path} &&
77
+ mysql #{remote_db_options} #{remote_db_name_for_stage} < #{dump_path} &&
78
78
  rm #{dump_path}
79
79
  }
80
80
  end
@@ -23,6 +23,7 @@ Capistrano::Configuration.instance.load do
23
23
  _cset(:project) { abort "sumodev_deploy requires that you set client and project names in your capfile"}
24
24
 
25
25
  _cset(:db_name) { "#{client[0,8]}_#{project[0,7]}"}
26
+ _cset(:remote_db_name) { db_name }
26
27
 
27
28
  _cset(:staging_server, 'dev.sumocoders.be')
28
29
  _cset(:production_server, nil)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "sumodev_deploy"
5
- s.version = "0.4.4"
5
+ s.version = "0.4.5"
6
6
 
7
7
  s.authors = ["Jan De Poorter"]
8
8
  s.date = "2012-04-18"
metadata CHANGED
@@ -1,72 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sumodev_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
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Q3dZRFZSMFBCQVFEQWdTd01CMEdBMVVkRGdRV0JC
28
- U3kxMWtLeHFoNkU3LzErd09USFBKbgo4RXBlRnpBV0JnTlZIUkVFRHpBTmdR
29
- dHFZVzVBWkdWbWRpNWlaVEFXQmdOVkhSSUVEekFOZ1F0cVlXNUFaR1ZtCmRp
30
- NWlaVEFOQmdrcWhraUc5dzBCQVFVRkFBT0NBUUVBZVJnbk1FQ21Ya3NvVjNT
31
- OUhtdXBaRnNOWUV3dnlPOEUKem1HMVU0ajlybGVFV1JqS0xWalhkZmd5TG9l
32
- MnVtUlpwakpGR3dxaHdqYnNLV3U5eWFoRzlWZXRjWWVkSDEyYQp0bVUwMzNL
33
- SEdPei92UUtndTQ4Wnovckd6amZkSjU0a2FTRVB1MEFsMzV6c2RveFpIV21Q
34
- K2Jod1k4RE4yOGFOCjNkclpjMHhBL0t2N0hpaUpsSmkxNDBjZVFySGd2RlIv
35
- UzExR1hQVFBtQ1NWMFczQnhIc0p1Vm1hUDYxaEppa1AKSU4ybUZwRkw4ckFk
36
- eklzc2g3ejFsU285QUgwMGs2cm5uSHEzOFRmdmorWndOSGw1RENCVzgxYmYy
37
- UzZSM2QzWQpFdlVIWS9tcmZNY3NYUWJ3aVdXeFBzL2R6TDhSbFhFcGhZeDlz
38
- N0VyUk11ck9GUm5ZZ3dDZ0E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0t
39
- Cg==
10
+ cert_chain: []
40
11
  date: 2012-04-18 00:00:00.000000000 Z
41
12
  dependencies:
42
13
  - !ruby/object:Gem::Dependency
43
14
  name: activesupport
44
15
  requirement: !ruby/object:Gem::Requirement
45
16
  requirements:
46
- - - ! '>='
17
+ - - '>='
47
18
  - !ruby/object:Gem::Version
48
19
  version: '0'
20
+ type: :runtime
21
+ prerelease: false
49
22
  version_requirements: !ruby/object:Gem::Requirement
50
23
  requirements:
51
- - - ! '>='
24
+ - - '>='
52
25
  - !ruby/object:Gem::Version
53
26
  version: '0'
54
- type: :runtime
55
- prerelease: false
56
27
  - !ruby/object:Gem::Dependency
57
28
  name: capistrano
58
29
  requirement: !ruby/object:Gem::Requirement
59
30
  requirements:
60
- - - ! '>='
31
+ - - '>='
61
32
  - !ruby/object:Gem::Version
62
33
  version: '0'
34
+ type: :runtime
35
+ prerelease: false
63
36
  version_requirements: !ruby/object:Gem::Requirement
64
37
  requirements:
65
- - - ! '>='
38
+ - - '>='
66
39
  - !ruby/object:Gem::Version
67
40
  version: '0'
68
- type: :runtime
69
- prerelease: false
70
41
  description: Deploy to Sumocoders Dev server
71
42
  email: info@sumocoders.be
72
43
  executables: []
@@ -89,17 +60,17 @@ require_paths:
89
60
  - lib
90
61
  required_ruby_version: !ruby/object:Gem::Requirement
91
62
  requirements:
92
- - - ! '>='
63
+ - - '>='
93
64
  - !ruby/object:Gem::Version
94
65
  version: '0'
95
66
  required_rubygems_version: !ruby/object:Gem::Requirement
96
67
  requirements:
97
- - - ! '>='
68
+ - - '>='
98
69
  - !ruby/object:Gem::Version
99
70
  version: '0'
100
71
  requirements: []
101
72
  rubyforge_project:
102
- rubygems_version: 2.0.3
73
+ rubygems_version: 2.0.14
103
74
  signing_key:
104
75
  specification_version: 4
105
76
  summary: Deployment for Fork 3.x.x with Capistrano
checksums.yaml.gz.sig DELETED
Binary file
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
@@ -1,3 +0,0 @@
1
- [��@_�<����f��f�\���z�9w��-qc�2��Yؕ`�p����� 1%>G��9�`��B؛�%�+�}+�f��W�]V����5������u� ���hm�œ��&:�8�uJl�8jc�V�0aZ±b�����?���l(ˉf���5��7��J�bQ�ɍ��y���)�r1Q� ��t��G/�|䣫��Ǻ��7�r*�>M
2
- ���,f
3
- ��u͟��GV�i��A�rP�|�/�9[�% fj I