italian-ruby 0.9.7 → 0.9.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 +4 -4
- data/lib/italian/ruby/core_ext/integer.rb +2 -0
- data/lib/italian/ruby/core_ext/open_struct.rb +2 -2
- data/lib/italian/ruby/version.rb +1 -1
- data/vim/syntax/ir.vim +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31dcb948144adaa9eff20ea6a059a9bd20fabad5cc6759aae9573e7b78163703
|
4
|
+
data.tar.gz: 5bcc385cf3c572e3a0db1526c65e15c3ef1d121e01db4acaf87549d2bfda0a16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d753d798c934fb5f56c3e876966dfeaa41aac9f4fc4ffff324758cb0b06e1fb29db4913ca450642211ae37adddb4a061f39d626dae764e083d6b9c5514457486
|
7
|
+
data.tar.gz: c183eba37499cbc015e68e6854bf1a192c8032d493c4fade6e39ff80d52ed9a54dd39b416be9989ea4575b82c6188608146db77a4065d9e82ba80f0ee501e80f
|
@@ -9,7 +9,7 @@ class OpenStruct
|
|
9
9
|
def in_mappa(*args)
|
10
10
|
hash = to_h *args
|
11
11
|
hash.in_mappa do |key, value|
|
12
|
-
if value.
|
12
|
+
if value.is_a? OpenStruct
|
13
13
|
[ key, value.to_h ]
|
14
14
|
else
|
15
15
|
[ key, value ]
|
@@ -18,4 +18,4 @@ class OpenStruct
|
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
|
-
Archivio = OpenStruct
|
21
|
+
Archivio = OpenStruct
|
data/lib/italian/ruby/version.rb
CHANGED
data/vim/syntax/ir.vim
CHANGED
@@ -11,7 +11,7 @@ syn match italianRubyKeyword /\v(\s|^)(classe|modulo|esegui)\s/me
|
|
11
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
|
-
syn match italianRubyKeyword /\v(\s|^)(inizia|recupera|assicura|riprova|esegui|fine)$/
|
14
|
+
syn match italianRubyKeyword /\v(\s|^)(prossimo|prossima|inizia|recupera|assicura|riprova|esegui|fine)$/
|
15
15
|
|
16
16
|
syn region italianRubyDefinition start=/definisci/ end=/[$\n\(]/ contains=italianRubySymbol,italianRubyConstant,italianRubyNumeric,italianRubySpecial,italianRubySplatOperator
|
17
17
|
syn match italianRubyMethodName /\v([a-z0-9_=\?\!àèéìòù]+)/ contained containedin=italianRubyDefinition
|
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
|
+
version: 0.9.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: 2020-08-
|
11
|
+
date: 2020-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|