msfl 1.1.2 → 1.1.3
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/lib/msfl/converters/operator.rb +1 -1
- data/msfl.gemspec +1 -1
- data/spec/msfl/converters/operator_spec.rb +9 -9
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2445ee71d971cda766a3dab97300b9d99cf73dae
|
4
|
+
data.tar.gz: afa4add5b3f7f55d262440bc8bb3183dfb067c88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12f468f92d2ef18d7875c85d906a7cdef535c406ed46ec732a2cbc1848cfe56cafc7a4ba48e10f203eb3002fd35fac1f435efeaef36fb1a61174f745f23d3539
|
7
|
+
data.tar.gz: febbc466e5bf33b5ea7491b558e3c7a6d58ac0e369582f678893829a65029ac2d3ace3323c46e07480ca10c6499ebe95638b970ed79461e3010dd442fe76bc33
|
data/msfl.gemspec
CHANGED
@@ -29,8 +29,8 @@ describe "MSFL::Converters::Operator" do
|
|
29
29
|
allow(t_i).to receive(:between_to_gte_lte_recursively)
|
30
30
|
expect(t_i).to receive(:between_to_gte_lte_recursively).once
|
31
31
|
|
32
|
-
allow(t_i).to receive(:
|
33
|
-
expect(t_i).to receive(:
|
32
|
+
allow(t_i).to receive(:implicit_and_to_explicit_recursively)
|
33
|
+
expect(t_i).to receive(:implicit_and_to_explicit_recursively).once
|
34
34
|
t_i
|
35
35
|
end
|
36
36
|
|
@@ -41,11 +41,11 @@ describe "MSFL::Converters::Operator" do
|
|
41
41
|
|
42
42
|
context "when conversions_to_run is an array of symbols" do
|
43
43
|
|
44
|
-
let(:conversions_to_run) { [:
|
44
|
+
let(:conversions_to_run) { [:implicit_and_to_explicit_recursively, :between_to_gte_lte_recursively]}
|
45
45
|
|
46
46
|
it "runs all elements in CONVERSIONS that are in conversions_to_run" do
|
47
|
-
allow(test_instance).to receive :
|
48
|
-
expect(test_instance).to receive(:
|
47
|
+
allow(test_instance).to receive :implicit_and_to_explicit_recursively
|
48
|
+
expect(test_instance).to receive(:implicit_and_to_explicit_recursively)
|
49
49
|
|
50
50
|
allow(test_instance).to receive :between_to_gte_lte_recursively
|
51
51
|
expect(test_instance).to receive(:between_to_gte_lte_recursively)
|
@@ -58,8 +58,8 @@ describe "MSFL::Converters::Operator" do
|
|
58
58
|
|
59
59
|
it "runs the indicated conversions exactly once" do
|
60
60
|
|
61
|
-
allow(test_instance).to receive :
|
62
|
-
expect(test_instance).to receive(:
|
61
|
+
allow(test_instance).to receive :implicit_and_to_explicit_recursively
|
62
|
+
expect(test_instance).to receive(:implicit_and_to_explicit_recursively).once
|
63
63
|
|
64
64
|
allow(test_instance).to receive :between_to_gte_lte_recursively
|
65
65
|
expect(test_instance).to receive(:between_to_gte_lte_recursively).once
|
@@ -72,8 +72,8 @@ describe "MSFL::Converters::Operator" do
|
|
72
72
|
allow(test_instance).to receive :between_to_gte_lte_recursively
|
73
73
|
expect(test_instance).to receive(:between_to_gte_lte_recursively).ordered
|
74
74
|
|
75
|
-
allow(test_instance).to receive :
|
76
|
-
expect(test_instance).to receive(:
|
75
|
+
allow(test_instance).to receive :implicit_and_to_explicit_recursively
|
76
|
+
expect(test_instance).to receive(:implicit_and_to_explicit_recursively).ordered
|
77
77
|
|
78
78
|
subject
|
79
79
|
end
|