vulcano 0.6.1 → 0.6.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 +4 -4
- data/README.md +2 -2
- data/lib/vulcano/parsed_variable.rb +2 -2
- data/lib/vulcano/version.rb +1 -1
- data/vulcano.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e9936810f307e280d9cf047a82bf8188b4ee07d3
|
|
4
|
+
data.tar.gz: baa7200f85f8464e923f603795f3cd661929e6d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1f6a701340d20417def057c970ed0ebc8de4b03149faf5403a4cc7173abd8221916246788add177dbc3167e216e8ef3a939c6907b97cba225622d492a18263ff
|
|
7
|
+
data.tar.gz: 4db1f9280f5c94fd034c8dc5bbd81d3234f23aeee2d03fc8ae44aa17b3acbcb0ed83c25f2f15be4af4121499b3ce99892bec60e50ddfad6c6d6153a90808a383
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Vulcano
|
|
4
4
|
|
|
5
|
-
Ruby script to generate Swift Codable files from a JSON
|
|
5
|
+
Ruby script to generate Swift Codable files from a given JSON file
|
|
6
6
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
@@ -35,7 +35,7 @@ vulcano /Users/franco/vulcano_json.json
|
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
```
|
|
38
|
-
vulcano /Users/franco/vulcano_json.json /Users/franco/output_folder
|
|
38
|
+
vulcano /Users/franco/vulcano_json.json -d /Users/franco/output_folder -n "ClassName"
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
## Development
|
|
@@ -29,8 +29,8 @@ module Vulcano
|
|
|
29
29
|
when Integer then 'Int'
|
|
30
30
|
when Float then 'Float'
|
|
31
31
|
when String then 'String'
|
|
32
|
-
when TrueClass then '
|
|
33
|
-
when FalseClass then '
|
|
32
|
+
when TrueClass then 'Bool'
|
|
33
|
+
when FalseClass then 'Bool'
|
|
34
34
|
when Hash then original_name.camel_case
|
|
35
35
|
when Array then "[#{typeString(object.first)}]"
|
|
36
36
|
else
|
data/lib/vulcano/version.rb
CHANGED
data/vulcano.gemspec
CHANGED
|
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ["Franco Meloni"]
|
|
10
10
|
spec.email = ["franco.meloni91@gmail.com"]
|
|
11
11
|
|
|
12
|
-
spec.summary = %q{Swift Codable
|
|
13
|
-
spec.description = %q{This script generates Swift Codable files from a given JSON}
|
|
12
|
+
spec.summary = %q{Swift Codable file genertator}
|
|
13
|
+
spec.description = %q{This script generates Swift Codable files from a given JSON file}
|
|
14
14
|
spec.homepage = "https://github.com/f-meloni/vulcano"
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vulcano
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Franco Meloni
|
|
@@ -52,7 +52,7 @@ dependencies:
|
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '3.0'
|
|
55
|
-
description: This script generates Swift Codable files from a given JSON
|
|
55
|
+
description: This script generates Swift Codable files from a given JSON file
|
|
56
56
|
email:
|
|
57
57
|
- franco.meloni91@gmail.com
|
|
58
58
|
executables:
|
|
@@ -104,5 +104,5 @@ rubyforge_project:
|
|
|
104
104
|
rubygems_version: 2.6.12
|
|
105
105
|
signing_key:
|
|
106
106
|
specification_version: 4
|
|
107
|
-
summary: Swift Codable
|
|
107
|
+
summary: Swift Codable file genertator
|
|
108
108
|
test_files: []
|