dkdeploy-rails 0.5.0 → 0.8.0

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: 890293aad992454be944de9c55702f4abec1b8e8
4
- data.tar.gz: e1b6a4dee2ac9c56a7d37545422b4b19a85f5a8a
3
+ metadata.gz: e4afb996fd343e9fe84d66fac9b272a0cebef10e
4
+ data.tar.gz: 5082f01123d993e3bbd4574e3cf206cd4e650555
5
5
  SHA512:
6
- metadata.gz: 90a60da539a7ddb73529e49cec7d4e3a2ab100e6c3806c2513aa73a240e5c7926b91a8e0a277d8b9504a9bdc0df78eb70a2620e88a9d86182cfdf3cb41ed9777
7
- data.tar.gz: 9a0d4f19895b07c5552d7a596ad004b4af28b2e553f59ff0695f5050c41511e501423532fa57550f57ffe67796044f80b1d86b38ee51f1399413504a15e5b7a8
6
+ metadata.gz: 2d35671522d59ffbcbc9afe2d7797bee69c490dec94f3b00d20b2d51b6ebae105b6a8373a4b4e41cb756e93b29073112615fe2aa6eac465543bb90de681c2995
7
+ data.tar.gz: b9b988708298a55e2d6845f7e34c3f7c377fb1431ea4f686383a4c4137e1ca6029729aa8ed07ccb50e25db3ec84659f413c5aa3489807fea29e8cf5c68e56e15
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # dkdeploy-rails CHANGELOG
2
2
 
3
- current version: v0.6.0 (2016-09-06)
3
+ current version: v0.8.0 (2017-03-03)
4
+
5
+ ## version 0.8.0
6
+
7
+ ### additions
8
+
9
+ - exclude build directory from deployment
10
+
11
+ ## version 0.7.0
12
+
13
+ ### Bug fixes
14
+
15
+ - set proper file permissions
4
16
 
5
17
  ## version 0.6.0
6
18
 
@@ -12,14 +12,25 @@ require 'capistrano/rails/migrations'
12
12
 
13
13
  include Capistrano::DSL
14
14
 
15
- set :passenger_restart_with_touch, -> { fetch(:dkdeploy_passenger_restart_with_touch, true) }
16
-
17
15
  namespace :load do
18
16
  task :defaults do
19
17
  set :use_sudo, false
20
18
  set :copy_source, '.' # override the dkdeploy-core default 'htdocs'
21
- set :copy_exclude, %w(.rspec .travis.yml .hidden **/.hidden **/.git) # override dkdeploy-core to include Gemfile
19
+ set :copy_exclude, %w(.rspec .travis.yml .hidden **/.hidden **/.git build) # override dkdeploy-core to include Gemfile
22
20
  set :linked_dirs, %w(log tmp/pids tmp/cache tmp/sockets public/system public/assets uploads)
23
21
  set :passenger_restart_with_touch, true
22
+
23
+ unless fetch(:skip_dkd_server_settings)
24
+ set :default_file_access_owner_of_release_path, 'dkd-deployment'
25
+ set :default_file_access_group_of_release_path, 'www-data'
26
+ set :default_file_access_mode_of_release_path, '0775'
27
+ set :default_file_access_owner_of_shared_path, 'dkd-deployment'
28
+ set :default_file_access_group_of_shared_path, 'www-data'
29
+ set :default_file_access_mode_of_shared_path, '0775'
30
+
31
+ after 'deploy:updated', 'file_access:set_owner_group'
32
+ after 'deploy:updated', 'file_access:set_permissions'
33
+ after 'deploy:updated', 'file_access:set_custom_access'
34
+ end
24
35
  end
25
36
  end
@@ -4,7 +4,7 @@ module Dkdeploy
4
4
  #
5
5
  class Version
6
6
  MAJOR = 0
7
- MINOR = 5
7
+ MINOR = 8
8
8
  PATCH = 0
9
9
 
10
10
  def self.to_s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dkdeploy-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolai Reuschling
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-09-08 00:00:00.000000000 Z
12
+ date: 2017-03-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -253,7 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
253
253
  version: '0'
254
254
  requirements: []
255
255
  rubyforge_project:
256
- rubygems_version: 2.6.6
256
+ rubygems_version: 2.6.7
257
257
  signing_key:
258
258
  specification_version: 4
259
259
  summary: dkd Rails deployment tasks and strategies
@@ -285,3 +285,4 @@ test_files:
285
285
  - spec/fixtures/application/htdocs/stylesheets/test2/css/.gitkeep
286
286
  - spec/fixtures/application/htdocs/stylesheets/test2/src/source.scss
287
287
  - spec/fixtures/application/temp/dkdeploy.sql.gz
288
+ has_rdoc: