uppercrust 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 75ea2d60b570ea8d3eda923af784209df44c6abe
4
+ data.tar.gz: f3d09d618562ba4d69e00aeb530df5217c60d542
5
+ SHA512:
6
+ metadata.gz: 4f17cbba416524f5132cd1e0ca934f89ed7b9825debc1bfa995e91217ac7e609833c5517533586bb69b60e7b978e0f00edb8a5464aa2101a86b4aa1380dea85f
7
+ data.tar.gz: 8e9fb9c84db5ecb6d240bbc2904bf429309f9ee4428f2def3360a3779fe70b53f7548cb0bf5a6cde35873ee23f1277156b0c931e6c865c9c9c9bd3099c3c3e03
data/.gitignore ADDED
@@ -0,0 +1,22 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in uppercrust.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Jan Gorman
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,123 @@
1
+ ![Crust](https://dl.dropboxusercontent.com/u/512759/crust.png)
2
+
3
+ # Crust
4
+
5
+ Inspired by [jsonschema2pojo](https://github.com/joelittlejohn/jsonschema2pojo "jsonschema2pojo"), crust is your trusty companion to generate [Mantle](https://github.com/github/Mantle "Mantle") compatible model files in Objective-C.
6
+
7
+ Crust generates two header and two implementation files for each of your models. One set is prefixed with an underscore and is meant to be overwritten whenever the JSON schema changes. The files without underscore extends these classes and can be used to add custom functionality and custom mappings and should only be generated once.
8
+
9
+ ## Installation
10
+
11
+ Install the gem as:
12
+
13
+ $ gem install uppercrust
14
+
15
+ ## Usage
16
+
17
+ $ uppercrust generate --path {path} --base_only true|false
18
+
19
+ This generate an output folder with all the JSON files mapped to their Objective-C counterparts.
20
+
21
+ Say for example, you have a model file named 'article.json'. Running crust will then generate 4 files for you:
22
+
23
+ * _Article.h
24
+ * _Article.m
25
+ * Article.h
26
+ * Article.m
27
+
28
+ Lets look at the following simple example:
29
+
30
+ ```json
31
+ {
32
+ "type":"object",
33
+ "$schema":"http://json-schema.org/draft-03/schema",
34
+ "id":"Article",
35
+ "description":"Result object that represents an article.",
36
+ "required":true,
37
+ "additionalProperties":false,
38
+ "properties":{
39
+ "brand":{
40
+ "type":"string",
41
+ "id":"brand",
42
+ "required":true
43
+ },
44
+ "sku":{
45
+ "type":"string",
46
+ "id":"sku",
47
+ "required":true
48
+ }
49
+ }
50
+ }
51
+ ```
52
+
53
+ _Article.h:
54
+
55
+ ```objc
56
+ // DO NOT EDIT. This file is machine-generated and constantly overwritten.
57
+ // Make changes to article.h instead.
58
+ //
59
+ // Result object that represents an article.
60
+
61
+ #import "MTLModel.h"
62
+ #import "MTLJSONAdapter.h"
63
+
64
+
65
+ @interface _Article : MTLModel<MTLJSONSerializing>
66
+
67
+ @property(nonatomic, copy, readonly) NSString *brand;
68
+ @property(nonatomic, copy, readonly) NSString *sku;
69
+
70
+ @end
71
+ ```
72
+
73
+ _Article.m:
74
+ ```objc
75
+ // DO NOT EDIT. This file is machine-generated and constantly overwritten.
76
+ // Make changes to Article.m instead.
77
+
78
+ #import "_Article.h"
79
+
80
+ @implementation _Article
81
+
82
+ + (NSDictionary *)JSONKeyPathsByPropertyKey {
83
+ return @{
84
+ @"brand" : @"brand",
85
+ @"sku" : @"sku"
86
+ };
87
+ }
88
+
89
+
90
+ @end
91
+ ```
92
+
93
+ Article.h:
94
+ ```objc
95
+ #import "_Article.h"
96
+
97
+ @interface Article : _Article
98
+ @end
99
+ ```
100
+
101
+ Article.m:
102
+ ```objc
103
+ #import "Article.h"
104
+
105
+ @implementation Article {
106
+ }
107
+
108
+ @end
109
+ ```
110
+
111
+ ## Contributing
112
+
113
+ 1. Fork it
114
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
115
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
116
+ 4. Push to the branch (`git push origin my-new-feature`)
117
+ 5. Create new Pull Request
118
+
119
+ ## TODO
120
+
121
+ * Add tests!
122
+ * Add some special types to the schema since Foundation has a richer vocabulary
123
+ * Add the option to prefix the generated class names
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
data/bin/uppercrust ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require "uppercrust/cli"
3
+ Uppercrust::CLI.start
@@ -0,0 +1,10 @@
1
+ Feature: Generator
2
+
3
+ Scenario: I generate .h and .m files
4
+ When I run `uppercrust generate --path data --base_only true`
5
+ Then the following files should exist:
6
+ | output/_Article.h |
7
+ Then the file "output/_Article.h" should contain:
8
+ """
9
+ Something
10
+ """
@@ -0,0 +1 @@
1
+ require "aruba/cucumber"
data/lib/uppercrust.rb ADDED
@@ -0,0 +1,6 @@
1
+ require "uppercrust/version"
2
+ require "uppercrust/generator"
3
+
4
+ module Uppercrust
5
+ # Your code goes here...
6
+ end
@@ -0,0 +1,13 @@
1
+ require "thor"
2
+ require "uppercrust"
3
+
4
+ module Uppercrust
5
+ class CLI < Thor
6
+ desc "generate files", "Generates .h and .m files from the given directory"
7
+ option :path, :required => true, :aliases => '-p'
8
+ option :base_only, :type => :boolean, :aliases => '-b'
9
+ def generate
10
+ puts Uppercrust::Generator.generate(options[:path], options[:base_only])
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,46 @@
1
+ require 'mustache'
2
+ require 'json'
3
+ require 'uppercrust/parser'
4
+
5
+ module Uppercrust
6
+
7
+ class Generator
8
+
9
+ def self.generate(path, base_only)
10
+ unless File.readable?(path)
11
+ puts "Cannot read path #{path}"
12
+ return
13
+ end
14
+
15
+ files = read_files(path, base_only)
16
+ if files.length > 0
17
+ FileUtils.mkdir("output")
18
+ output = []
19
+ files.each do |generate|
20
+ puts "Generate #{generate.file_name}"
21
+ output << generate.generate_files
22
+ end
23
+ output.each do |generated|
24
+ generated.each { |name, contents| File.open(File.join("output", name), "w") { |f| f.write(contents) } }
25
+ end
26
+ end
27
+ end
28
+
29
+ def self.read_files(path, base_only)
30
+ files = File.file?(File.absolute_path(path)) ? [File.absolute_path(path)] : glob_dir_for_json(path)
31
+
32
+ output = []
33
+ files.each do |json_file|
34
+ data = JSON.parse(File.open(json_file, 'r') { |f| f.read })
35
+ output << Parser.new(json_file, data, base_only)
36
+ end
37
+ output
38
+ end
39
+
40
+ def self.glob_dir_for_json(path)
41
+ Dir.glob(File.join(File.absolute_path(path), '**', '*.json'))
42
+ end
43
+
44
+ end
45
+
46
+ end
@@ -0,0 +1,152 @@
1
+ class Parser
2
+
3
+ attr_accessor :file_name
4
+
5
+ def initialize(file_name, data, base_only)
6
+ @file_name = file_name
7
+ @data = data
8
+ @base_only = base_only
9
+
10
+ @generated_class = self.snake_to_camel(File.basename(file_name, '.json'))
11
+
12
+ @properties = self.extract_properties(data['properties'])
13
+ @variable_names = self.extract_variable_names(data['properties'].keys)
14
+ @extends_class = self.extends_class(data)
15
+ @import = self.get_import(data)
16
+ @contains_classes = self.get_contains(data['properties'])
17
+ @array_converters = self.get_array_converters(data['properties'])
18
+ end
19
+
20
+ def generate_files
21
+ output = {}
22
+
23
+ output["_#{@generated_class}.h"] = Mustache.render(read_template('base_header'),
24
+ :class_name => @generated_class,
25
+ :extends_class => @extends_class,
26
+ :import => @import,
27
+ :description => @data['description'],
28
+ :properties => @properties)
29
+
30
+ output["_#{@generated_class}.m"] = Mustache.render(read_template('base_implementation'),
31
+ :class_name => @generated_class,
32
+ :properties => @variable_names,
33
+ :extends => !@import.nil?,
34
+ :contains => @contains_classes,
35
+ :array_converters => @array_converters)
36
+
37
+ unless @base_only
38
+ output["#{@generated_class}.h"] = Mustache.render(read_template('header'),
39
+ :class_name => @generated_class)
40
+
41
+ output["#{@generated_class}.m"] = Mustache.render(read_template('implementation'),
42
+ :class_name => @generated_class)
43
+ end
44
+
45
+ output
46
+ end
47
+
48
+ def read_template(template_name)
49
+ File.read("#{File.dirname(__FILE__)}/tpl/#{template_name}.mustache")
50
+ end
51
+
52
+ def get_contains(properties)
53
+ contains = []
54
+
55
+ properties.each do |name, type_info|
56
+ if self.match_type(type_info['type']) == 'NSArray' && type_info['items']['$ref'] != nil && type_info['items']['$ref'] != '#'
57
+ contains << "#import \"_#{self.snake_to_camel(Pathname.new(type_info['items']['$ref']).basename('.json').to_s)}.h\""
58
+ end
59
+ end
60
+
61
+ contains
62
+ end
63
+
64
+ def get_array_converters(properties)
65
+ array_converters = []
66
+
67
+ properties.each do |name, type_info|
68
+ if self.match_type(type_info['type']) == 'NSArray' && type_info['items']['$ref'] != nil
69
+ extends = type_info['items']['$ref'] != '#' ? self.snake_to_camel(Pathname.new(type_info['items']['$ref']).basename('.json').to_s) : @generated_class
70
+ array_converters << "+ (NSValueTransformer *)#{name}JSONTransformer {\n return [NSValueTransformer mtl_JSONDictionaryTransformerWithModelClass:_#{extends}.class];\n}"
71
+ end
72
+ end
73
+
74
+ array_converters
75
+ end
76
+
77
+ def get_import(data)
78
+ if data['extends'].to_s == ''
79
+ nil
80
+ else
81
+ import = data['extends'].is_a?(String) ? '_' << self.snake_to_camel(data['extends'].sub('.json', '')) : '_' << self.snake_to_camel(File.basename(data['extends']['$ref'], '.json'))
82
+ "#import \"#{import}.h\""
83
+ end
84
+ end
85
+
86
+ def extends_class(data)
87
+ if data['extends'].to_s == ''
88
+ 'MTLModel<MTLJSONSerializing>'
89
+ else
90
+ if data['extends'].is_a? String
91
+ '_' << self.snake_to_camel(Pathname.new(data['extends']).basename('.json').to_s)
92
+ else
93
+ '_' << self.snake_to_camel(Pathname.new(data['extends']['$ref']).basename('.json').to_s)
94
+ end
95
+ end
96
+ end
97
+
98
+ def extract_variable_names(keys)
99
+ extracted_variables_names = []
100
+
101
+ if keys.length > 1
102
+ last = keys.pop
103
+ keys.each { |key| extracted_variables_names << "@\"#{key}\" : @\"#{key}\"," }
104
+ extracted_variables_names << "@\"#{last}\" : @\"#{last}\""
105
+ else
106
+ extracted_variables_names << "@\"#{keys[0]}\" : @\"#{keys[0]}\""
107
+ end
108
+
109
+ extracted_variables_names
110
+ end
111
+
112
+ def extract_properties(properties)
113
+ extracted_properties = []
114
+
115
+ properties.each do |name, type_info|
116
+ type = match_type(type_info['type'])
117
+ extracted_properties << "@property(#{self.copy_type(type) ? 'copy' : 'assign'}, nonatomic, readonly) #{type} #{self.copy_type(type) ? '*' : ''}#{name};"
118
+ end
119
+
120
+ extracted_properties
121
+ end
122
+
123
+ def copy_type(type)
124
+ type != 'NSInteger' && type != 'BOOL'
125
+ end
126
+
127
+ def match_type(in_type)
128
+ case in_type
129
+ when 'string'
130
+ 'NSString'
131
+ when 'number', 'long'
132
+ 'NSNumber'
133
+ when 'integer'
134
+ 'NSInteger'
135
+ when 'boolean'
136
+ 'BOOL'
137
+ when 'object', 'any'
138
+ 'NSObject'
139
+ when 'array'
140
+ 'NSArray'
141
+ when 'null'
142
+ 'NSNull'
143
+ else
144
+ 'NSObject'
145
+ end
146
+ end
147
+
148
+ def snake_to_camel(file_name)
149
+ (file_name.split('_').length > 1) ? file_name.split('_').map { |w| w.capitalize }.join('') : file_name.capitalize
150
+ end
151
+
152
+ end
@@ -0,0 +1,15 @@
1
+ // DO NOT EDIT. This file is machine-generated and constantly overwritten.
2
+ // Make changes to {{{class_name}}}.h instead.
3
+ //
4
+ // {{{description}}}
5
+
6
+ #import <Mantle/Mantle.h>
7
+ {{{import}}}
8
+
9
+ @interface _{{{class_name}}} : {{{extends_class}}}
10
+
11
+ {{#properties}}
12
+ {{{.}}}
13
+ {{/properties}}
14
+
15
+ @end
@@ -0,0 +1,36 @@
1
+ // DO NOT EDIT. This file is machine-generated and constantly overwritten.
2
+ // Make changes to {{{class_name}}}.m instead.
3
+
4
+ #import "_{{{class_name}}}.h"
5
+ {{#array_converters}}
6
+ {{#contains}}
7
+ {{{.}}}
8
+ {{/contains}}
9
+ {{/array_converters}}
10
+
11
+ @implementation _{{{class_name}}}
12
+
13
+ + (NSDictionary *)JSONKeyPathsByPropertyKey {
14
+ {{#extends}}
15
+ NSMutableDictionary *dictionary = [NSMutableDictionary dictionaryWithDictionary:[super JSONKeyPathsByPropertyKey]];
16
+ [dictionary addEntriesFromDictionary:@{
17
+ {{#properties}}
18
+ {{{.}}}
19
+ {{/properties}}
20
+ }];
21
+ return dictionary;
22
+ {{/extends}}
23
+ {{^extends}}
24
+ return @{
25
+ {{#properties}}
26
+ {{{.}}}
27
+ {{/properties}}
28
+ };
29
+ {{/extends}}
30
+ }
31
+
32
+ {{#array_converters}}
33
+ {{{.}}}
34
+ {{/array_converters}}
35
+
36
+ @end
@@ -0,0 +1,4 @@
1
+ #import "_{{{class_name}}}.h"
2
+
3
+ @interface {{{class_name}}} : _{{{class_name}}}
4
+ @end
@@ -0,0 +1,5 @@
1
+ #import "{{{class_name}}}.h"
2
+
3
+ @implementation {{{class_name}}}
4
+
5
+ @end
@@ -0,0 +1,3 @@
1
+ module Uppercrust
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,11 @@
1
+ require "uppercrust"
2
+
3
+ spec_dir = File.expand_path(File.dirname(__FILE__))
4
+
5
+ describe Uppercrust::Generator do
6
+
7
+ it "generates .h and .m files" do
8
+ Uppercrust::Generator.generate(spec_dir, true)
9
+ end
10
+
11
+ end
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'uppercrust/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "uppercrust"
8
+ spec.version = Uppercrust::VERSION
9
+ spec.authors = ["Jan Gorman"]
10
+ spec.email = ["gorman.jan@gmail.com"]
11
+ spec.summary = %q{Convert your JSON schema files to Mantle compatible Objective-C models}
12
+ spec.description = %q{Convert your JSON schema files to Mantle compatible Objective-C models}
13
+ spec.homepage = "https://github.com/JanGorman/uppercrust/"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "thor"
22
+ spec.add_dependency "mustache"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.6"
25
+ spec.add_development_dependency "rake"
26
+ spec.add_development_dependency "rspec", "~> 2.6"
27
+ spec.add_development_dependency "cucumber"
28
+ spec.add_development_dependency "aruba"
29
+ end
metadata ADDED
@@ -0,0 +1,166 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: uppercrust
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jan Gorman
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-08-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: mustache
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.6'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.6'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.6'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.6'
83
+ - !ruby/object:Gem::Dependency
84
+ name: cucumber
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: aruba
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: Convert your JSON schema files to Mantle compatible Objective-C models
112
+ email:
113
+ - gorman.jan@gmail.com
114
+ executables:
115
+ - uppercrust
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - ".gitignore"
120
+ - Gemfile
121
+ - LICENSE.txt
122
+ - README.md
123
+ - Rakefile
124
+ - bin/uppercrust
125
+ - features/generator.feature
126
+ - features/support/setup.rb
127
+ - lib/uppercrust.rb
128
+ - lib/uppercrust/cli.rb
129
+ - lib/uppercrust/generator.rb
130
+ - lib/uppercrust/parser.rb
131
+ - lib/uppercrust/tpl/base_header.mustache
132
+ - lib/uppercrust/tpl/base_implementation.mustache
133
+ - lib/uppercrust/tpl/header.mustache
134
+ - lib/uppercrust/tpl/implementation.mustache
135
+ - lib/uppercrust/version.rb
136
+ - spec/uppercrust_spec.rb
137
+ - uppercrust.gemspec
138
+ homepage: https://github.com/JanGorman/uppercrust/
139
+ licenses:
140
+ - MIT
141
+ metadata: {}
142
+ post_install_message:
143
+ rdoc_options: []
144
+ require_paths:
145
+ - lib
146
+ required_ruby_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: '0'
156
+ requirements: []
157
+ rubyforge_project:
158
+ rubygems_version: 2.0.3
159
+ signing_key:
160
+ specification_version: 4
161
+ summary: Convert your JSON schema files to Mantle compatible Objective-C models
162
+ test_files:
163
+ - features/generator.feature
164
+ - features/support/setup.rb
165
+ - spec/uppercrust_spec.rb
166
+ has_rdoc: