fastlane-plugin-xcov_report 0.1.0 → 0.1.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
  SHA1:
3
- metadata.gz: 9a2d629ee66a911211fee64dcb2b1370eb3c7348
4
- data.tar.gz: 499097aa5e6ad6098e59270ddee897dadaabc8ab
3
+ metadata.gz: 4b30a1003b20e46d80251475a2a85f089dc4591f
4
+ data.tar.gz: c0ef35124cb65e6477e88832ffb89a71726d8a44
5
5
  SHA512:
6
- metadata.gz: b9924c098bbb8f76d8f8419225818483e92f7340db375b03e37e3d719e321dc1d02126da191a4d629bb3494e339d77a828c99f144b4922a388db40b4c929c728
7
- data.tar.gz: cac3c4cafcf81734cd8c7384458344d8c22b428c1339c3710c4b2f30ed5526e99d9a77b17050d867d47cd4e44c78d36af1e3945a3bb2b91f428e8515087dbe57
6
+ metadata.gz: d595bd6cebef75f236fa8934de28464aaa43ed9bb270c1e88b640f719d4f24200e083d3515b60f831608a85ad8d5142145d51cd571af8936fea90a2ca1108179
7
+ data.tar.gz: 9c894ec662dff02a5e29a78b93427079a02afa2bfdea1ded35b583f0458f0d812667a4a56ca68c537ed44a75d171c8f1ebe14fe7414af22c0797d47fe6b99407
@@ -6,7 +6,7 @@ module Fastlane
6
6
  require "erb"
7
7
  require 'json'
8
8
 
9
- file = File.read(File.expand_path('fastlane-plugin-xcov_report/lib/fastlane/plugin/xcov_report/actions/page.html.erb'))
9
+ file = File.read(File.expand_path('coverage/report.json'))
10
10
  data = JSON.parse(file)
11
11
  @coverage = data['coverage']
12
12
  @targets = data['targets']
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module XcovReport
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-xcov_report
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gianfranco Manganiello
@@ -117,7 +117,6 @@ files:
117
117
  - LICENSE
118
118
  - README.md
119
119
  - lib/fastlane/plugin/xcov_report.rb
120
- - lib/fastlane/plugin/xcov_report/actions/page.html.erb
121
120
  - lib/fastlane/plugin/xcov_report/actions/xcov_report_action.rb
122
121
  - lib/fastlane/plugin/xcov_report/helper/xcov_report_helper.rb
123
122
  - lib/fastlane/plugin/xcov_report/version.rb
@@ -1,65 +0,0 @@
1
- ---
2
- layout: coverage
3
- ---
4
- <div class='coverage'>
5
-
6
- <div class="row">
7
- <div class="col-md-20">
8
- <h2>Coverage</h2>
9
- </div>
10
- <div class="col-md-4 text-right">
11
- <h2 class="text-right"><%= (@coverage * 100).round(2) %>%</h2>
12
- </div>
13
- </div>
14
- <% cont = 0 %>
15
- <% @targets.each do |value| %>
16
- <div class="row targets">
17
- <div class="col-md-20">
18
- <h4><%= value['name'] %></h4>
19
- </div>
20
- <div class="col-md-4 text-right">
21
- <h4><%= (value['coverage'] * 100).round(2) %>%</h4>
22
- </div>
23
- </div>
24
-
25
- <% value['files'].each do |file| %>
26
- <% cont = cont + 1 %>
27
- <ol class="list-items">
28
- <li class="list-items-row">
29
- <div data-toggle="collapse" aria-expanded="false" data-target="#list-item-line-<%= cont %>">
30
- <div class="row">
31
- <div class="col-md-2 col-md-offset-2">
32
- <i class="glyph glyph-add"></i>
33
- <i class="glyph glyph-remove"></i>
34
- </div>
35
- <div class="col-md-8">
36
- <a><%= file['name'] %></a>
37
- </div>
38
- <div class="col-md-6">
39
- <%= file['type'] %>
40
- </div>
41
- <div class="col-md-6 text-right">
42
- <%= (file['coverage'] * 100).round(2) %>%
43
- </div>
44
- </div>
45
- </div>
46
-
47
- <div class="collapse" id="list-item-line-<%= cont %>">
48
- <% file['functions'].each do |function| %>
49
- <div class="row functions">
50
- <div class="col-md-18 col-md-offset-2">
51
- <%= function['name'] %>
52
- </div>
53
- <div class="col-md-4 text-right">
54
- <%= (function['coverage'] * 100).round(2) %>%
55
- </div>
56
- </div>
57
- <% end %>
58
- </div>
59
- </li>
60
- </ol>
61
- <% end %>
62
- <% end %>
63
- </div>
64
-
65
-