rspec-example_steps 3.1.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b8172abd39b0b7013b32df9b0975101cf9f40928b02b3be3a88e4abbcbe3b4f2
4
- data.tar.gz: d69aa231297cefa1b45ee6fbbe7bbccc16572117f9bf066f20ad3eed50aaedd1
3
+ metadata.gz: 40d89f80fb35aef9cfb8ce1d297837dd5f2e098510a46755f44d45319deba587
4
+ data.tar.gz: f2c855602e8d63359ae33d858dd46dd95b0141a0084e3ab4914dc75d30092ab3
5
5
  SHA512:
6
- metadata.gz: 7dc7552ba3b6cc78140942dec817cb323a5721ebf920e344b9f61405bd4ea6e99e380ca4e68665a56a1a9672446150482790f60437d20efc5fe31b9a46c6829b
7
- data.tar.gz: a06829b9fb3749a89c50abbd335f13ba3c7c1ff0d555a7bbc78aa980e43fc5cd81d50340fc1f3b0d4cde820636873a69d83b4384d5b65a8dcfbb9ab75335c542
6
+ metadata.gz: bed8ec04b2ef510309947ff90d237f155f11689a78c49cdaa4f5bee4501e4e1db1409b6c550260cca62c0f4dccfcd3b52ce07e4c863ed7f9ab18f430e068d154
7
+ data.tar.gz: a89bc4a8f02b55613a19a7821f6dabf8ed1d85209f6c2dea239add358a7bb50da357218e6c649ab69c8de2155ce4f8148bd0300e8d2debaff01b2bc3a68fa1c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.1.1
4
+
5
+ * Remove missing stuff of shared_steps feature
6
+
3
7
  ## 3.1.0
4
8
 
5
- * Removed shared_steps feature
9
+ * Remove shared_steps feature
@@ -4,18 +4,15 @@ require 'rspec/core/formatters/console_codes'
4
4
  require 'rspec/core/formatters/documentation_formatter'
5
5
  require 'rspec/core/example_group'
6
6
  require 'rspec/core/reporter'
7
- require 'rspec/core/world'
8
7
 
9
8
  require 'rspec/example_steps/documentation_formatter'
10
9
  require 'rspec/example_steps/example_group'
11
10
  require 'rspec/example_steps/notification'
12
11
  require 'rspec/example_steps/reporter'
13
- require 'rspec/example_steps/world'
14
12
 
15
13
  RSpec::Core::Formatters::DocumentationFormatter.send :include, RSpec::ExampleSteps::DocumentationFormatter
16
14
  RSpec::Core::ExampleGroup.send :include, RSpec::ExampleSteps::ExampleGroup
17
15
  RSpec::Core::Reporter.send :include, RSpec::ExampleSteps::Reporter
18
- RSpec::Core::World.send :include, RSpec::ExampleSteps::World
19
16
 
20
17
  RSpec::Core::ExampleGroup.define_example_method :Steps, with_steps: true
21
18
 
@@ -1,13 +1,6 @@
1
1
  module RSpec
2
2
  module ExampleSteps
3
3
  module ExampleGroup
4
- def include_steps(*args)
5
- name = args.shift
6
- shared_block = RSpec.world.shared_example_steps[name]
7
- shared_block or raise ArgumentError, "Could not find shared steps #{name.inspect}"
8
- instance_exec(*args, &shared_block)
9
- end
10
-
11
4
  def Given(message, options = {}, &block)
12
5
  RSpec.world.reporter.process_example_step(self, :given, message, options, &block)
13
6
  end
@@ -27,7 +20,6 @@ module RSpec
27
20
  def But(message, options = {}, &block)
28
21
  RSpec.world.reporter.process_example_step(self, :but, message, options, &block)
29
22
  end
30
-
31
23
  end
32
24
  end
33
25
  end
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'rspec-example_steps'
6
- s.version = '3.1.0'
6
+ s.version = '3.1.1'
7
7
  s.authors = ['Andriy Yanko']
8
8
  s.email = ['andriy.yanko@gmail.com']
9
9
  s.homepage = 'https://github.com/railsware/rspec-example_steps'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-example_steps
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andriy Yanko
@@ -42,7 +42,6 @@ files:
42
42
  - lib/rspec/example_steps/example_group.rb
43
43
  - lib/rspec/example_steps/notification.rb
44
44
  - lib/rspec/example_steps/reporter.rb
45
- - lib/rspec/example_steps/world.rb
46
45
  - rspec-example_steps.gemspec
47
46
  - spec/example_steps_spec.rb
48
47
  - spec/regression_spec.rb
@@ -1,9 +0,0 @@
1
- module RSpec
2
- module ExampleSteps
3
- module World
4
- def shared_example_steps
5
- @shared_example_steps ||= {}
6
- end
7
- end
8
- end
9
- end