kanrisuru 0.8.8 → 0.8.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/kanrisuru/mode.rb +1 -1
- data/lib/kanrisuru/version.rb +1 -1
- data/spec/functional/core/file_spec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1dfc7b4ed56b9054d2a9cffd137f21b47a992e76f89bc279911c619c9349b15
|
4
|
+
data.tar.gz: ed85d4d847c5cdffc544dc93faf32552e6216e96da0ee9a4effa03f4f1cac08a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bfe2ce44a7a045ce622e3ca724fc9455e0efee19fd20235dda6befddeacd1c916604a41d053323879befe0762d37d9c41a87bd6221a564178973e9222cde6da
|
7
|
+
data.tar.gz: 7130b94ddf938c126f3d4ef8f76f28298ff7f8abe169dbb9b4dd8ae384d334f6ccf17019e1aafb1c07ac2fcd0a0b5558aae36dd07f8f0523fc9721e7b5ed2e6b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## Kanrisuru 0.8.9 (August 24, 2021)
|
2
|
+
* Fix spelling error exception `ArgumentError` in `Kanrisuru::Mode` class.
|
3
|
+
|
1
4
|
## Kanrisuru 0.8.8 (August 21, 2021) ##
|
2
5
|
* Add shorthand notation for tar command actions, such as `x` for `extract`, `t` for `list`, and `c` for `create`.
|
3
6
|
|
data/lib/kanrisuru/mode.rb
CHANGED
@@ -235,7 +235,7 @@ module Kanrisuru
|
|
235
235
|
@group = Kanrisuru::Mode::Permission.new(symbolic_to_numeric(modes[3..5]), modes[3..5])
|
236
236
|
@other = Kanrisuru::Mode::Permission.new(symbolic_to_numeric(modes[6..8]), modes[6..8])
|
237
237
|
else
|
238
|
-
raise
|
238
|
+
raise ArgumentError, "Invalid format for mode #{string}"
|
239
239
|
end
|
240
240
|
end
|
241
241
|
|
data/lib/kanrisuru/version.rb
CHANGED
@@ -67,6 +67,10 @@ RSpec.describe Kanrisuru::Core::File do
|
|
67
67
|
mode = host.chmod(path, mode).mode
|
68
68
|
expect(mode.symbolic).to eq('-rwxr--r--')
|
69
69
|
expect(mode.to_i).to eq(0o744)
|
70
|
+
|
71
|
+
expect {
|
72
|
+
host.chmod(path, 600))
|
73
|
+
}.to raise_error(ArgumentError)
|
70
74
|
end
|
71
75
|
|
72
76
|
it 'changes file owner and group' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kanrisuru
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Mammina
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|