specinfra 2.77.2 → 2.77.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8298f534eb799315d2668c7aa87ab7f7ba3e782b
|
4
|
+
data.tar.gz: 87ede0e5c80701a4711db671aa8594d033bf00a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae268a5bf8cba85c6502465962fb03139ecb91b7977de81520601a678fcde2e591d5a4d983fb50eeea8ac92c39620cf59a6595b9b2f16dc61b4141b13124db65
|
7
|
+
data.tar.gz: 5827def71e3936751f8e1be0ce47c38c3a3499d5443372a1f8f328226da5306041efd58119502ca3b4ed0f10bfe15b60b12db0b0ca14e6bfd12aafadbc67fead
|
data/lib/specinfra/command.rb
CHANGED
@@ -80,7 +80,6 @@ require 'specinfra/command/esxi/base/package'
|
|
80
80
|
# RedHat (inherit Linux)
|
81
81
|
require 'specinfra/command/redhat'
|
82
82
|
require 'specinfra/command/redhat/base'
|
83
|
-
require 'specinfra/command/redhat/base/file'
|
84
83
|
require 'specinfra/command/redhat/base/host'
|
85
84
|
require 'specinfra/command/redhat/base/iptables'
|
86
85
|
require 'specinfra/command/redhat/base/package'
|
@@ -142,7 +141,6 @@ require 'specinfra/command/alpine/base/service'
|
|
142
141
|
# Arch (inherit Linux)
|
143
142
|
require 'specinfra/command/arch'
|
144
143
|
require 'specinfra/command/arch/base'
|
145
|
-
require 'specinfra/command/arch/base/file'
|
146
144
|
require 'specinfra/command/arch/base/service'
|
147
145
|
require 'specinfra/command/arch/base/package'
|
148
146
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class Specinfra::Command::Linux::Base::File < Specinfra::Command::Base::File
|
2
2
|
class << self
|
3
3
|
def check_is_accessible_by_user(file, user, access)
|
4
|
-
"
|
4
|
+
"sudo -u #{user} test -#{access} #{file}"
|
5
5
|
end
|
6
6
|
|
7
7
|
def check_is_immutable(file)
|
data/lib/specinfra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.77.
|
4
|
+
version: 2.77.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-scp
|
@@ -171,7 +171,6 @@ files:
|
|
171
171
|
- lib/specinfra/command/amazon/v2/service.rb
|
172
172
|
- lib/specinfra/command/arch.rb
|
173
173
|
- lib/specinfra/command/arch/base.rb
|
174
|
-
- lib/specinfra/command/arch/base/file.rb
|
175
174
|
- lib/specinfra/command/arch/base/package.rb
|
176
175
|
- lib/specinfra/command/arch/base/service.rb
|
177
176
|
- lib/specinfra/command/base.rb
|
@@ -352,7 +351,6 @@ files:
|
|
352
351
|
- lib/specinfra/command/raspbian.rb
|
353
352
|
- lib/specinfra/command/redhat.rb
|
354
353
|
- lib/specinfra/command/redhat/base.rb
|
355
|
-
- lib/specinfra/command/redhat/base/file.rb
|
356
354
|
- lib/specinfra/command/redhat/base/host.rb
|
357
355
|
- lib/specinfra/command/redhat/base/iptables.rb
|
358
356
|
- lib/specinfra/command/redhat/base/package.rb
|