adiwg-mdtranslator 0.8.5 → 0.8.6

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: 743d6fa5ca6424c64685a27c08da9923ed2a1594
4
- data.tar.gz: c5035035e07dd6f57a404915cb5cacb135fe061f
3
+ metadata.gz: 33d88910886287dc0c89238e8beba62d7871315f
4
+ data.tar.gz: 8c50527b56e4bce5d5b130f1f767ab3e30d18877
5
5
  SHA512:
6
- metadata.gz: 621006a98dbbe19d6bb2b5e6669ca7c5968016a55e63a21ddc4ab1e6b3aa6f972456cbbe5d2617fe42194d39d6fffd30b1bbb2f6d6b3e5fced7011a766e3a364
7
- data.tar.gz: 957ba7ca86c82aebf87a02c5291b46fd7824507a2c2597c13edf44063158c32307b165708511456cd4b9fe41fa9af3d46341ebc0f3ef3de5a36073de5b350016
6
+ metadata.gz: 8b4d1d298a11e19eb17e928f1e4b0cae68e28f8792117f6f01a1db7fbcd1e06a7a6c9e8bb6c9366e8102747f6669184a76f170431b9d5d53c32dfb48d060e323
7
+ data.tar.gz: f6dbbfe2083d67f9963c61f87cead13a9b6b35ae877c476631ae8cd82f03c6d93d7e6e3cf4e6a1cd0dd246ef8990a3044daabd7c2d2845e61cb0f5fdcf7989d9
@@ -31,7 +31,7 @@ class Mdtranslator < Thor
31
31
  method_option :validate, :aliases => '-v', :desc => 'Specify level of validation to be performed', :enum => %w{none normal strict}, :default => 'normal'
32
32
  method_option :showAllTags, :aliases => '-s', :desc => 'Include tags for unused attributes', :type => :boolean, :default => false
33
33
  method_option :messages, :aliases => '-m', :desc => 'On error return messages as formatted text or json object', :enum => %w{json text}, :default => 'text'
34
- # method_option :returnObject, :aliases => '-o', :desc => 'Return full JSON object generated by translator', :type => :boolean, :default => false
34
+ method_option :returnObject, :aliases => '-o', :desc => 'Return full JSON object generated by translator', :type => :boolean, :default => false
35
35
 
36
36
  # accept command and options
37
37
  def translate(file)
@@ -13,11 +13,12 @@
13
13
  # ... test were added to handle a missing metadata > metadataInfo
14
14
  # ... block in the input.
15
15
  # 0.8.5 2014-10-11 added methods to pass content of readme files
16
+ # 0.8.6 2014-10-15 added cli option to return entire content mdTranslator response
16
17
 
17
18
  module ADIWG
18
19
  module Mdtranslator
19
20
  # current mdtranslator version
20
- VERSION = "0.8.5"
21
+ VERSION = "0.8.6"
21
22
  end
22
23
  end
23
24
 
@@ -35,7 +35,7 @@ class Mdtranslator < Thor
35
35
  method_option :validate, :aliases => '-v', :desc => 'Specify level of validation to be performed', :enum => %w{none normal strict}, :default => 'normal'
36
36
  method_option :showAllTags, :aliases => '-s', :desc => 'Include tags for unused attributes', :type => :boolean, :default => false
37
37
  method_option :messages, :aliases => '-m', :desc => 'On error return messages as formatted text or json object', :enum => %w{json text}, :default => 'text'
38
- # method_option :returnObject, :aliases => '-o', :desc => 'Return full JSON object generated by translator', :type => :boolean, :default => false
38
+ method_option :returnObject, :aliases => '-o', :desc => 'Return full JSON object generated by translator', :type => :boolean, :default => false
39
39
 
40
40
  # accept command and options
41
41
  def translate(file)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adiwg-mdtranslator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stan Smith