alexa_modelmd 0.3.1 → 0.3.2

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
  SHA256:
3
- metadata.gz: 931dd4f95568c38f4b72be68187e58c4eaaa67837addb03821b4decd6f361b1c
4
- data.tar.gz: dafda91844eee179508f633bd1a7508dc90cb05a62edc6e6a9ba06701c455020
3
+ metadata.gz: 880464a50ba30066c0d76f367ebd7f67110dba02553543822e67b7138c01baab
4
+ data.tar.gz: ee470fa98a333848ba69a1238cd5d99753c0491a2ce87961436aa35641988c8f
5
5
  SHA512:
6
- metadata.gz: 9b8b9d99558922e18aa30981d8a18a387f215db6a980e9afc9eadaf8add3fa835525221b165d24c57d3eedc05b9fc9849c95ac813beaedb1ee9dde7f3f7bc49c
7
- data.tar.gz: 24b45dbc8e4c055db1478ce76792527ccc7164962cca39319388fdb3d08cfc9990e44c31e269f5c76889085d0bc3231abcf140e128af108396426adc5bbd14e3
6
+ metadata.gz: 41fa80b8a788ee61bf273148c579e5642093503969caa2b15ab12edfe1e565e0aa3224883e8915bbfc861f6e21b6828d291d2f70020101616b8c47685a7275b7
7
+ data.tar.gz: c679228f682e615298a308e8765731834058e1e0033fb89b3ec661c3d788ea0838f1c13197119b7384f6662893801d39482e9e77cd5abc7b1ba8c7f28cc83215
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,3 @@
1
- ).<�yc���l,�Ѿᐍ&r@l�)*�Y���y�QVXY! �`�r���%;WD"��a��<��E���+"�tw�`
1
+ 3l'��m
2
+ &C �Kír��(�c�!��SE�G$ͳ��Q�]h �p�X$�E+�J�\�0�G�έ�A-�҆h@��9��a%P�r��J�/��\����;GJ�)���۞�ƛ�}��.%�).���"�Y�{��Q�4�x�O�n��$W��DdtLDm�g�?�T�:^�X�̄uG!Ú�V �i�?2W�e�l�����mL���w#��o�?�#�a�Qu���A�[�OY��>r! `�2���Ywܕ �ͼkn��}zsrDʹ)��F�=�OR�!ɍZ
3
+ ���@�iM��B:�8�d{P�������#"$Eyzr�+��
data/lib/alexa_modelmd.rb CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  # file: alexa_modelmd.rb
4
4
 
5
- # description: Using a WikiMd foramtted document, generates a basic Amazon
6
- # Alexa model in XML format, as well as other formats.
5
+ # description: Using a WikiMd foramatted document, this generates a basic
6
+ # Amazon Alexa model in XML format, as well as other formats.
7
7
 
8
8
 
9
9
  require 'wiki_md'
@@ -20,8 +20,8 @@ class AlexaModelMd < WikiMd
20
20
 
21
21
  @debug = debug
22
22
  puts ('Intent | s: ' + s.inspect).debug if @debug
23
- doc = Rexle.new("<root9>%s</root9>" % \
24
- Kramdown::Document.new(Martile.new(s).to_s).to_html)
23
+ html = Kramdown::Document.new(Martile.new(s).to_html).to_html
24
+ doc = Rexle.new("<root9>%s</root9>" % html)
25
25
  @name = doc.root.element('h2/text()').to_s
26
26
  @utterances = doc.root.xpath('ul/li/text()').map(&:to_s)
27
27
  puts ('doc: ' + doc.root.xml.inspect).debug if @debug
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alexa_modelmd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
@@ -1,3 +1,2 @@
1
- Ci?�j�ɡJ .����ncM)��['}4>)%��+�op(QՄ���rB*8I�s��dS�|\��ιt*u!Ob)�]�ՈD����
2
- n� � r
3
- e�����g�����a$�5P �6�p��x)8J�*��t������j�O�3V��`Ըhg �ы���A�!o>
1
+ mwHǾ��.O���5��y��8��������q�ѡ� 2LzН�V
2
+ ���e�?� ���W�{��s0�*���IH?�F���@��:�\-F��������F�ƒq����IqcŠ��&�Kn�;xXC���{���ET���a>�7��;���}��`��(��?4�>��d�E�k��F�7��^0�I��T�n���.'�����9��'��U��W68�b5�u�0[�x���q����n֌���>|� �3��R"�JH��$Z��#=_A}�yԢV�'/ QG������?��(�,�� Z�r��j�� WQK�ީ��(��,D!��