fastlane-plugin-xcov_report 1.1.3 → 1.2.0.pre.rc.0

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
- SHA1:
3
- metadata.gz: 3cb5c5adf80df0577668f01884d76fd279839358
4
- data.tar.gz: 8ec4321fd09eeadfa3f7e8d34d1db4c9b71e49ee
2
+ SHA256:
3
+ metadata.gz: 98bdcd3d36357830ee83d090c66d5d6c5f97c5f4f72f0d2cd13a5ab659caab88
4
+ data.tar.gz: 5e695cab724bf30052b29f8aa1d1b9622c18021d4c2f964fc35a0cb32cd4e2c0
5
5
  SHA512:
6
- metadata.gz: 8db4a9c44eb261d1dab95015d0ab6d809d16b1b39182591bdee574434716011324e1a94aba800f0bac0b092f906eecafd1558e4934b9ef52cb5040d30f371ec0
7
- data.tar.gz: e66c534052aeb88ca443bf00a6bce34640a22228ecefb4649d65d25d7e83a60f28809327ca6fdc5f06853f3ee47cdab1edac1c217be7415f166686667d8c6387
6
+ metadata.gz: c4bc45b9a3599ce8d12fc8d4dcc0df901ca6de60913d338508c8f167fa540ca60e55f6dd1a1a021fadb8906ca812e8325f83e4bf0a0a17cac7177335b8e3e714
7
+ data.tar.gz: 44f4a1a2209ce6bfd5ac49f36f756996c5eb8f67ea803f3042a6bdd03665f142580658fb5fd09a60e17d597f6089c20620052e38b124de95e6500bbf5bd436a0
data/LICENSE CHANGED
@@ -1,21 +1,9 @@
1
- The MIT License (MIT)
1
+ # The MIT License
2
2
 
3
- Copyright (c) 2017 Gianfranco Manganiello <gianfrancomanganiello1997@gmail.com>
3
+ Copyright (C) 2017 Teclib'
4
4
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
11
6
 
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
14
8
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,52 +1,77 @@
1
- # xcov_report plugin
1
+ # xcov_report a plugin for Fastlane
2
2
 
3
- [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-xcov_report) [![Gem Version](https://badge.fury.io/rb/fastlane-plugin-xcov_report.svg)](https://badge.fury.io/rb/fastlane-plugin-xcov_report)
3
+ ![Teclib' banner](https://user-images.githubusercontent.com/29282308/31669540-abed67a8-b355-11e7-98e2-0ad190f37088.png)
4
4
 
5
- ## Getting Started
5
+ [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/develop/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-xcov_report) [![Gem Version](https://badge.fury.io/rb/fastlane-plugin-xcov_report.svg)](https://badge.fury.io/rb/fastlane-plugin-xcov_report)
6
+ [![License MIT](https://img.shields.io/packagist/l/doctrine/orm.svg)](https://github.com/flyve-mdm/fastlane-plugin-xcov_report/blob/develop/LICENSE.md)
7
+ [![Follow twitter](https://img.shields.io/twitter/follow/FlyveMDM.svg?style=social&label=Twitter&style=flat-square)](https://twitter.com/Teclib)
8
+ [![Telegram Group](https://img.shields.io/badge/Telegram-Group-blue.svg)](https://t.me/flyvemdm)
9
+ [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
6
10
 
7
- This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-xcov_report`, add it to your project by running:
11
+ Teclib’ is an open source software editor that offers a vast range of fully integrated open source technology packages, to better respond to business needs.
8
12
 
9
- ```bash
10
- fastlane add_plugin xcov_report
11
- ```
13
+ To get started, check out [Teclib' website](http://www.teclib-edition.com/en/)!
12
14
 
13
- ## About xcov_report
15
+ ## Table of Contents
14
16
 
15
- Generate custom HTML for coverage
17
+ * [Synopsis](#synopsis)
18
+ * [Installation](#installation)
19
+ * [Examples](#examples)
20
+ * [Documentation](#documentation)
21
+ * [Versioning](#versioning)
22
+ * [Contact](#contact)
23
+ * [Contribute](#contribute)
24
+ * [Copying](#copying)
16
25
 
17
- **Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
26
+ ## Synopsis
18
27
 
19
- ## Example
28
+ **x_cov report** allows you to generate custom HTML for coverage.
20
29
 
21
- Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
30
+ ### Troubleshooting
22
31
 
23
- **Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
32
+ If you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.
24
33
 
25
- ## Run tests for this plugin
34
+ ### Using _fastlane_ Plugins
26
35
 
27
- To run both the tests, and code style validation, run
36
+ For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).
28
37
 
29
- ```
30
- rake
31
- ```
38
+ ### About _fastlane_
32
39
 
33
- To automatically fix many of the styling issues, use
34
- ```
35
- rubocop -a
40
+ _fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
41
+
42
+ ## Installation
43
+
44
+ This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-xcov_report`, add it to your project by running:
45
+
46
+ ```bash
47
+ fastlane add_plugin xcov_report
36
48
  ```
37
49
 
38
- ## Issues and Feedback
50
+ ## Examples
39
51
 
40
- For any other issues and feedback about this plugin, please submit it to this repository.
52
+ Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
41
53
 
42
- ## Troubleshooting
54
+ ## Documentation
43
55
 
44
- If you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.
56
+ We maintain a detailed documentation of the project in the [project's website](http://flyve.org/fastlane-plugin-xcov_report/).
45
57
 
46
- ## Using _fastlane_ Plugins
58
+ ## Versioning
47
59
 
48
- For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).
60
+ In order to provide transparency on our release cycle and to maintain backward compatibility, this project is maintained under [the Semantic Versioning guidelines](http://semver.org/). We are committed to following and complying with the rules, the best we can.
49
61
 
50
- ## About _fastlane_
62
+ See [the tags section of our GitHub project](https://github.com/flyve-mdm/fastlane-plugin-xcov_report/tags) for changelogs for each release version. Release announcement posts on [the official Teclib' blog](http://www.teclib-edition.com/en/communities/blog-posts/) contain summaries of the most noteworthy changes made in each release.
51
63
 
52
- _fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
64
+ ## Contact
65
+
66
+ For notices about major changes and general discussion of Teclib' products development, visit to the [Official Website](http://www.teclib-edition.com/en/). You can also chat with us [on Telegram](https://t.me/flyvemdmdev).
67
+
68
+ ## Contribute
69
+
70
+ Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our
71
+ guidelines for [contributing](./CONTRIBUTING.md) and then check out one of our issues in the [Issues Dashboard](https://github.com/flyve-mdm/fastlane-plugin-xcov_report/issues).
72
+
73
+ ## Copying
74
+
75
+ * **Code**: you can redistribute it and/or modify
76
+ it under the terms of the [MIT License](https://opensource.org/licenses/MIT).
77
+ * **Documentation**: released under Attribution 4.0 International ([CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)).
@@ -1,12 +1,15 @@
1
+ require 'fastlane/action'
2
+ require_relative '../helper/xcov_report_helper'
3
+
1
4
  module Fastlane
2
5
  module Actions
3
6
  class XcovReportAction < Action
4
7
  def self.run(params)
5
8
  UI.message("The xcov_report plugin is working!")
6
9
  require "erb"
7
- require 'json'
10
+ require "json"
8
11
 
9
- file = File.read(File.expand_path('coverage/report.json'))
12
+ file = File.read(File.expand_path('coverage/report.json'))
10
13
  data = JSON.parse(file)
11
14
  @coverage = data['coverage']
12
15
  @targets = data['targets']
@@ -14,7 +17,7 @@ module Fastlane
14
17
  layout: coverage
15
18
  ---
16
19
  <div class="coverage">
17
-
20
+
18
21
  <div class="row">
19
22
  <div class="col-md-20">
20
23
  <h2>Coverage</h2>
@@ -33,7 +36,7 @@ layout: coverage
33
36
  <h4><%= (value["coverage"] * 100).round(2) %>%</h4>
34
37
  </div>
35
38
  </div>
36
-
39
+
37
40
  <% value["files"].each do |file| %>
38
41
  <% cont = cont + 1 %>
39
42
  <ol class="list-items">
@@ -55,7 +58,7 @@ layout: coverage
55
58
  </div>
56
59
  </div>
57
60
  </div>
58
-
61
+
59
62
  <div class="collapse" id="list-item-line-<%= cont %>">
60
63
  <% file["functions"].each do |function| %>
61
64
  <div class="row functions">
@@ -72,16 +75,14 @@ layout: coverage
72
75
  </ol>
73
76
  <% end %>
74
77
  <% end %>
75
- </div>
78
+ </div>
76
79
  '
77
-
78
- renderer = ERB.new(template)
79
- result = renderer.result(binding())
80
+
81
+ result = ERB.new(template).result(binding())
80
82
 
81
83
  open('coverage/index.html', 'w') do |f|
82
84
  f.puts result
83
85
  end
84
-
85
86
  end
86
87
 
87
88
  def self.description
@@ -113,7 +114,7 @@ layout: coverage
113
114
 
114
115
  def self.is_supported?(platform)
115
116
  # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
116
- # See: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
117
+ # See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
117
118
  #
118
119
  # [:ios, :mac, :android].include?(platform)
119
120
  true
@@ -1,4 +1,8 @@
1
+ require 'fastlane_core/ui/ui'
2
+
1
3
  module Fastlane
4
+ UI = FastlaneCore::UI unless Fastlane.const_defined?("UI")
5
+
2
6
  module Helper
3
7
  class XcovReportHelper
4
8
  # class methods that you define here become available in your action
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module XcovReport
3
- VERSION = "1.1.3"
3
+ VERSION = "1.2.0-rc.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-xcov_report
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.2.0.pre.rc.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gianfranco Manganiello
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-26 00:00:00.000000000 Z
11
+ date: 2018-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec_junit_formatter
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rake
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -68,6 +82,20 @@ dependencies:
68
82
  version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 0.49.1
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 0.49.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-require_tools
71
99
  requirement: !ruby/object:Gem::Requirement
72
100
  requirements:
73
101
  - - ">="
@@ -100,14 +128,14 @@ dependencies:
100
128
  requirements:
101
129
  - - ">="
102
130
  - !ruby/object:Gem::Version
103
- version: 2.55.0
131
+ version: 2.101.1
104
132
  type: :development
105
133
  prerelease: false
106
134
  version_requirements: !ruby/object:Gem::Requirement
107
135
  requirements:
108
136
  - - ">="
109
137
  - !ruby/object:Gem::Version
110
- version: 2.55.0
138
+ version: 2.101.1
111
139
  description:
112
140
  email: gianfrancomanganiello1997@gmail.com
113
141
  executables: []
@@ -120,7 +148,7 @@ files:
120
148
  - lib/fastlane/plugin/xcov_report/actions/xcov_report_action.rb
121
149
  - lib/fastlane/plugin/xcov_report/helper/xcov_report_helper.rb
122
150
  - lib/fastlane/plugin/xcov_report/version.rb
123
- homepage: https://github.com/Gianfranco97/xcov-report
151
+ homepage: https://github.com/flyve-mdm/xcov-report
124
152
  licenses:
125
153
  - MIT
126
154
  metadata: {}
@@ -135,12 +163,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
163
  version: '0'
136
164
  required_rubygems_version: !ruby/object:Gem::Requirement
137
165
  requirements:
138
- - - ">="
166
+ - - ">"
139
167
  - !ruby/object:Gem::Version
140
- version: '0'
168
+ version: 1.3.1
141
169
  requirements: []
142
170
  rubyforge_project:
143
- rubygems_version: 2.6.11
171
+ rubygems_version: 2.7.7
144
172
  signing_key:
145
173
  specification_version: 4
146
174
  summary: Generate custom HTML for coverage