italian-ruby 0.9.5 → 0.9.6

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: 7428ba47e0eecd95e2a7ef1a777918f3f79bfbfd8728c76cd8f2392150403a14
4
- data.tar.gz: 1eb2b601bf7b0937a1f7a870fe5c9d63c7bf562177bb2f8fd9dd2fdc2d25bbcd
3
+ metadata.gz: db50896c2f0e75422fc16467618aed8e90a1e58be1ee2f5e932c020a488a0b49
4
+ data.tar.gz: 7a28deca27ccb66ce5faed109a3389bfa923df7e0c48e2fb2f623a9e3f22d429
5
5
  SHA512:
6
- metadata.gz: 9b030da45aeff663f9973c95e71ab061a36a89af4558d75198672dc0ae74d7116dba8121d24d02e3293308beb80cf497ef723aa4477cf83001aaff41d76a55bf
7
- data.tar.gz: 978eb2ba0769b180d2c77fa180f41047bed4655f3c874f9a2acecc7de337a2fb084f3de85fc4e92235e6e3cf46adf9f5a2056c0a922200a603d65135a88418e1
6
+ metadata.gz: e75c2756871115a246e1ac1a811d0deb0963438c3b0c6a7496fc7a48a6aa827debb055db4294cb81d6df2a20af52980ec845f05b8a365889df7022748ff9285e
7
+ data.tar.gz: 249d970dbf4ae81155dab6f3ea1ef4519166656370cee7feb0b663b6678fb186126e6f3b1715335268e7920232dfda407353f432dd33daebb88e31dcd8fcd227
@@ -7,6 +7,7 @@ class Float
7
7
  INFINITO = INFINITY
8
8
 
9
9
  alias :in_intero :to_i
10
+ alias :in_stringa :to_s
10
11
  alias :arrotonda :round
11
12
  alias :arrotonda_per_eccesso :ceil
12
13
  alias :arrotonda_per_difetto :floor
@@ -150,6 +150,7 @@ RSpec.configure do |config|
150
150
  RSpec::Matchers.alias_matcher :abbia_ricevuto, :have_received
151
151
  RSpec::Matchers.alias_matcher :cambi, :change
152
152
  RSpec::Matchers.alias_matcher :di, :by
153
+ RSpec::Matchers.alias_matcher :includa, :include
153
154
 
154
155
  config.alias_example_to :esso
155
156
  config.alias_example_to :essa
@@ -1,5 +1,5 @@
1
1
  module Italian
2
2
  module Ruby
3
- VERSION = "0.9.5"
3
+ VERSION = "0.9.6"
4
4
  end
5
5
  end
@@ -8,7 +8,7 @@ if exists("b:current_syntax")
8
8
  endif
9
9
 
10
10
  syn match italianRubyKeyword /\v(\s|^)(classe|modulo|esegui)\s/me=e-1
11
- syn match italianRubyKeyword /\v(\s|^)(se|allora|altrimenti_se|a_meno_che|considera|quando|finché|in|definito\?|alias|super)\s/me=e-1
11
+ syn match italianRubyKeyword /\v(\s|^)(se|allora|altrimenti_se|a_meno_che|considera|quando|finché|in|definito\?|blocco_dato\?|alias|super)\s/me=e-1
12
12
  syn match italianRubyKeyword /\v(\s|^)(prossimo|prossima|esci|ritorna|rilascia|recupera)\s/me=e-1
13
13
  syn match italianRubyKeyword /\v(\s|^)(se|allora|altrimenti|a_meno_che|considera|esci|ritorna|rilascia|blocco_dato\?|super)$/
14
14
  syn match italianRubyKeyword /\v(\s|^)(inizia|recupera|assicura|riprova|esegui|fine)$/
@@ -46,7 +46,7 @@ syn match italianRubySpecial /\v\.(nuovo|nuova)(\s|\,|\()/hs=s+1,
46
46
  syn match italianRubySpecial /\v\.(nuovo|nuova)\)/hs=s+1,he=e-1
47
47
  syn match italianRubySpecial /\v\.(nuovo|nuova)$/hs=s+1
48
48
  syn match italianRubySpecial /\v(se_stesso|se_stessa)/
49
- syn match italianRubySpecial /\v(\s)+(si|no|nullo|nulla)$/
50
- syn match italianRubySpecial /\v(\s)+(si|no|nullo|nulla)\W/he=e-1,me=e-1
49
+ syn match italianRubySpecial /\v(\s)+(si|no|nullo|nulla|vero|falso)$/
50
+ syn match italianRubySpecial /\v(\s)+(si|no|nullo|nulla|vero|falso)\W/he=e-1,me=e-1
51
51
 
52
52
  let b:current_syntax = "ir"
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.5
4
+ version: 0.9.6
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-08-03 00:00:00.000000000 Z
11
+ date: 2020-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler