trecs 0.3.17 → 0.3.18

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: 36f09f6bf3ee384819705353885cd422b4fc3ee1
4
- data.tar.gz: 78e0570a6a8b71479c391204a10a904e387215ff
3
+ metadata.gz: fabd1b003df8fddc54acbd3b6c386ecf7d661ad3
4
+ data.tar.gz: bd6a2196befafb9f950882ae65f078e992a592dc
5
5
  SHA512:
6
- metadata.gz: 28b35d6a1732c79b7788dd598e9e21214330935d0877d8ae2bd7e365a6fc05155d4626e87eb99132a957651b13da7f4d5fdb8f5f1db737056ce8f3e16ff8dcf8
7
- data.tar.gz: ad73ab1c1b025c40f03c691c69459bbb4327e106670ecd7f34f60304136de2ab2023a5598f453c535571d4f902689adf22bba286ff7944fbfb1cdb3ab7f46e24
6
+ metadata.gz: e173dc0ea5b69249675ae880a1c1f8eec063e5a2f62c8800feb9382771de17759ab2abbdacfd3d7857dfd9b0a858360d781cf1b41ce2655716079988be02d0c3
7
+ data.tar.gz: 30f1a81176e5896100ad2c89a3d23b04625d4279917c647d190aa23725223f86cd422b595c7691093f09cf08ec589d8211101ad26582fb0b9d64eef0bd0fbc57
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trecs (0.3.17)
4
+ trecs (0.3.18)
5
5
  minitar (~> 0.5.4)
6
6
  trollop (~> 2.0)
7
7
 
@@ -26,8 +26,8 @@ module TRecs
26
26
  end
27
27
 
28
28
  frames.each do |_, content|
29
- frame = Frame.new(content: content, format: "html")
30
- @width = frame.width if frame.width > @width
29
+ frame = Frame.new(content: content, format: "html")
30
+ @width = frame.width if frame.width > @width
31
31
  @height = frame.height if frame.height > @height
32
32
  end
33
33
 
@@ -50,7 +50,7 @@ module TRecs
50
50
  .gsub(/\/\*.+\*\//, "")
51
51
  #.gsub!(/^\s/, "").gsub!(/^(<[^\/]\w+ (\w+=['"][^>]+['"])*>)+ /) {|m| m[-1]=""; m } # clean extra space at the begining of each line
52
52
 
53
- new_content = "<style>#{style}</style><pre style='border: 2px solid #898989;width: #{@width}ex;height: #{@height}ex' class='emacs-code'>#{code}</pre>"
53
+ new_content = "<style>#{style}</style><pre style='border: 2px solid #898989;width: #{@width*1.2}ex;height: #{@height*1.25}ex' class='emacs-code'>#{code}</pre>"
54
54
 
55
55
  super(new_content)
56
56
  end
data/lib/trecs/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module TRecs
2
- VERSION = "0.3.17"
2
+ VERSION = "0.3.18"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trecs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.17
4
+ version: 0.3.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Iachetti