manacle_for 0.0.8 → 0.0.9
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 +4 -4
- data/lib/manacle/formatter.rb +2 -3
- data/lib/manacle/report.erb +22 -3
- data/lib/manacle/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7daa10c1e02b64cb5d01db9d64123d46df97d55c
|
|
4
|
+
data.tar.gz: 979118c4ba03f3f5bfc13660bbef3d83c852a9d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa2df3534b7ea81fe05b743f78b379e94dc7b033ea8c00d5e6685c126ea70226d1bcda735bf935c61cee54decfbdae1aa6a7dcec81887998577487ea444cc0c1
|
|
7
|
+
data.tar.gz: 60539ef0198b6dbfb71522ea7c230a1e24325ad93f3bf4d4694dfe72d049a4fa39acb02086e2aed13c0e363ce4c540cce6ee3e68c83a9b38b09ad9beeb476c9b
|
data/lib/manacle/formatter.rb
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
require 'erb'
|
|
2
2
|
require 'nokogiri'
|
|
3
|
-
require 'rspec/core/formatters/
|
|
4
|
-
require 'rspec/core/formatters/helpers'
|
|
3
|
+
require 'rspec/core/formatters/console_codes'
|
|
5
4
|
|
|
6
5
|
module Manacle
|
|
7
6
|
class Example
|
|
@@ -80,7 +79,7 @@ module Manacle
|
|
|
80
79
|
end
|
|
81
80
|
end
|
|
82
81
|
|
|
83
|
-
class Formatter
|
|
82
|
+
class Formatter
|
|
84
83
|
# This registers the notifications this formatter supports, and tells
|
|
85
84
|
# us that this was written against the RSpec 3.x formatter API.
|
|
86
85
|
RSpec::Core::Formatters.register self, :start, :stop, :example_started, :example_passed, :example_failed, :example_pending, :example_finished
|
data/lib/manacle/report.erb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<html>
|
|
2
2
|
<head>
|
|
3
3
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
4
|
-
<link rel="stylesheet"
|
|
4
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
|
5
5
|
<style type="text/css">
|
|
6
6
|
body{
|
|
7
7
|
font-size: 1em;
|
|
@@ -129,9 +129,28 @@
|
|
|
129
129
|
</div>
|
|
130
130
|
</div>
|
|
131
131
|
</div>
|
|
132
|
-
<script src="
|
|
133
|
-
<script src="
|
|
132
|
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
|
|
133
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
|
|
134
|
+
|
|
134
135
|
<script src="assets/showModal.js"></script>
|
|
136
|
+
|
|
137
|
+
<script>
|
|
138
|
+
$(function(){
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
$(".request-link").on("click", function () {
|
|
142
|
+
console.log();
|
|
143
|
+
var reply = $(this).attr('data-request');
|
|
144
|
+
// console.log(reply)
|
|
145
|
+
// display_beautified_data(reply, ".reply", "#replyText");
|
|
146
|
+
$(".request").text("");
|
|
147
|
+
$(".request").text(reply);
|
|
148
|
+
$("#requestText").modal();
|
|
149
|
+
|
|
150
|
+
});
|
|
151
|
+
});
|
|
152
|
+
</script>
|
|
153
|
+
|
|
135
154
|
|
|
136
155
|
<div class="modal fade bs-example-modal-lg" id="requestText" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
|
|
137
156
|
<div class="modal-dialog" role="document">
|
data/lib/manacle/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: manacle_for
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- akil
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-09-
|
|
11
|
+
date: 2016-09-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|