italian-ruby 0.9.4 → 0.9.5

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: c53811425eddf7ff16616b148712a3b101a89c3dc2e4003aa719abda085925e9
4
- data.tar.gz: 40959de329eb146bb0ad64232680922df73baf5fd96133af558b8f86bd0ea77e
3
+ metadata.gz: 7428ba47e0eecd95e2a7ef1a777918f3f79bfbfd8728c76cd8f2392150403a14
4
+ data.tar.gz: 1eb2b601bf7b0937a1f7a870fe5c9d63c7bf562177bb2f8fd9dd2fdc2d25bbcd
5
5
  SHA512:
6
- metadata.gz: 60cecfced4353f00776f2058219a92c2fb8fd0e7a9d6928681601600aea3b23d1aa8c0886386189fba3ed88ba2dee9fdbef5d0d59bdcf96182b9ec25796f3952
7
- data.tar.gz: c5035ab4e241da0f5b720bb160d225e3ab87d7e310848de6426e7dc0ee4f68338fba78b08e80821783dfe975b48020376d01bc413f3bc9980a213b66d66c48a2
6
+ metadata.gz: 9b030da45aeff663f9973c95e71ab061a36a89af4558d75198672dc0ae74d7116dba8121d24d02e3293308beb80cf497ef723aa4477cf83001aaff41d76a55bf
7
+ data.tar.gz: 978eb2ba0769b180d2c77fa180f41047bed4655f3c874f9a2acecc7de337a2fb084f3de85fc4e92235e6e3cf46adf9f5a2056c0a922200a603d65135a88418e1
@@ -8,6 +8,9 @@ module RSpec
8
8
  def self.variabili_condivise(*args, &block)
9
9
  shared_context *args, &block
10
10
  end
11
+ def self.contesto_condiviso(*args, &block)
12
+ shared_context *args, &block
13
+ end
11
14
 
12
15
  ##
13
16
  # Core
@@ -25,6 +28,7 @@ module RSpec
25
28
 
26
29
  class << self
27
30
  alias :includi_variabili :include_context
31
+ alias :includi_contesto :include_context
28
32
  end
29
33
  end
30
34
 
@@ -135,6 +139,8 @@ end
135
139
  RSpec.configure do |config|
136
140
  RSpec::Matchers.alias_matcher :sia, :be
137
141
  RSpec::Matchers.alias_matcher :siano, :be
142
+ RSpec::Matchers.alias_matcher :sia_nullo, :be_nil
143
+ RSpec::Matchers.alias_matcher :sia_nulla, :be_nil
138
144
  RSpec::Matchers.alias_matcher :tutti, :all
139
145
  RSpec::Matchers.alias_matcher :tutte, :all
140
146
  RSpec::Matchers.alias_matcher :equivalga_a, :eq
@@ -152,4 +158,4 @@ RSpec.configure do |config|
152
158
  alias :verifica :expect
153
159
  alias :consenti :allow
154
160
  end
155
- end
161
+ end
@@ -13,6 +13,7 @@ class Time
13
13
  alias :in_stringa :to_s
14
14
  alias :in_numero :to_i
15
15
  alias :formatta :strftime
16
+ alias :localizza :localtime
16
17
 
17
18
  def in_data
18
19
  self.to_date
@@ -35,4 +36,4 @@ class Time
35
36
  end
36
37
  end
37
38
 
38
- Tempo = Time
39
+ Tempo = Time
@@ -1,5 +1,5 @@
1
1
  module Italian
2
2
  module Ruby
3
- VERSION = "0.9.4"
3
+ VERSION = "0.9.5"
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.9.4
4
+ version: 0.9.5
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-07-27 00:00:00.000000000 Z
11
+ date: 2020-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler