italian-ruby 1.6.2 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cae403d93d9024ec704693160708ec4089f7af87c8f4205057a4f09662c479a
4
- data.tar.gz: a4aa40571b5b63d9d6804796be6b2c8c8c3399545f954e7a6306b2903b64997f
3
+ metadata.gz: cdefb2973c72b13ef5e9d88a80bb6cda48a93379fa8eebd284b10d03669741bb
4
+ data.tar.gz: 74d1fe7a2cbd9786ed3fa15a339c18b38c9d9211dd6630557b97e518196f6551
5
5
  SHA512:
6
- metadata.gz: 6bfa94933d4c7017992367bd5b06d0ae9e56fb025863edc5713aed6e9c59a7459f83b2042f0838437c1ce18d8523c5d36ca53d76032405a739b3d3a7c9b77c18
7
- data.tar.gz: d19444233d85a2fe1605a3821f6bdd2f48fb1df068c6f880b42290f55a80968e588711211c8ac03dcdda8dcbb67c785aec9e6b7047e8ed2e5b52bbdf854860db
6
+ metadata.gz: e95647fb4c200b0ef063ee2aa10af20082d60c247274a934d408520a89dd9e877ecf8fafcbdf53e9e18e4b73f447c33e2a17fa7f7e633ab142da84d8faeedd62
7
+ data.tar.gz: 3e249e6009cf58dbea4766de2fec571076ec2cba48574d19372384317cb53d3bbab8789b72f1090a231a71cf9d56a5caed1d426068bf1133635805e468c121d7
@@ -4,7 +4,7 @@ class Dir
4
4
 
5
5
  class << self
6
6
  alias :ricerca :glob
7
- alias :esiste? :exists?
7
+ alias :esiste? :exist?
8
8
  end
9
9
 
10
10
  end
@@ -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? :exists?
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
- !exists? archivio
25
+ !exist? archivio
26
26
  end
27
27
 
28
28
  end
@@ -1,5 +1,5 @@
1
1
  module Italian
2
2
  module Ruby
3
- VERSIONE = "1.6.2"
3
+ VERSIONE = "1.7.1"
4
4
  end
5
5
  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.exists? percorso
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.6.2
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-02-28 00:00:00.000000000 Z
11
+ date: 2024-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler