code-formatter 1.1.6 → 1.1.7

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
  SHA256:
3
- metadata.gz: bd9eca9a16b35fb8a2d168fd4a84de4321355cbbc241a0141d7ce7567fbeb2b5
4
- data.tar.gz: 198afc9553e0e6d4dfb7eed867b55e1aebcedef4fd9bf5b0c62b869bebaf3603
3
+ metadata.gz: 39a5e170c64f2f8c56207887f3a2bf4de9307b8ad8c3a7de969d61c88b7c5e5a
4
+ data.tar.gz: ff819fc63d86c76756ff558e24b6250114665a3bb9da92e5bbfe297fe8081097
5
5
  SHA512:
6
- metadata.gz: e68aea20b1bfec08860093349f9bb238f7532567e2016a5b9d1ac7b65b87087371f101fcd21c8018dee991cb45c94688e82a8d7e7159b3ceb922c1d7ab5fa809
7
- data.tar.gz: bb3ffff83102bb11f29221287c5c6bef789e9329e29d8695ad296edd81cfe8e4790f987739dd2bf19eeb54c12a4c429e4fd43c246dd7a82b4a0637dded5c13db
6
+ metadata.gz: 12aee6f78ea69222b2214ec5afdae6c1c57a16a180f628b78c1592b2b6cf01da14a930b6b716a212f9613ad2ee21996b1360adc92a77a2a762bd01e97d122cff
7
+ data.tar.gz: 153fd3211e437abdb56a55dca604e8970677467d89c52b95e59e269e70a8e93aabcec787f128b982a664d375d89dd446160b8c894dd876b74965b89f9ecc147a
@@ -21,3 +21,19 @@ file_length:
21
21
  function_body_length:
22
22
  warning: 70
23
23
  error: 100
24
+
25
+ custom_rules:
26
+ no_current_world_mutation:
27
+ included: .*\.swift
28
+ excluded: .*Test[s]?\.swift
29
+ name: Current World Mutation
30
+ regex: Current\.\S+\s+=
31
+ message: "Don't mutate the World"
32
+ severity: warning
33
+ no_app_world_mutation:
34
+ included: .*\.swift
35
+ excluded: .*Test[s]?\.swift
36
+ name: App World Mutation
37
+ regex: World\.\S+\s+=
38
+ message: "Don't mutate the World"
39
+ severity: warning
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CodeFormatter
4
- VERSION = '1.1.6'
4
+ VERSION = '1.1.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code-formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - sroik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-14 00:00:00.000000000 Z
11
+ date: 2019-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -136,8 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubyforge_project:
140
- rubygems_version: 2.7.7
139
+ rubygems_version: 3.0.3
141
140
  signing_key:
142
141
  specification_version: 4
143
142
  summary: code formatter