code-formatter 1.1.5 → 1.1.10

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: c563e1d5d893f3190672c59efc172083f2e9f1c7a80d9423631bf21cf4fbcf88
4
- data.tar.gz: fab7bce7ab037c178f19bbd1e47e32f162d97eb8648f7cb4f4e2eb2b8e9692bd
3
+ metadata.gz: 7a0012f136ec8dd4eb0d90ba13b90548f7e71e91e6d69cbc43228fb88e5cec1d
4
+ data.tar.gz: c31b319caf2dd83abbb9b592dd21943ae7a1c51b15c50db09aada36196853939
5
5
  SHA512:
6
- metadata.gz: 7650806b37be84a281992b18f9296de98b82e851a215e575edea9b6a4aba41528aad1027354809ad01213583ef0163abb22828df3089e38f5bd0cb08e07c0063
7
- data.tar.gz: caab9517d7fa2f3cc1b791aa83cb1d5ec5e5399ae0fa857425d869eaa978f5b984d7cf9a04abcb30605dcdfa87508ca9321adaff2cc1fb2e39570146865923ef
6
+ metadata.gz: 7f14802262da02b4b8773dc69ed51e0673d132ad68c92a19e02145566989f7838785031defb59ec3c9f518e23db4b3eca4d7582da8b60ded49850b497fb522e0
7
+ data.tar.gz: 47219ed186e3b69a9ac6fc4c057e6f6602cb99460032dc90de0306ff265fec0016f6b4e1874818c065c4e5690a6d00f444c9596d452ba9767368255c40fee914
@@ -21,3 +21,25 @@ 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
40
+ record_mode_prohibited:
41
+ included: .*Test[s]?\.swift
42
+ name: Record Mode Prohibited
43
+ regex: (record|recordMode)\s*=\s*true
44
+ message: "Set record mode to false"
45
+ severity: warning
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CodeFormatter
4
- VERSION = '1.1.5'
4
+ VERSION = '1.1.10'
5
5
  end
metadata CHANGED
@@ -1,83 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code-formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.10
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: 2020-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
25
39
  - !ruby/object:Gem::Version
26
40
  version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: gem-release
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
- - - ">"
45
+ - - "~>"
32
46
  - !ruby/object:Gem::Version
33
47
  version: '0'
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
- - - ">"
52
+ - - "~>"
39
53
  - !ruby/object:Gem::Version
40
54
  version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
- - - ">"
59
+ - - "~>"
46
60
  - !ruby/object:Gem::Version
47
61
  version: '0'
48
62
  type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - ">"
66
+ - - "~>"
53
67
  - !ruby/object:Gem::Version
54
68
  version: '0'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rubocop
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
- - - ">"
73
+ - - "~>"
60
74
  - !ruby/object:Gem::Version
61
75
  version: '0.52'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
- - - ">"
80
+ - - "~>"
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0.52'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: test-unit
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - ">"
87
+ - - "~>"
74
88
  - !ruby/object:Gem::Version
75
89
  version: '0'
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - ">"
94
+ - - "~>"
81
95
  - !ruby/object:Gem::Version
82
96
  version: '0'
83
97
  description: swift code formatter
@@ -122,8 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
136
  - !ruby/object:Gem::Version
123
137
  version: '0'
124
138
  requirements: []
125
- rubyforge_project:
126
- rubygems_version: 2.7.7
139
+ rubygems_version: 3.1.2
127
140
  signing_key:
128
141
  specification_version: 4
129
142
  summary: code formatter