italian-ruby 1.3.11 → 1.3.12

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
  SHA256:
3
- metadata.gz: 1b5a903857ae35cd34ac25f999f3fa490e85bd2b3985137d9c841dbe3a01d0ff
4
- data.tar.gz: e1bfb7ef6c9ec2202d5e4b80a27ddae65004ae707c8b43a89dce60e73a42ff52
3
+ metadata.gz: 6c4a5adf1fca1fcd05589a34862c3277c55ae087a4db2aa882d2184b9f930d83
4
+ data.tar.gz: ff828f08f59ecdfa5ac64f0e2f7e6be932782c0fe3509bc91251d90623f9d208
5
5
  SHA512:
6
- metadata.gz: fa450818116e76bb4773fc0831db7f15cec8d642a3c1e0b110b96e836af640407148d599ffe91d61adc3e9db4fa7f265363d1362d8c20219b27b8f4a98ddd08c
7
- data.tar.gz: bbfd4e399c0769f81290340a7ce1c2e9fe29335740c9741a58f2aa0cdc94918efb97919ca9bd5983241ebd015b09c6d6f6cc573d7e1b153bc653c9170a1bfb72
6
+ metadata.gz: 7e18ac6219ec2dc44e01ffc9b47dfe6fe8f47d437fe8d105bdbe17e11aae3bd1f43b848446a61ab36c281335a811be323f4976011907162c1ef620fbf619d8eb
7
+ data.tar.gz: c24522910423dc5284ea0f9dd6119a039881693898e90168a7c0111189e49376ba4614184a5b8a2f1626927fd78c5821a35fc5aece979b5528b6279a005b3b22
@@ -5,5 +5,6 @@ class Module
5
5
  alias :privati :private
6
6
  alias :protetti :protected
7
7
  alias :pubblici :public
8
+ alias :apri_modulo :module_eval
8
9
 
9
10
  end
@@ -116,8 +116,9 @@ module Kernel
116
116
  # Ottiene il percorso archivio relativo del sorgente chiamante.
117
117
  def archivio_relativo(sorgente_chiamante, percorso_archivio)
118
118
  cartella_chiamante = File.dirname sorgente_chiamante
119
- archivio_da_richiedere = File.expand_path File.join(cartella_chiamante, percorso_archivio)
120
- archivio_da_richiedere = Dir["#{archivio_da_richiedere}.{ir,rb}"].compact.first
119
+ percorso_da_richiedere = File.expand_path File.join(cartella_chiamante, percorso_archivio)
120
+ archivio_da_richiedere = Dir["#{percorso_da_richiedere}.{ir,rb}"].compact.first
121
+ raise LoadError, "no such file: #{percorso_da_richiedere}.{ir,rb}" if archivio_da_richiedere.nil?
121
122
  archivio_da_richiedere
122
123
  end
123
124
 
@@ -1,5 +1,5 @@
1
1
  module Italian
2
2
  module Ruby
3
- VERSIONE = "1.3.11"
3
+ VERSIONE = "1.3.12"
4
4
  end
5
5
  end
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.3.11
4
+ version: 1.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Ballardin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-06 00:00:00.000000000 Z
11
+ date: 2021-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler