rubypitaya 2.13.0 → 2.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cad906ad9159e4045b1ab90fd56ecb0985b6cc9e2478e8bfe63437967b223e4
4
- data.tar.gz: a6d0684ac9693ad3336c7f45cac5acf6fdb79928abb0109d45538a168b004c21
3
+ metadata.gz: 23cbb5624cec3786159c06572086f1f543a4c60a1bfb540dfbe6a9ecd28be26f
4
+ data.tar.gz: bd430972699c7a6f8032a1eafc3ffb5d88a56990bff07620b2fddf056547f77b
5
5
  SHA512:
6
- metadata.gz: 4e5278e4d406a0a2fcfe6e5d29be2808c3f27a054d87e0b4fd5c3f6220ce3b454089b887954075f7f9109f24a3bdd127b90f8507e3851a0004767b84362cb0cf
7
- data.tar.gz: da4c6fd074fa1c9a9e696bb192cb4c14a05649e107cfc652ce21c3e9205087017ac8d0ffbef8c119c6388ed89c9b290ac11b161e5c9d9992953025b10da589e7
6
+ metadata.gz: d5bf9fc6df781955870cf20b5deab4b49a9f2af2dec32bbdcb6edd75eb6f56a8ea540d6ffdf4b08f487ccefe07818ee9d629deefe58fdb24d361cf44f75ba62b
7
+ data.tar.gz: ece5993c58ade235c4804dfa542e64b8a98c0774aa23187b07eca2102434780e3f80c5a1fc3fe4a093c8020949a09aebde1558d85d430d32a72ac066eed30e7d
@@ -1,6 +1,6 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem 'rubypitaya', '2.13.0'
3
+ gem 'rubypitaya', '2.13.1'
4
4
 
5
5
  group :development do
6
6
  gem 'pry', '0.12.2'
@@ -84,7 +84,7 @@ GEM
84
84
  rspec-support (~> 3.8.0)
85
85
  rspec-support (3.8.3)
86
86
  ruby2_keywords (0.0.2)
87
- rubypitaya (2.13.0)
87
+ rubypitaya (2.13.1)
88
88
  activerecord (= 6.0.2)
89
89
  etcdv3 (= 0.10.2)
90
90
  eventmachine (= 1.2.7)
@@ -123,7 +123,7 @@ DEPENDENCIES
123
123
  listen (= 3.2.1)
124
124
  pry (= 0.12.2)
125
125
  rspec (= 3.8.0)
126
- rubypitaya (= 2.13.0)
126
+ rubypitaya (= 2.13.1)
127
127
 
128
128
  BUNDLED WITH
129
129
  1.17.2
@@ -38,6 +38,16 @@ Given(/^(?:[Nn]ow\s)?[Tt]oday is ["'](.+)["']$/) do |date_text|
38
38
  Time.stub(:now).and_return(time_now)
39
39
  end
40
40
 
41
+ Given(/^[Tt]he [Uu]ser ["'](.+)["'] is authenticated$/) do |user_id|
42
+ @handler_helper.authenticate(user_id)
43
+ end
44
+
45
+ Given(/^[Tt]he following [Uu]ser[s]*[:]*$/) do |table|
46
+ table.hashes.each do |table_hash|
47
+ User.create(id: table_hash[:user_id])
48
+ end
49
+ end
50
+
41
51
  Before do
42
52
  ActiveRecord::Base.descendants.each { |c| c.delete_all unless c == ActiveRecord::SchemaMigration }
43
53
  @handler_helper = RubyPitaya::HandlerSpecHelperClass.new('cucumber')
@@ -1,3 +1,3 @@
1
1
  module RubyPitaya
2
- VERSION = '2.13.0'
2
+ VERSION = '2.13.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubypitaya
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.0
4
+ version: 2.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luciano Prestes Cavalcanti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-08 00:00:00.000000000 Z
11
+ date: 2021-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg