mumuki-html-runner 1.0.3 → 1.1.0

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/test_hook.rb +1 -1
  3. data/lib/version.rb +3 -0
  4. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96f981d83ca13a410ece18b79000794a097c5320
4
- data.tar.gz: 7b2e686c946f01cd0f01a0d7c69949a906c4d2d2
3
+ metadata.gz: fed47f2feafa614640d0cb24abd432515093126b
4
+ data.tar.gz: 6c8f455731fac1cc6d80d57a4687b34b12b0626a
5
5
  SHA512:
6
- metadata.gz: 7d1ca79161aea5c92839f731d2cdb0e39c747b8afee9336a5d438fcd5e9ae168dac8eda7e0e565ad8a7b5a22ac751dd2c87e254892e6f85d308b817e177fc867
7
- data.tar.gz: cd2aad309c2ec8947b844a8df06f3a699284415120bc389209bc7a4b9e316433620379c0a4ff5a43b3c7c15ed7961bf2f853b976f658cc03b39640a9313ea130
6
+ metadata.gz: ead5c35ea8cad09a62ba664f4b174ab4ce73be963b6f68c9ecd913fb99d74bc6af7fc1696323c20fb4717e9f08e8f3b6a2a6ab960234d9684ba604b54d02db8f
7
+ data.tar.gz: 3eaf8471956fd7ce4690afb6e1415097b67294a6e94afc89cbc194c5dd757204cc0c1dfaccf86e71829928a17e05d793fc2183ebe8dc6f706e0cddcea89301b6
data/lib/test_hook.rb CHANGED
@@ -23,7 +23,7 @@ class HtmlTestHook < Mumukit::Hook
23
23
  end
24
24
 
25
25
  def render_html(actual)
26
- "<br><iframe style=\"border-color: #e6e6e6; border-style: solid; border-width: thin; width: 100%;\" srcdoc=\"#{actual.gsub('"', '\"')}\"></iframe>"
26
+ "<br><div class=\"mu-browser\"><iframe srcdoc=\"#{actual.gsub('"', '\"')}\"></iframe></div>"
27
27
  end
28
28
 
29
29
  end
data/lib/version.rb ADDED
@@ -0,0 +1,3 @@
1
+ module HtmlVersionHook
2
+ VERSION = '1.1.0'
3
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-html-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Leonardo Bulgarelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-29 00:00:00.000000000 Z
11
+ date: 2017-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit
@@ -134,6 +134,7 @@ files:
134
134
  - lib/locales/es.yml
135
135
  - lib/metadata_hook.rb
136
136
  - lib/test_hook.rb
137
+ - lib/version.rb
137
138
  homepage: http://github.com/mumuki/mumuki-html-server
138
139
  licenses:
139
140
  - MIT