bbq 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +0 -5
- data/Gemfile +5 -3
- data/bbq.gemspec +8 -9
- data/lib/bbq.rb +7 -8
- data/lib/bbq/roles.rb +2 -9
- data/lib/bbq/session.rb +3 -58
- data/lib/bbq/test_client.rb +2 -92
- data/lib/bbq/test_unit.rb +3 -5
- data/lib/bbq/test_user.rb +2 -30
- data/lib/bbq/version.rb +1 -1
- metadata +51 -177
- data/lib/bbq/devise.rb +0 -57
- data/lib/bbq/rails/routes.rb +0 -13
- data/lib/bbq/railtie.rb +0 -19
- data/lib/bbq/rspec.rb +0 -97
- data/lib/bbq/test_user/capybara_dsl.rb +0 -15
- data/lib/bbq/test_user/eyes.rb +0 -13
- data/lib/bbq/test_user/within.rb +0 -31
- data/lib/bbq/util.rb +0 -19
- data/lib/generators/bbq/install_generator.rb +0 -7
- data/lib/generators/bbq/test_generator.rb +0 -7
- data/lib/generators/rspec/bbq_install_generator.rb +0 -18
- data/lib/generators/rspec/bbq_test_generator.rb +0 -9
- data/lib/generators/rspec/templates/README +0 -5
- data/lib/generators/rspec/templates/bbq_spec.rb +0 -7
- data/lib/generators/rspec/templates/test_user.rb +0 -5
- data/lib/generators/test_unit/bbq_install_generator.rb +0 -18
- data/lib/generators/test_unit/bbq_test_generator.rb +0 -9
- data/lib/generators/test_unit/templates/README +0 -9
- data/lib/generators/test_unit/templates/bbq_test_case.rb +0 -7
- data/lib/generators/test_unit/templates/test_user.rb +0 -5
- data/lib/tasks/bbq.rake +0 -15
- data/test/dope/app.rb +0 -19
- data/test/dummy/Rakefile +0 -7
- data/test/dummy/app/controllers/application_controller.rb +0 -3
- data/test/dummy/app/controllers/home_controller.rb +0 -29
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/models/user.rb +0 -6
- data/test/dummy/app/views/home/ponycorns.html.erb +0 -13
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/config.ru +0 -4
- data/test/dummy/config/application.rb +0 -46
- data/test/dummy/config/boot.rb +0 -10
- data/test/dummy/config/database.yml +0 -3
- data/test/dummy/config/environment.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -26
- data/test/dummy/config/environments/production.rb +0 -49
- data/test/dummy/config/environments/test.rb +0 -35
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/devise.rb +0 -194
- data/test/dummy/config/initializers/inflections.rb +0 -10
- data/test/dummy/config/initializers/mime_types.rb +0 -5
- data/test/dummy/config/initializers/secret_token.rb +0 -7
- data/test/dummy/config/initializers/session_store.rb +0 -8
- data/test/dummy/config/locales/en.yml +0 -5
- data/test/dummy/config/routes.rb +0 -9
- data/test/dummy/db/schema.rb +0 -19
- data/test/dummy/public/404.html +0 -26
- data/test/dummy/public/422.html +0 -26
- data/test/dummy/public/500.html +0 -26
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +0 -6
- data/test/dummy/spec/spec_helper.rb +0 -10
- data/test/dummy/test/test_helper.rb +0 -2
- data/test/support/driver_factory.rb +0 -49
- data/test/support/helpers.rb +0 -14
- data/test/test_helper.rb +0 -22
- data/test/unit/bbq_devise_test.rb +0 -39
- data/test/unit/bbq_install_generator_test.rb +0 -35
- data/test/unit/bbq_rspec_test.rb +0 -223
- data/test/unit/bbq_session_pool_test.rb +0 -42
- data/test/unit/bbq_test_client_test.rb +0 -28
- data/test/unit/bbq_test_generator_test.rb +0 -23
- data/test/unit/bbq_test_unit_test.rb +0 -252
- data/test/unit/bbq_test_user_test.rb +0 -74
- data/test/unit/bbq_two_simultaneous_users_test.rb +0 -55
- data/test/unit/bbq_util_test.rb +0 -40
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 361e6c2bba32700609a6830a792b3a74b02b7cad364ada58f1e00cb36822e422
|
4
|
+
data.tar.gz: 55a70d7cdcec8b914834da2175364d311d57c9dec7bb065e8ab44c832f5414e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b98959f7f5dbf9822b8f1e9acb3c53b4c342c6d5687d40144b4788af7cf5839701f7496077e0a414ee597f30fbd469ff6f6599a2fa6f7b8d735b9dd1cf5565d6
|
7
|
+
data.tar.gz: e810638e9f372014680726dc602ea3ac7473e14279f47d31cdb69653d31c9c7345a653e5ce59650435ac8fcf15c93ad38f0124b877da0581b83ef0c129296f07
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -1,5 +1,7 @@
|
|
1
|
-
source "
|
1
|
+
source "https://rubygems.org"
|
2
2
|
|
3
3
|
gemspec
|
4
|
-
|
5
|
-
gem
|
4
|
+
gem 'bbq-core', github: 'drugpl/bbq-core'
|
5
|
+
gem 'bbq-rails', github: 'drugpl/bbq-rails'
|
6
|
+
gem 'bbq-rspec', github: 'drugpl/bbq-rspec'
|
7
|
+
gem 'bbq-devise', github: 'drugpl/bbq-devise'
|
data/bbq.gemspec
CHANGED
@@ -19,14 +19,13 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
s.add_dependency "
|
23
|
-
s.add_dependency "
|
22
|
+
s.add_dependency "bbq-core" , "= 0.3.0"
|
23
|
+
s.add_dependency "bbq-rspec", "= 0.3.0"
|
24
|
+
s.add_dependency "bbq-rails", "= 0.3.0"
|
25
|
+
s.add_dependency "bbq-devise", "= 0.3.0"
|
26
|
+
s.add_dependency "activesupport", ">= 2.0"
|
24
27
|
|
25
|
-
s.add_development_dependency "
|
26
|
-
s.add_development_dependency "
|
27
|
-
s.add_development_dependency "
|
28
|
-
s.add_development_dependency "devise", ">= 1.4.0"
|
29
|
-
s.add_development_dependency "sinatra", ">= 1.2.6"
|
30
|
-
s.add_development_dependency "rspec-rails", "~> 2.6"
|
31
|
-
s.add_development_dependency "rails", "~> 3.0"
|
28
|
+
s.add_development_dependency "bundler", "~> 1.7"
|
29
|
+
s.add_development_dependency "rake", "~> 10.0"
|
30
|
+
s.add_development_dependency "minitest", "~> 5.0"
|
32
31
|
end
|
data/lib/bbq.rb
CHANGED
@@ -1,17 +1,16 @@
|
|
1
|
-
require '
|
1
|
+
require 'bbq/core'
|
2
|
+
require 'bbq/rails' if defined?(::Rails)
|
2
3
|
|
3
4
|
module Bbq
|
4
5
|
class << self
|
5
|
-
|
6
|
-
|
6
|
+
|
7
|
+
def app
|
8
|
+
Bbb::Core.app
|
7
9
|
end
|
8
10
|
|
9
|
-
def
|
10
|
-
|
11
|
+
def app=(value)
|
12
|
+
Bbq::Core.app = value
|
11
13
|
end
|
12
14
|
|
13
|
-
attr_accessor :app
|
14
15
|
end
|
15
16
|
end
|
16
|
-
|
17
|
-
require 'bbq/railtie' if Bbq.rails?
|
data/lib/bbq/roles.rb
CHANGED
data/lib/bbq/session.rb
CHANGED
@@ -1,60 +1,5 @@
|
|
1
|
-
|
2
|
-
module Session
|
3
|
-
extend self
|
4
|
-
|
5
|
-
def next(options = {})
|
6
|
-
driver = options.delete(:driver)
|
7
|
-
pool = options.delete(:pool)
|
8
|
-
|
9
|
-
if pool
|
10
|
-
pool.next(driver)
|
11
|
-
else
|
12
|
-
create(driver)
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
def create(driver)
|
17
|
-
Capybara::Session.new(driver, Bbq.app)
|
18
|
-
end
|
19
|
-
|
20
|
-
def pool
|
21
|
-
@pool ||= Pool.new
|
22
|
-
end
|
23
|
-
|
24
|
-
class Pool
|
25
|
-
attr_accessor :idle, :taken
|
1
|
+
require 'bbq/core/session'
|
26
2
|
|
27
|
-
|
28
|
-
|
29
|
-
@taken = []
|
30
|
-
end
|
31
|
-
|
32
|
-
def next(driver)
|
33
|
-
take_idle(driver) || create(driver)
|
34
|
-
end
|
35
|
-
|
36
|
-
def release
|
37
|
-
taken.each(&:reset!)
|
38
|
-
idle.concat(taken)
|
39
|
-
taken.clear
|
40
|
-
end
|
41
|
-
|
42
|
-
private
|
43
|
-
|
44
|
-
def take_idle(driver)
|
45
|
-
idle.find { |s| s.mode == driver }.tap do |session|
|
46
|
-
if session
|
47
|
-
idle.delete(session)
|
48
|
-
taken.push(session)
|
49
|
-
end
|
50
|
-
end
|
51
|
-
end
|
52
|
-
|
53
|
-
def create(driver)
|
54
|
-
Bbq::Session.create(driver).tap do |session|
|
55
|
-
taken.push(session)
|
56
|
-
end
|
57
|
-
end
|
58
|
-
end
|
59
|
-
end
|
3
|
+
module Bbq
|
4
|
+
Session = ::Bbq::Core::Session
|
60
5
|
end
|
data/lib/bbq/test_client.rb
CHANGED
@@ -1,95 +1,5 @@
|
|
1
|
-
require 'bbq/
|
1
|
+
require 'bbq/core/test_client'
|
2
2
|
|
3
3
|
module Bbq
|
4
|
-
|
5
|
-
class UnsupportedMethodError < StandardError; end
|
6
|
-
|
7
|
-
include Bbq::Roles
|
8
|
-
|
9
|
-
def initialize(options = {})
|
10
|
-
@options = options
|
11
|
-
end
|
12
|
-
|
13
|
-
HTTP_METHODS = %w(get post put delete head options patch)
|
14
|
-
|
15
|
-
HTTP_METHODS.each do |method|
|
16
|
-
class_eval <<-RUBY
|
17
|
-
def #{method}(path, params = {}, headers = {})
|
18
|
-
unless driver.respond_to? :#{method}
|
19
|
-
raise UnsupportedMethodError, "Your driver does not support #{method.upcase} method"
|
20
|
-
end
|
21
|
-
|
22
|
-
response = driver.#{method}(path, params, default_headers.merge(headers))
|
23
|
-
parsed_response = parse_response(response)
|
24
|
-
yield parsed_response if block_given?
|
25
|
-
parsed_response
|
26
|
-
end
|
27
|
-
RUBY
|
28
|
-
end
|
29
|
-
|
30
|
-
protected
|
31
|
-
def app
|
32
|
-
@options[:app] || Bbq.app
|
33
|
-
end
|
34
|
-
|
35
|
-
def default_headers
|
36
|
-
@options[:headers] || {}
|
37
|
-
end
|
38
|
-
|
39
|
-
def driver
|
40
|
-
@driver ||= RackTest.new(app)
|
41
|
-
end
|
42
|
-
|
43
|
-
def parse_response(response)
|
44
|
-
case response.headers["Content-Type"]
|
45
|
-
when /^application\/(.*\+)?json/
|
46
|
-
response.extend(JsonBody)
|
47
|
-
when /^application\/(.*\+)?x-yaml/
|
48
|
-
response.extend(YamlBody)
|
49
|
-
else
|
50
|
-
response
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
|
-
class RackTest
|
55
|
-
attr_accessor :app
|
56
|
-
|
57
|
-
def initialize(app)
|
58
|
-
self.app = app
|
59
|
-
end
|
60
|
-
|
61
|
-
module ConvertHeaders
|
62
|
-
HTTP_METHODS.each do |method|
|
63
|
-
class_eval <<-RUBY
|
64
|
-
def #{method}(path, params = {}, headers = {})
|
65
|
-
super(path, params, to_env_headers(headers))
|
66
|
-
end
|
67
|
-
RUBY
|
68
|
-
end
|
69
|
-
|
70
|
-
def to_env_headers(http_headers)
|
71
|
-
http_headers.map do |k, v|
|
72
|
-
k = k.upcase.gsub("-", "_")
|
73
|
-
k = "HTTP_#{k}" unless ["CONTENT_TYPE", "CONTENT_LENGTH"].include?(k)
|
74
|
-
{ k => v }
|
75
|
-
end.inject({}, :merge)
|
76
|
-
end
|
77
|
-
end
|
78
|
-
|
79
|
-
include Rack::Test::Methods
|
80
|
-
include ConvertHeaders
|
81
|
-
end
|
82
|
-
|
83
|
-
module JsonBody
|
84
|
-
def body
|
85
|
-
@parsed_body ||= super.empty?? super : JSON.parse(super)
|
86
|
-
end
|
87
|
-
end
|
88
|
-
|
89
|
-
module YamlBody
|
90
|
-
def body
|
91
|
-
@parsed_body ||= YAML.load(super)
|
92
|
-
end
|
93
|
-
end
|
94
|
-
end
|
4
|
+
TestClient = ::Bbq::Core::TestClient
|
95
5
|
end
|
data/lib/bbq/test_unit.rb
CHANGED
@@ -1,8 +1,7 @@
|
|
1
|
-
require 'bbq'
|
2
|
-
require 'bbq/session'
|
3
|
-
require 'active_support/test_case'
|
1
|
+
require 'bbq/core/session'
|
4
2
|
require 'test/unit'
|
5
3
|
require 'test/unit/assertions'
|
4
|
+
require 'active_support/test_case'
|
6
5
|
|
7
6
|
module Bbq
|
8
7
|
class TestCase < ActiveSupport::TestCase
|
@@ -14,11 +13,10 @@ module Bbq
|
|
14
13
|
alias :background :setup
|
15
14
|
|
16
15
|
teardown do
|
17
|
-
Bbq::Session.pool.release
|
16
|
+
Bbq::Core::Session.pool.release
|
18
17
|
end
|
19
18
|
end
|
20
19
|
|
21
|
-
# test/unit specific methods for test_user
|
22
20
|
class TestUser
|
23
21
|
include Test::Unit::Assertions
|
24
22
|
|
data/lib/bbq/test_user.rb
CHANGED
@@ -1,33 +1,5 @@
|
|
1
|
-
require 'bbq'
|
2
|
-
require 'capybara/rails' if Bbq.rails?
|
3
|
-
require 'bbq/session'
|
4
|
-
require 'bbq/roles'
|
5
|
-
require 'bbq/test_user/capybara_dsl'
|
6
|
-
require 'bbq/test_user/eyes'
|
7
|
-
require 'bbq/test_user/within'
|
1
|
+
require 'bbq/core/test_user'
|
8
2
|
|
9
3
|
module Bbq
|
10
|
-
|
11
|
-
include Bbq::TestUser::CapybaraDsl
|
12
|
-
include Bbq::TestUser::Eyes
|
13
|
-
include Bbq::TestUser::Within
|
14
|
-
include Bbq::Roles
|
15
|
-
|
16
|
-
attr_reader :options
|
17
|
-
|
18
|
-
def initialize(options = {})
|
19
|
-
@options = default_options.merge(options)
|
20
|
-
end
|
21
|
-
|
22
|
-
def default_options
|
23
|
-
{
|
24
|
-
:pool => Bbq::Session.pool,
|
25
|
-
:driver => ::Capybara.default_driver
|
26
|
-
}
|
27
|
-
end
|
28
|
-
|
29
|
-
def page
|
30
|
-
@page ||= options[:session] || Bbq::Session.next(:driver => options[:driver], :pool => options[:pool])
|
31
|
-
end
|
32
|
-
end
|
4
|
+
TestUser = ::Bbq::Core::TestUser
|
33
5
|
end
|
data/lib/bbq/version.rb
CHANGED
metadata
CHANGED
@@ -1,141 +1,127 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bbq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DRUG - Dolnośląska Grupa Użytkowników Ruby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: bbq-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.3.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.3.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: bbq-rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - '
|
31
|
+
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.3.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - '
|
38
|
+
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.3.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: bbq-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - '
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
type: :
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - '>='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: sqlite3
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 1.3.3
|
62
|
-
type: :development
|
47
|
+
version: 0.3.0
|
48
|
+
type: :runtime
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
|
-
- -
|
52
|
+
- - '='
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
54
|
+
version: 0.3.0
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
56
|
+
name: bbq-devise
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
|
-
- -
|
59
|
+
- - '='
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
76
|
-
type: :
|
61
|
+
version: 0.3.0
|
62
|
+
type: :runtime
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
|
-
- -
|
66
|
+
- - '='
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
68
|
+
version: 0.3.0
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
70
|
+
name: activesupport
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
|
-
- -
|
73
|
+
- - ">="
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
90
|
-
type: :
|
75
|
+
version: '2.0'
|
76
|
+
type: :runtime
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
|
-
- -
|
80
|
+
- - ">="
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
82
|
+
version: '2.0'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
84
|
+
name: bundler
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
|
-
- -
|
87
|
+
- - "~>"
|
102
88
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.
|
89
|
+
version: '1.7'
|
104
90
|
type: :development
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
|
-
- -
|
94
|
+
- - "~>"
|
109
95
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.
|
96
|
+
version: '1.7'
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
98
|
+
name: rake
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
|
-
- - ~>
|
101
|
+
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
103
|
+
version: '10.0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
|
-
- - ~>
|
108
|
+
- - "~>"
|
123
109
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
110
|
+
version: '10.0'
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
112
|
+
name: minitest
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
128
114
|
requirements:
|
129
|
-
- - ~>
|
115
|
+
- - "~>"
|
130
116
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
117
|
+
version: '5.0'
|
132
118
|
type: :development
|
133
119
|
prerelease: false
|
134
120
|
version_requirements: !ruby/object:Gem::Requirement
|
135
121
|
requirements:
|
136
|
-
- - ~>
|
122
|
+
- - "~>"
|
137
123
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
124
|
+
version: '5.0'
|
139
125
|
description: Objected oriented acceptance testing for Rails, using personas.
|
140
126
|
email:
|
141
127
|
- bbq@drug.org.pl
|
@@ -143,8 +129,8 @@ executables: []
|
|
143
129
|
extensions: []
|
144
130
|
extra_rdoc_files: []
|
145
131
|
files:
|
146
|
-
- .gitignore
|
147
|
-
- .travis.yml
|
132
|
+
- ".gitignore"
|
133
|
+
- ".travis.yml"
|
148
134
|
- CHANGELOG
|
149
135
|
- Gemfile
|
150
136
|
- MIT-LICENSE
|
@@ -152,79 +138,13 @@ files:
|
|
152
138
|
- Rakefile
|
153
139
|
- bbq.gemspec
|
154
140
|
- lib/bbq.rb
|
155
|
-
- lib/bbq/devise.rb
|
156
|
-
- lib/bbq/rails/routes.rb
|
157
|
-
- lib/bbq/railtie.rb
|
158
141
|
- lib/bbq/roles.rb
|
159
|
-
- lib/bbq/rspec.rb
|
160
142
|
- lib/bbq/session.rb
|
161
143
|
- lib/bbq/test.rb
|
162
144
|
- lib/bbq/test_client.rb
|
163
145
|
- lib/bbq/test_unit.rb
|
164
146
|
- lib/bbq/test_user.rb
|
165
|
-
- lib/bbq/test_user/capybara_dsl.rb
|
166
|
-
- lib/bbq/test_user/eyes.rb
|
167
|
-
- lib/bbq/test_user/within.rb
|
168
|
-
- lib/bbq/util.rb
|
169
147
|
- lib/bbq/version.rb
|
170
|
-
- lib/generators/bbq/install_generator.rb
|
171
|
-
- lib/generators/bbq/test_generator.rb
|
172
|
-
- lib/generators/rspec/bbq_install_generator.rb
|
173
|
-
- lib/generators/rspec/bbq_test_generator.rb
|
174
|
-
- lib/generators/rspec/templates/README
|
175
|
-
- lib/generators/rspec/templates/bbq_spec.rb
|
176
|
-
- lib/generators/rspec/templates/test_user.rb
|
177
|
-
- lib/generators/test_unit/bbq_install_generator.rb
|
178
|
-
- lib/generators/test_unit/bbq_test_generator.rb
|
179
|
-
- lib/generators/test_unit/templates/README
|
180
|
-
- lib/generators/test_unit/templates/bbq_test_case.rb
|
181
|
-
- lib/generators/test_unit/templates/test_user.rb
|
182
|
-
- lib/tasks/bbq.rake
|
183
|
-
- test/dope/app.rb
|
184
|
-
- test/dummy/Rakefile
|
185
|
-
- test/dummy/app/controllers/application_controller.rb
|
186
|
-
- test/dummy/app/controllers/home_controller.rb
|
187
|
-
- test/dummy/app/helpers/application_helper.rb
|
188
|
-
- test/dummy/app/models/user.rb
|
189
|
-
- test/dummy/app/views/home/ponycorns.html.erb
|
190
|
-
- test/dummy/app/views/layouts/application.html.erb
|
191
|
-
- test/dummy/config.ru
|
192
|
-
- test/dummy/config/application.rb
|
193
|
-
- test/dummy/config/boot.rb
|
194
|
-
- test/dummy/config/database.yml
|
195
|
-
- test/dummy/config/environment.rb
|
196
|
-
- test/dummy/config/environments/development.rb
|
197
|
-
- test/dummy/config/environments/production.rb
|
198
|
-
- test/dummy/config/environments/test.rb
|
199
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
200
|
-
- test/dummy/config/initializers/devise.rb
|
201
|
-
- test/dummy/config/initializers/inflections.rb
|
202
|
-
- test/dummy/config/initializers/mime_types.rb
|
203
|
-
- test/dummy/config/initializers/secret_token.rb
|
204
|
-
- test/dummy/config/initializers/session_store.rb
|
205
|
-
- test/dummy/config/locales/en.yml
|
206
|
-
- test/dummy/config/routes.rb
|
207
|
-
- test/dummy/db/schema.rb
|
208
|
-
- test/dummy/public/404.html
|
209
|
-
- test/dummy/public/422.html
|
210
|
-
- test/dummy/public/500.html
|
211
|
-
- test/dummy/public/favicon.ico
|
212
|
-
- test/dummy/script/rails
|
213
|
-
- test/dummy/spec/spec_helper.rb
|
214
|
-
- test/dummy/test/test_helper.rb
|
215
|
-
- test/support/driver_factory.rb
|
216
|
-
- test/support/helpers.rb
|
217
|
-
- test/test_helper.rb
|
218
|
-
- test/unit/bbq_devise_test.rb
|
219
|
-
- test/unit/bbq_install_generator_test.rb
|
220
|
-
- test/unit/bbq_rspec_test.rb
|
221
|
-
- test/unit/bbq_session_pool_test.rb
|
222
|
-
- test/unit/bbq_test_client_test.rb
|
223
|
-
- test/unit/bbq_test_generator_test.rb
|
224
|
-
- test/unit/bbq_test_unit_test.rb
|
225
|
-
- test/unit/bbq_test_user_test.rb
|
226
|
-
- test/unit/bbq_two_simultaneous_users_test.rb
|
227
|
-
- test/unit/bbq_util_test.rb
|
228
148
|
homepage: ''
|
229
149
|
licenses: []
|
230
150
|
metadata: {}
|
@@ -234,63 +154,17 @@ require_paths:
|
|
234
154
|
- lib
|
235
155
|
required_ruby_version: !ruby/object:Gem::Requirement
|
236
156
|
requirements:
|
237
|
-
- -
|
157
|
+
- - ">="
|
238
158
|
- !ruby/object:Gem::Version
|
239
159
|
version: '0'
|
240
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
241
161
|
requirements:
|
242
|
-
- -
|
162
|
+
- - ">="
|
243
163
|
- !ruby/object:Gem::Version
|
244
164
|
version: '0'
|
245
165
|
requirements: []
|
246
|
-
|
247
|
-
rubygems_version: 2.0.3
|
166
|
+
rubygems_version: 3.0.3
|
248
167
|
signing_key:
|
249
168
|
specification_version: 4
|
250
169
|
summary: Objected oriented acceptance testing for Rails, using personas.
|
251
|
-
test_files:
|
252
|
-
- test/dope/app.rb
|
253
|
-
- test/dummy/Rakefile
|
254
|
-
- test/dummy/app/controllers/application_controller.rb
|
255
|
-
- test/dummy/app/controllers/home_controller.rb
|
256
|
-
- test/dummy/app/helpers/application_helper.rb
|
257
|
-
- test/dummy/app/models/user.rb
|
258
|
-
- test/dummy/app/views/home/ponycorns.html.erb
|
259
|
-
- test/dummy/app/views/layouts/application.html.erb
|
260
|
-
- test/dummy/config.ru
|
261
|
-
- test/dummy/config/application.rb
|
262
|
-
- test/dummy/config/boot.rb
|
263
|
-
- test/dummy/config/database.yml
|
264
|
-
- test/dummy/config/environment.rb
|
265
|
-
- test/dummy/config/environments/development.rb
|
266
|
-
- test/dummy/config/environments/production.rb
|
267
|
-
- test/dummy/config/environments/test.rb
|
268
|
-
- test/dummy/config/initializers/backtrace_silencers.rb
|
269
|
-
- test/dummy/config/initializers/devise.rb
|
270
|
-
- test/dummy/config/initializers/inflections.rb
|
271
|
-
- test/dummy/config/initializers/mime_types.rb
|
272
|
-
- test/dummy/config/initializers/secret_token.rb
|
273
|
-
- test/dummy/config/initializers/session_store.rb
|
274
|
-
- test/dummy/config/locales/en.yml
|
275
|
-
- test/dummy/config/routes.rb
|
276
|
-
- test/dummy/db/schema.rb
|
277
|
-
- test/dummy/public/404.html
|
278
|
-
- test/dummy/public/422.html
|
279
|
-
- test/dummy/public/500.html
|
280
|
-
- test/dummy/public/favicon.ico
|
281
|
-
- test/dummy/script/rails
|
282
|
-
- test/dummy/spec/spec_helper.rb
|
283
|
-
- test/dummy/test/test_helper.rb
|
284
|
-
- test/support/driver_factory.rb
|
285
|
-
- test/support/helpers.rb
|
286
|
-
- test/test_helper.rb
|
287
|
-
- test/unit/bbq_devise_test.rb
|
288
|
-
- test/unit/bbq_install_generator_test.rb
|
289
|
-
- test/unit/bbq_rspec_test.rb
|
290
|
-
- test/unit/bbq_session_pool_test.rb
|
291
|
-
- test/unit/bbq_test_client_test.rb
|
292
|
-
- test/unit/bbq_test_generator_test.rb
|
293
|
-
- test/unit/bbq_test_unit_test.rb
|
294
|
-
- test/unit/bbq_test_user_test.rb
|
295
|
-
- test/unit/bbq_two_simultaneous_users_test.rb
|
296
|
-
- test/unit/bbq_util_test.rb
|
170
|
+
test_files: []
|