italian-ruby 0.3.1 → 0.3.2

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: 0d4e0ec2800351065bf59ed31cd3583ce030ab63aed3ccab064812b1cbcdc47a
4
- data.tar.gz: 9616e23e5534a4ad060068eba5eaf42153eb4bdfae2dc518a6e759e39397b139
3
+ metadata.gz: 006a213a96268c8d6eea81e448259adae584e04636da98ea9ba09add5382a1b3
4
+ data.tar.gz: 76d3810d58cf6c6179a53fa98280142c7bb1c5024cefb6b03cb93f61327783e2
5
5
  SHA512:
6
- metadata.gz: 86517d9128238c8c06ea629e31742ff38495a38205541b6e544d0f4e488ee1d6ba6a32a40ccc9997ddb40d8368f8c4b4bd3d2b558826935d81b965f22077748f
7
- data.tar.gz: 685fecae9158cf21cc37ed28125030563d624b6e18934d64db1c9b43929fa3a48716c1d7d0e803c190f3942b4bd55b725a20f9ea5c54587e69e15dbdba75255e
6
+ metadata.gz: 97a2aede7fddd7069a27203b3ed41ddf57161682de7c56bec30c296f2d2bf5d27574e6500c9353f70ad5811bcbd0f1f24d8b1602eaa3beed0a685e9fb1644c43
7
+ data.tar.gz: 78f03ebebb55b5e4c00f7758558722fda05e861bad21b16a4b96a5c34b1416fc6be67f3b5ad32fb39374117d801163ff25072256308a159094caef03eea6b001
@@ -34,6 +34,7 @@ class Array
34
34
  alias :rimuovi_duplicati! :uniq!
35
35
  alias :conteggio :count
36
36
  alias :conteggia :count
37
+ alias :lunghezza :count
37
38
  alias :tutti? :all?
38
39
  alias :tutte? :all?
39
40
  alias :alcuni? :any?
@@ -52,6 +53,13 @@ class Array
52
53
  alias :in_mappa :to_h
53
54
  alias :ordina :sort
54
55
  alias :ordina_per :sort_by
56
+ alias :indice :index
57
+ alias :indice_da_destra :rindex
58
+ alias :indice_dal_fondo :rindex
59
+ alias :togli_i_primi :drop
60
+ alias :togli_le_prime :drop
61
+ alias :aggiungi :push
62
+ alias :togli :pop
55
63
 
56
64
  def esiste?
57
65
  !nil? && !empty?
@@ -1,5 +1,5 @@
1
1
  module Italian
2
2
  module Ruby
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
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: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Ballardin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-25 00:00:00.000000000 Z
11
+ date: 2020-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby2ruby