state_machines-rspec 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 +4 -4
- data/README.md +3 -2
- data/lib/state_machines-rspec.rb +12 -0
- data/lib/state_machines_rspec.rb +1 -12
- data/lib/state_machines_rspec/version.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e29d42cf05c34dd89a4f9a83cab5cda02896975
|
4
|
+
data.tar.gz: 4accb078af5da5f2f3a3b57e8db1a08407c76403
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfcd917683bff42df889f18a99876d298e11b084184f4ba80ccd93414fd9baa04000e69bb19d074cbbe848aa02576b36dad57ed9ecf8dae8105a02cdfbc69747
|
7
|
+
data.tar.gz: 4f19549dedaf05e44e6e83de7bf8c9a15b9c78cc6ce0f7be519a5de1e1d2f04f0d90a68fcfe8069fb9b7ad68cf209495e904147944e8a143ddbb7757f31be5e7
|
data/README.md
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# state_machines-rspec
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/state_machines-rspec.svg)](https://badge.fury.io/rb/state_machines-rspec)
|
3
|
+
[![Build Status](https://travis-ci.org/state-machines/state_machines-rspec.svg?branch=master)](https://travis-ci.org/state-machines/state_machines-rspec)
|
3
4
|
|
4
5
|
Custom RSpec matchers for [state-machines/state_machine](https://github.com/state-machines/state_machine).
|
5
6
|
|
@@ -53,7 +54,7 @@ Add these lines to your application's Gemfile:
|
|
53
54
|
|
54
55
|
```ruby
|
55
56
|
group :test do
|
56
|
-
gem '
|
57
|
+
gem 'state_machines-rspec'
|
57
58
|
end
|
58
59
|
```
|
59
60
|
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'state_machines_rspec/version'
|
2
|
+
require 'state_machines_rspec/state_machines_introspector'
|
3
|
+
require 'matchers/events/handle_event'
|
4
|
+
require 'matchers/events/reject_event'
|
5
|
+
require 'matchers/states/have_state'
|
6
|
+
require 'matchers/states/reject_state'
|
7
|
+
require 'matchers/transitions/transition_from'
|
8
|
+
|
9
|
+
module StateMachinesRspec
|
10
|
+
module Matchers
|
11
|
+
end
|
12
|
+
end
|
data/lib/state_machines_rspec.rb
CHANGED
@@ -1,12 +1 @@
|
|
1
|
-
|
2
|
-
require 'state_machines_rspec/state_machines_introspector'
|
3
|
-
require 'matchers/events/handle_event'
|
4
|
-
require 'matchers/events/reject_event'
|
5
|
-
require 'matchers/states/have_state'
|
6
|
-
require 'matchers/states/reject_state'
|
7
|
-
require 'matchers/transitions/transition_from'
|
8
|
-
|
9
|
-
module StateMachinesRspec
|
10
|
-
module Matchers
|
11
|
-
end
|
12
|
-
end
|
1
|
+
require_relative 'state_machines-rspec'
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: state_machines-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JohnSmall
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-07-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -190,6 +190,7 @@ files:
|
|
190
190
|
- lib/matchers/states/matcher.rb
|
191
191
|
- lib/matchers/states/reject_state.rb
|
192
192
|
- lib/matchers/transitions/transition_from.rb
|
193
|
+
- lib/state_machines-rspec.rb
|
193
194
|
- lib/state_machines_rspec.rb
|
194
195
|
- lib/state_machines_rspec/state_machines_introspector.rb
|
195
196
|
- lib/state_machines_rspec/version.rb
|