ruby-dita 0.1.0 → 0.2.0

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ruby-dita.rb +3 -3
  3. metadata +17 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aabc2a79b3c589043e0786f8bae52e670fca6d67
4
- data.tar.gz: 3eafa2087523961757072f083363e87dc4eebb62
3
+ metadata.gz: 0cd6cf168af1a771c35bbc6349842743ff843c64
4
+ data.tar.gz: 3ce9cd5a7ac57cb85343145cf30a57839c4804fb
5
5
  SHA512:
6
- metadata.gz: ca1beee4936e3d56d6469a63aebc1e1e8c919d3035ae23ca9c42363b159cd0dbab7c1a15f8c87fcab178a2f996e05e884da53bd9a2efe86e18a9dbc3aee7fd66
7
- data.tar.gz: 2808a4c374d59c78dff13f7c7886083ac90305850f79b3506e151a4fde4577e17cfa7a1de9b8faa96e0cf4488a7ead3a5586cc350d3b1f908b31347a1f804a04
6
+ metadata.gz: 71eea0d79a3920a8d90d0458941c6e436fdf772384d36c4357f7eafa451d4d8afb04063d638ff6077383cbe6f57a60e953120e48fafaba2e143fb1ea32a078a9
7
+ data.tar.gz: 1fd993202a3c91db1fab8bf22e9c74d9f113e9fb2deb601dc86105f1a768a88c788269fb3c19f8e25b8a10d169557de6ff289329fc8648225964f18e2476d881
data/lib/ruby-dita.rb CHANGED
@@ -7,9 +7,9 @@ module Dita
7
7
  GRAMMAR_PATH = File.expand_path(File.dirname(__FILE__) + '/../xml/dita_grammar.xml')
8
8
  include Duxml
9
9
 
10
- # @param path_or_doc [String] path of Dita file or new Doc
10
+ # @param path [String] path of existing or new Dita file
11
11
  # @return [Doc] XML document
12
- def load(path_or_doc)
13
- super(path_or_doc, GRAMMAR_PATH)
12
+ def load(path)
13
+ super(path, GRAMMAR_PATH)
14
14
  end
15
15
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-dita
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Kong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-24 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2016-08-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: duxml
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.8'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.8'
13
27
  description: Please read the README.md for the purpose of this file.
14
28
  email:
15
29
  - peter.kong@nxp.com