italian-ruby 1.4.2 → 1.5.0

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: 3faa454b1e457e36cf80d065d87699fe37fc41fb57a1151954e8a4600a23eb75
4
- data.tar.gz: c0df5f78e4d1f8271e1f46a7e59aa123a104478380da1ab6c351adc289b9626c
3
+ metadata.gz: 07e1b903441560bbcc4042bcc0b23727be946bd5672b0078245a2f0bcc66170a
4
+ data.tar.gz: eb4f909ebcc06a24d4b9ff8d073ac6c5dfdc23ed5fed65c3bb6fb6da772b47e2
5
5
  SHA512:
6
- metadata.gz: 7a16d10868bb0c4198ff3b9be80b2aa903b49877b5684227e443707a71d571b93a63dd4081f1d53e2e2529dda56ebadc6b6727b16e0980eb486c1109655ac6d7
7
- data.tar.gz: ecf7faa2fb2f81062c04a3196c3a614fd721998abbe9a030985dbfb9b5fced27268ecc589ac6d9e4c3f883a48f1d85fa23be0bf9d3507f5c84d1209bbfb346e5
6
+ metadata.gz: 72f2ec931d331bb5c118339b0eb3600d39ce5869a538968f882ceda483c6d57381205b22f0a6d1005b098f162d9d31b9a046a748665fdf8855b292a194660981
7
+ data.tar.gz: bfc95da88e365e915c241c6d534c6679ed4a6912e1eda479c6af37a1f7eadb62ca63e005b056b949a8de85e94eebb820dc049425003596453f70ae5d363bef86
@@ -18,5 +18,6 @@ class Class
18
18
  alias :apri_classe :class_eval
19
19
  alias :valuta_in_classe :class_eval
20
20
  alias :moduli_inclusi :included_modules
21
+ alias :metodo_istanza :instance_method
21
22
 
22
23
  end
@@ -3,6 +3,8 @@
3
3
  module Kernel
4
4
 
5
5
  alias :classe :class
6
+ alias :metodo :method
7
+ alias :contesto :binding
6
8
  alias :traccia_chiamante :caller_locations
7
9
  alias :variabili_istanza :instance_variables
8
10
  alias :ottieni_variabile_istanza :instance_variable_get
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Method
4
+
5
+ alias :locazione_sorgente :source_location
6
+
7
+ end
8
+
9
+ class UnboundMethod
10
+
11
+ alias :locazione_sorgente :source_location
12
+
13
+ end
@@ -23,6 +23,8 @@ class Object
23
23
 
24
24
  alias :specificato? :esiste?
25
25
  alias :specificata? :esiste?
26
+ alias :specificati? :esiste?
27
+ alias :specificate? :esiste?
26
28
  alias :non_è_nullo? :esiste?
27
29
  alias :non_è_nulla? :esiste?
28
30
  alias :non_specificato? :non_esiste?
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Thread
4
+
5
+ class Backtrace
6
+
7
+ class Location
8
+
9
+ alias :percorso :absolute_path
10
+ alias :riga :lineno
11
+
12
+ end
13
+ end
14
+ end
@@ -14,6 +14,7 @@ require_relative "alias/integer"
14
14
  require_relative "alias/io"
15
15
  require_relative "alias/kernel"
16
16
  require_relative "alias/main"
17
+ require_relative "alias/method"
17
18
  require_relative "alias/module"
18
19
  require_relative "alias/nil_class"
19
20
  require_relative "alias/numeric"
@@ -29,4 +30,5 @@ require_relative "alias/set"
29
30
  require_relative "alias/symbol"
30
31
  require_relative "alias/string"
31
32
  require_relative "alias/time"
33
+ require_relative "alias/thread"
32
34
  require_relative "alias/true_class"
@@ -14,4 +14,14 @@ module JSON
14
14
  self.dump(*args)
15
15
  end
16
16
 
17
+ ##
18
+ # Genera un JSON ben formattato per l'oggetto.
19
+ def self.formatta(*args)
20
+ self.pretty_generate(*args)
21
+ end
22
+
23
+ class << self
24
+ alias :elabora :processa
25
+ end
26
+
17
27
  end
@@ -25,6 +25,7 @@ module Italian
25
25
 
26
26
  def initialize(contenuto, indice, nome_archivio)
27
27
  @contenuto = contenuto
28
+ @contenuto = "#{contenuto}\n" if nome_archivio.nil?
28
29
  @indice = indice
29
30
  @nome_archivio = nome_archivio
30
31
 
@@ -1,5 +1,5 @@
1
1
  module Italian
2
2
  module Ruby
3
- VERSIONE = "1.4.2"
3
+ VERSIONE = "1.5.0"
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.4.2
4
+ version: 1.5.0
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-10-06 00:00:00.000000000 Z
11
+ date: 2021-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -91,6 +91,7 @@ files:
91
91
  - lib/italian/ruby/alias/io.rb
92
92
  - lib/italian/ruby/alias/kernel.rb
93
93
  - lib/italian/ruby/alias/main.rb
94
+ - lib/italian/ruby/alias/method.rb
94
95
  - lib/italian/ruby/alias/module.rb
95
96
  - lib/italian/ruby/alias/nil_class.rb
96
97
  - lib/italian/ruby/alias/numeric.rb
@@ -107,6 +108,7 @@ files:
107
108
  - lib/italian/ruby/alias/socket.rb
108
109
  - lib/italian/ruby/alias/string.rb
109
110
  - lib/italian/ruby/alias/symbol.rb
111
+ - lib/italian/ruby/alias/thread.rb
110
112
  - lib/italian/ruby/alias/time.rb
111
113
  - lib/italian/ruby/alias/true_class.rb
112
114
  - lib/italian/ruby/errori.rb