ehbrs_ruby_utils 0.12.0 → 0.12.1

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: 06d0a1af5ebc96661f619963ffda32539b7d15a4d84e17fe17ba148b98cb674f
4
- data.tar.gz: 3ab5bb3db004590e52e997539c0a81937dce524c89cb9952f192a27fcbd74eeb
3
+ metadata.gz: b04c8994ff027248ae7a38e28ac25b0b6e895b78c01fbf60ef61eebfe520efd1
4
+ data.tar.gz: af8ada82641ddd7f247d2d0182d71a1a8a5b0e9bd6931dd3cc136ffa0e058140
5
5
  SHA512:
6
- metadata.gz: fd975103eb147ab5dbd728e01ebb4d42f930f353fe6efb7e3286c6048182345152866917031f65b801d5411d966e415f88819eaaab2116c51854db3ce7d61d29
7
- data.tar.gz: 341d04b398d655aceb84181dd4f1131c0eda4e43fe5e7ea80f709344e1ac222d4190dd10a1fa782b3d2b3b9e5f1af1b90659fc839c5c743e01a3bcaa586e19bd
6
+ metadata.gz: b0448fc34d7c469378b4ec8e2251c20c1ba63a8fd6461cab3dfa2520a08d8e76574eb4d19d50cd876d691ee2a4e9b8af45bc09baa5d76132985ac3552e06f3b3
7
+ data.tar.gz: f4b0758f258963daf7e48a171fecd3774d141c351acb0bbc5d571d732f97255c9628b2852bcfcb3d95cd472d58d29465bf7cb959ac439bc2ebb86c1d9610f92a
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'avm/files/info'
3
+ require 'eac_fs/file_info'
4
4
  require 'eac_ruby_utils/core_ext'
5
5
 
6
6
  module EhbrsRubyUtils
7
7
  module Fs
8
- class CompressedPackage < ::Avm::Files::Info
8
+ class CompressedPackage < ::EacFs::FileInfo
9
9
  MIME_TYPES = {
10
10
  'application/zip' => :zip,
11
11
  'application/x-7z-compressed' => :sevenzip,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EhbrsRubyUtils
4
- VERSION = '0.12.0'
4
+ VERSION = '0.12.1'
5
5
  end
@@ -3,9 +3,13 @@
3
3
  text-align: center;
4
4
  }
5
5
 
6
+ .song {
7
+ margin-top: 4.0em;
8
+ }
9
+
6
10
  .filename {
7
11
  display: block;
8
12
  font-size: small;
9
13
  text-align: right;
10
14
  font-style: italic;
11
- }
15
+ }
@@ -1,5 +1,9 @@
1
1
  <% if lyrics.found? %>
2
- <pre><%= lyrics.text %></pre>
2
+ <p class="lyrics">
3
+ <% lyrics.text.each_line do |line| %>
4
+ <%= line.strip %><br/>
5
+ <% end %>
6
+ </p>
3
7
  <% else %>
4
8
  <p><em>Letra indisponível.</em></p>
5
9
  <% end %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ehbrs_ruby_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo H. Bogoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-23 00:00:00.000000000 Z
11
+ date: 2021-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -50,6 +50,20 @@ dependencies:
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
52
  version: 0.3.2
53
+ - !ruby/object:Gem::Dependency
54
+ name: eac_fs
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: '0.5'
60
+ type: :runtime
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '0.5'
53
67
  - !ruby/object:Gem::Dependency
54
68
  name: eac_ruby_utils
55
69
  requirement: !ruby/object:Gem::Requirement