File tree Expand file tree Collapse file tree 7 files changed +23
-12
lines changed Expand file tree Collapse file tree 7 files changed +23
-12
lines changed Original file line number Diff line number Diff line change 2
2
3
3
_ Please, add the latest build info on top of the list; use Version::MAJOR only after gold release; keep semantic versioning in line with framework's_
4
4
5
+ - ** 0.7.25** [ Steve A.] amend dumb idea of aliasing #present? to positive? in all TimingManageable sibling classes
5
6
- ** 0.7.24** [ Steve A.] bundle updates & rubocop updates; moved zero?, positive? & present? helpers directly into TimingManageable; specs updates
6
7
- ** 0.7.23** [ Steve A.] bundle updates
7
8
- ** 0.7.20** [ Steve A.] bundle updates; added a missing/new EventType used for Coopernuoto meetings ('6X50SL')
Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: .
3
3
specs:
4
- goggles_db (0.7.24 )
4
+ goggles_db (0.7.25 )
5
5
acts-as-taggable-on
6
6
acts_as_votable
7
7
cities
Original file line number Diff line number Diff line change 85
85
rspec_options = {
86
86
cmd : 'spec/dummy/bin/rspec' ,
87
87
# Exclude performance tests; to make it fail-fast, add option "--fail-fast":
88
- cmd_additional_args : ' --color --profile 10 --order rand -f RspecPacmanFormatter::Pacman -t ~type:performance' ,
88
+ cmd_additional_args : ' --color --profile 10 --order rand -f doc -t ~type:performance' ,
89
89
all_after_pass : false ,
90
90
failed_mode : :focus
91
91
}
Original file line number Diff line number Diff line change @@ -51,9 +51,6 @@ def positive?
51
51
base_timing_positive || minutes_from_start . positive? || seconds_from_start . positive? || hundredths_from_start . positive?
52
52
end
53
53
54
- # Make sure only positive timings will be considered as "present":
55
- alias present? positive? # (new, old)
56
-
57
54
# Returns +true+ if the timing associated with this result is zero.
58
55
# If the includee responds (at least) also to #hundredths_from_start,
59
56
# this will check all the <tt>XXX_from_start</tt> columns as well.
Original file line number Diff line number Diff line change 6
6
#
7
7
module GogglesDb
8
8
# Public gem version (uses Semantic versioning)
9
- VERSION = '0.7.24 '
9
+ VERSION = '0.7.25 '
10
10
11
11
# == Versioning codes
12
12
#
@@ -19,8 +19,8 @@ module Version
19
19
CORE = 'C7'
20
20
MAJOR = '0'
21
21
MINOR = '7'
22
- PATCH = '24 '
23
- BUILD = '20241115 '
22
+ PATCH = '25 '
23
+ BUILD = '20241119 '
24
24
25
25
# Full label
26
26
FULL = "#{ MAJOR } .#{ MINOR } .#{ PATCH } (#{ CORE } -#{ BUILD } )" . freeze
Original file line number Diff line number Diff line change @@ -208,5 +208,7 @@ module GogglesDb
208
208
)
209
209
end
210
210
end
211
+ #-- ------------------------------------------------------------------------
212
+ #++
211
213
end
212
214
end
Original file line number Diff line number Diff line change 30
30
context 'by including this concern, the sibling:' do
31
31
subject { fixture_row }
32
32
33
- it_behaves_like ( 'responding to a list of methods' , %i[ hundredths seconds minutes to_timing from_timing positive? present? zero? ] )
33
+ it_behaves_like ( 'responding to a list of methods' , %i[ hundredths seconds minutes to_timing from_timing positive? zero? ] )
34
34
end
35
35
36
36
context 'for any result with positive time,' do
47
47
end
48
48
49
49
describe '#present?' do
50
- it 'is true' do
50
+ it 'is always true' do
51
51
expect ( subject . present? ) . to be true
52
52
end
53
53
end
80
80
end
81
81
82
82
describe '#present?' do
83
- it 'is false ' do
84
- expect ( subject . present? ) . to be false
83
+ it 'is always true ' do
84
+ expect ( subject . present? ) . to be true
85
85
end
86
86
end
87
87
92
92
end
93
93
end
94
94
95
+ context 'a new instance with zero timing' do
96
+ subject { described_class . new }
97
+
98
+ it 'is always #present?, even if #zero? is true' do
99
+ expect ( subject . zero? ) . to be true
100
+ expect ( subject . present? ) . to be true
101
+ end
102
+ end
103
+ #-- ------------------------------------------------------------------------
104
+ #++
105
+
95
106
describe '#to_timing' do
96
107
context 'when from_start is false (default),' do
97
108
subject { fixture_row . to_timing }
You can’t perform that action at this time.
0 commit comments