bbq-rails 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.travis.yml +13 -0
- data/Gemfile.rails3_0 +6 -0
- data/Gemfile.rails3_1 +6 -0
- data/Gemfile.rails3_2 +5 -0
- data/Gemfile.rails4_0 +5 -0
- data/Gemfile.rails4_1 +5 -0
- data/Gemfile.rails4_2 +5 -0
- data/LICENSE.txt +22 -0
- data/README.md +54 -0
- data/Rakefile +9 -0
- data/bbq-rails.gemspec +27 -0
- data/lib/bbq/rails.rb +2 -0
- data/lib/bbq/rails/railtie.rb +24 -0
- data/lib/bbq/rails/routes.rb +14 -0
- data/lib/bbq/rails/version.rb +5 -0
- data/lib/generators/bbq/install_generator.rb +5 -0
- data/lib/generators/bbq/test_generator.rb +5 -0
- data/lib/generators/rspec/bbq_install_generator.rb +18 -0
- data/lib/generators/rspec/bbq_test_generator.rb +9 -0
- data/lib/generators/rspec/templates/README +5 -0
- data/lib/generators/rspec/templates/bbq_spec.rb +7 -0
- data/lib/generators/rspec/templates/test_user.rb +5 -0
- data/lib/generators/test_unit/bbq_install_generator.rb +18 -0
- data/lib/generators/test_unit/bbq_test_generator.rb +9 -0
- data/lib/generators/test_unit/templates/README +9 -0
- data/lib/generators/test_unit/templates/bbq_test_case.rb +7 -0
- data/lib/generators/test_unit/templates/test_user.rb +5 -0
- data/lib/tasks/bbq.rake +15 -0
- data/test/bbq_install_generator_test.rb +36 -0
- data/test/bbq_test_generator_test.rb +24 -0
- data/test/rails_integration_test.rb +13 -0
- data/test/test_helper.rb +24 -0
- data/test/test_user_routes_test.rb +21 -0
- metadata +152 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: fd0caa0a02094191f18c2205ed1dc410a204286c5a7b78a5487ec6452186c0c1
|
4
|
+
data.tar.gz: 59f1db4707fca3399699e1ccfbc78b7b26145307b85035baf98c3ad6ddc82ada
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5b5078597acca0c8a25a1dc51458353ec7ff03e2f25d7ea298037fa5419055e64257412b30d4db2db70969706dfb03cfb9823d158bd1d83b6b0254bc66b02229
|
7
|
+
data.tar.gz: 11fd3d2c626fe28eca1147988f95d52946743b5daf12950b66676ff94d64487da88315a0037683ad17173e2394defeac150ae618a3272937a0a3efb06d3309a0
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/Gemfile.rails3_0
ADDED
data/Gemfile.rails3_1
ADDED
data/Gemfile.rails3_2
ADDED
data/Gemfile.rails4_0
ADDED
data/Gemfile.rails4_1
ADDED
data/Gemfile.rails4_2
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Paweł Pacana
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
# Bbq::Rails
|
2
|
+
|
3
|
+
[![Build Status](https://secure.travis-ci.org/drugpl/bbq-rails.png)](http://travis-ci.org/drugpl/bbq-rails) [![Dependency Status](https://gemnasium.com/drugpl/bbq-rails.png)](https://gemnasium.com/drugpl/bbq-rails) [![Code Climate](https://codeclimate.com/github/drugpl/bbq-rails.png)](https://codeclimate.com/github/drugpl/bbq-rails) [![Gem Version](https://badge.fury.io/rb/bbq-rails.png)](http://badge.fury.io/rb/bbq-rails)
|
4
|
+
|
5
|
+
## Quick start
|
6
|
+
|
7
|
+
Add following to your Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'bbq-rails', require: 'bbq/rails'
|
11
|
+
|
12
|
+
```
|
13
|
+
|
14
|
+
You may also run `rails generate bbq:install` to have a basic configuration generated.
|
15
|
+
|
16
|
+
## Features
|
17
|
+
|
18
|
+
### Test integration
|
19
|
+
|
20
|
+
Your Rails application hooks up to `Bbq::Core.app` in tests automatically. Thus `Bbq::Core::TestUser` and `Bbq::Core::TestClient` can run against it.
|
21
|
+
|
22
|
+
### Generators
|
23
|
+
|
24
|
+
Generators help you kickstart Bbq test environment.
|
25
|
+
|
26
|
+
At the beginning of your journey with Bbq you can use `rails generate bbq:install`. It'll create directory for acceptance test files and give you basic TestUser class for customization.
|
27
|
+
|
28
|
+
There's also `rails generate bbq:test` which creates new test files for you which have Bbq goodies baked in (DSL and test actor session pool handling).
|
29
|
+
|
30
|
+
### Rake integration
|
31
|
+
|
32
|
+
Provided you've created `spec/acceptance` or `test/acceptance` directory, there we'll be following tasks for running acceptance tests available: `bundle exec rake spec:acceptance` or `bundle exec rake test:acceptance` respectively.
|
33
|
+
|
34
|
+
### Routes
|
35
|
+
|
36
|
+
When you require 'bbq/rails/routes' you can then `include Bbq::Rails::Routes` in TestActor to have access to Rails url helpers. While convenient it's not recommended in general. Testing routes is part of acceptance test. Use links and buttons in order to get to other pages in your app.
|
37
|
+
|
38
|
+
```ruby
|
39
|
+
require 'bbq/rails/routes'
|
40
|
+
|
41
|
+
class TestUser < Bbq::TestUser
|
42
|
+
include Bbq::Rails::Routes
|
43
|
+
end
|
44
|
+
```
|
45
|
+
|
46
|
+
## Development
|
47
|
+
|
48
|
+
We develop and test against multiple Rails versions. When working with legacy software a test toolkit should be the last to require special attention.
|
49
|
+
|
50
|
+
```sh
|
51
|
+
for gemfile in `ls Gemfile* | grep -v lock`; do
|
52
|
+
BUNDLE_GEMFILE=$gemfile bundle install
|
53
|
+
BUNDLE_GEMFILE=$gemfile bundle exec rake test
|
54
|
+
done
|
data/Rakefile
ADDED
data/bbq-rails.gemspec
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'bbq/rails/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "bbq-rails"
|
8
|
+
spec.version = Bbq::Rails::VERSION
|
9
|
+
spec.authors = ["DRUG - Dolnośląska Grupa Użytkowników Ruby"]
|
10
|
+
spec.email = ["all@drug.org.pl"]
|
11
|
+
spec.summary = %q{Rails integration for Bbq.}
|
12
|
+
spec.description = spec.summary
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency "bbq-core", ">= 0.0"
|
22
|
+
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
24
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
+
spec.add_development_dependency "rails", ">= 3.0"
|
26
|
+
spec.add_development_dependency "minitest", ">= 4.0"
|
27
|
+
end
|
data/lib/bbq/rails.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'rails/railtie'
|
2
|
+
require 'rails/generators'
|
3
|
+
require 'bbq/core'
|
4
|
+
|
5
|
+
module Bbq
|
6
|
+
module Rails
|
7
|
+
class Railtie < ::Rails::Railtie
|
8
|
+
|
9
|
+
initializer "bqq.set_app" do
|
10
|
+
Bbq::Core.app = ::Rails.application
|
11
|
+
end
|
12
|
+
|
13
|
+
rake_tasks do
|
14
|
+
load File.expand_path(File.join(File.dirname(__FILE__), '../../tasks/bbq.rake'))
|
15
|
+
end
|
16
|
+
|
17
|
+
helper_generators = %w(test_unit rspec).flat_map do |test_framework|
|
18
|
+
["#{test_framework}:bbq_test", "#{test_framework}:bbq_install"]
|
19
|
+
end
|
20
|
+
::Rails::Generators.hide_namespaces *helper_generators
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Bbq
|
2
|
+
module Rails
|
3
|
+
module Routes
|
4
|
+
def self.included(klass)
|
5
|
+
klass.send(:include, ::ActionDispatch::Routing::UrlFor)
|
6
|
+
klass.send(:include, ::Rails.application.routes.url_helpers)
|
7
|
+
|
8
|
+
unless ::Rails.version < "3.1"
|
9
|
+
klass.send(:include, ::ActionDispatch::Routing::RouteSet::MountedHelpers)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module Rspec
|
2
|
+
class BbqInstallGenerator < Rails::Generators::Base
|
3
|
+
source_root File.expand_path(File.join(File.dirname(__FILE__), '../rspec/templates'))
|
4
|
+
|
5
|
+
def create_directory
|
6
|
+
empty_directory "spec/acceptance"
|
7
|
+
end
|
8
|
+
|
9
|
+
def generate_test_user
|
10
|
+
empty_directory "spec/support"
|
11
|
+
template "test_user.rb", "spec/support/test_user.rb"
|
12
|
+
end
|
13
|
+
|
14
|
+
def show_readme
|
15
|
+
readme "README" if behavior == :invoke
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
module Rspec
|
2
|
+
class BbqTestGenerator < Rails::Generators::NamedBase
|
3
|
+
source_root File.expand_path(File.join(File.dirname(__FILE__), '../rspec/templates'))
|
4
|
+
|
5
|
+
def create_test
|
6
|
+
template "bbq_spec.rb", "spec/acceptance/#{name.underscore}_spec.rb"
|
7
|
+
end
|
8
|
+
end
|
9
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
module TestUnit
|
2
|
+
class BbqInstallGenerator < Rails::Generators::Base
|
3
|
+
source_root File.expand_path(File.join(File.dirname(__FILE__), '../test_unit/templates'))
|
4
|
+
|
5
|
+
def create_directory
|
6
|
+
empty_directory "test/acceptance"
|
7
|
+
end
|
8
|
+
|
9
|
+
def generate_test_user
|
10
|
+
empty_directory "test/support"
|
11
|
+
template "test_user.rb", "test/support/test_user.rb"
|
12
|
+
end
|
13
|
+
|
14
|
+
def show_readme
|
15
|
+
readme "README" if behavior == :invoke
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
module TestUnit
|
2
|
+
class BbqTestGenerator < Rails::Generators::NamedBase
|
3
|
+
source_root File.expand_path(File.join(File.dirname(__FILE__), '../test_unit/templates'))
|
4
|
+
|
5
|
+
def create_test
|
6
|
+
template "bbq_test_case.rb", "test/acceptance/#{name.underscore}_test.rb"
|
7
|
+
end
|
8
|
+
end
|
9
|
+
end
|
data/lib/tasks/bbq.rake
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'rake/testtask'
|
2
|
+
|
3
|
+
Rake::TestTask.new("test:acceptance") do |t|
|
4
|
+
t.libs << 'test'
|
5
|
+
t.pattern = 'test/acceptance/**/*_test.rb'
|
6
|
+
t.verbose = false
|
7
|
+
end if File.exists?('test/acceptance')
|
8
|
+
|
9
|
+
begin
|
10
|
+
require 'rspec/core/rake_task'
|
11
|
+
RSpec::Core::RakeTask.new('spec:acceptance') do |spec|
|
12
|
+
spec.pattern = FileList['spec/acceptance/**/*_spec.rb']
|
13
|
+
end if File.exists?('spec/acceptance')
|
14
|
+
rescue LoadError
|
15
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
require "rails/generators/test_case"
|
3
|
+
require "generators/bbq/install_generator"
|
4
|
+
|
5
|
+
class BbqInstallGeneratorTest < Rails::Generators::TestCase
|
6
|
+
destination File.expand_path(File.join(File.dirname(__FILE__), '../tmp'))
|
7
|
+
setup :prepare_destination
|
8
|
+
|
9
|
+
tests Bbq::InstallGenerator
|
10
|
+
|
11
|
+
def test_creating_test_unit_test_directories
|
12
|
+
run_generator %w(-t test_unit)
|
13
|
+
|
14
|
+
assert_directory "test/acceptance"
|
15
|
+
assert_directory "test/support"
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_creating_rspec_test_directories
|
19
|
+
run_generator %w(-t rspec)
|
20
|
+
|
21
|
+
assert_directory "spec/acceptance"
|
22
|
+
assert_directory "spec/support"
|
23
|
+
end
|
24
|
+
|
25
|
+
def test_creating_test_unit_test_user_stub
|
26
|
+
run_generator %w(-t test_unit)
|
27
|
+
|
28
|
+
assert_file "test/support/test_user.rb", /class TestUser < Bbq::TestUser/
|
29
|
+
end
|
30
|
+
|
31
|
+
def test_creating_rspec_test_user_stub
|
32
|
+
run_generator %w(-t rspec)
|
33
|
+
|
34
|
+
assert_file "spec/support/test_user.rb", /class TestUser < Bbq::TestUser/
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
require "rails/generators/test_case"
|
3
|
+
require "generators/bbq/test_generator"
|
4
|
+
|
5
|
+
class BbqTestGeneratorTest < ::Rails::Generators::TestCase
|
6
|
+
destination File.expand_path(File.join(File.dirname(__FILE__), '../tmp'))
|
7
|
+
setup :prepare_destination
|
8
|
+
|
9
|
+
tests Bbq::TestGenerator
|
10
|
+
|
11
|
+
def test_creating_test_unit_feature_file
|
12
|
+
run_generator %w(MySuperThing -t test_unit)
|
13
|
+
|
14
|
+
assert_file "test/acceptance/my_super_thing_test.rb", /class MySuperThingTest < Bbq::TestCase/
|
15
|
+
assert_file "test/acceptance/my_super_thing_test.rb", /require "test_helper"/
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_creating_rspec_feature_file
|
19
|
+
run_generator %w(MySuperThing -t rspec)
|
20
|
+
|
21
|
+
assert_file "spec/acceptance/my_super_thing_spec.rb", /feature "My super thing" do/
|
22
|
+
assert_file "spec/acceptance/my_super_thing_spec.rb", /require "spec_helper"/
|
23
|
+
end
|
24
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'minitest/autorun'
|
2
|
+
require 'bbq/rails'
|
3
|
+
require 'action_controller/railtie'
|
4
|
+
|
5
|
+
TestCase = begin
|
6
|
+
Minitest::Test
|
7
|
+
rescue NameError
|
8
|
+
MiniTest::Unit::TestCase
|
9
|
+
end
|
10
|
+
|
11
|
+
class DummyApplication < ::Rails::Application
|
12
|
+
config.eager_load = false
|
13
|
+
config.secret_token = SecureRandom.hex(30)
|
14
|
+
end
|
15
|
+
|
16
|
+
class DummyController < ActionController::Base
|
17
|
+
def index
|
18
|
+
render text: 'dummy'
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
DummyApplication.initialize!
|
23
|
+
DummyApplication.routes.draw { root to: 'dummy#index' }
|
24
|
+
DummyApplication.routes.default_url_options[:host] = 'example.com'
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
require 'bbq/core/test_user'
|
3
|
+
require 'bbq/rails/routes'
|
4
|
+
|
5
|
+
class TestUserRoutesTest < TestCase
|
6
|
+
class TestUserWithRoutes < Bbq::Core::TestUser
|
7
|
+
include ::Bbq::Rails::Routes
|
8
|
+
|
9
|
+
def visit_test_page
|
10
|
+
visit(root_url)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
def test_routes_integration
|
15
|
+
user = TestUserWithRoutes.new
|
16
|
+
user.visit_test_page
|
17
|
+
|
18
|
+
assert user.has_content?('dummy')
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,152 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bbq-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- DRUG - Dolnośląska Grupa Użytkowników Ruby
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bbq-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.7'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.7'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rails
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: minitest
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '4.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '4.0'
|
83
|
+
description: Rails integration for Bbq.
|
84
|
+
email:
|
85
|
+
- all@drug.org.pl
|
86
|
+
executables: []
|
87
|
+
extensions: []
|
88
|
+
extra_rdoc_files: []
|
89
|
+
files:
|
90
|
+
- ".gitignore"
|
91
|
+
- ".travis.yml"
|
92
|
+
- Gemfile.rails3_0
|
93
|
+
- Gemfile.rails3_1
|
94
|
+
- Gemfile.rails3_2
|
95
|
+
- Gemfile.rails4_0
|
96
|
+
- Gemfile.rails4_1
|
97
|
+
- Gemfile.rails4_2
|
98
|
+
- LICENSE.txt
|
99
|
+
- README.md
|
100
|
+
- Rakefile
|
101
|
+
- bbq-rails.gemspec
|
102
|
+
- lib/bbq/rails.rb
|
103
|
+
- lib/bbq/rails/railtie.rb
|
104
|
+
- lib/bbq/rails/routes.rb
|
105
|
+
- lib/bbq/rails/version.rb
|
106
|
+
- lib/generators/bbq/install_generator.rb
|
107
|
+
- lib/generators/bbq/test_generator.rb
|
108
|
+
- lib/generators/rspec/bbq_install_generator.rb
|
109
|
+
- lib/generators/rspec/bbq_test_generator.rb
|
110
|
+
- lib/generators/rspec/templates/README
|
111
|
+
- lib/generators/rspec/templates/bbq_spec.rb
|
112
|
+
- lib/generators/rspec/templates/test_user.rb
|
113
|
+
- lib/generators/test_unit/bbq_install_generator.rb
|
114
|
+
- lib/generators/test_unit/bbq_test_generator.rb
|
115
|
+
- lib/generators/test_unit/templates/README
|
116
|
+
- lib/generators/test_unit/templates/bbq_test_case.rb
|
117
|
+
- lib/generators/test_unit/templates/test_user.rb
|
118
|
+
- lib/tasks/bbq.rake
|
119
|
+
- test/bbq_install_generator_test.rb
|
120
|
+
- test/bbq_test_generator_test.rb
|
121
|
+
- test/rails_integration_test.rb
|
122
|
+
- test/test_helper.rb
|
123
|
+
- test/test_user_routes_test.rb
|
124
|
+
homepage: ''
|
125
|
+
licenses:
|
126
|
+
- MIT
|
127
|
+
metadata: {}
|
128
|
+
post_install_message:
|
129
|
+
rdoc_options: []
|
130
|
+
require_paths:
|
131
|
+
- lib
|
132
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ">="
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
requirements: []
|
143
|
+
rubygems_version: 3.0.3
|
144
|
+
signing_key:
|
145
|
+
specification_version: 4
|
146
|
+
summary: Rails integration for Bbq.
|
147
|
+
test_files:
|
148
|
+
- test/bbq_install_generator_test.rb
|
149
|
+
- test/bbq_test_generator_test.rb
|
150
|
+
- test/rails_integration_test.rb
|
151
|
+
- test/test_helper.rb
|
152
|
+
- test/test_user_routes_test.rb
|