macros4cuke 0.4.05 → 0.4.06

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTQzOWU1OGZlY2EyMjI2NDIxNmZjNTI3NjQ5Y2Q2MWFiN2Y2M2UwZQ==
4
+ ODgyOWE2YmMzMzg4Mzg1OGI2OWJlNzFjZDAxOWZhZWQwYzJjY2EyYg==
5
5
  data.tar.gz: !binary |-
6
- MjNjMThlMjg0ODkxYmE4MmRhNTA3ZDQxOWE5ODNlZDA5YjU3ODFmNA==
6
+ ZDI4MTNlYmVmMzIyMTE1YjcwZDEyYTk3NzFhMTY5OWMwMDgxYWZkZQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NDM1MDVhZWIyNzc2MDg2OGMzZTFhZjY0ZWI1NzdhNWE5NjczNmMxNDdjZDBi
10
- ODdiNmM2ZjViYWU2MmE0MGM2YjE0MTNkNDMyOWMxOWYxYzYyNmYxMjQ1N2U1
11
- Nzg3MmUyYTJmZDMxYjczNDFiOWNiM2MxYmUxZjViYzVkYjkyMzc=
9
+ OWJkOGExZjdjYmNmOWU1Mjg4ZmFmZjM5MTNlZGI1OWM2MGZhZjEwODlkZmI4
10
+ NjQzOWY5MWFkMmM3YzdkZjM5ZTI1ZGU4MGRkNDI2MzBlYzcxNjc5N2EwMDRm
11
+ ZTA4MWY0YjRiMTY5YzJmNGJlYWFkODNkYjg3OTViN2ZhNzE0NzI=
12
12
  data.tar.gz: !binary |-
13
- ODI0MWNkZjhlYWRhOWJiZmRlMDdiN2ExZWIyNTdlZDMyOGYwMTUzOGI2N2Q5
14
- MzEzMWEzZDk2ODk1YTRjZDNiZjA4ODBkMDllMjZiYzM3NWY4YmIxODEyNWRi
15
- N2RiZWFmOTliMDdlMWU0ZDYyMjY2ZDIyM2YyMmJlMzUzODJjZTY=
13
+ OTQ1ZWVhYjAyYzA0Mjc3ODdhZmE5MzcyYzA5ZjVkODNhM2M1OGFlODJkM2I5
14
+ MWY4YjlkNjUzZDlhMWRiNmFjMTlmNGVjYTY0ZmI4NzBkMzJhNjJjYzE4NGU4
15
+ ZGQyN2FiM2JmZjRmNDg0MTQxZTljY2IyZGFlMzNmMmViODdlNzE=
@@ -1,3 +1,7 @@
1
+ ### 0.4.06 / 2014-01-27
2
+ * [FIX] Addressed Rubocop 0.17 complains about bad indentation in some spec files.
3
+
4
+
1
5
  ### 0.4.05 / 2014-01-14
2
6
  * [CHANGE] File `.travis.yml`: Added Ruby MRI 2.1.0 to Travis CI
3
7
  * [CHANGE] File `README.md`: Added sentence explaining where list of macro. defs is placed.
@@ -28,10 +28,10 @@ class TracingWorld
28
28
  # Constructor
29
29
  @trace_steps = []
30
30
  end
31
-
32
- public
31
+
32
+ public
33
+
33
34
  # Write the given text to the error console
34
-
35
35
  def show(someText)
36
36
  $stderr.puts(someText)
37
37
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  module Macros4Cuke # Module used as a namespace
5
5
  # The version number of the gem.
6
- Version = '0.4.05'
6
+ Version = '0.4.06'
7
7
 
8
8
  # Brief description of the gem.
9
9
  Description = 'Macro-steps for Cucumber'
@@ -67,7 +67,7 @@ end # class
67
67
  class ConditionalSection < Section
68
68
  # A boolean that indicates whether the rendition condition is
69
69
  # the existence of a value for the variable (true)
70
- # or its inexistence (false).
70
+ # or its non-existence (false).
71
71
  attr_reader(:existence)
72
72
 
73
73
  # @param aVarName [String] The name of the placeholder from a template.
@@ -55,7 +55,7 @@ describe CollWalkerFactory do
55
55
  end
56
56
 
57
57
  it 'should notify the visit of a first macro step' do
58
- 1.times { subject.next }
58
+ 1.times { subject.next }
59
59
  first_step = subject.next
60
60
  step1 = macro_coll.macro_steps.values[0]
61
61
  expect(first_step).to eq([:on_step, 1, step1])
@@ -129,7 +129,7 @@ SNIPPET
129
129
  phrase = %Q|enter my credentials as "nobody"|
130
130
  msg = "The macro argument 'userid' has value 'nobody' and 'someone'."
131
131
  args = [ %w(userid someone), %w(password no-secret) ]
132
- expect { subject.expand(phrase, args) }.to raise_error(
132
+ expect { subject.expand(phrase, args) }.to raise_error(
133
133
  AmbiguousArgumentValue, msg)
134
134
  end
135
135
 
@@ -14,7 +14,7 @@ module Templating # Open this namespace to get rid of module qualifier prefixes
14
14
  describe Engine do
15
15
  # Sample template (consisting of a sequence of steps)
16
16
  let(:sample_template) do
17
- source = <<-SNIPPET
17
+ source = <<-SNIPPET
18
18
  Given I landed in the homepage
19
19
  And I fill in "Username" with "<userid>"
20
20
  And I fill in "Password" with "<password>"
@@ -26,7 +26,7 @@ SNIPPET
26
26
 
27
27
  # Template containing two conditional sections
28
28
  let(:sophisticated_template) do
29
- source = <<-SNIPPET
29
+ source = <<-SNIPPET
30
30
  When I fill in "firstname" with "<firstname>"
31
31
  And I fill in "lastname" with "<lastname>"
32
32
  # Next line defines a comment
@@ -72,7 +72,7 @@ describe Section do
72
72
 
73
73
  it 'should expect that its subclasses render the children' do
74
74
  error_message = 'Method Section.render must be implemented in subclass.'
75
- expect { subject.send(:render, Object.new, {}) }.to raise_error(
75
+ expect { subject.send(:render, Object.new, {}) }.to raise_error(
76
76
  NotImplementedError, error_message)
77
77
  end
78
78
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: macros4cuke
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.05
4
+ version: 0.4.06
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitri Geshef
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-14 00:00:00.000000000 Z
11
+ date: 2014-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber