mangusta 0.3.2 → 0.3.3

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: 525522fdcedd3360d063c536c736a26788886ae9aeb8d82631dec3d7fb8c6ed8
4
- data.tar.gz: b811b5ddfba6944be3ee5d80d00d890863dbd75301f1d02a395bfbb69be27603
3
+ metadata.gz: f8655bc6ea7f5061caa495d6beeebf02efba56246b9e5bf60c86c154f2e20c4f
4
+ data.tar.gz: 0ec4bc2abe42ef075500b6e5ff4994a9c82cd260a0280df0289dd293661c3fd9
5
5
  SHA512:
6
- metadata.gz: 5e43da18fe3039c56c44fed4ccd1efa975c898ca1868c0e5f4bb15b42c6b7bbf6ebb65456c6e855e5c3cacfc68e6eeafcea4893d0e2a72e74dc6568ca3fe7ada
7
- data.tar.gz: f387e722ddeba3745fec9c2ff59abc5ddec8a0ea54fafa1af363be4ca84ea7187eca6dfa505a722b980cf688c298a0b5ad8c9cf971e28b6de83d511661d31f4d
6
+ metadata.gz: d5f98fcd88a35da27819b99cb85f298db72377262f5b612ed5fbcf30cf8308416842f9cc6cedcf7f3a8b09e922b92098ae019d0eeecadca297fdafd51916d703
7
+ data.tar.gz: 5ce9383fefdcede3d6ae088ac78abd9ac3652f8a5243e3add4b8c2ef49704f0aa09f070f289ded2cbd27e3696918880b2c3f21811feb59b756be03a17f91bfe7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mangusta (0.3.1)
4
+ mangusta (0.3.2)
5
5
  italian-ruby (~> 0.1)
6
6
  mongo (~> 2.11)
7
7
 
@@ -28,6 +28,7 @@ modulo Mangusta
28
28
  _carica_relazioni_incluse
29
29
  ordinamento_inverso = @ordinamento_ricerca.fondi _id: -1
30
30
  documento_in_json = @collezione.cerca(@parametri_ricerca, ordinamento_inverso).primo
31
+ _converti documento_in_json
31
32
  fine
32
33
  alias :ultima :ultimo
33
34
 
@@ -74,7 +74,7 @@ modulo Mangusta
74
74
  ##
75
75
  # Ritorna l'ultimo documento del ripostiglio.
76
76
  definisci ultimo(parametri = Mappa.nuova, ordinamento = Mappa.nuova)
77
- _risultato_ricerca(parametri, ordinamento).primo
77
+ _risultato_ricerca(parametri, ordinamento).ultimo
78
78
  fine
79
79
  alias :ultima :ultimo
80
80
  alias :ultimo_per :ultimo
@@ -1,3 +1,3 @@
1
1
  modulo Mangusta
2
- VERSIONE = "0.3.2"
2
+ VERSIONE = "0.3.3"
3
3
  fine
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mangusta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Ballardin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-22 00:00:00.000000000 Z
11
+ date: 2020-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: italian-ruby