jekyll-ramler 0.0.9 → 0.0.10

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
  SHA1:
3
- metadata.gz: 47212adcccb0edfe8f1058feabc603ea3e1939eb
4
- data.tar.gz: 8bbe1b9d189ee522f672e1631478d3c9feb0cf32
3
+ metadata.gz: cfbe8616d3768a3cf43814ef7a4f5f53ab0cfde3
4
+ data.tar.gz: 50830df613cabba283c4ada094b31ea9c12082e4
5
5
  SHA512:
6
- metadata.gz: ec46ebe280c77d5ec82fba05aad22084e64b9d1dc6820587a06c1575f7f30d49ce61a5dbd4b73dbdce976941f6fce9738ed356399e2f73bbed76a9475e2f6546
7
- data.tar.gz: d6bf92c7f97e02219ccef2dec8f18de0490aa246f54c359f95862215ddab7908f4a8d8706578596cb0957b30f03e0e02541cca9cc6b20590f651c0024f332fc1
6
+ metadata.gz: 923d4dc2b9889f6b95ff125fd3f3ef39749b891c635ae342831e088df5ff48a5a7f8be199bee0055f1d64a514d13ee014311d35667609fddc3f4fd944cbe55d1
7
+ data.tar.gz: db64fe426afaaa661c2f64efe43b109811a1220155224f2fd8ca1e2b8b02317ff4f3f88ab60e17ae1a20e388a942df5fe645825102fcb534cfe2eb6b3f4b93b0
data/CHANGELOG CHANGED
@@ -3,6 +3,13 @@ CHANGELOG
3
3
 
4
4
  This project does *not* adhere to Semantic Versioning
5
5
 
6
+ ## 0.0.10 - 2015-03-18
7
+
8
+ ### Fixed
9
+
10
+ - Generated JSON Schema table view now presents schema of child objects as
11
+ "Properties" or "Items" instead of "Example"
12
+
6
13
  ## 0.0.9 - 2015-03-02
7
14
 
8
15
  ### Fixed
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jekyll-ramler (0.0.8)
4
+ jekyll-ramler (0.0.9)
5
5
  jekyll
6
6
  ruby_deep_clone
7
7
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'jekyll-ramler'
3
- s.version = '0.0.9'
3
+ s.version = '0.0.10'
4
4
  s.date = '2015-02-09'
5
5
  s.authors = ['GovDelivery']
6
6
  s.email = 'support@govdelivery.com'
data/lib/raml-generate.rb CHANGED
@@ -171,9 +171,9 @@ module Jekyll
171
171
  if param.include?('example') and ['object', 'array'].include?(param['type'])
172
172
  param['example'] = JSON.pretty_generate(JSON.parse(param['example']))
173
173
  elsif param.include?('properties')
174
- param['example'] = JSON.pretty_generate(param['properties'])
174
+ param['properties'] = JSON.pretty_generate(param['properties'])
175
175
  elsif param.include?('items')
176
- param['example'] = JSON.pretty_generate(param['items'])
176
+ param['items'] = JSON.pretty_generate(param['items'])
177
177
  end
178
178
 
179
179
  obj['properties'][name] = param
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-ramler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - GovDelivery