capistrano-memcached 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/capistrano/memcached/version.rb +1 -1
- data/lib/capistrano/tasks/memcached.rake +3 -6
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bde74a2a4981325e07ba166976f6ba4879288bf
|
4
|
+
data.tar.gz: af545a9bc44caa6fb0f3f8c6e674f156cc1a89a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb648d2e9031dd541584c671f86bbe10c2b1563c2792836db7dbd1194de3a8abb459101eeb131f9fcc5948ad2d6e3e41ab9609a94daec921acb4837ac820b0fa
|
7
|
+
data.tar.gz: 91c4797c1470b7375b051cd557b051aec51f66757c9e25de85b6945c36f4110290077b8392e370ce3f45428c54f8781d9b71d9816ac5f73cccb5e1a60e7e0a7a
|
data/CHANGELOG.md
ADDED
@@ -14,7 +14,6 @@ namespace :load do
|
|
14
14
|
# this is where memcached will be installed. A handy memcached.yml file will be created on all :app roles in
|
15
15
|
# shared/config
|
16
16
|
set :memcached_roles, [:app]
|
17
|
-
set :memcached_client_roles, [:app]
|
18
17
|
set :memcached_user, "memcache"
|
19
18
|
|
20
19
|
set :memcached_app_config, -> { memcached_default_app_config_file }
|
@@ -43,16 +42,14 @@ namespace :memcached do
|
|
43
42
|
|
44
43
|
desc 'Setup Memcached app configuration'
|
45
44
|
task :setup_app_config do
|
46
|
-
on
|
45
|
+
on release_roles :all do
|
47
46
|
execute :mkdir, '-pv', File.dirname(fetch(:memcached_app_config))
|
48
47
|
upload! mem_template('memcached.yml.erb'), fetch(:memcached_app_config)
|
49
48
|
end
|
50
49
|
end
|
51
50
|
|
52
51
|
task :memcached_yml_symlink do
|
53
|
-
|
54
|
-
set :linked_files, fetch(:linked_files, []).push("config/memcached.yml")
|
55
|
-
end
|
52
|
+
set :linked_files, fetch(:linked_files, []).push("config/memcached.yml")
|
56
53
|
end
|
57
54
|
before 'deploy:symlink:linked_files', 'memcached:memcached_yml_symlink'
|
58
55
|
end
|
@@ -61,4 +58,4 @@ desc 'Server setup tasks'
|
|
61
58
|
task :setup do
|
62
59
|
invoke 'memcached:setup'
|
63
60
|
invoke 'memcached:setup_app_config'
|
64
|
-
end
|
61
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-memcached
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruben Stranders
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -65,6 +65,7 @@ extensions: []
|
|
65
65
|
extra_rdoc_files: []
|
66
66
|
files:
|
67
67
|
- ".gitignore"
|
68
|
+
- CHANGELOG.md
|
68
69
|
- Gemfile
|
69
70
|
- LICENSE.md
|
70
71
|
- README.md
|
@@ -99,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
100
|
version: '0'
|
100
101
|
requirements: []
|
101
102
|
rubyforge_project:
|
102
|
-
rubygems_version: 2.
|
103
|
+
rubygems_version: 2.4.5
|
103
104
|
signing_key:
|
104
105
|
specification_version: 4
|
105
106
|
summary: Capistrano tasks for automatic and sensible memcached configuration.
|