italian-ruby 1.5.7 → 1.5.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/install.rb +3 -0
- data/lib/italian/ruby/alias/dir.rb +12 -0
- data/lib/italian/ruby/alias/file_utils.rb +11 -0
- data/lib/italian/ruby/alias.rb +2 -0
- data/lib/italian/ruby/metodi/array.rb +1 -1
- data/lib/italian/ruby/metodi/json.rb +6 -0
- data/lib/italian/ruby/versione.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07e2d1266ce1d3159f91925e42ab94016bb26900dce4108ac0e6b2b1582344df
|
4
|
+
data.tar.gz: 685900e39e6d5ad3283eeff8685504fe44c265bcf33e34964d2183452008993f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e5c01e9fcd69bbb7ab43f71bd8420d8c1ad7c4e4d339a1f7561161c4bac6729474df3613b44b5ea773b1ff8d3c8504e73107f0abafaf85258850d22b1bae1b1
|
7
|
+
data.tar.gz: f50ec212c42a8f94925edda1bb903ae9491bca2c4358e577dca1c658cbfa7b11d4f7b4a1a10e3e67d458901845b733b66b9753cb6916fe087ff92d313e3d2ec5
|
data/install.rb
CHANGED
data/lib/italian/ruby/alias.rb
CHANGED
@@ -4,10 +4,12 @@ require_relative "alias/array"
|
|
4
4
|
require_relative "alias/binding"
|
5
5
|
require_relative "alias/class"
|
6
6
|
require_relative "alias/date"
|
7
|
+
require_relative "alias/dir"
|
7
8
|
require_relative "alias/enumerator"
|
8
9
|
require_relative "alias/error"
|
9
10
|
require_relative "alias/false_class"
|
10
11
|
require_relative "alias/file"
|
12
|
+
require_relative "alias/file_utils"
|
11
13
|
require_relative "alias/float"
|
12
14
|
require_relative "alias/hash"
|
13
15
|
require_relative "alias/integer"
|
@@ -28,7 +28,7 @@ class Array
|
|
28
28
|
pacchetto = [ elemento ]
|
29
29
|
indice += avanzamento
|
30
30
|
indice = da if indice_elemento == conteggio - 1
|
31
|
-
yield pacchetto, indice_elemento, conteggio if block_given?
|
31
|
+
yield pacchetto, indice_elemento + 1, conteggio if block_given?
|
32
32
|
end
|
33
33
|
else
|
34
34
|
avanzamento = conteggio / da.in_decimale
|
@@ -8,6 +8,12 @@ module JSON
|
|
8
8
|
self.parse(*args)
|
9
9
|
end
|
10
10
|
|
11
|
+
##
|
12
|
+
# Processa la stringa come JSON, simbolizzando il risultato.
|
13
|
+
def self.simbolizza(*args)
|
14
|
+
self.parse(*args).simbolizza
|
15
|
+
end
|
16
|
+
|
11
17
|
##
|
12
18
|
# Converte l'oggetto in una stringa JSON.
|
13
19
|
def self.in_stringa(*args)
|
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.5.
|
4
|
+
version: 1.5.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francesco Ballardin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01
|
11
|
+
date: 2022-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -81,10 +81,12 @@ files:
|
|
81
81
|
- lib/italian/ruby/alias/binding.rb
|
82
82
|
- lib/italian/ruby/alias/class.rb
|
83
83
|
- lib/italian/ruby/alias/date.rb
|
84
|
+
- lib/italian/ruby/alias/dir.rb
|
84
85
|
- lib/italian/ruby/alias/enumerator.rb
|
85
86
|
- lib/italian/ruby/alias/error.rb
|
86
87
|
- lib/italian/ruby/alias/false_class.rb
|
87
88
|
- lib/italian/ruby/alias/file.rb
|
89
|
+
- lib/italian/ruby/alias/file_utils.rb
|
88
90
|
- lib/italian/ruby/alias/float.rb
|
89
91
|
- lib/italian/ruby/alias/hash.rb
|
90
92
|
- lib/italian/ruby/alias/integer.rb
|