bumbleworks-rails 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bumbleworks/rails/version.rb +1 -1
- data/lib/generators/bumbleworks/rails/install/install_generator.rb +6 -0
- data/lib/generators/bumbleworks/rails/install/templates/config/routes.rb +13 -0
- data/spec/controllers/tasks_controller_spec.rb +188 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +13 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/fridget.rb +3 -0
- data/spec/dummy/app/models/silvo_bloom.rb +3 -0
- data/spec/dummy/app/models/user.rb +14 -0
- data/spec/dummy/app/views/bumbleworks/tasks/custom/_chew_on_quandary.html.erb +1 -0
- data/spec/dummy/app/views/fridgets/tasks/custom/_chew_on_quandary.html.erb +1 -0
- data/spec/dummy/app/views/fridgets/tasks/show.html.erb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/silvo_blooms/tasks/index.html.erb +11 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config/application.rb +28 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/bumbleworks.rb +6 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/bumbleworks.en.yml +11 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +19 -0
- data/spec/dummy/config.ru +21 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/bumbleworks/participants.rb +3 -0
- data/spec/dummy/lib/bumbleworks/processes/dummy_process.rb +7 -0
- data/spec/dummy/lib/fake_model.rb +26 -0
- data/spec/dummy/log/development.log +21593 -0
- data/spec/dummy/log/test.log +6409 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/tmp/config/initializers/bumbleworks.rb +5 -0
- data/spec/dummy/tmp/config/locales/bumbleworks.en.yml +8 -0
- data/spec/dummy/tmp/lib/bumbleworks/participants.rb +3 -0
- data/spec/helpers/tasks_helper_spec.rb +54 -0
- data/spec/lib/bumbleworks/rails/engine_spec.rb +11 -0
- data/spec/lib/bumbleworks/rails_spec.rb +5 -0
- data/spec/lib/generators/bumbleworks/rails/install/install_generator_spec.rb +52 -0
- data/spec/spec_helper.rb +26 -0
- data/spec/support/generator_helpers.rb +49 -0
- metadata +119 -2
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/404.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
54
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/422.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The change you wanted was rejected.</h1>
|
54
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/500.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>We're sorry, but something went wrong.</h1>
|
54
|
+
</div>
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
56
|
+
</body>
|
57
|
+
</html>
|
File without changes
|
@@ -0,0 +1,8 @@
|
|
1
|
+
en:
|
2
|
+
bumbleworks:
|
3
|
+
unauthorized: "You are not authorized to access that resource."
|
4
|
+
tasks:
|
5
|
+
completed: "Task completed!"
|
6
|
+
not_found: "Can't find task %{task_id}"
|
7
|
+
unauthorized_release_attempt: "You do not currently have a lock on this task"
|
8
|
+
unclaimed_complete_attempt: "You cannot complete a task not claimed by you"
|
@@ -0,0 +1,54 @@
|
|
1
|
+
describe Bumbleworks::Rails::TasksHelper do
|
2
|
+
let(:task) {
|
3
|
+
double(Bumbleworks::Task, {
|
4
|
+
:nickname => 'chew_on_quandary',
|
5
|
+
:entity => Fridget.new(5),
|
6
|
+
:has_entity? => true
|
7
|
+
})
|
8
|
+
}
|
9
|
+
|
10
|
+
describe '#task_name' do
|
11
|
+
it 'returns task #to_s if no translation' do
|
12
|
+
expect(helper.task_name(task)).to eq task.to_s
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'returns translation if exists' do
|
16
|
+
allow(task).to receive(:nickname).and_return('shave_calves')
|
17
|
+
expect(helper.task_name(task)).to eq('Calf Shaving is Fun')
|
18
|
+
end
|
19
|
+
|
20
|
+
it 'provides entity for interpolation' do
|
21
|
+
allow(task.entity).to receive(:to_param).and_return('my feet')
|
22
|
+
allow(task).to receive(:nickname).and_return('iron_feet')
|
23
|
+
expect(helper.task_name(task)).to eq('Ouch, that hurts my feet')
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
describe '#render_task_partial' do
|
28
|
+
it 'does not render anything if no custom partial exists' do
|
29
|
+
allow(task).to receive(:nickname).and_return('oolo')
|
30
|
+
expect(helper.render_task_partial(task)).to be_nil
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'renders non-entity-specific custom partial if no entity' do
|
34
|
+
allow(task).to receive(:has_entity?).and_return(false)
|
35
|
+
expect(helper).to receive(:render).
|
36
|
+
with({
|
37
|
+
:template => 'custom/_chew_on_quandary',
|
38
|
+
:prefixes => ['bumbleworks/tasks']
|
39
|
+
}).
|
40
|
+
and_return('pretend')
|
41
|
+
expect(helper.render_task_partial(task)).to eq('pretend')
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'renders entity-specific custom partial' do
|
45
|
+
expect(helper).to receive(:render).
|
46
|
+
with({
|
47
|
+
:template => 'custom/_chew_on_quandary',
|
48
|
+
:prefixes => ['fridgets/tasks', 'bumbleworks/tasks']
|
49
|
+
}).
|
50
|
+
and_return('pretend')
|
51
|
+
expect(helper.render_task_partial(task)).to eq('pretend')
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'rake'
|
2
|
+
|
3
|
+
describe Bumbleworks::Rails::Engine do
|
4
|
+
describe '.load_tasks' do
|
5
|
+
it "loads bumbleworks rake tasks" do
|
6
|
+
expect(Rake::Task.task_defined?('bumbleworks:bootstrap')).to be_falsy
|
7
|
+
described_class.load_tasks
|
8
|
+
expect(Rake::Task.task_defined?('bumbleworks:bootstrap')).to be_truthy
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require "generators/bumbleworks/rails/install/install_generator"
|
2
|
+
|
3
|
+
describe Bumbleworks::Rails::InstallGenerator do
|
4
|
+
destination Rails.root.join('..', '..', 'tmp', 'generated')
|
5
|
+
|
6
|
+
before(:each) do
|
7
|
+
prepare_destination
|
8
|
+
mkdir_p destination_root.join('app', 'controllers')
|
9
|
+
mkdir_p destination_root.join('config')
|
10
|
+
File.open(destination_root.join('app', 'controllers', 'application_controller.rb'), 'w') do |f|
|
11
|
+
f.puts('protect_from_forgery with: :exception')
|
12
|
+
end
|
13
|
+
File.open(destination_root.join('config', 'routes.rb'), 'w') do |f|
|
14
|
+
f.puts('.routes.draw do')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
shared_examples_for "an install generator" do |options|
|
19
|
+
it "installs and configures files" do
|
20
|
+
generator_arguments = options.map { |k, v| "--#{k}=#{v}" }
|
21
|
+
run_generator generator_arguments
|
22
|
+
structure = GeneratorHelpers.structure(options)
|
23
|
+
expect(destination_root).to have_structure &structure
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
context "with Hash storage" do
|
28
|
+
it_behaves_like 'an install generator', { :storage_type => 'Hash' }
|
29
|
+
end
|
30
|
+
|
31
|
+
context "with Redis storage" do
|
32
|
+
it_behaves_like 'an install generator', {
|
33
|
+
:storage_type => 'Redis',
|
34
|
+
:storage_config_path => 'config/bumbleworks_storage.yml'
|
35
|
+
}
|
36
|
+
end
|
37
|
+
|
38
|
+
context "with Sequel storage" do
|
39
|
+
it_behaves_like 'an install generator', {
|
40
|
+
:storage_type => 'Sequel',
|
41
|
+
:storage_config_path => 'config/bumbleworks_storage.yml',
|
42
|
+
:table_name => 'snooze_fudges'
|
43
|
+
}
|
44
|
+
end
|
45
|
+
|
46
|
+
context "with custom config path location" do
|
47
|
+
it_behaves_like 'an install generator', {
|
48
|
+
:storage_type => 'Redis',
|
49
|
+
:storage_config_path => 'apples/queens.yml',
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
SimpleCov.start do
|
3
|
+
add_filter "/spec/dummy/"
|
4
|
+
end
|
5
|
+
|
6
|
+
# Configure Rails Environment
|
7
|
+
ENV["RAILS_ENV"] = "test"
|
8
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
9
|
+
|
10
|
+
require 'rspec/rails'
|
11
|
+
require 'generator_spec'
|
12
|
+
|
13
|
+
FAKE_DATABASE = {}
|
14
|
+
|
15
|
+
# Load support files
|
16
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
17
|
+
|
18
|
+
RSpec.configure do |config|
|
19
|
+
config.infer_spec_type_from_file_location!
|
20
|
+
|
21
|
+
config.before(:each) do
|
22
|
+
FAKE_DATABASE.keys.each do |key|
|
23
|
+
FAKE_DATABASE[key] = []
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
module GeneratorHelpers
|
2
|
+
class << self
|
3
|
+
def structure(options = {})
|
4
|
+
Proc.new {
|
5
|
+
directory "app" do
|
6
|
+
directory "controllers" do
|
7
|
+
file "application_controller.rb" do
|
8
|
+
contains "helper Bumbleworks::Rails::TasksHelper"
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
directory "config" do
|
13
|
+
directory "initializers" do
|
14
|
+
file "bumbleworks.rb" do
|
15
|
+
contains "Bumbleworks.config"
|
16
|
+
if options[:storage_type] == 'Hash'
|
17
|
+
contains '{}'
|
18
|
+
else
|
19
|
+
contains options[:storage_type]
|
20
|
+
contains options[:table_name] || ''
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
directory "locales" do
|
25
|
+
file "bumbleworks.en.yml"
|
26
|
+
end
|
27
|
+
file "routes.rb" do
|
28
|
+
contains "bumbleworks/rails"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
directory "lib" do
|
32
|
+
directory "bumbleworks" do
|
33
|
+
directory "processes"
|
34
|
+
directory "participants"
|
35
|
+
directory "tasks"
|
36
|
+
file "participants.rb" do
|
37
|
+
contains "Bumbleworks.register_participants"
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
unless options[:storage_type] == 'Hash'
|
42
|
+
file options[:storage_config_path] do
|
43
|
+
contains "Using the #{options[:storage_type]}"
|
44
|
+
end
|
45
|
+
end
|
46
|
+
}
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bumbleworks-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ravi Gadad
|
@@ -136,9 +136,68 @@ files:
|
|
136
136
|
- lib/generators/bumbleworks/rails/install/install_generator.rb
|
137
137
|
- lib/generators/bumbleworks/rails/install/templates/config/initializers/bumbleworks.rb
|
138
138
|
- lib/generators/bumbleworks/rails/install/templates/config/locales/bumbleworks.en.yml
|
139
|
+
- lib/generators/bumbleworks/rails/install/templates/config/routes.rb
|
139
140
|
- lib/generators/bumbleworks/rails/install/templates/config/storages/redis.yml
|
140
141
|
- lib/generators/bumbleworks/rails/install/templates/config/storages/sequel.yml
|
141
142
|
- lib/generators/bumbleworks/rails/install/templates/lib/bumbleworks/participants.rb
|
143
|
+
- spec/controllers/tasks_controller_spec.rb
|
144
|
+
- spec/dummy/README.rdoc
|
145
|
+
- spec/dummy/Rakefile
|
146
|
+
- spec/dummy/app/assets/javascripts/application.js
|
147
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
148
|
+
- spec/dummy/app/controllers/application_controller.rb
|
149
|
+
- spec/dummy/app/helpers/application_helper.rb
|
150
|
+
- spec/dummy/app/models/fridget.rb
|
151
|
+
- spec/dummy/app/models/silvo_bloom.rb
|
152
|
+
- spec/dummy/app/models/user.rb
|
153
|
+
- spec/dummy/app/views/bumbleworks/tasks/custom/_chew_on_quandary.html.erb
|
154
|
+
- spec/dummy/app/views/fridgets/tasks/custom/_chew_on_quandary.html.erb
|
155
|
+
- spec/dummy/app/views/fridgets/tasks/show.html.erb
|
156
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
157
|
+
- spec/dummy/app/views/silvo_blooms/tasks/index.html.erb
|
158
|
+
- spec/dummy/bin/bundle
|
159
|
+
- spec/dummy/bin/rails
|
160
|
+
- spec/dummy/bin/rake
|
161
|
+
- spec/dummy/config.ru
|
162
|
+
- spec/dummy/config/application.rb
|
163
|
+
- spec/dummy/config/boot.rb
|
164
|
+
- spec/dummy/config/database.yml
|
165
|
+
- spec/dummy/config/environment.rb
|
166
|
+
- spec/dummy/config/environments/development.rb
|
167
|
+
- spec/dummy/config/environments/production.rb
|
168
|
+
- spec/dummy/config/environments/test.rb
|
169
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
170
|
+
- spec/dummy/config/initializers/bumbleworks.rb
|
171
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
172
|
+
- spec/dummy/config/initializers/inflections.rb
|
173
|
+
- spec/dummy/config/initializers/mime_types.rb
|
174
|
+
- spec/dummy/config/initializers/secret_token.rb
|
175
|
+
- spec/dummy/config/initializers/session_store.rb
|
176
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
177
|
+
- spec/dummy/config/locales/bumbleworks.en.yml
|
178
|
+
- spec/dummy/config/locales/en.yml
|
179
|
+
- spec/dummy/config/routes.rb
|
180
|
+
- spec/dummy/db/development.sqlite3
|
181
|
+
- spec/dummy/db/test.sqlite3
|
182
|
+
- spec/dummy/lib/bumbleworks/participants.rb
|
183
|
+
- spec/dummy/lib/bumbleworks/processes/dummy_process.rb
|
184
|
+
- spec/dummy/lib/fake_model.rb
|
185
|
+
- spec/dummy/log/development.log
|
186
|
+
- spec/dummy/log/test.log
|
187
|
+
- spec/dummy/public/404.html
|
188
|
+
- spec/dummy/public/422.html
|
189
|
+
- spec/dummy/public/500.html
|
190
|
+
- spec/dummy/public/favicon.ico
|
191
|
+
- spec/dummy/tmp/app/controllers/application_controller.rb
|
192
|
+
- spec/dummy/tmp/config/initializers/bumbleworks.rb
|
193
|
+
- spec/dummy/tmp/config/locales/bumbleworks.en.yml
|
194
|
+
- spec/dummy/tmp/lib/bumbleworks/participants.rb
|
195
|
+
- spec/helpers/tasks_helper_spec.rb
|
196
|
+
- spec/lib/bumbleworks/rails/engine_spec.rb
|
197
|
+
- spec/lib/bumbleworks/rails_spec.rb
|
198
|
+
- spec/lib/generators/bumbleworks/rails/install/install_generator_spec.rb
|
199
|
+
- spec/spec_helper.rb
|
200
|
+
- spec/support/generator_helpers.rb
|
142
201
|
homepage: ''
|
143
202
|
licenses: []
|
144
203
|
metadata: {}
|
@@ -162,4 +221,62 @@ rubygems_version: 2.2.2
|
|
162
221
|
signing_key:
|
163
222
|
specification_version: 4
|
164
223
|
summary: Rails Engine for integrating Bumbleworks into Rails.
|
165
|
-
test_files:
|
224
|
+
test_files:
|
225
|
+
- spec/controllers/tasks_controller_spec.rb
|
226
|
+
- spec/dummy/app/assets/javascripts/application.js
|
227
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
228
|
+
- spec/dummy/app/controllers/application_controller.rb
|
229
|
+
- spec/dummy/app/helpers/application_helper.rb
|
230
|
+
- spec/dummy/app/models/fridget.rb
|
231
|
+
- spec/dummy/app/models/silvo_bloom.rb
|
232
|
+
- spec/dummy/app/models/user.rb
|
233
|
+
- spec/dummy/app/views/bumbleworks/tasks/custom/_chew_on_quandary.html.erb
|
234
|
+
- spec/dummy/app/views/fridgets/tasks/custom/_chew_on_quandary.html.erb
|
235
|
+
- spec/dummy/app/views/fridgets/tasks/show.html.erb
|
236
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
237
|
+
- spec/dummy/app/views/silvo_blooms/tasks/index.html.erb
|
238
|
+
- spec/dummy/bin/bundle
|
239
|
+
- spec/dummy/bin/rails
|
240
|
+
- spec/dummy/bin/rake
|
241
|
+
- spec/dummy/config/application.rb
|
242
|
+
- spec/dummy/config/boot.rb
|
243
|
+
- spec/dummy/config/database.yml
|
244
|
+
- spec/dummy/config/environment.rb
|
245
|
+
- spec/dummy/config/environments/development.rb
|
246
|
+
- spec/dummy/config/environments/production.rb
|
247
|
+
- spec/dummy/config/environments/test.rb
|
248
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
249
|
+
- spec/dummy/config/initializers/bumbleworks.rb
|
250
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
251
|
+
- spec/dummy/config/initializers/inflections.rb
|
252
|
+
- spec/dummy/config/initializers/mime_types.rb
|
253
|
+
- spec/dummy/config/initializers/secret_token.rb
|
254
|
+
- spec/dummy/config/initializers/session_store.rb
|
255
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
256
|
+
- spec/dummy/config/locales/bumbleworks.en.yml
|
257
|
+
- spec/dummy/config/locales/en.yml
|
258
|
+
- spec/dummy/config/routes.rb
|
259
|
+
- spec/dummy/config.ru
|
260
|
+
- spec/dummy/db/development.sqlite3
|
261
|
+
- spec/dummy/db/test.sqlite3
|
262
|
+
- spec/dummy/lib/bumbleworks/participants.rb
|
263
|
+
- spec/dummy/lib/bumbleworks/processes/dummy_process.rb
|
264
|
+
- spec/dummy/lib/fake_model.rb
|
265
|
+
- spec/dummy/log/development.log
|
266
|
+
- spec/dummy/log/test.log
|
267
|
+
- spec/dummy/public/404.html
|
268
|
+
- spec/dummy/public/422.html
|
269
|
+
- spec/dummy/public/500.html
|
270
|
+
- spec/dummy/public/favicon.ico
|
271
|
+
- spec/dummy/Rakefile
|
272
|
+
- spec/dummy/README.rdoc
|
273
|
+
- spec/dummy/tmp/app/controllers/application_controller.rb
|
274
|
+
- spec/dummy/tmp/config/initializers/bumbleworks.rb
|
275
|
+
- spec/dummy/tmp/config/locales/bumbleworks.en.yml
|
276
|
+
- spec/dummy/tmp/lib/bumbleworks/participants.rb
|
277
|
+
- spec/helpers/tasks_helper_spec.rb
|
278
|
+
- spec/lib/bumbleworks/rails/engine_spec.rb
|
279
|
+
- spec/lib/bumbleworks/rails_spec.rb
|
280
|
+
- spec/lib/generators/bumbleworks/rails/install/install_generator_spec.rb
|
281
|
+
- spec/spec_helper.rb
|
282
|
+
- spec/support/generator_helpers.rb
|