yard-api 0.3.2 → 0.3.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da18e5c099f63291990732b6b8641f9b3d6588a4
4
- data.tar.gz: 697447ab5b213e1322e37888fd4ef9bc49c89fef
3
+ metadata.gz: c77fccf77dd3bf2e3ae4a741c7370a085c582e8d
4
+ data.tar.gz: e6144b444cb6bab24354dfe02adedf784ea20356
5
5
  SHA512:
6
- metadata.gz: 2912e45619e1199eebb28422298e380155795978e62966c168af494e3ce98e058ef6f748495df012359692033573c213be34d7e2da5589837d5090d46bee5f91
7
- data.tar.gz: a721d465aa53ab6e817bbb7485c9f75dff2ce6c193c3a8a1746115393b963bd97d132c05cdcd9bdc1bb38aab1af54a429333689d665d9a5b1a31069399743b19
6
+ metadata.gz: 08a91d47dc3fe282f1b6e5c8c2e54fc3b598df1ce89161dd4db4b6699b2f7549536c52dc2cef62ecf344961c3feb8fb36a95fc7aa5433c37b88066a4847e01da
7
+ data.tar.gz: 7b0a32dc7c2634e84e3af563ddb7c28d7247e4fd87e06e925515caf2a7f6a8d172057c591a3e5bab4fb6119883058e7acef4cd2ab463c2531ad0930479e8cecb
@@ -1,5 +1,5 @@
1
1
  module YARD
2
2
  module APIPlugin
3
- VERSION = "0.3.2"
3
+ VERSION = "0.3.3"
4
4
  end
5
5
  end
@@ -23,7 +23,7 @@ module YARD::APIPlugin
23
23
  config['debug'] ||= ENV['DEBUG']
24
24
  config['verbose'] ||= ENV['VERBOSE']
25
25
 
26
- config['output'].sub!('$format', config['format'])
26
+ config['output'].sub!('$format', api_options.format)
27
27
 
28
28
  set_option('template', 'api')
29
29
  set_option('no-yardopts')
@@ -44,7 +44,7 @@ module YARD::APIPlugin
44
44
  set_option('debug') if config['debug']
45
45
 
46
46
  set_option('no-save') if config['no_save']
47
- set_option('format', config['format'] || 'html')
47
+ set_option('format', api_options.format)
48
48
 
49
49
  get_assets(config).each_pair do |asset_id, rpath|
50
50
  asset_path = rpath
data/yard-api.gemspec CHANGED
@@ -19,5 +19,5 @@ Gem::Specification.new do |s|
19
19
  s.add_dependency 'yard-appendix'
20
20
  s.add_development_dependency 'rspec'
21
21
  s.add_development_dependency 'gem-release'
22
- s.add_development_dependency 'byebug'
22
+ s.add_development_dependency 'byebug' if RUBY_VERSION > "1.9.3"
23
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yard-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ahmad Amireh