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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b19d5c1e5e40e0222fe8fcebd3d3d1f3cc44c69ffa918526efd383654a3844db
4
- data.tar.gz: '00900f45c6be218b3b5673135f66d590335f3d985f68826365728c681f171b3b'
3
+ metadata.gz: af808a47a9294196f06076c449d72cb046dc7b49b4917998ed78d351d01f7067
4
+ data.tar.gz: 515bd830b111bc04ebc28b8050b063febba8728379411e98828495f033e11161
5
5
  SHA512:
6
- metadata.gz: 316ab96f7ac24e95d230ec9990eb605e134f2aa1b2fad13d4f787c38550e62e4349344a8ef695cb4a69e97c6a9e2ed501f74987fd1c8adf5ad7f4101bf5e91e4
7
- data.tar.gz: b1d921522c2b9ceb740a0ae67ee042a1197de650e0d1c78ab5fbe1fb9bc9a2de370e0390ee1a1e5e1a5a7e183e2c885737627afef27f4faafe6d847048a8a926
6
+ metadata.gz: c18d812706edcb7c3650e31d2d0c9a8c10418802873d82c7e419aadec8ba67a5f28e59f9e321f623aa7e0110791462e097f15a3fff0727aeec17cf5af1c871ca
7
+ data.tar.gz: 22d429a4a84d80b51a31dd8c555364dcbf2778755a9d8447a47e4d6fb68a5ce6ba908dde71bd75c6793f71ff3be3e01369fe21cb9f1674728a9d65cb9e29168f
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.5
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
- Style/FileName:
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
@@ -1 +1 @@
1
- 2.5.1
1
+ 2.7.0
@@ -1,11 +1,9 @@
1
+ dist: xenial
1
2
  language: ruby
2
-
3
3
  rvm:
4
- - 2.5.0
5
-
4
+ - 2.7.0
6
5
  before_script:
7
6
  - mkdir ~/.task
8
7
  - echo data.location=~/.task > ~/.taskrc
9
-
10
8
  before_install:
11
9
  - sudo apt-get install task
@@ -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')), 0, '%<>').result(binding))
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
@@ -3,7 +3,7 @@
3
3
  module TaskWarrior
4
4
  module Test
5
5
  module Integration
6
- VERSION = '1.0.1'
6
+ VERSION = '1.1.0'
7
7
  end
8
8
  end
9
9
  end
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'English'
3
4
  require File.expand_path('lib/twtest/version', __dir__)
4
5
 
5
6
  Gem::Specification.new do |gem|
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.1
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: 2018-03-31 00:00:00.000000000 Z
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
- rubyforge_project:
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