class_from_son 0.1.6 → 0.1.7
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/class_from_SON.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 454e1aeddc02a92ce61a486b46b82c9843c4a030e3acf3e11c82161c4059926c
|
4
|
+
data.tar.gz: bc60bfad91c5fc55003bc46032f3895bb884217f0e2a2f6e43747bd6a587f3ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8cd190dcaff59b3c252093ec4dce5289e44ada71e21e358c4e5ac41bcab0a8753c0570712ea1bf4c0ae48144a0894d5f6e0669a8d41ed82d5118bf44c542ecf
|
7
|
+
data.tar.gz: 50959148d2c3212298f13aaf00c81bda79cf78d75708ba72fda514fc742c466bc934ee5ab09a6d9015270b54bcc8df2b94826074931d502f53ad2c161eab98f9
|
data/lib/class_from_SON.rb
CHANGED
@@ -173,14 +173,14 @@ class ClassFromSON
|
|
173
173
|
# Returns code representing the start of the class
|
174
174
|
def generate_class_start(name)
|
175
175
|
case @language
|
176
|
-
when :java
|
176
|
+
when :java
|
177
177
|
start = <<-START
|
178
178
|
|
179
179
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
180
180
|
|
181
181
|
public class #{convert_custom_class_type(name)} {
|
182
182
|
START
|
183
|
-
when :java_lombok
|
183
|
+
when :java_lombok
|
184
184
|
start = <<-START
|
185
185
|
|
186
186
|
import com.fasterxml.jackson.annotation.JsonProperty;
|