codacy-coverage 1.1.0 → 1.1.1

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Nzc0MDdkYzZiYmRmMjhlMDI3MzhjZTEwNjhiNDUyZjgzYjg0YWMxMA==
4
+ ZDE1ZTZlN2QyZGFkZmIwYWVmZjY5MGExNzc4ZGViMTY1NWJjYjFhZQ==
5
5
  data.tar.gz: !binary |-
6
- NWIxYzc5ZDZiYzI2ZWZhNDczNDFiZDE0NjRiYTAwNmIyNGFkMTJmZA==
6
+ ZWVlNzEzZjliNzExODAyYmM0NDU4NjI4NzJmYWQ0M2U0N2JmNjM2NQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- M2U5M2I4ZDNkZTljODJjYjc4MDQwNjRkOTc3NzZlMjdjNmU2NjkzYThkYTkz
10
- Mzk1YWQ2YTBmZTI2YjZlODJjZGE1YmFhZTkzOGEwNDgzMTczMDIwZGIzNWIx
11
- MTcyODNmMDAzMjJmNmE2YTc3Yzc1MWE1OGUyY2NkMmM1MzAxMzU=
9
+ MmFiYTk5ZDdiMTllNzhlNWNiNDJiMTljYzhlODU2NDRhZTI4NjU1YmFmNGQ1
10
+ Njg5MjhiZDMyNjhlYjNlZTk5ZjMzNTE4YTc2YmZmNDc3MjRmMDk2ZWUxNTAw
11
+ NjMxMmIyZDQxZTZkNTg2OGE2ZGMyNjA3ZTc2ZGY2NGI4MzAyYjM=
12
12
  data.tar.gz: !binary |-
13
- NmY0ZWVkMWQzODZlZWQ1NmIyZTZmN2QxYzU2OGI0MjBkZDJiOTRhMzgyNTUy
14
- ZDg4MDdjOWE5YzY0OTIwMDBkNzZmZDA0ZjA4YjFmZjBlZjAzOGFjOGQ2ZTAx
15
- ZmNhYzMyZDY4MmVhMmExNjIxODhlMWU4ZWYzZmIzMTg0MzM3ZDY=
13
+ OGNiMTRkZDk3MDFhMTA2M2Y3N2NiYzVhNmVjNjRjZmJlNzJkMjhiNDQ5Mzdk
14
+ YjM1OWU2ODdkNDMxYzE2ZWY2YWZiYzhmY2NmZjNiOGIyMDJiN2JlMTk5OTVk
15
+ Nzg3ZDc1MTBiYjcwOTFlYzNlYWQ4ZjdkNjNiYzYzNWQ0NzgwMGU=
data/.gitignore CHANGED
@@ -18,6 +18,7 @@ tmp
18
18
 
19
19
  .idea/
20
20
  .idea_modules/
21
+ *.iml
21
22
 
22
23
  .DS_Store
23
24
  /vendor/
data/README.md CHANGED
@@ -36,6 +36,13 @@ Then set it in your terminal, replacing %Project_Token% with your own token:
36
36
  export CODACY_PROJECT_TOKEN=%Project_Token%
37
37
  ```
38
38
 
39
+ **Enterprise**
40
+
41
+ To send coverage in the enterprise version you should:
42
+ ```
43
+ export CODACY_BASE_API_URL=<Codacy_instance_URL>:16006
44
+ ```
45
+
39
46
  By default this plugin will not submit results if you run your tests in localhost. If you want to force the submission you can setup the following environment variable:
40
47
 
41
48
  ```
@@ -68,3 +75,23 @@ export DEBUG_STDOUT=true
68
75
  ```
69
76
 
70
77
  You can now check your coverage results in the Codacy dashboard of your project.
78
+
79
+ ## What is Codacy?
80
+
81
+ [Codacy](https://www.codacy.com/) is an Automated Code Review Tool that monitors your technical debt, helps you improve your code quality, teaches best practices to your developers, and helps you save time in Code Reviews.
82
+
83
+ ### Among Codacy’s features:
84
+
85
+ - Identify new Static Analysis issues
86
+ - Commit and Pull Request Analysis with GitHub, BitBucket/Stash, GitLab (and also direct git repositories)
87
+ - Auto-comments on Commits and Pull Requests
88
+ - Integrations with Slack, HipChat, Jira, YouTrack
89
+ - Track issues in Code Style, Security, Error Proneness, Performance, Unused Code and other categories
90
+
91
+ Codacy also helps keep track of Code Coverage, Code Duplication, and Code Complexity.
92
+
93
+ Codacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among others.
94
+
95
+ ### Free for Open Source
96
+
97
+ Codacy is free for Open Source projects.
@@ -34,7 +34,7 @@ module Codacy
34
34
  uri = URI.parse(url)
35
35
  http = Net::HTTP.new(uri.host, uri.port)
36
36
  request = Net::HTTP::Post.new(uri.path)
37
- http.use_ssl = true
37
+ http.use_ssl = uri.scheme == "https"
38
38
  request["project_token"] = project_token
39
39
  request["Content-Type"] = "application/json"
40
40
  request.body = content
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codacy-coverage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nuno Teixeira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-24 00:00:00.000000000 Z
11
+ date: 2016-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov
@@ -58,7 +58,6 @@ files:
58
58
  - lib/codacy/git.rb
59
59
  - lib/codacy/parser.rb
60
60
  - lib/codacy/reporter.rb
61
- - ruby-codacy-coverage.iml
62
61
  - spec/codacy/git_spec.rb
63
62
  - spec/spec_helper.rb
64
63
  homepage: https://codacy.com
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="RUBY_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$" />
6
- <orderEntry type="inheritedJdk" />
7
- <orderEntry type="sourceFolder" forTests="false" />
8
- </component>
9
- </module>