epos 0.9.2 → 0.9.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: 460f009007e6793fc88117df1c08a7c667d140c2
4
- data.tar.gz: bfe9ee0cd72f1a93160d7975c096f946a964469e
3
+ metadata.gz: e2e98b2345eb5cfcc2d3143ab4ce9ada3890984c
4
+ data.tar.gz: 3b858706987af69d64e20e4796b86f91331b9763
5
5
  SHA512:
6
- metadata.gz: 066a5fe1bbf753c2fc2aed3b98bb9901b6383fb1a2c45d2ac7058f48bf25755ec55ba55fe1dbe06d738b5befe5bf8ac6ee6d24945373dd5376ac401a87276961
7
- data.tar.gz: 47a1f4d6001b2c4737dce2f69149c8a2614e09df960776919b05bbc22b48614b8fba1478b2afc8445f5ccecfce803b6ab2a177e4541c39ab91016f14f2abd008
6
+ metadata.gz: 62d4bd8a97c60d37544ae936f3b305d3db69ed0e767e9065a273c666ca1f6d2c37b7f02788aef7aa6dc5102f63aba855f5597f1ca4045bb5a3d417355ba91803
7
+ data.tar.gz: f9127240d4491cdc8c56c3053412b3722e57eb7c0873952be887b4ba39f40dacb151857ef0768d8eb7ba16c396c01d60d1c05a502502112de76326519c443b6c
@@ -1,14 +1,14 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'epos'
4
- s.version = '0.9.2'
5
- s.date = '2014-10-06'
4
+ s.version = '0.9.3'
5
+ s.date = '2017-05-04'
6
6
  s.summary = "Access to the Houaiss dictionary data files"
7
7
  s.description = "Provides access to the Houaiss dictionary data files. Entries can be exported as HTML."
8
8
  s.authors = ["Adiel Mittmann"]
9
9
  s.email = 'adiel@mittmann.net.br'
10
10
  s.homepage = 'https://github.com/adiel-mittmann/epos'
11
- s.license = 'GPL3'
11
+ s.license = 'GPL-3.0'
12
12
 
13
13
  s.files = %w(LICENSE README.md README.pt-br.md epico.png epos.gemspec) +
14
14
  Dir["lib/**/*.rb"] +
@@ -37,7 +37,6 @@ module Epos
37
37
  "u" => "u",
38
38
  "s" => "s",
39
39
  "a" => "a",
40
- "i" => "i",
41
40
  "t" => "t",
42
41
  "g" => "g",
43
42
  "y" => "y",
@@ -104,7 +104,7 @@ module Epos
104
104
  :animals => "vozes de animais",
105
105
  }
106
106
 
107
- OR = "ou"
107
+ IDIOM_AUX_MAP = {"@" => "ou", "#" => ","}
108
108
 
109
109
  end
110
110
  end
@@ -3,6 +3,6 @@
3
3
  - data.each do |div|
4
4
  h3.idiom
5
5
  = '‣ '
6
- == render_text(div[:idiom]).gsub(/@/, "<span class='no-bold'>#{OR}</span>")
6
+ == render_text(div[:idiom]).gsub(/[@#]/){|m| "<span class='no-bold'>#{IDIOM_AUX_MAP[m]}</span>"}
7
7
  == render(:attrs, div)
8
8
  == render(:defins, div[:defins])
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adiel Mittmann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-06 00:00:00.000000000 Z
11
+ date: 2017-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: slim
@@ -92,7 +92,7 @@ files:
92
92
  - lib/epos/text-parser.rb
93
93
  homepage: https://github.com/adiel-mittmann/epos
94
94
  licenses:
95
- - GPL3
95
+ - GPL-3.0
96
96
  metadata: {}
97
97
  post_install_message:
98
98
  rdoc_options: []
@@ -110,9 +110,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.2.2
113
+ rubygems_version: 2.6.11
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Access to the Houaiss dictionary data files
117
117
  test_files: []
118
- has_rdoc: