screengem 0.4.0 → 0.5.0

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: f02d39c76804aaa3f566dec16b10dc343444c547cc4aa9d809e9ad5de1f78e56
4
- data.tar.gz: 58073c450f813901633963b05408992085eb052722001c44fb2f95c52715bbfd
3
+ metadata.gz: 6a7a41493a4ca0a4c15e7d1ce8a7b41d6a4e5423805c1e004ec6361d4f45b013
4
+ data.tar.gz: a7f886c5fdf86ab72a8901758db18bdc79ec3fa88fe70bb3c248511d99caf9e8
5
5
  SHA512:
6
- metadata.gz: f7f94ccef0e664c4f61ffa859ecee1043080f69ad0eb1fb437ba8b5bca4379170143a2d0e62e6a04f1d23acd9fef79e82a2db51bccd44a0f6635b02c9369a8ea
7
- data.tar.gz: 6e0d8aa3e48eead2f841ec00e22c3cf0dfa4c22d2d42ce531078f7e36482b31b7cafdec977be744cf926c944fab98770f8f20207f0dcaa4c8bba0ba3d02d71a2
6
+ metadata.gz: f5e5a0c2c42e38c9f6c159f21812d4e68796321184ab384cc9029c433c977644883170a497ad18a640963829c33f662fc3d58004f139f10096bee45d1d97c312
7
+ data.tar.gz: 382df31c4b6345a36f40ad36400b86ce1252379618fc3f5d140060072aea12ca63d3f3934e55f6933e7e240b1b05200adb9ad4965e18b645e60dc0be17543282
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 0.5.0 (2019-03-28)
6
+
7
+ ### New Features
8
+
9
+ * [RSpec Expectations](https://github.com/rspec/rspec-expectations) are available in all primitives: actions, questions, and tasks.
10
+
5
11
  ## 0.4.0 (2019-03-18)
6
12
 
7
13
  ### New Features
data/README.md CHANGED
@@ -20,7 +20,7 @@ end
20
20
  ## Core Domain Model
21
21
 
22
22
  An Actor asks questions and performs tasks.
23
- An Actor is able to remember and recall things.
23
+ An Actor is able to remember and recall key-value pairs.
24
24
 
25
25
  A Question responds to answer.
26
26
 
@@ -3,6 +3,8 @@ module Screengem
3
3
  # Base class for all actions.
4
4
  #
5
5
  class Action
6
+ include RSpec::Matchers
7
+
6
8
  include Screengem::Configurable
7
9
  include Screengem::Executable
8
10
  end
@@ -3,6 +3,8 @@ module Screengem
3
3
  # Base class for all questions.
4
4
  #
5
5
  class Question
6
+ include RSpec::Matchers
7
+
6
8
  include Screengem::Configurable
7
9
  include Screengem::Dampenable
8
10
  include Screengem::Executable
@@ -3,6 +3,8 @@ module Screengem
3
3
  # Base class for all tasks.
4
4
  #
5
5
  class Task
6
+ include RSpec::Matchers
7
+
6
8
  include Screengem::Actionable
7
9
  include Screengem::Configurable
8
10
  include Screengem::Dampenable
@@ -1,3 +1,3 @@
1
1
  module Screengem
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
data/lib/screengem.rb CHANGED
@@ -5,6 +5,7 @@ require "active_support"
5
5
  require "active_support/core_ext"
6
6
 
7
7
  require "capybara/dsl"
8
+ require "rspec/expectations"
8
9
 
9
10
  require "screengem/incorrect_answer"
10
11
  require "screengem/screen_element"
data/screengem.gemspec CHANGED
@@ -31,6 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.add_runtime_dependency "activesupport", ">= 4.2", "< 6.0"
32
32
  spec.add_runtime_dependency "capybara", ">= 2.18", "< 4.0"
33
33
  spec.add_runtime_dependency "require_all", "~> 2.0"
34
+ spec.add_runtime_dependency "rspec-expectations", "~> 3.8"
34
35
  spec.add_runtime_dependency "thor", "~> 0.20"
35
36
 
36
37
  spec.add_development_dependency "rake", "~> 12.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: screengem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alistair McKinnell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-03-18 00:00:00.000000000 Z
11
+ date: 2019-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -64,6 +64,20 @@ dependencies:
64
64
  - - "~>"
65
65
  - !ruby/object:Gem::Version
66
66
  version: '2.0'
67
+ - !ruby/object:Gem::Dependency
68
+ name: rspec-expectations
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '3.8'
74
+ type: :runtime
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: '3.8'
67
81
  - !ruby/object:Gem::Dependency
68
82
  name: thor
69
83
  requirement: !ruby/object:Gem::Requirement