italian-ruby 1.5.8 → 1.5.11

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: 7e674a2647c5a831717a5b88b4c0b29b780e51f2f04a9d2d2bf2c43ccf0a3f40
4
- data.tar.gz: 64a27f5c7a59f9c433f6bb89a7517f5737ecdad70e1ad9e895fe937f8f69c20a
3
+ metadata.gz: 9b3b8c4b3de3229c7128615cd0169a0207ca2c113f3e8d5195a1e26626229d12
4
+ data.tar.gz: 4472feb36296f5d7de2ab4a8aecc1100cdec7003983fcdf735889edc30816fb4
5
5
  SHA512:
6
- metadata.gz: 1cf7dda5240b35925b4774ba52bbdf845d0cd0eba944ba70607d29fcdf3a9149d5334f77aa55ceb9bd21105f5df1ca093f5d0a03babb06004e1a1b4d84416de0
7
- data.tar.gz: ce1da5c5a3375852b7b1b0c23cbcf24d41cd3680153487d8a0a0de070165803fb54a22d09e6946fba8289834ca549ddbbf42213e13313e55fb0c5ca57310811b
6
+ metadata.gz: b8bd631218f218c9aef5dd87fc24fc79de6b2d6c4ad58499445297a47b1c009589229d516b0265010a4fca4617ded3a839af11098210732f80f86e6a35b6d232
7
+ data.tar.gz: 45b4ec1dfc5e45463cece30340a462fa845c6743bdb678ba4b55cda6108fc53bc7c27b3097b2cf17442d1bd469be8a34d7a90cfc3653391cbb91d6d6201fbbca
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Dir
4
+
5
+ class << self
6
+ alias :ricerca :glob
7
+ alias :esiste? :exists?
8
+ end
9
+
10
+ end
11
+
12
+ Cartella = Dir
@@ -23,6 +23,7 @@ class Hash
23
23
  alias :trasforma_chiavi! :transform_keys!
24
24
  alias :trasforma_valori :transform_values
25
25
  alias :trasforma_valori! :transform_values!
26
+ alias :trova :find
26
27
  alias :seleziona :select
27
28
  alias :seleziona! :select!
28
29
  alias :scarta :reject
@@ -4,6 +4,7 @@ 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"
@@ -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)
@@ -1,5 +1,5 @@
1
1
  module Italian
2
2
  module Ruby
3
- VERSIONE = "1.5.8"
3
+ VERSIONE = "1.5.11"
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.8
4
+ version: 1.5.11
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-28 00:00:00.000000000 Z
11
+ date: 2022-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -81,6 +81,7 @@ 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