italian-ruby 1.6.2 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/italian/ruby/alias/dir.rb +1 -1
- data/lib/italian/ruby/alias/file.rb +2 -2
- data/lib/italian/ruby/versione.rb +1 -1
- data/lib/italian/ruby.rb +1 -1
- 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: cdefb2973c72b13ef5e9d88a80bb6cda48a93379fa8eebd284b10d03669741bb
|
4
|
+
data.tar.gz: 74d1fe7a2cbd9786ed3fa15a339c18b38c9d9211dd6630557b97e518196f6551
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e95647fb4c200b0ef063ee2aa10af20082d60c247274a934d408520a89dd9e877ecf8fafcbdf53e9e18e4b73f447c33e2a17fa7f7e633ab142da84d8faeedd62
|
7
|
+
data.tar.gz: 3e249e6009cf58dbea4766de2fec571076ec2cba48574d19372384317cb53d3bbab8789b72f1090a231a71cf9d56a5caed1d426068bf1133635805e468c121d7
|
@@ -7,7 +7,7 @@ class File
|
|
7
7
|
alias :nome_base :basename
|
8
8
|
alias :nome_cartella :dirname
|
9
9
|
alias :estensione :extname
|
10
|
-
alias :esiste? :
|
10
|
+
alias :esiste? :exist?
|
11
11
|
alias :scrivi :write
|
12
12
|
alias :scrivi_binario :binwrite
|
13
13
|
alias :leggi :read
|
@@ -22,7 +22,7 @@ class File
|
|
22
22
|
##
|
23
23
|
# Determina se un archivio non esiste.
|
24
24
|
def self.non_esiste?(archivio)
|
25
|
-
!
|
25
|
+
!exist? archivio
|
26
26
|
end
|
27
27
|
|
28
28
|
end
|
data/lib/italian/ruby.rb
CHANGED
@@ -14,7 +14,7 @@ module Italian
|
|
14
14
|
# nella relativa versione tradotta (che avrà estensione .rb).
|
15
15
|
def self.cartella_traduzioni
|
16
16
|
percorso = File.join cartella_casa, ".italian-ruby", "traduzioni"
|
17
|
-
FileUtils.mkdir_p percorso unless Dir.
|
17
|
+
FileUtils.mkdir_p percorso unless Dir.exist? percorso
|
18
18
|
percorso
|
19
19
|
end
|
20
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: italian-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francesco Ballardin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|