functional-light-service 0.4.4 → 0.5.4
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.
- checksums.yaml +4 -4
- data/.github/workflows/project-build.yml +10 -2
- data/Appraisals +4 -0
- data/CHANGELOG.md +80 -0
- data/Gemfile +0 -2
- data/README.md +1492 -1426
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/functional-light-service.gemspec +5 -0
- data/lib/functional-light-service/context.rb +1 -1
- data/lib/functional-light-service/organizer/with_reducer.rb +6 -0
- data/lib/functional-light-service/organizer/with_reducer_factory.rb +1 -1
- data/lib/functional-light-service/organizer/with_reducer_log_decorator.rb +3 -0
- data/lib/functional-light-service/organizer.rb +10 -0
- data/lib/functional-light-service/version.rb +1 -1
- data/spec/acceptance/organizer/add_aliases_spec.rb +28 -0
- data/spec/acceptance/organizer/add_to_context_spec.rb +30 -0
- data/spec/acceptance/organizer/iterate_spec.rb +7 -0
- data/spec/acceptance/organizer/reduce_if_spec.rb +6 -0
- data/spec/acceptance/organizer/reduce_until_spec.rb +6 -0
- data/spec/action_spec.rb +8 -0
- data/spec/lib/deterministic/option_spec.rb +18 -14
- data/spec/organizer_spec.rb +21 -0
- data/spec/sample/provides_free_shipping_action_spec.rb +1 -1
- data/spec/spec_helper.rb +15 -13
- data/spec/test_doubles.rb +35 -0
- metadata +55 -7
- data/.travis.yml +0 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 414c6227c90e74daa910411118172e82f1d10078f9cd5f86596b5e3618580016
|
|
4
|
+
data.tar.gz: 7780ccf972ab6b1ed15e746d5b5011fe4aeb605418406c839a976937c9a056ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7df8560f4f03d7d457f51222e17eaf371a412ee73ff91f74265c25d71595b1b4367646a9655ffaed7fa1df4494e34a80f512a82c1cfb2f36c3ea61eb3f426f67
|
|
7
|
+
data.tar.gz: d1280e2f293a994cb4ce41b00bea1cb9065fd0107e9f3178a05c6f3b22b05d380223ef95daa65ca1a3041f43f593916bf38393432f6daf786f925a92ebed8aa0
|
|
@@ -29,10 +29,18 @@ jobs:
|
|
|
29
29
|
codecov:
|
|
30
30
|
name: Codecov
|
|
31
31
|
runs-on: ubuntu-latest
|
|
32
|
+
env:
|
|
33
|
+
RUN_COVERAGE_REPORT: true
|
|
32
34
|
steps:
|
|
33
|
-
- uses: actions/checkout@
|
|
34
|
-
- uses:
|
|
35
|
+
- uses: actions/checkout@v4
|
|
36
|
+
- uses: ruby/setup-ruby@v1
|
|
37
|
+
with:
|
|
38
|
+
ruby-version: 3.0.2
|
|
39
|
+
- run: bundle install --jobs 4 --retry 3
|
|
40
|
+
- run: bundle exec rspec spec
|
|
41
|
+
- uses: codecov/codecov-action@v5
|
|
35
42
|
with:
|
|
43
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
36
44
|
files: ./coverage/coverage.xml # optional
|
|
37
45
|
flags: unittests # optional
|
|
38
46
|
name: codecov-simplecov # optional
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,83 @@
|
|
|
1
|
+
## 0.5.4 (2026-07-03)
|
|
2
|
+
### Fixed
|
|
3
|
+
- Blocca rexml < 3.3 per compatibilita con simplecov-cobertura 2.1.0 (fix CI Codecov: Malformed XML No root element) ( 2026-07-03 ) [ sphynx79]
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## 0.5.3 (2026-07-03)
|
|
7
|
+
### Changed
|
|
8
|
+
- Aggiornato il badge Download Count da herokuapp (dismesso) a shields.io ( 2026-07-03 ) [ sphynx79]
|
|
9
|
+
- Riformattato il README: normalizzazione markdown e line-ending ( 2026-07-03 ) [ sphynx79]
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## 0.5.2 (2022-01-30)
|
|
13
|
+
### Fixed
|
|
14
|
+
- Risoltro problema codecov upload perche non avevo settato il token ( 2025-05-16 ) [ sphynx79]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## 0.5.1 (2022-01-30)
|
|
18
|
+
### Removed
|
|
19
|
+
- Rimuove supporto Travis CI, migrazione completa a GitHub Actions ( 2025-05-16 ) [ sphynx79]
|
|
20
|
+
|
|
21
|
+
## 0.5.0 (2022-01-30)
|
|
22
|
+
### GitHub
|
|
23
|
+
- Aggiunto variabile RUN_COVERAGE_REPORT per eseguire il coverage solo nelle azioni di github ( 2022-01-30 ) [ sphynx79]
|
|
24
|
+
|
|
25
|
+
### Github
|
|
26
|
+
- Aggiornato il sistema per fare l'upload del coverage in https://docs.codecov.com/ nelle action di github ( 2022-01-30 ) [ sphynx79]
|
|
27
|
+
|
|
28
|
+
### Test
|
|
29
|
+
- organized_by with TestReduceIf organizer ( 2022-01-30 ) [ sphynx79]
|
|
30
|
+
- amend expectation titles to be clearer ( 2022-01-30 ) [ sphynx79]
|
|
31
|
+
- ensure that ctx.organized_by returns correct values ( 2022-01-30 ) [ sphynx79]
|
|
32
|
+
|
|
33
|
+
### Style
|
|
34
|
+
- sistemato per rubocop 2 allinemaenti parametri keyword ( 2022-01-30 ) [ sphynx79]
|
|
35
|
+
|
|
36
|
+
### Doc
|
|
37
|
+
- update README with notes about organized_by re: rollback ( 2022-01-30 ) [ sphynx79]
|
|
38
|
+
|
|
39
|
+
### Added
|
|
40
|
+
- ensure organized_by attr is set on context when Organizer is used ( 2022-01-30 ) [ sphynx79]
|
|
41
|
+
- add `Context#organized_by` attr ( 2022-01-30 ) [ sphynx79]
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
## 0.4.9 (2022-01-30)
|
|
46
|
+
### Added
|
|
47
|
+
- Agginyo altri test per #add_to_context e #add_aliases e inserito nel README l'utilizzo di add_to_context ( 2022-01-30 ) [ sphynx79]
|
|
48
|
+
|
|
49
|
+
### Changed
|
|
50
|
+
- migliorato spec per #add_aliases method ( 2022-01-30 ) [ sphynx79]
|
|
51
|
+
- migliorato la descrizione per spec add add_to_context method ( 2022-01-30 ) [ sphynx79]
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
## 0.4.8 (2022-01-30)
|
|
56
|
+
### Added
|
|
57
|
+
- Aggiuhnto il supporto per add_to_context and add_aliases organizer methods ( 2022-01-30 ) [ sphynx79]
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
## 0.4.7 (2022-01-29)
|
|
62
|
+
### Fixed
|
|
63
|
+
- sistemato il problema di rspec che mi dava un errore su un test ho dovuto fissare rspec-mocks alla versione 3.10.2 la 3.10.3 mi dava problemi ( 2022-01-29 ) [ sphynx79]
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
## 0.4.6 (2022-01-29)
|
|
68
|
+
### Fixed
|
|
69
|
+
- sistemato problema github action non trovava i gemfile rinominati ( 2022-01-29 ) [ sphynx79]
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
## 0.4.5 (2022-01-29)
|
|
74
|
+
### Fixed
|
|
75
|
+
- corretto il problema di spec che non passava i test option_spec match ( 2022-01-29 ) [ sphynx79]
|
|
76
|
+
- Aggiornato Appraisals per eseguire i test rspec e rubocop con diverse versione di i18n e dry_inflector ( 2022-01-28 ) [ sphynx79]
|
|
77
|
+
- Fix the spec description, order <=200 should not have free shipping ( 2022-01-27 ) [ sphynx79]
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
1
81
|
## 0.4.4 (2022-01-27)
|
|
2
82
|
### Updated
|
|
3
83
|
- Aggiornato la versione è sistemato problema upload codeconv ( 2022-01-27 ) [ sphynx79]
|