saharspec 0.0.3 → 0.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a363bdb21050423225b98a8dae3d2f8861947426
4
- data.tar.gz: 3ace51cf8d457d79caa8fe2c3b12e144c1a5a50a
3
+ metadata.gz: 320e576aeec4fa534c88058a6f93a617adffa1ef
4
+ data.tar.gz: 3bb428585c9c78cb5da1ee565fbf7cfd1e5d8ea4
5
5
  SHA512:
6
- metadata.gz: a6b1f390d030eeebbaa9ece4efbc64176e24cfd32d748e044a1d47fd8f7862b5a966a83fdcb64474b28496f0d9ea97150e70d725c0b99d9ed47d74d26d4f60b2
7
- data.tar.gz: fbf40cbc81e264aeb3f78d14c5c934a3c501e3586e851c32718e4cd2be9eaedd58f5f3e2fc5c4664159bb1abec90b065fb907589bde3395a4b62ae89083d8180
6
+ metadata.gz: 67c2f6364699e87103723d7a679e07da03a4b53a6a7b57f43cc2c9bd93b496453d3ebfe4923440df94a7d6c61176308aba164254cbcea386e762864af483034a
7
+ data.tar.gz: c5cbcf7972f063618e66ee9feea61ba80005942cf38cbe9a4735e30cd2a603f623bc25d5bd19b4553cdb21d573f46cac371cbb722aa5fd0e25016e56b3138997
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Saharspec history
2
2
 
3
+ ## 0.0.4 -- 2017-11-07
4
+
5
+ * Update `its_call` description generation, looks better with `rspec --format doc`
6
+
7
+
3
8
  ## 0.0.3 -- 2017-11-06
4
9
 
5
10
  * Introduce new `its`-family addition: `its_call(*args)`
@@ -25,7 +25,7 @@ module Saharspec
25
25
  #
26
26
  def its_call(*args, &block)
27
27
  # rubocop:disable Lint/NestedMethodDefinition
28
- describe('call') do
28
+ describe("(#{args.map(&:inspect).join(', ')})") do
29
29
  let(:__call_subject) do
30
30
  warn 'No need to use its_call without arguments, just it {} will work' if args.empty?
31
31
  -> { subject.call(*args) }
@@ -32,6 +32,7 @@ module Saharspec
32
32
  #
33
33
  def its_map(attribute, *options, &block) # rubocop:disable Metrics/AbcSize, Metrics/MethodLength
34
34
  # rubocop:disable Lint/NestedMethodDefinition
35
+ # TODO: better desciption for different cases
35
36
  describe("map(&:#{attribute})") do
36
37
  let(:__its_map_subject) do
37
38
  if Array === attribute # rubocop:disable Style/CaseEquality
@@ -4,6 +4,6 @@ module Saharspec
4
4
  # @private
5
5
  MINOR = 0
6
6
  # @private
7
- PATCH = 3
7
+ PATCH = 4
8
8
  VERSION = [MAJOR, MINOR, PATCH].join('.')
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saharspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Shepelev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-06 00:00:00.000000000 Z
11
+ date: 2017-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop