cucumber-persona 0.2.0 → 0.2.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
- SHA1:
3
- metadata.gz: b04d033d3ae87bd9768831b27e5dd2147cfa1305
4
- data.tar.gz: 7b413bc87e2111a03612eedb4e3f0d80051ae68c
2
+ SHA256:
3
+ metadata.gz: 07da4369efbe48f49d405f0cd9b3e1da5512ddb79b9174e01d1bd24ac2f2e482
4
+ data.tar.gz: 70acbc4c6cfc9bcb524fe1241ff82a1e6ea5570ce8412cf12de257ae57ab1044
5
5
  SHA512:
6
- metadata.gz: 863ff69b86e4cc9a45151019067974ecd7effd3064e70cba791a1506c0abe55e9d2488fc3f51a630135e4a303859a9f412378e144ebd9e9a28c1f37494e00ad6
7
- data.tar.gz: 83e49cf08a067ec9403c0da66bcf07cf6a2e1ff1a4ce7a94135b105b140ee90e3c2a0691d70e2fdd7e902427f9342041f08796cd31935c03569be8b3af200356
6
+ metadata.gz: '08cb2da14d2423e75eea3e2bdefa44318be06cb7ab0abf5cdc7e9b8df18f08978e989833839e84a3bc288cefd33e54e82fefc612a19da4cc1efdd15af1de5f91'
7
+ data.tar.gz: 7cbd48fd758e9c5ef6df1fb56f7a9f5771fd224a8a9a34e3bb0d5f7dca73e108fcd30274af2d4563f1a89bd36900a3f91dfc6bfca08bfe7b82e479074ad9df82
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Cucumber::Persona
2
2
 
3
- [![Code Climate](https://codeclimate.com/github/starfighterheavy/edward/badges/gpa.svg)](https://codeclimate.com/github/starfighterheavy/edward)
3
+ [![Code Climate](https://codeclimate.com/github/starfighterheavy/cucumber-persona/badges/gpa.svg)](https://codeclimate.com/github/starfighterheavy/cucumber-persona)
4
4
  [![Dependency Status](https://gemnasium.com/starfighterheavy/cucumber-persona.svg)](https://gemnasium.com/starfighterheavy/cucumber-persona)
5
5
  [![Gem Version](https://badge.fury.io/rb/cucumber-persona.svg)](https://badge.fury.io/rb/cucumber-persona)
6
6
 
@@ -40,7 +40,7 @@ Or install it yourself as:
40
40
 
41
41
  ## Usage
42
42
 
43
- In your `feaqtures/support/env.rb` file, add `require 'cucumber/persona'`.
43
+ In your `features/support/env.rb` file, add `require 'cucumber/persona'`.
44
44
 
45
45
  To create your first Persona, create add a `personas` directory to your `features` directory (or wherever you'd like to place it) and create a `.rb` new file, typically named after a Persona, e.g. `han_solo.rb`, or a category of personas, e.g. `customers.rb`, similar to how you would define a model with FactoryGirl. That file will look something like this:
46
46
 
@@ -3,7 +3,7 @@ require "cucumber/persona/version"
3
3
  module Cucumber
4
4
  module Persona
5
5
  def self.find(name)
6
- @personas ||= []
6
+ @personas ||= {}
7
7
  @personas[name] || (raise "No persona found for #{name}")
8
8
  end
9
9
 
@@ -1,5 +1,5 @@
1
1
  module Cucumber
2
2
  module Persona
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-persona
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Kirst
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-29 00:00:00.000000000 Z
11
+ date: 2019-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  requirements: []
108
108
  rubyforge_project:
109
- rubygems_version: 2.5.2
109
+ rubygems_version: 2.7.6
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Easily create data models for use in testing and development.