camille 0.5.13 → 0.5.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d72196c6854c4c1354a55e5560b649753e49e23875a96d903b2d197dbae72581
4
- data.tar.gz: 43b711376dfa6e9311245463738d999ffe73abc8fa9c7eb9516100f0f778c018
3
+ metadata.gz: f2c6dd8d04bd084f86bdfb6dc20b8e7272f3bea5f041c39ff5c48f07c1d8184b
4
+ data.tar.gz: 7feb388c52715c48fc602bcc58274a9e667c6ac59290d8c3c7b52ff928def0d1
5
5
  SHA512:
6
- metadata.gz: 513b2edc45cf95615c6a0d6768a09b7a9ec40fdafb79756694db91b72ab7c614b49140ed6cd7e4cba1a0e8a033e39c5b50aec3ac20d8e5fac25f9ba169f958af
7
- data.tar.gz: '077171197c9aaea4b898ebe5157333d72b2f78297ec08b84605cf9da3615543e24af37f21d06d0a501bb1aa077aa21972e77c1f7c28967fff9274702578a22e1'
6
+ metadata.gz: 6d2e64d5caa85962f42f04d19b9bec5b7573166616b415f899a69e1752698f10d85961ac270c6397f78377d635904dad884fa62135c58c9c8060e0e5a57a4d0a
7
+ data.tar.gz: c6920ed8114a4807c837e8deeb813653ccb20efc44fe246cae3139d09068f16497d3ff378d97282207a6f21df7837fdf668a9ccf44d1c918cb9e4d144caec55b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.14
4
+
5
+ ### Fixed
6
+
7
+ * Fixed support for `render json: false`
8
+
3
9
  ## 0.5.13
4
10
 
5
11
  ### Fixed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- camille (0.5.12)
4
+ camille (0.5.13)
5
5
  rails (>= 6.1, < 8)
6
6
 
7
7
  GEM
@@ -75,11 +75,11 @@ GEM
75
75
  builder (3.2.4)
76
76
  concurrent-ruby (1.2.2)
77
77
  crass (1.0.6)
78
- date (3.3.3)
78
+ date (3.3.4)
79
79
  diff-lcs (1.5.0)
80
80
  erubi (1.12.0)
81
- globalid (1.1.0)
82
- activesupport (>= 5.0)
81
+ globalid (1.2.1)
82
+ activesupport (>= 6.1)
83
83
  i18n (1.12.0)
84
84
  concurrent-ruby (~> 1.0)
85
85
  loofah (2.19.1)
@@ -92,18 +92,18 @@ GEM
92
92
  net-smtp
93
93
  marcel (1.0.2)
94
94
  method_source (1.0.0)
95
- mini_mime (1.1.2)
95
+ mini_mime (1.1.5)
96
96
  minitest (5.17.0)
97
- net-imap (0.3.4)
97
+ net-imap (0.4.7)
98
98
  date
99
99
  net-protocol
100
100
  net-pop (0.1.2)
101
101
  net-protocol
102
- net-protocol (0.2.1)
102
+ net-protocol (0.2.2)
103
103
  timeout
104
- net-smtp (0.3.3)
104
+ net-smtp (0.4.0)
105
105
  net-protocol
106
- nio4r (2.5.9)
106
+ nio4r (2.6.1)
107
107
  nokogiri (1.14.2-x86_64-linux)
108
108
  racc (~> 1.4)
109
109
  racc (1.6.2)
@@ -159,10 +159,10 @@ GEM
159
159
  rspec-support (~> 3.11)
160
160
  rspec-support (3.12.0)
161
161
  thor (1.2.1)
162
- timeout (0.3.2)
162
+ timeout (0.4.1)
163
163
  tzinfo (2.0.6)
164
164
  concurrent-ruby (~> 1.0)
165
- websocket-driver (0.7.5)
165
+ websocket-driver (0.7.6)
166
166
  websocket-extensions (>= 0.1.0)
167
167
  websocket-extensions (0.1.5)
168
168
  zeitwerk (2.6.7)
@@ -17,7 +17,8 @@ module Camille
17
17
  render_options = args.last
18
18
  intended_status = render_options[:status] || 200
19
19
  if intended_status == 200 || intended_status == :ok
20
- if value = render_options[:json]
20
+ if render_options.has_key? :json
21
+ value = render_options[:json]
21
22
  error, transformed = endpoint.response_type.transform_and_check(value)
22
23
  if error
23
24
  string_io = StringIO.new
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Camille
4
- VERSION = "0.5.13"
4
+ VERSION = "0.5.14"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: camille
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.13
4
+ version: 0.5.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alyssa
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-29 00:00:00.000000000 Z
11
+ date: 2024-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails