twtest 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -155
- data/.ruby-version +1 -1
- data/.travis.yml +2 -4
- data/lib/twtest/test.rb +1 -1
- data/lib/twtest/version.rb +1 -1
- data/twtest.gemspec +1 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af808a47a9294196f06076c449d72cb046dc7b49b4917998ed78d351d01f7067
|
4
|
+
data.tar.gz: 515bd830b111bc04ebc28b8050b063febba8728379411e98828495f033e11161
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c18d812706edcb7c3650e31d2d0c9a8c10418802873d82c7e419aadec8ba67a5f28e59f9e321f623aa7e0110791462e097f15a3fff0727aeec17cf5af1c871ca
|
7
|
+
data.tar.gz: 22d429a4a84d80b51a31dd8c555364dcbf2778755a9d8447a47e4d6fb68a5ce6ba908dde71bd75c6793f71ff3be3e01369fe21cb9f1674728a9d65cb9e29168f
|
data/.rubocop.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
AllCops:
|
2
|
-
TargetRubyVersion: 2.
|
2
|
+
TargetRubyVersion: 2.7
|
3
3
|
Include:
|
4
4
|
- '**/Gemfile'
|
5
5
|
- '**/Rakefile'
|
@@ -16,163 +16,10 @@ AllCops:
|
|
16
16
|
DisplayStyleGuide:
|
17
17
|
Enabled: true
|
18
18
|
|
19
|
-
|
19
|
+
Naming/FileName:
|
20
20
|
Exclude:
|
21
21
|
- Guardfile
|
22
22
|
|
23
23
|
Metrics/BlockLength:
|
24
24
|
Exclude:
|
25
25
|
- spec/**/*
|
26
|
-
|
27
|
-
Lint/AmbiguousRegexpLiteral:
|
28
|
-
Enabled: false
|
29
|
-
|
30
|
-
Lint/HandleExceptions:
|
31
|
-
Enabled: true
|
32
|
-
|
33
|
-
Lint/UnusedBlockArgument:
|
34
|
-
Enabled: false
|
35
|
-
|
36
|
-
Lint/UnusedMethodArgument:
|
37
|
-
Enabled: false
|
38
|
-
|
39
|
-
Metrics/AbcSize:
|
40
|
-
Enabled: false
|
41
|
-
|
42
|
-
Metrics/ClassLength:
|
43
|
-
Enabled: false
|
44
|
-
|
45
|
-
Metrics/CyclomaticComplexity:
|
46
|
-
Max: 12
|
47
|
-
|
48
|
-
Metrics/LineLength:
|
49
|
-
Max: 180
|
50
|
-
|
51
|
-
Metrics/MethodLength:
|
52
|
-
Max: 60
|
53
|
-
|
54
|
-
Metrics/ModuleLength:
|
55
|
-
Enabled: false
|
56
|
-
|
57
|
-
Metrics/ParameterLists:
|
58
|
-
Enabled: false
|
59
|
-
|
60
|
-
Metrics/PerceivedComplexity:
|
61
|
-
Enabled: false
|
62
|
-
|
63
|
-
Performance/Casecmp:
|
64
|
-
Enabled: false
|
65
|
-
|
66
|
-
Performance/Sample:
|
67
|
-
Enabled: false
|
68
|
-
|
69
|
-
Style/Alias:
|
70
|
-
EnforcedStyle: prefer_alias_method
|
71
|
-
|
72
|
-
Style/AlignParameters:
|
73
|
-
Enabled: false
|
74
|
-
|
75
|
-
Style/BlockDelimiters:
|
76
|
-
Enabled: false
|
77
|
-
|
78
|
-
Style/BracesAroundHashParameters:
|
79
|
-
Enabled: false
|
80
|
-
|
81
|
-
Style/ClassAndModuleChildren:
|
82
|
-
Enabled: false
|
83
|
-
|
84
|
-
Style/ClosingParenthesisIndentation:
|
85
|
-
Enabled: false
|
86
|
-
|
87
|
-
Style/Documentation:
|
88
|
-
Enabled: false
|
89
|
-
|
90
|
-
Style/DotPosition:
|
91
|
-
EnforcedStyle: trailing
|
92
|
-
|
93
|
-
Style/DoubleNegation:
|
94
|
-
Enabled: false
|
95
|
-
|
96
|
-
Style/EachWithObject:
|
97
|
-
Enabled: false
|
98
|
-
|
99
|
-
Style/FormatString:
|
100
|
-
EnforcedStyle: sprintf
|
101
|
-
|
102
|
-
Style/GuardClause:
|
103
|
-
Enabled: false
|
104
|
-
|
105
|
-
Style/IfUnlessModifier:
|
106
|
-
Enabled: false
|
107
|
-
|
108
|
-
Style/IndentArray:
|
109
|
-
EnforcedStyle: consistent
|
110
|
-
|
111
|
-
Style/IndentHash:
|
112
|
-
Enabled: false
|
113
|
-
|
114
|
-
Style/Lambda:
|
115
|
-
Enabled: false
|
116
|
-
|
117
|
-
Style/MultilineBlockChain:
|
118
|
-
Enabled: false
|
119
|
-
|
120
|
-
Style/MultilineBlockLayout:
|
121
|
-
Enabled: false
|
122
|
-
|
123
|
-
Style/MultilineOperationIndentation:
|
124
|
-
Enabled: false
|
125
|
-
|
126
|
-
Style/NegatedIf:
|
127
|
-
Enabled: false
|
128
|
-
|
129
|
-
Style/Next:
|
130
|
-
Enabled: false
|
131
|
-
|
132
|
-
Style/NumericLiterals:
|
133
|
-
Enabled: false
|
134
|
-
|
135
|
-
Style/PredicateName:
|
136
|
-
Enabled: false
|
137
|
-
|
138
|
-
Style/RaiseArgs:
|
139
|
-
EnforcedStyle: compact
|
140
|
-
|
141
|
-
Style/RedundantSelf:
|
142
|
-
Enabled: false
|
143
|
-
|
144
|
-
Style/RescueModifier:
|
145
|
-
Enabled: false
|
146
|
-
|
147
|
-
Style/SignalException:
|
148
|
-
Enabled: false
|
149
|
-
|
150
|
-
Style/SingleLineBlockParams:
|
151
|
-
Enabled: false
|
152
|
-
|
153
|
-
Style/SpaceAroundEqualsInParameterDefault:
|
154
|
-
EnforcedStyle: no_space
|
155
|
-
|
156
|
-
Style/StructInheritance:
|
157
|
-
Enabled: false
|
158
|
-
|
159
|
-
Style/TrailingCommaInArguments:
|
160
|
-
Enabled: false
|
161
|
-
|
162
|
-
Style/TrailingCommaInArrayLiteral:
|
163
|
-
Enabled: false
|
164
|
-
|
165
|
-
Style/TrailingCommaInHashLiteral:
|
166
|
-
Enabled: false
|
167
|
-
|
168
|
-
Style/TrailingUnderscoreVariable:
|
169
|
-
Enabled: false
|
170
|
-
|
171
|
-
Style/TrivialAccessors:
|
172
|
-
Enabled: false
|
173
|
-
|
174
|
-
Style/WordArray:
|
175
|
-
Enabled: false
|
176
|
-
|
177
|
-
Style/ZeroLengthPredicate:
|
178
|
-
Enabled: false
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.0
|
data/.travis.yml
CHANGED
data/lib/twtest/test.rb
CHANGED
@@ -50,7 +50,7 @@ module TaskWarrior
|
|
50
50
|
@data_dir = options[:data_dir]
|
51
51
|
|
52
52
|
begin
|
53
|
-
taskrc.write(ERB.new(File.read(File.join(File.dirname(__FILE__), '..', '..', 'templates', 'taskrc.erb'))
|
53
|
+
taskrc.write(ERB.new(File.read(File.join(File.dirname(__FILE__), '..', '..', 'templates', 'taskrc.erb'))).result(binding))
|
54
54
|
return taskrc.path
|
55
55
|
ensure
|
56
56
|
taskrc.close
|
data/lib/twtest/version.rb
CHANGED
data/twtest.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twtest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas E. Rabenau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -123,8 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
|
-
|
127
|
-
rubygems_version: 2.7.6
|
126
|
+
rubygems_version: 3.1.2
|
128
127
|
signing_key:
|
129
128
|
specification_version: 4
|
130
129
|
summary: Helpers for writing TaskWarrior tests in Ruby
|