Repository: cqfn/diKTat
Pull request #353 (2020-10-05 01:14:02)

Update versions in pom.xml and documentation after 0.1.1 release
* Versions are updated in pom.xml, README.md and build.gradle.kts
* Current project version is incremented to the next snapshot

codecov[bot]: # [Codecov](https://codecov.io/gh/cqfn/diKTat/pull/353?src=pr&el=h1) Report
> Merging [#353](https://codecov.io/gh/cqfn/diKTat/pull/353?src=pr&el=desc) into [master](https://codecov.io/gh/cqfn/diKTat/commit/74d90651adc73dc4145511b88ebd1be461fc73bf?el=desc) will **decrease** coverage by `0.44%`.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/cqfn/diKTat/pull/353/graphs/tree.svg?width=650&height=150&src=pr&token=P2quRDffpt)](https://codecov.io/gh/cqfn/diKTat/pull/353?src=pr&el=tree)

```diff
@@             Coverage Diff              @@
##             master     #353      +/-   ##
============================================
- Coverage     83.23%   82.79%   -0.45%     
+ Complexity     1231     1182      -49     
============================================
  Files            61       58       -3     
  Lines          3138     2935     -203     
  Branches       1038      930     -108     
============================================
- Hits           2612     2430     -182     
+ Misses          177      169       -8     
+ Partials        349      336      -13     
```

| Flag | Coverage Δ | Complexity Δ | |
|---|---|---|---|
| #unittests | `82.79% <ø> (-0.45%)` | `1182.00 <ø> (-49.00)` | |

Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags#carryforward-flags-in-the-pull-request-comment) to find out more.

| [Impacted Files](https://codecov.io/gh/cqfn/diKTat/pull/353?src=pr&el=tree) | Coverage Δ | Complexity Δ | |
|---|---|---|---|
| [...cqfn/diktat/ruleset/rules/ImmutableValNoVarRule.kt](https://codecov.io/gh/cqfn/diKTat/pull/353/diff?src=pr&el=tree#diff-ZGlrdGF0LXJ1bGVzL3NyYy9tYWluL2tvdGxpbi9vcmcvY3Fmbi9kaWt0YXQvcnVsZXNldC9ydWxlcy9JbW11dGFibGVWYWxOb1ZhclJ1bGUua3Q=) | `85.71% <0.00%> (-6.88%)` | `5.00% <0.00%> (-8.00%)` | |
| [...in/org/cqfn/diktat/ruleset/rules/files/FileSize.kt](https://codecov.io/gh/cqfn/diKTat/pull/353/diff?src=pr&el=tree#diff-ZGlrdGF0LXJ1bGVzL3NyYy9tYWluL2tvdGxpbi9vcmcvY3Fmbi9kaWt0YXQvcnVsZXNldC9ydWxlcy9maWxlcy9GaWxlU2l6ZS5rdA==) | `66.66% <0.00%> (-3.93%)` | `8.00% <0.00%> (-2.00%)` | |
| [...tlin/org/cqfn/diktat/ruleset/utils/AstNodeUtils.kt](https://codecov.io/gh/cqfn/diKTat/pull/353/diff?src=pr&el=tree#diff-ZGlrdGF0LXJ1bGVzL3NyYy9tYWluL2tvdGxpbi9vcmcvY3Fmbi9kaWt0YXQvcnVsZXNldC91dGlscy9Bc3ROb2RlVXRpbHMua3Q=) | `82.82% <0.00%> (-3.61%)` | `0.00% <0.00%> (ø%)` | |
| [...fn/diktat/ruleset/rules/files/FileStructureRule.kt](https://codecov.io/gh/cqfn/diKTat/pull/353/diff?src=pr&el=tree#diff-ZGlrdGF0LXJ1bGVzL3NyYy9tYWluL2tvdGxpbi9vcmcvY3Fmbi9kaWt0YXQvcnVsZXNldC9ydWxlcy9maWxlcy9GaWxlU3RydWN0dXJlUnVsZS5rdA==) | `57.14% <0.00%> (-3.14%)` | `19.00% <0.00%> (-5.00%)` | |
| [...at/ruleset/rules/identifiers/LocalVariablesRule.kt](https://codecov.io/gh/cqfn/diKTat/pull/353/diff?src=pr&el=tree#diff-ZGlrdGF0LXJ1bGVzL3NyYy9tYWluL2tvdGxpbi9vcmcvY3Fmbi9kaWt0YXQvcnVsZXNldC9ydWxlcy9pZGVudGlmaWVycy9Mb2NhbFZhcmlhYmxlc1J1bGUua3Q=) | `92.06% <0.00%> (-0.57%)` | `32.00% <0.00%> (-21.00%)` | |
| [.../ruleset/utils/search/VariablesWithUsagesSearch.kt](https://codecov.io/gh/cqfn/diKTat/pull/353/diff?src=pr&el=tree#diff-ZGlrdGF0LXJ1bGVzL3NyYy9tYWluL2tvdGxpbi9vcmcvY3Fmbi9kaWt0YXQvcnVsZXNldC91dGlscy9zZWFyY2gvVmFyaWFibGVzV2l0aFVzYWdlc1NlYXJjaC5rdA==) | | | |
| [...eset/utils/search/VariablesWithAssignmentSearch.kt](https://codecov.io/gh/cqfn/diKTat/pull/353/diff?src=pr&el=tree#diff-ZGlrdGF0LXJ1bGVzL3NyYy9tYWluL2tvdGxpbi9vcmcvY3Fmbi9kaWt0YXQvcnVsZXNldC91dGlscy9zZWFyY2gvVmFyaWFibGVzV2l0aEFzc2lnbm1lbnRTZWFyY2gua3Q=) | | | |
| [...qfn/diktat/ruleset/utils/search/VariablesSearch.kt](https://codecov.io/gh/cqfn/diKTat/pull/353/diff?src=pr&el=tree#diff-ZGlrdGF0LXJ1bGVzL3NyYy9tYWluL2tvdGxpbi9vcmcvY3Fmbi9kaWt0YXQvcnVsZXNldC91dGlscy9zZWFyY2gvVmFyaWFibGVzU2VhcmNoLmt0) | | | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/cqfn/diKTat/pull/353?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/cqfn/diKTat/pull/353?src=pr&el=footer). Last update [74d9065...a0eabd4](https://codecov.io/gh/cqfn/diKTat/pull/353?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).


Patch:
diff --git a/README.md b/README.md
index 8198ee31..1676403d 100644
--- a/README.md
+++ b/README.md
@@ -33,11 +33,11 @@ The full list of available supported rules and inspections is [here](info/availa
     # another option is "brew install ktlint"
     ```
    
-2. Load diKTat manually: [here](https://github.com/cqfn/diKTat/releases/download/v0.1.0/diktat.jar)
+2. Load diKTat manually: [here](https://github.com/cqfn/diKTat/releases/download/v0.1.1/diktat.jar)
 
    **OR** use curl:
    ```bash
-   $ curl -sSLO https://github.com/cqfn/diKTat/releases/download/v0.1.0/diktat-0.1.0.jar
+   $ curl -sSLO https://github.com/cqfn/diKTat/releases/download/v0.1.1/diktat-0.1.1.jar
    ```
    
 3. Finally, run KTlint (with diKTat injected) to check your `*.kt` files in `dir/your/dir`:
@@ -97,7 +97,7 @@ Add this plugin to your pom.xml:
               <dependency>
                   <groupId>org.cqfn.diktat</groupId>
                   <artifactId>diktat-rules</artifactId>
-                  <version>0.1.0</version> <!-- replace it with diktat latest version -->
+                  <version>0.1.1</version> <!-- replace it with diktat latest version -->
                   <exclusions>
                       <exclusion>
                           <groupId>org.slf4j</groupId>
@@ -136,7 +136,7 @@ dependencies {
     }
 
     // diktat ruleset
-    ktlint("org.cqfn.diktat:diktat-rules:0.1.0") {
+    ktlint("org.cqfn.diktat:diktat-rules:0.1.1") {
         exclude("org.slf4j", "slf4j-log4j12")
     }
 }
diff --git a/build.gradle.kts b/build.gradle.kts
index 6b69caa1..0fd2c655 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -11,9 +11,7 @@ dependencies {
     }
 
     // diktat ruleset
-    ktlint("org.cqfn.diktat:diktat-rules:0.1.0") {
-        exclude("org.slf4j", "slf4j-log4j12")
-    }
+    ktlint("org.cqfn.diktat:diktat-rules:0.1.1")
 }
 
 val outputDir = "${project.buildDir}/reports/diktat/"
@@ -41,4 +39,4 @@ val diktatFormat by tasks.creating(JavaExec::class) {
 
     // specify proper path to sources that should be checked here
     args = listOf("-F", "**/src/main/kotlin/**/*.kt", "diktat-rules/src/test/resources/test/funcTest/FunctionalTestFile.kt")
-}
\ No newline at end of file
+}
diff --git a/diktat-common/pom.xml b/diktat-common/pom.xml
index 9289f9f1..db1168e8 100644
--- a/diktat-common/pom.xml
+++ b/diktat-common/pom.xml
@@ -9,7 +9,7 @@
     <parent>
         <groupId>org.cqfn.diktat</groupId>
         <artifactId>diktat-parent</artifactId>
-        <version>0.1.1-SNAPSHOT</version>
+        <version>0.1.2-SNAPSHOT</version>
     </parent>
 
     <dependencies>
diff --git a/diktat-rules/pom.xml b/diktat-rules/pom.xml
index 7d87f902..d4bd8db6 100644
--- a/diktat-rules/pom.xml
+++ b/diktat-rules/pom.xml
@@ -9,7 +9,7 @@
     <parent>
         <groupId>org.cqfn.diktat</groupId>
         <artifactId>diktat-parent</artifactId>
-        <version>0.1.1-SNAPSHOT</version>
+        <version>0.1.2-SNAPSHOT</version>
 
     </parent>
     <properties>
diff --git a/diktat-ruleset/pom.xml b/diktat-ruleset/pom.xml
index babc6227..91944d49 100644
--- a/diktat-ruleset/pom.xml
+++ b/diktat-ruleset/pom.xml
@@ -8,7 +8,7 @@
     <parent>
         <groupId>org.cqfn.diktat</groupId>
         <artifactId>diktat-parent</artifactId>
-        <version>0.1.1-SNAPSHOT</version>
+        <version>0.1.2-SNAPSHOT</version>
     </parent>
 
     <dependencies>
diff --git a/pom.xml b/pom.xml
index acbb89e4..615628e6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
 
     <groupId>org.cqfn.diktat</groupId>
     <artifactId>diktat-parent</artifactId>
-    <version>0.1.1-SNAPSHOT</version>
+    <version>0.1.2-SNAPSHOT</version>
     <packaging>pom</packaging>
 
     <name>diktat</name>
@@ -49,7 +49,7 @@
         <jackson.version>2.11.2</jackson.version>
         <slf4j.version>1.7.30</slf4j.version>
         <commons-cli.version>1.4</commons-cli.version>
-        <diktat-check.version>0.1.0</diktat-check.version>
+        <diktat-check.version>0.1.1</diktat-check.version>
         <kotlinpoet.version>1.6.0</kotlinpoet.version>
         <detekt.version>1.13.1</detekt.version>
         <dokka.version>1.4.10</dokka.version>


Test patch:
diff --git a/diktat-test-framework/pom.xml b/diktat-test-framework/pom.xml
index 446c29d7..bbdf32a7 100644
--- a/diktat-test-framework/pom.xml
+++ b/diktat-test-framework/pom.xml
@@ -9,7 +9,7 @@
     <parent>
         <groupId>org.cqfn.diktat</groupId>
         <artifactId>diktat-parent</artifactId>
-        <version>0.1.1-SNAPSHOT</version>
+        <version>0.1.2-SNAPSHOT</version>
     </parent>
 
     <dependencies>