fix 0.14.1 → 0.15.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6043a52a2cfa13b40f2484ac80913ce071eb45b3
4
- data.tar.gz: ae2dd00c25b74dd196704f9b63c41650ef626c5f
3
+ metadata.gz: 5ea045d76594eb327b6e5d12e029b75e0e9707ae
4
+ data.tar.gz: f3d486fa37ecb288666fa16081164785d2bb16e3
5
5
  SHA512:
6
- metadata.gz: b84ea6ce91c576675870d743775fb43c0b42d880d67817a32d23cc8a19e55dec2605b2321b7657ca97b094c2c70211e3d861df708fa85b416f6a16b4deb135ea
7
- data.tar.gz: 2ac9fa50513830ae1ad4e65d09d4a236f682391c089ac02225ff1f6cc04bd8e5bd14f2ef979e43646847ebaa99d67e76eb1969c41676f08e772a9aa219b732ac
6
+ metadata.gz: 076b63dd0fc94c78d48cd711dda626407aa5c5d37dd984e153fc8b8ca5ed60b36a5f55486beb6de486feb6316098bd6deaaba5a35912ff91c65535a55aa54d55
7
+ data.tar.gz: 08837962e923a6232863967a65b2d4ea6153e2958c5737509d42381eb60712c2bfe26135bef0dc3c46fe20cadff334288f9bccd21e27d056b06f18eb1f53dc0c
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/VERSION.semver CHANGED
@@ -1 +1 @@
1
- 0.14.1
1
+ 0.15.0
@@ -0,0 +1 @@
1
+ 99234a8fbebfeddfbc4d7665ab10b2d2f340f1f10faff21702da4040afb1e3f56041b2fe00d67b16fa0515a768de4767e6bc1fc38d0cb5d3cfcb41163593836f
data/lib/fix/on.rb CHANGED
@@ -9,23 +9,23 @@ module Fix
9
9
  class On
10
10
  # Initialize the on class.
11
11
  #
12
- # @param front_object [#object_id] The front object of the test.
12
+ # @param described [#object_id] The front object of the test.
13
13
  # @param results [Array] The list of collected results.
14
14
  # @param challenges [Array] The list of challenges to apply.
15
15
  # @param helpers [Hash] The list of helpers.
16
16
  # @param configuration [Hash] Settings.
17
- def initialize(front_object, results, challenges, helpers, configuration)
18
- @front_object = front_object
17
+ def initialize(described, results, challenges, helpers, configuration)
18
+ @described = described
19
19
  @results = results
20
20
  @challenges = challenges
21
21
  @helpers = helpers
22
22
  @configuration = configuration
23
23
  end
24
24
 
25
- # @!attribute [r] front_object
25
+ # @!attribute [r] described
26
26
  #
27
27
  # @return [#object_id] The front object of the test.
28
- attr_reader :front_object
28
+ attr_reader :described
29
29
 
30
30
  # @!attribute [r] results
31
31
  #
@@ -58,7 +58,7 @@ module Fix
58
58
  #
59
59
  # @return [Array] List of results.
60
60
  def it(&spec)
61
- i = It.new(front_object, challenges, helpers.dup)
61
+ i = It.new(described, challenges, helpers.dup)
62
62
 
63
63
  result = begin
64
64
  i.instance_eval(&spec)
@@ -88,7 +88,7 @@ module Fix
88
88
  #
89
89
  # @return [Array] List of results.
90
90
  def on(method_name, *args, &block)
91
- o = On.new(front_object,
91
+ o = On.new(described,
92
92
  results,
93
93
  (challenges + [Defi.send(method_name, *args)]),
94
94
  helpers.dup,
@@ -110,7 +110,7 @@ module Fix
110
110
  #
111
111
  # @return [Array] List of results.
112
112
  def context(*, &block)
113
- o = On.new(front_object,
113
+ o = On.new(described,
114
114
  results,
115
115
  challenges,
116
116
  helpers.dup,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.1
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Wack
@@ -175,6 +175,7 @@ files:
175
175
  - checksum/fix-0.12.3.gem.sha512
176
176
  - checksum/fix-0.13.0.gem.sha512
177
177
  - checksum/fix-0.14.0.gem.sha512
178
+ - checksum/fix-0.14.1.gem.sha512
178
179
  - checksum/fix-0.2.0.gem.sha512
179
180
  - checksum/fix-0.3.0.gem.sha512
180
181
  - checksum/fix-0.4.0.gem.sha512
metadata.gz.sig CHANGED
Binary file