italian-ruby 1.5.7 → 1.5.8

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: 016a6983b314af9117d1b56352497033b1ac218cdf73fd069ca1d96df06e41dd
4
- data.tar.gz: 66640d0d6e25d075da48852ced76d3195b243d7129c280bf089442ba8850b528
3
+ metadata.gz: 7e674a2647c5a831717a5b88b4c0b29b780e51f2f04a9d2d2bf2c43ccf0a3f40
4
+ data.tar.gz: 64a27f5c7a59f9c433f6bb89a7517f5737ecdad70e1ad9e895fe937f8f69c20a
5
5
  SHA512:
6
- metadata.gz: bfeaf4f849af30f08bbdcc4ebc0129d084920809e4a85de7eccc5b49771149dfabc0f4ad3db1136944c4b439f37e793d0f3a07c9ac7fa17acb284f222397f600
7
- data.tar.gz: c4c3ee75472b2d8a74728a6f85a0a3534cb899faf75bfe15d27b4cd779809a1915959e373326d5494b0c4ff7a6f59ed63d8fce4143128ba1ffe8f684b76e8031
6
+ metadata.gz: 1cf7dda5240b35925b4774ba52bbdf845d0cd0eba944ba70607d29fcdf3a9149d5334f77aa55ceb9bd21105f5df1ca093f5d0a03babb06004e1a1b4d84416de0
7
+ data.tar.gz: ce1da5c5a3375852b7b1b0c23cbcf24d41cd3680153487d8a0a0de070165803fb54a22d09e6946fba8289834ca549ddbbf42213e13313e55fb0c5ca57310811b
data/install.rb CHANGED
@@ -1,3 +1,6 @@
1
+ require "fileutils"
2
+ FileUtils.mkdir_p "pkg"
3
+
1
4
  require_relative "lib/italian/ruby/versione"
2
5
  versione = Italian::Ruby::VERSIONE
3
6
 
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module FileUtils
4
+
5
+ class << self
6
+ alias :crea_cartella :mkdir_p
7
+ end
8
+
9
+ end
10
+
11
+ UtilitàArchivi = FileUtils
@@ -8,6 +8,7 @@ require_relative "alias/enumerator"
8
8
  require_relative "alias/error"
9
9
  require_relative "alias/false_class"
10
10
  require_relative "alias/file"
11
+ require_relative "alias/file_utils"
11
12
  require_relative "alias/float"
12
13
  require_relative "alias/hash"
13
14
  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
@@ -1,5 +1,5 @@
1
1
  module Italian
2
2
  module Ruby
3
- VERSIONE = "1.5.7"
3
+ VERSIONE = "1.5.8"
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.5.7
4
+ version: 1.5.8
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-12 00:00:00.000000000 Z
11
+ date: 2022-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -85,6 +85,7 @@ files:
85
85
  - lib/italian/ruby/alias/error.rb
86
86
  - lib/italian/ruby/alias/false_class.rb
87
87
  - lib/italian/ruby/alias/file.rb
88
+ - lib/italian/ruby/alias/file_utils.rb
88
89
  - lib/italian/ruby/alias/float.rb
89
90
  - lib/italian/ruby/alias/hash.rb
90
91
  - lib/italian/ruby/alias/integer.rb