iris-rb 0.5.1 → 0.5.2

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: c0c0f2b700cf6afa534162c4494b9462d4c7bf1a05300d76f55ea138c57d579a
4
- data.tar.gz: d100c0e76b78fe2687199286b0b2e2090f39e42b66f312a4afaed4e0bf9eb185
3
+ metadata.gz: 9064ebc8400eb0755fb0758fc74dec77d48d3df06858fe08fd67e1e84403563c
4
+ data.tar.gz: af304bb04d2e1d99f09fb64b9e716c2fa76fc9f77d32cf3854410f0e73e82477
5
5
  SHA512:
6
- metadata.gz: ef257008011ae9d9f125808504eb6fc907ca03f48f5bf67245c94f9475c707b34ee6238a0dd373d2a18dca1159f33a382dd979efe74230782b411007fb293cab
7
- data.tar.gz: ecd52d67b889be73879f48ce4ebe7f04313e255dffc5c7bf5c15ccbe3cc4b8fe140e0add0f64ab6624f6a25e2bb1315d04e5cd0f80fdc29af6bee1fbd81fae3d
6
+ metadata.gz: 6e4072034bdfce3f92e14cbcc0893eb2bf5fa84dc0e5bb20fc1e234a75089398801e23de37336440fb49bed85311dcfbb206ab4aed950780a316e09a5ceb4dfe
7
+ data.tar.gz: 161f7ae41cf694677c7ec48ce647237341efea76722bd6913d7abb626a5bb459994072ab6ffbed935fdec02d4f0e52f1225c351fc2a653d722234a5749e38075
data/.gitignore CHANGED
@@ -8,5 +8,7 @@
8
8
  /tmp/
9
9
  /.italian-ruby
10
10
 
11
+ *.swp
12
+
11
13
  # rspec failure tracking
12
14
  .rspec_status
@@ -83,11 +83,16 @@ modulo Iris
83
83
  fine
84
84
  fine
85
85
 
86
- @corpo = @corpo.in_json se @corpo.risponde_a? :in_json
87
- @intestazioni.deposita "Content-Length", @corpo.bytesize.to_s a_meno_che @stato == 204
88
86
  @registratore.registra_azione @stato
89
87
 
90
- [ @stato, @intestazioni, [ @corpo ] ]
88
+ se @corpo == :vuoto
89
+ @intestazioni.deposita "Content-Length", "0"
90
+ [ @stato, @intestazioni, [] ]
91
+ altrimenti
92
+ @corpo = @corpo.in_json se @corpo.risponde_a? :in_json
93
+ @intestazioni.deposita "Content-Length", @corpo.bytesize.to_s a_meno_che @stato == 204
94
+ [ @stato, @intestazioni, [ @corpo ] ]
95
+ fine
91
96
  fine
92
97
  alias :call :_avvia
93
98
 
@@ -227,4 +232,4 @@ modulo Iris
227
232
  fine
228
233
 
229
234
  fine
230
- fine
235
+ fine
@@ -1,3 +1,3 @@
1
1
  modulo Iris
2
- VERSIONE = "0.5.1"
2
+ VERSIONE = "0.5.2"
3
3
  fine
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iris-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
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-06-29 00:00:00.000000000 Z
11
+ date: 2020-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: italian-ruby