capcake 3.0.0 → 3.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46eb003bd6e0b05d8bc0cb0fdceb0f18500d2d36
4
- data.tar.gz: 43ad4d926541b31d9800cbf70be1b1a1b65059e9
3
+ metadata.gz: ae31d5b27458cd0096eb144d979c0c0614d15802
4
+ data.tar.gz: 794a6b852fc865db28fe4d7a650af104e6e21b5b
5
5
  SHA512:
6
- metadata.gz: 4fd273215cb36ecc14c1ecb27892af8ab94aa78e4e39e57d482dfe55abeed1a8c767ddc9e0959d4bb2f13e875747e5042ba7aea767baa8ecc189fc23ae5ce6cd
7
- data.tar.gz: 8f8831e628d3e7959d01f987f84618bb357322f82542cffa22703d621dfece27909c9e25bcd49b2d12e93601919887ea6568b1caa3d351d8b4365943a08e39b7
6
+ metadata.gz: 986d083b841730a83afb62a260c22d7ecb7e707e8812a7cba0397f2b06ab68ffb039a529b925380fedb9b72cd50db5d418e52805ad920c86a2194fd832605f27
7
+ data.tar.gz: a1ea715133912d3e7fb2e6415da6d32730adcb8b488f6a5e4ce72232e2a2c8a12080ff6c32f8061567b1402ba0b8f4f58eb4b1dea1065684f3b92be0a4ab69ba
data/.semver ADDED
@@ -0,0 +1,6 @@
1
+ ---
2
+ :major: 3
3
+ :minor: 0
4
+ :patch: 1
5
+ :special: ''
6
+ :metadata: ''
data/README.md CHANGED
@@ -4,14 +4,6 @@ Deploy CakePHP applications with Capistrano v3.*
4
4
 
5
5
  IMPORTANT: Tested with CakePHP 3 thus far, but should work for CakePHP 2 that uses composer.
6
6
 
7
- ## Requirements
8
-
9
- The remote server(s) require the `acl` package:
10
-
11
- ```
12
- $ sudo apt-get install acl
13
- ```
14
-
15
7
  ## Installation
16
8
 
17
9
  Add this line to your application's Gemfile:
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ v3.0.1
data/capcake.gemspec CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = 'capcake'
6
- spec.version = '3.0.0'
6
+ spec.version = '3.0.1'
7
7
  spec.authors = ['Jad Bitar']
8
8
  spec.email = ['bitarjad@gmail.com']
9
9
  spec.description = %q{CakePHP deployment for Capistrano 3.x}
@@ -6,6 +6,7 @@ set_if_empty :linked_dirs, [
6
6
  'tmp/cache/models',
7
7
  'tmp/cache/persistent',
8
8
  'tmp/cache/views',
9
+ 'tmp/logs',
9
10
  'tmp/sessions',
10
11
  'tmp/tests'
11
12
  ]
@@ -7,7 +7,3 @@ namespace :load do
7
7
  load 'capistrano/cakephp/defaults.rb'
8
8
  end
9
9
  end
10
-
11
- namespace :deploy do
12
- after :updated, "cakephp:build"
13
- end
@@ -14,7 +14,9 @@ namespace :deploy do
14
14
  invoke "cakephp:asset_compress", "clear"
15
15
  end
16
16
  end
17
+ end
17
18
 
19
+ namespace :cakephp do
18
20
  task :asset_compress, :command_name do |t, args|
19
21
  # ask only runs if argument is not provided
20
22
  ask(:cmd, "list")
@@ -9,17 +9,9 @@ namespace :cakephp do
9
9
 
10
10
  on roles fetch(:cakephp_roles) do
11
11
  within release_path do
12
- execute :php, :cake, command, *args.extras, fetch(:cakephp_cake_options)
12
+ execute "bin/cake", command, *args.extras, fetch(:cakephp_cake_options)
13
13
  end
14
14
  end
15
15
  end
16
16
 
17
- task :build do
18
- on roles fetch(:cakephp_roles) do
19
- within release_path do
20
- execute :composer, "install --no-dev"
21
- end
22
- end
23
- end
24
-
25
17
  end
@@ -32,7 +32,9 @@ namespace :deploy do
32
32
  invoke "cakephp:migrations", "rollback"
33
33
  end
34
34
  end
35
+ end
35
36
 
37
+ namespace :cakephp do
36
38
  task :migrations, :command_name do |t, args|
37
39
  # ask only runs if argument is not provided
38
40
  ask(:cmd, "list")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capcake
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jad Bitar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-01 00:00:00.000000000 Z
11
+ date: 2014-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -106,10 +106,12 @@ extensions: []
106
106
  extra_rdoc_files: []
107
107
  files:
108
108
  - ".gitignore"
109
+ - ".semver"
109
110
  - Gemfile
110
111
  - LICENSE
111
112
  - README.md
112
113
  - Rakefile
114
+ - VERSION
113
115
  - capcake.gemspec
114
116
  - lib/capcake.rb
115
117
  - lib/capistrano/cakephp.rb