shale 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ module Shale
30
30
  # @return [any]
31
31
  #
32
32
  # @api private
33
- def of_hash(value)
33
+ def of_hash(value, **)
34
34
  value
35
35
  end
36
36
 
@@ -41,7 +41,7 @@ module Shale
41
41
  # @return [any]
42
42
  #
43
43
  # @api private
44
- def as_hash(value)
44
+ def as_hash(value, **)
45
45
  value
46
46
  end
47
47
 
@@ -52,7 +52,7 @@ module Shale
52
52
  # @return [any]
53
53
  #
54
54
  # @api private
55
- def of_json(value)
55
+ def of_json(value, **)
56
56
  value
57
57
  end
58
58
 
@@ -63,7 +63,7 @@ module Shale
63
63
  # @return [any]
64
64
  #
65
65
  # @api private
66
- def as_json(value)
66
+ def as_json(value, **)
67
67
  value
68
68
  end
69
69
 
@@ -74,7 +74,7 @@ module Shale
74
74
  # @return [any]
75
75
  #
76
76
  # @api private
77
- def of_yaml(value)
77
+ def of_yaml(value, **)
78
78
  value
79
79
  end
80
80
 
@@ -85,7 +85,7 @@ module Shale
85
85
  # @return [any]
86
86
  #
87
87
  # @api private
88
- def as_yaml(value)
88
+ def as_yaml(value, **)
89
89
  value
90
90
  end
91
91
 
@@ -96,7 +96,7 @@ module Shale
96
96
  # @return [any]
97
97
  #
98
98
  # @api private
99
- def of_toml(value)
99
+ def of_toml(value, **)
100
100
  value
101
101
  end
102
102
 
@@ -107,7 +107,7 @@ module Shale
107
107
  # @return [any]
108
108
  #
109
109
  # @api private
110
- def as_toml(value)
110
+ def as_toml(value, **)
111
111
  value
112
112
  end
113
113
 
@@ -118,7 +118,7 @@ module Shale
118
118
  # @return [String]
119
119
  #
120
120
  # @api private
121
- def of_xml(node)
121
+ def of_xml(node, **)
122
122
  node.text
123
123
  end
124
124
 
@@ -141,7 +141,7 @@ module Shale
141
141
  # @param [true, false] cdata
142
142
  #
143
143
  # @api private
144
- def as_xml(value, name, doc, cdata = false)
144
+ def as_xml(value, name, doc, cdata = false, **)
145
145
  element = doc.create_element(name)
146
146
 
147
147
  if cdata
data/lib/shale/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Shale
4
4
  # @api private
5
- VERSION = '0.6.0'
5
+ VERSION = '0.7.0'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shale
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kamil Giszczak
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-05 00:00:00.000000000 Z
11
+ date: 2022-08-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ruby object mapper and serializer for XML, JSON, TOML and YAML.
14
14
  email: