specware 1.2.2__tar.gz → 1.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: specware
3
- Version: 1.2.2
3
+ Version: 1.2.4
4
4
  Summary: Provides utilities to specify software.
5
5
  Keywords: certification,documentation,markdown,qualification,requirements-management,traceability
6
6
  Author: The specware Authors
@@ -20,7 +20,7 @@ Classifier: Topic :: Software Development :: Quality Assurance
20
20
  Classifier: Topic :: Software Development :: Testing :: Acceptance
21
21
  Classifier: Topic :: Text Processing :: Markup
22
22
  Classifier: Typing :: Typed
23
- Requires-Dist: specitems>=1.4.5
23
+ Requires-Dist: specitems>=1.5.0
24
24
  Requires-Python: >=3.11
25
25
  Project-URL: Source Code, https://github.com/specthings/specware
26
26
  Project-URL: Bug Tracker, https://github.com/specthings/specware/issues
@@ -4,7 +4,7 @@
4
4
 
5
5
  [project]
6
6
  name = "specware"
7
- version = "1.2.2"
7
+ version = "1.2.4"
8
8
  description = "Provides utilities to specify software."
9
9
  authors = [
10
10
  {name = "The specware Authors", email = "specthings@embedded-brains.de"}
@@ -13,7 +13,7 @@ license = "BSD-2-Clause"
13
13
  readme = "README.md"
14
14
  requires-python = ">=3.11"
15
15
  dependencies = [
16
- "specitems >=1.4.5",
16
+ "specitems >=1.5.0",
17
17
  ]
18
18
  keywords = [
19
19
  "certification",
@@ -261,9 +261,9 @@ def _states(transition_map: TransitionMap, co_idx: int,
261
261
  def _action_compact_table(item: Item) -> None:
262
262
  transition_map = TransitionMap(item, "N/A")
263
263
  rows: list[Iterable[str | int]] = [
264
- ("Pre-Conditions", ) + (ROW_SPAN, ) *
264
+ ("Pre-Conditions", ) + (COL_SPAN, ) *
265
265
  (transition_map.pre_co_count - 1) + ("Post-Conditions", ) +
266
- (ROW_SPAN, ) * (transition_map.post_co_count - 1)
266
+ (COL_SPAN, ) * (transition_map.post_co_count - 1)
267
267
  ]
268
268
  rows.append(
269
269
  tuple(
@@ -274,16 +274,16 @@ def _action_compact_table(item: Item) -> None:
274
274
  item.cache.enabled_set):
275
275
  if post_co[0]:
276
276
  post_co_row = ((transition_map.skip_idx_to_name(post_co[0]), ) +
277
- (ROW_SPAN, ) * (transition_map.post_co_count - 1))
277
+ (COL_SPAN, ) * (transition_map.post_co_count - 1))
278
278
  post_co_col_span: tuple[str | int,
279
- ...] = ((COL_SPAN, ) +
280
- (COL_SPAN | ROW_SPAN, ) *
279
+ ...] = ((ROW_SPAN, ) +
280
+ (ROW_SPAN | COL_SPAN, ) *
281
281
  (transition_map.post_co_count - 1))
282
282
  else:
283
283
  post_co_row = tuple(
284
284
  transition_map.post_co_idx_st_idx_to_st_name(co_idx, st_idx)
285
285
  for co_idx, st_idx in enumerate(post_co[1:]))
286
- post_co_col_span = (COL_SPAN, ) * transition_map.post_co_count
286
+ post_co_col_span = (ROW_SPAN, ) * transition_map.post_co_count
287
287
  for pre_co in pre_co_collection:
288
288
  pre_co_row = tuple(
289
289
  _states(transition_map, co_idx, co_states)
index 99eedee..61e39b4 100644
Binary file
File without changes
File without changes
File without changes
File without changes
File without changes