capistrano-cachetool 1.0.1 → 1.0.6

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
- SHA1:
3
- metadata.gz: 3ccc17e1080ba96c32f69fa5caaeca50fae97688
4
- data.tar.gz: 577c3f350bed28cfe3a3d3e68e1daae6c76cf565
2
+ SHA256:
3
+ metadata.gz: 54e87ec9f8332edc0468b4555867654b3916a2ca2c77886075470b80091f3fdc
4
+ data.tar.gz: 341675b7e340d8129fdb0ebab15fd24eec345945aedaec70848352b60015fc52
5
5
  SHA512:
6
- metadata.gz: 61fec07d66e674460ade57e5add12ca3858194ad8b89282510d45c7c815065586bf232c5136d140b9b14927300c06c9808e34cb104e5efbe3b4fcd84b5adb8ea
7
- data.tar.gz: 0a4876da18c0673fab488204a7849980d1f907b1b148e3553c1d360925caf45ff6afb5d24168d49bd14e94fdb6dbe07cf32b716691398755f4cdd17481d7594d
6
+ metadata.gz: 210b2a377e020bf1bdac271e4505e4734c7dd1720c221b8d7691398511757e39c73fc550d049b73e1873e2de0701e0310268e6c04e38c4b22c84743d4b028d91
7
+ data.tar.gz: b7ef3f775f4cd195d184df02b83c57d8e0fedb47a3af0073d6cbca724ee3b41db6e52c6c139a76ee1d88ad4642ab1815405c1109996b68fe4fdcf62293e778b8
data/Gemfile CHANGED
@@ -3,6 +3,5 @@ source "https://rubygems.org"
3
3
 
4
4
  group :development do
5
5
  gem 'rake', '~> 12.0'
6
- gem 'rspec', '~> 3.0'
6
+ gem 'rspec', '~> 3.6'
7
7
  end
8
-
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'bundler/gem_tasks'
3
3
  require 'rspec/core/rake_task'
4
4
 
5
5
  RSpec::Core::RakeTask.new(:test) do |spec|
6
- spec.pattern = "spec/**/*_spec.rb"
6
+ spec.pattern = 'spec/**/*_spec.rb'
7
7
  end
8
8
 
9
9
  task :default => :test
@@ -4,22 +4,22 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'capistrano/cachetool/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.name = "capistrano-cachetool"
7
+ spec.name = 'capistrano-cachetool'
8
8
  spec.version = Capistrano::Cachetool::VERSION
9
- spec.authors = ["Tijs Verkoyen"]
10
- spec.email = ["capistrano-cachetool@verkoyen.eu"]
9
+ spec.authors = ['Tijs Verkoyen']
10
+ spec.email = ['capistrano-cachetool@verkoyen.eu']
11
11
 
12
12
  spec.summary = %q{Cachetool support for Capistrano 3.x}
13
13
  spec.description = %q{Exposes the [Cachetool by Goralina](http://gordalina.github.io/cachetool/) in Capistrano 3.x}
14
- spec.homepage = "https://github.com/tijsverkoyen/capistrano-cachetool"
15
- spec.license = "MIT"
14
+ spec.homepage = 'https://github.com/tijsverkoyen/capistrano-cachetool'
15
+ spec.license = 'MIT'
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
18
  f.match(%r{^(test|spec|features)/})
19
19
  end
20
- spec.require_paths = ["lib"]
20
+ spec.require_paths = ['lib']
21
21
 
22
- spec.add_development_dependency "bundler", "~> 1.14"
23
- spec.add_development_dependency "rake", "~> 10.0"
24
- spec.add_development_dependency "capistrano-spec", "~> 0.6"
22
+ spec.add_development_dependency 'bundler', '~> 2.2'
23
+ spec.add_development_dependency 'rake', '~> 12.0'
24
+ spec.add_development_dependency 'rspec', '~> 3.6'
25
25
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Cachetool
3
- VERSION = "1.0.1"
3
+ VERSION = '1.0.6'
4
4
  end
5
5
  end
@@ -11,9 +11,9 @@ namespace :cachetool do
11
11
  task :install_executable do
12
12
  on release_roles(fetch(:cachetool_roles)) do
13
13
  within shared_path do
14
- if test "[", "!", "-e", "cachetool.phar", "]"
15
- execute :curl, "-sO", fetch(:cachetool_download_url)
16
- execute :chmod, "+x", "cachetool.phar"
14
+ unless test("[[ -e #{shared_path}/cachetool.phar ]]")
15
+ execute :curl, '-sO', fetch(:cachetool_download_url)
16
+ execute :chmod, '+x', 'cachetool.phar'
17
17
  end
18
18
  end
19
19
  end
@@ -36,7 +36,7 @@ end
36
36
  namespace :load do
37
37
  task :defaults do
38
38
  set :cachetool_roles, :all
39
- set :cachetool_download_url, "https://gordalina.github.io/cachetool/downloads/cachetool.phar"
39
+ set :cachetool_download_url, 'https://gordalina.github.io/cachetool/downloads/cachetool.phar'
40
40
  set :cachetool_working_dir, -> { fetch(:release_path) }
41
41
  end
42
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-cachetool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tijs Verkoyen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-26 00:00:00.000000000 Z
11
+ date: 2021-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.14'
19
+ version: '2.2'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.14'
26
+ version: '2.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '12.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '12.0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: capistrano-spec
42
+ name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.6'
47
+ version: '3.6'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.6'
54
+ version: '3.6'
55
55
  description: Exposes the [Cachetool by Goralina](http://gordalina.github.io/cachetool/)
56
56
  in Capistrano 3.x
57
57
  email:
@@ -90,8 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  requirements: []
93
- rubyforge_project:
94
- rubygems_version: 2.6.11
93
+ rubygems_version: 3.0.3
95
94
  signing_key:
96
95
  specification_version: 4
97
96
  summary: Cachetool support for Capistrano 3.x