isodoc 0.4.5 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,26 @@
1
+ require "simplecov"
2
+ SimpleCov.start do
3
+ add_filter "/spec/"
4
+ end
5
+
6
+ require "bundler/setup"
7
+ require "isodoc"
8
+ require "rspec/matchers"
9
+ require "equivalent-xml"
10
+
11
+ RSpec.configure do |config|
12
+ # Enable flags like --only-failures and --next-failure
13
+ config.example_status_persistence_file_path = ".rspec_status"
14
+
15
+ # Disable RSpec exposing methods globally on `Module` and `main`
16
+ config.disable_monkey_patching!
17
+
18
+ config.expect_with :rspec do |c|
19
+ c.syntax = :expect
20
+ end
21
+ end
22
+
23
+ def strip_guid(x)
24
+ x.gsub(%r{ id="_[^"]+"}, ' id="_"').gsub(%r{ target="_[^"]+"}, ' target="_"')
25
+ end
26
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: isodoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-16 00:00:00.000000000 Z
11
+ date: 2018-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciimath
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: nokogiri
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 1.8.1
75
+ version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 1.8.1
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: ruby-xslt
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -308,11 +308,16 @@ files:
308
308
  - ".rubocop.yml"
309
309
  - Gemfile
310
310
  - README.adoc
311
+ - bin/rspec
311
312
  - isodoc.gemspec
312
313
  - lib/isodoc.rb
313
314
  - lib/isodoc/blocks.rb
314
315
  - lib/isodoc/cleanup.rb
315
316
  - lib/isodoc/html.rb
317
+ - lib/isodoc/i18n-en.yaml
318
+ - lib/isodoc/i18n-fr.yaml
319
+ - lib/isodoc/i18n-zh-Hans.yaml
320
+ - lib/isodoc/i18n.rb
316
321
  - lib/isodoc/inline.rb
317
322
  - lib/isodoc/iso2wordhtml.rb
318
323
  - lib/isodoc/lists.rb
@@ -326,6 +331,12 @@ files:
326
331
  - lib/isodoc/utils.rb
327
332
  - lib/isodoc/version.rb
328
333
  - lib/isodoc/xref_gen.rb
334
+ - spec/isodoc/blocks_spec.rb
335
+ - spec/isodoc/lists_spec.rb
336
+ - spec/isodoc/section_spec.rb
337
+ - spec/isodoc/table_spec.rb
338
+ - spec/isodoc/xref_spec.rb
339
+ - spec/spec_helper.rb
329
340
  homepage: https://github.com/riboseinc/isodoc
330
341
  licenses:
331
342
  - MIT