workarea-referral_rock 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +21 -0
- data/Gemfile +17 -0
- data/LICENSE +52 -0
- data/README.md +40 -0
- data/Rakefile +56 -0
- data/app/assets/images/workarea/admin/referral_rock/.keep +0 -0
- data/app/assets/images/workarea/storefront/referral_rock/.keep +0 -0
- data/app/assets/javascripts/workarea/admin/referral_rock/.keep +0 -0
- data/app/assets/javascripts/workarea/storefront/referral_rock/.keep +0 -0
- data/app/assets/stylesheets/workarea/admin/referral_rock/.keep +0 -0
- data/app/assets/stylesheets/workarea/storefront/referral_rock/.keep +0 -0
- data/app/controllers/.keep +0 -0
- data/app/helpers/.keep +0 -0
- data/app/mailers/.keep +0 -0
- data/app/models/.keep +0 -0
- data/app/views/.keep +0 -0
- data/app/views/workarea/storefront/referral_rock/_confirmation_script.html.haml +14 -0
- data/app/views/workarea/storefront/referral_rock/_conversion_script.html.haml +3 -0
- data/bin/rails +25 -0
- data/config/initializers/appends.rb +10 -0
- data/config/initializers/referral_rock_configurations.rb +8 -0
- data/config/initializers/workarea.rb +3 -0
- data/config/routes.rb +2 -0
- data/lib/workarea/referral_rock.rb +8 -0
- data/lib/workarea/referral_rock/engine.rb +10 -0
- data/lib/workarea/referral_rock/version.rb +5 -0
- data/test/dummy/.ruby-version +1 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/config/manifest.js +2 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +2 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/javascript/packs/application.js +14 -0
- data/test/dummy/app/jobs/application_job.rb +7 -0
- data/test/dummy/app/mailers/application_mailer.rb +4 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +25 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/config/application.rb +33 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +53 -0
- data/test/dummy/config/environments/production.rb +101 -0
- data/test/dummy/config/environments/test.rb +48 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/test/dummy/config/initializers/assets.rb +12 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/content_security_policy.rb +28 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/workarea.rb +5 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
- data/test/dummy/config/locales/en.yml +33 -0
- data/test/dummy/config/puma.rb +38 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/db/seeds.rb +2 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/log/.keep +0 -0
- data/test/teaspoon_env.rb +6 -0
- data/test/test_helper.rb +10 -0
- data/workarea-referral_rock.gemspec +21 -0
- metadata +128 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 01e0f6111e140380bb1cf08a45f81ba8270241902e4536dd5d283d78afc8a74f
|
4
|
+
data.tar.gz: 91bcaf7984b972ae4d8be317bc6cf67576af9bd4e22b0613700aca309191fab9
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 003c8cfa4ed7ee3bdb810ae54acef24a03e92cb380332277804dd2bdd90b80dfef82939a6c73e5c1aa0f382fad3b4a3917771893268c6046a1e146145d698ac0
|
7
|
+
data.tar.gz: 84228f2f372116be68254ef0f58eddb5be890bc4bd64136783d7311d13410cabfafd52c4a57d094fbd27cdcc0f15d4f95336a3606b12829f8f2e0fd81288f178
|
data/.gitignore
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
.bundle/
|
2
|
+
log/*.log
|
3
|
+
pkg/
|
4
|
+
test/dummy/log/*.log
|
5
|
+
test/dummy/tmp/
|
6
|
+
.DS_Store
|
7
|
+
.byebug_history
|
8
|
+
.bundle/
|
9
|
+
.sass-cache/
|
10
|
+
Gemfile.lock
|
11
|
+
pkg/
|
12
|
+
test/dummy/tmp/
|
13
|
+
test/dummy/public/
|
14
|
+
log/*.log
|
15
|
+
test/dummy/log/*.log
|
16
|
+
test/dummy/db/*.sqlite3
|
17
|
+
test/dummy/db/*.sqlite3-journal
|
18
|
+
node_modules
|
19
|
+
yarn.lock
|
20
|
+
yarn-error.log
|
21
|
+
package-lock.json
|
data/Gemfile
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
3
|
+
|
4
|
+
# Declare your gem's dependencies in referral_rock.gemspec.
|
5
|
+
# Bundler will treat runtime dependencies like base dependencies, and
|
6
|
+
# development dependencies will be added by default to the :development group.
|
7
|
+
gemspec
|
8
|
+
|
9
|
+
# Declare any dependencies that are still in development here instead of in
|
10
|
+
# your gemspec. These might include edge Rails or gems from your path or
|
11
|
+
# Git. Remember to move these dependencies to your gemspec before releasing
|
12
|
+
# your gem to rubygems.org.
|
13
|
+
|
14
|
+
# To use a debugger
|
15
|
+
# gem 'byebug', group: [:development, :test]
|
16
|
+
|
17
|
+
gem 'workarea', github: 'workarea-commerce/workarea'
|
data/LICENSE
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
WebLinc
|
2
|
+
Business Source License
|
3
|
+
|
4
|
+
Licensor: WebLinc Corporation, 22 S. 3rd Street, 2nd Floor, Philadelphia PA 19106
|
5
|
+
|
6
|
+
Licensed Work: Workarea Commerce Platform
|
7
|
+
The Licensed Work is (c) 2019 WebLinc Corporation
|
8
|
+
|
9
|
+
Additional Use Grant:
|
10
|
+
You may make production use of the Licensed Work without an additional license agreement with WebLinc so long as you do not use the Licensed Work for a Commerce Service.
|
11
|
+
|
12
|
+
A "Commerce Service" is a commercial offering that allows third parties (other than your employees and contractors) to access the functionality of the Licensed Work by creating or managing commerce functionality, the products, taxonomy, assets and/or content of which are controlled by such third parties.
|
13
|
+
|
14
|
+
For information about obtaining an additional license agreement with WebLinc, contact licensing@workarea.com.
|
15
|
+
|
16
|
+
Change Date: 2019-08-20
|
17
|
+
|
18
|
+
Change License: Version 2.0 or later of the GNU General Public License as published by the Free Software Foundation
|
19
|
+
|
20
|
+
Terms
|
21
|
+
|
22
|
+
The Licensor hereby grants you the right to copy, modify, create derivative works, redistribute, and make non-production use of the Licensed Work. The Licensor may make an Additional Use Grant, above, permitting limited production use.
|
23
|
+
|
24
|
+
Effective on the Change Date, or the fourth anniversary of the first publicly available distribution of a specific version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the terms of the Change License, and the rights granted in the paragraph above terminate.
|
25
|
+
|
26
|
+
If your use of the Licensed Work does not comply with the requirements currently in effect as described in this License, you must purchase a commercial license from the Licensor, its affiliated entities, or authorized resellers, or you must refrain from using the Licensed Work.
|
27
|
+
|
28
|
+
All copies of the original and modified Licensed Work, and derivative works of the Licensed Work, are subject to this License. This License applies separately for each version of the Licensed Work and the Change Date may vary for each version of the Licensed Work released by Licensor.
|
29
|
+
|
30
|
+
You must conspicuously display this License on each original or modified copy of the Licensed Work. If you receive the Licensed Work in original or modified form from a third party, the terms and conditions set forth in this License apply to your use of that work.
|
31
|
+
|
32
|
+
Any use of the Licensed Work in violation of this License will automatically terminate your rights under this License for the current and all other versions of the Licensed Work.
|
33
|
+
|
34
|
+
This License does not grant you any right in any trademark or logo of Licensor or its affiliates (provided that you may use a trademark or logo of Licensor as expressly required by this License). TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE. MariaDB hereby grants you permission to use this License’s text to license your works and to refer to it using the trademark "Business Source License" as long as you comply with the Covenants of Licensor below.
|
35
|
+
|
36
|
+
Covenants of Licensor
|
37
|
+
In consideration of the right to use this License’s text and the "Business Source License" name and trademark, Licensor covenants to MariaDB, and to all other recipients of the licensed work to be provided by Licensor:
|
38
|
+
|
39
|
+
To specify as the Change License the GPL Version 2.0 or any later version, or a license that is compatible with GPL Version 2.0 or a later version, where "compatible" means that software provided under the Change License can be included in a program with software provided under GPL Version 2.0 or a later version. Licensor may specify additional Change Licenses without limitation.
|
40
|
+
|
41
|
+
To either: (a) specify an additional grant of rights to use that does not impose any additional restriction on the right granted in this License, as the Additional Use Grant; or (b) insert the text "None."
|
42
|
+
|
43
|
+
To specify a Change Date.
|
44
|
+
|
45
|
+
Not to modify this License in any other way.
|
46
|
+
|
47
|
+
Notice
|
48
|
+
The Business Source License (this document, or the "License") is not an Open Source license. However, the Licensed Work will eventually be made available under an Open Source License, as stated in this License.
|
49
|
+
|
50
|
+
For more information on the use of the Business Source License generally, please visit the Adopting and Developing Business Source License FAQ.
|
51
|
+
|
52
|
+
License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. "Business Source License" is a trademark of MariaDB Corporation Ab.
|
data/README.md
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
Workarea Referral Rock
|
2
|
+
================================================================================
|
3
|
+
|
4
|
+
Referral Rock plugin for the Workarea platform.
|
5
|
+
|
6
|
+
Overview
|
7
|
+
--------------------------------------------------------------------------------
|
8
|
+
|
9
|
+
1. TODO
|
10
|
+
|
11
|
+
Getting Started
|
12
|
+
--------------------------------------------------------------------------------
|
13
|
+
|
14
|
+
This gem contains a Rails engine that must be mounted onto a host Rails application.
|
15
|
+
|
16
|
+
Then add the gem to your application's Gemfile specifying the source:
|
17
|
+
|
18
|
+
# ...
|
19
|
+
gem 'workarea-referral_rock'
|
20
|
+
# ...
|
21
|
+
|
22
|
+
Update your application's bundle.
|
23
|
+
|
24
|
+
cd path/to/application
|
25
|
+
bundle
|
26
|
+
|
27
|
+
Features
|
28
|
+
--------------------------------------------------------------------------------
|
29
|
+
|
30
|
+
### TODO
|
31
|
+
|
32
|
+
Workarea Platform Documentation
|
33
|
+
--------------------------------------------------------------------------------
|
34
|
+
|
35
|
+
See [https://developer.workarea.com](https://developer.workarea.com) for Workarea platform documentation.
|
36
|
+
|
37
|
+
License
|
38
|
+
--------------------------------------------------------------------------------
|
39
|
+
|
40
|
+
Workarea Referral Rock is released under the [Business Software License](LICENSE)
|
data/Rakefile
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
begin
|
2
|
+
require 'bundler/setup'
|
3
|
+
rescue LoadError
|
4
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
5
|
+
end
|
6
|
+
|
7
|
+
require 'rdoc/task'
|
8
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
9
|
+
rdoc.rdoc_dir = 'rdoc'
|
10
|
+
rdoc.title = 'Referral Rock'
|
11
|
+
rdoc.options << '--line-numbers'
|
12
|
+
rdoc.rdoc_files.include('README.md')
|
13
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
14
|
+
end
|
15
|
+
|
16
|
+
APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
|
17
|
+
load 'rails/tasks/engine.rake'
|
18
|
+
load 'rails/tasks/statistics.rake'
|
19
|
+
load 'workarea/changelog.rake'
|
20
|
+
|
21
|
+
require 'rake/testtask'
|
22
|
+
Rake::TestTask.new(:test) do |t|
|
23
|
+
t.libs << 'lib'
|
24
|
+
t.libs << 'test'
|
25
|
+
t.pattern = 'test/**/*_test.rb'
|
26
|
+
t.verbose = false
|
27
|
+
end
|
28
|
+
task default: :test
|
29
|
+
|
30
|
+
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
31
|
+
require 'workarea/referral_rock/version'
|
32
|
+
|
33
|
+
desc "Release version #{Workarea::ReferralRock::VERSION} of the gem"
|
34
|
+
task :release do
|
35
|
+
Rake::Task['workarea:changelog'].execute
|
36
|
+
system 'git add CHANGELOG.md'
|
37
|
+
system 'git commit -m "Update CHANGELOG"'
|
38
|
+
|
39
|
+
system "git tag -a v#{Workarea::ReferralRock::VERSION} -m 'Tagging #{Workarea::ReferralRock::VERSION}'"
|
40
|
+
system 'git push origin HEAD --follow-tags'
|
41
|
+
|
42
|
+
system "gem build workarea-referral_rock.gemspec"
|
43
|
+
system "gem push workarea-referral_rock-#{Workarea::ReferralRock::VERSION}.gem"
|
44
|
+
system "rm workarea-referral_rock-#{Workarea::ReferralRock::VERSION}.gem"
|
45
|
+
end
|
46
|
+
|
47
|
+
desc 'Run the JavaScript tests'
|
48
|
+
ENV['TEASPOON_RAILS_ENV'] = File.expand_path('../test/dummy/config/environment', __FILE__)
|
49
|
+
task teaspoon: 'app:teaspoon'
|
50
|
+
|
51
|
+
desc 'Start a server at http://localhost:3000/teaspoon for JavaScript tests'
|
52
|
+
task :teaspoon_server do
|
53
|
+
Dir.chdir("test/dummy")
|
54
|
+
teaspoon_env = File.expand_path('../test/teaspoon_env.rb', __FILE__)
|
55
|
+
system "RAILS_ENV=test TEASPOON_ENV=#{teaspoon_env} rails s"
|
56
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/app/helpers/.keep
ADDED
File without changes
|
data/app/mailers/.keep
ADDED
File without changes
|
data/app/models/.keep
ADDED
File without changes
|
data/app/views/.keep
ADDED
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
- if @order.present?
|
2
|
+
:javascript
|
3
|
+
window.rrSpace = (
|
4
|
+
rrSettingsConversion = {
|
5
|
+
debug: "false",
|
6
|
+
parameters: {
|
7
|
+
firstname: "#{@order.billing_address.first_name} #{@order.billing_address.last_name}",
|
8
|
+
email: "#{@order.email}",
|
9
|
+
externalidentifier: "#{@order.email}",
|
10
|
+
amount: "#{number_to_currency(@order.total_price)}"
|
11
|
+
}
|
12
|
+
}
|
13
|
+
);
|
14
|
+
(function (f, r, n, d, b, y) { b = f.createElement(r), y = f.getElementsByTagName(r)[0]; b.async = 1; b.src = n; b.id = 'RR_DIVID'; y.parentNode.insertBefore(b, y); })(document, 'script', '//valken.referralrock.com/webpixel/beta/universalv03.js');
|
@@ -0,0 +1,3 @@
|
|
1
|
+
- if current_page?(Workarea.config.referral_rock_landing_page)
|
2
|
+
:javascript
|
3
|
+
(function (f, r, n, d, b, y) { b = f.createElement(r), y = f.getElementsByTagName(r)[0]; b.async = 1; b.src = n; b.id = 'RR_DIVID'; y.parentNode.insertBefore(b, y); })(document, 'script', '//valken.referralrock.com/webpixel/beta/universalv03.js');
|
data/bin/rails
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails gems
|
3
|
+
# installed from the root of your application.
|
4
|
+
|
5
|
+
ENGINE_ROOT = File.expand_path('..', __dir__)
|
6
|
+
ENGINE_PATH = File.expand_path('../lib/workarea/referral_rock/engine', __dir__)
|
7
|
+
APP_PATH = File.expand_path('../test/dummy/config/application', __dir__)
|
8
|
+
|
9
|
+
# Set up gems listed in the Gemfile.
|
10
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
11
|
+
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
12
|
+
|
13
|
+
require "rails"
|
14
|
+
# Pick the frameworks you want:
|
15
|
+
require "active_model/railtie"
|
16
|
+
require "active_job/railtie"
|
17
|
+
# require "active_record/railtie"
|
18
|
+
# require "active_storage/engine"
|
19
|
+
require "action_controller/railtie"
|
20
|
+
require "action_mailer/railtie"
|
21
|
+
require "action_view/railtie"
|
22
|
+
# require "action_cable/engine"
|
23
|
+
require "sprockets/railtie"
|
24
|
+
require "rails/test_unit/railtie"
|
25
|
+
require 'rails/engine/commands'
|
@@ -0,0 +1,10 @@
|
|
1
|
+
module Workarea
|
2
|
+
Plugin.append_partials(
|
3
|
+
'storefront.javascript',
|
4
|
+
'workarea/storefront/referral_rock/conversion_script'
|
5
|
+
)
|
6
|
+
Plugin.append_partials(
|
7
|
+
'storefront.checkout_confirmation',
|
8
|
+
'workarea/storefront/referral_rock/confirmation_script'
|
9
|
+
)
|
10
|
+
end
|
data/config/routes.rb
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.6.3
|
data/test/dummy/Rakefile
ADDED
File without changes
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
+
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
+
* It is generally better to create a new file per style scope.
|
12
|
+
*
|
13
|
+
*= require_tree .
|
14
|
+
*= require_self
|
15
|
+
*/
|
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require rails-ujs
|
14
|
+
//= require_tree .
|
@@ -0,0 +1,7 @@
|
|
1
|
+
class ApplicationJob < ActiveJob::Base
|
2
|
+
# Automatically retry jobs that encountered a deadlock
|
3
|
+
# retry_on ActiveRecord::Deadlocked
|
4
|
+
|
5
|
+
# Most jobs are safe to ignore if the underlying records are no longer available
|
6
|
+
# discard_on ActiveJob::DeserializationError
|
7
|
+
end
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
<%= yield %>
|
data/test/dummy/bin/rake
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'fileutils'
|
3
|
+
|
4
|
+
# path to your application root.
|
5
|
+
APP_ROOT = File.expand_path('..', __dir__)
|
6
|
+
|
7
|
+
def system!(*args)
|
8
|
+
system(*args) || abort("\n== Command #{args} failed ==")
|
9
|
+
end
|
10
|
+
|
11
|
+
FileUtils.chdir APP_ROOT do
|
12
|
+
# This script is a way to setup or update your development environment automatically.
|
13
|
+
# This script is idempotent, so that you can run it at anytime and get an expectable outcome.
|
14
|
+
# Add necessary setup steps to this file.
|
15
|
+
|
16
|
+
puts '== Installing dependencies =='
|
17
|
+
system! 'gem install bundler --conservative'
|
18
|
+
system('bundle check') || system!('bundle install')
|
19
|
+
|
20
|
+
puts "\n== Removing old logs and tempfiles =="
|
21
|
+
system! 'bin/rails log:clear tmp:clear'
|
22
|
+
|
23
|
+
puts "\n== Restarting application server =="
|
24
|
+
system! 'bin/rails restart'
|
25
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require_relative 'boot'
|
2
|
+
|
3
|
+
require "rails"
|
4
|
+
# Pick the frameworks you want:
|
5
|
+
require "active_model/railtie"
|
6
|
+
require "active_job/railtie"
|
7
|
+
# require "active_record/railtie"
|
8
|
+
# require "active_storage/engine"
|
9
|
+
require "action_controller/railtie"
|
10
|
+
require "action_mailer/railtie"
|
11
|
+
require "action_view/railtie"
|
12
|
+
# require "action_cable/engine"
|
13
|
+
require "sprockets/railtie"
|
14
|
+
require "rails/test_unit/railtie"
|
15
|
+
|
16
|
+
# Workarea must be required before other gems to ensure control over Rails.env
|
17
|
+
# for running tests
|
18
|
+
require 'workarea'
|
19
|
+
Bundler.require(*Rails.groups)
|
20
|
+
require "workarea/referral_rock"
|
21
|
+
|
22
|
+
module Dummy
|
23
|
+
class Application < Rails::Application
|
24
|
+
# Initialize configuration defaults for originally generated Rails version.
|
25
|
+
config.load_defaults 6.0
|
26
|
+
|
27
|
+
# Settings in config/environments/* take precedence over those specified here.
|
28
|
+
# Application configuration can go into files in config/initializers
|
29
|
+
# -- all .rb files in that directory are automatically loaded after loading
|
30
|
+
# the framework and any gems in your application.
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
@@ -0,0 +1,53 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Do not eager load code on boot.
|
10
|
+
config.eager_load = false
|
11
|
+
|
12
|
+
# Show full error reports.
|
13
|
+
config.consider_all_requests_local = true
|
14
|
+
|
15
|
+
# Enable/disable caching. By default caching is disabled.
|
16
|
+
# Run rails dev:cache to toggle caching.
|
17
|
+
if Rails.root.join('tmp', 'caching-dev.txt').exist?
|
18
|
+
config.action_controller.perform_caching = true
|
19
|
+
config.action_controller.enable_fragment_cache_logging = true
|
20
|
+
|
21
|
+
config.cache_store = :memory_store
|
22
|
+
config.public_file_server.headers = {
|
23
|
+
'Cache-Control' => "public, max-age=#{2.days.to_i}"
|
24
|
+
}
|
25
|
+
else
|
26
|
+
config.action_controller.perform_caching = false
|
27
|
+
|
28
|
+
config.cache_store = :null_store
|
29
|
+
end
|
30
|
+
|
31
|
+
# Don't care if the mailer can't send.
|
32
|
+
config.action_mailer.raise_delivery_errors = false
|
33
|
+
|
34
|
+
config.action_mailer.perform_caching = false
|
35
|
+
|
36
|
+
# Print deprecation notices to the Rails logger.
|
37
|
+
config.active_support.deprecation = :log
|
38
|
+
|
39
|
+
# Debug mode disables concatenation and preprocessing of assets.
|
40
|
+
# This option may cause significant delays in view rendering with a large
|
41
|
+
# number of complex assets.
|
42
|
+
config.assets.debug = true
|
43
|
+
|
44
|
+
# Suppress logger output for asset requests.
|
45
|
+
config.assets.quiet = true
|
46
|
+
|
47
|
+
# Raises error for missing translations.
|
48
|
+
# config.action_view.raise_on_missing_translations = true
|
49
|
+
|
50
|
+
# Use an evented file watcher to asynchronously detect changes in source code,
|
51
|
+
# routes, locales, etc. This feature depends on the listen gem.
|
52
|
+
# config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
53
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# Code is not reloaded between requests.
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Eager load code on boot. This eager loads most of Rails and
|
8
|
+
# your application in memory, allowing both threaded web servers
|
9
|
+
# and those relying on copy on write to perform better.
|
10
|
+
# Rake tasks automatically ignore this option for performance.
|
11
|
+
config.eager_load = true
|
12
|
+
|
13
|
+
# Full error reports are disabled and caching is turned on.
|
14
|
+
config.consider_all_requests_local = false
|
15
|
+
config.action_controller.perform_caching = true
|
16
|
+
|
17
|
+
# Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
|
18
|
+
# or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
|
19
|
+
# config.require_master_key = true
|
20
|
+
|
21
|
+
# Disable serving static files from the `/public` folder by default since
|
22
|
+
# Apache or NGINX already handles this.
|
23
|
+
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
24
|
+
|
25
|
+
# Compress CSS using a preprocessor.
|
26
|
+
# config.assets.css_compressor = :sass
|
27
|
+
|
28
|
+
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
29
|
+
config.assets.compile = false
|
30
|
+
|
31
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
32
|
+
# config.action_controller.asset_host = 'http://assets.example.com'
|
33
|
+
|
34
|
+
# Specifies the header that your server uses for sending files.
|
35
|
+
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
|
36
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
|
37
|
+
|
38
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
39
|
+
# config.force_ssl = true
|
40
|
+
|
41
|
+
# Use the lowest log level to ensure availability of diagnostic information
|
42
|
+
# when problems arise.
|
43
|
+
config.log_level = :debug
|
44
|
+
|
45
|
+
# Prepend all log lines with the following tags.
|
46
|
+
config.log_tags = [ :request_id ]
|
47
|
+
|
48
|
+
# Use a different cache store in production.
|
49
|
+
# config.cache_store = :mem_cache_store
|
50
|
+
|
51
|
+
# Use a real queuing backend for Active Job (and separate queues per environment).
|
52
|
+
# config.active_job.queue_adapter = :resque
|
53
|
+
# config.active_job.queue_name_prefix = "dummy_production"
|
54
|
+
|
55
|
+
config.action_mailer.perform_caching = false
|
56
|
+
|
57
|
+
# Ignore bad email addresses and do not raise email delivery errors.
|
58
|
+
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
59
|
+
# config.action_mailer.raise_delivery_errors = false
|
60
|
+
|
61
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
62
|
+
# the I18n.default_locale when a translation cannot be found).
|
63
|
+
config.i18n.fallbacks = true
|
64
|
+
|
65
|
+
# Send deprecation notices to registered listeners.
|
66
|
+
config.active_support.deprecation = :notify
|
67
|
+
|
68
|
+
# Use default logging formatter so that PID and timestamp are not suppressed.
|
69
|
+
config.log_formatter = ::Logger::Formatter.new
|
70
|
+
|
71
|
+
# Use a different logger for distributed setups.
|
72
|
+
# require 'syslog/logger'
|
73
|
+
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
|
74
|
+
|
75
|
+
if ENV["RAILS_LOG_TO_STDOUT"].present?
|
76
|
+
logger = ActiveSupport::Logger.new(STDOUT)
|
77
|
+
logger.formatter = config.log_formatter
|
78
|
+
config.logger = ActiveSupport::TaggedLogging.new(logger)
|
79
|
+
end
|
80
|
+
|
81
|
+
# Inserts middleware to perform automatic connection switching.
|
82
|
+
# The `database_selector` hash is used to pass options to the DatabaseSelector
|
83
|
+
# middleware. The `delay` is used to determine how long to wait after a write
|
84
|
+
# to send a subsequent read to the primary.
|
85
|
+
#
|
86
|
+
# The `database_resolver` class is used by the middleware to determine which
|
87
|
+
# database is appropriate to use based on the time delay.
|
88
|
+
#
|
89
|
+
# The `database_resolver_context` class is used by the middleware to set
|
90
|
+
# timestamps for the last write to the primary. The resolver uses the context
|
91
|
+
# class timestamps to determine how long to wait before reading from the
|
92
|
+
# replica.
|
93
|
+
#
|
94
|
+
# By default Rails will store a last write timestamp in the session. The
|
95
|
+
# DatabaseSelector middleware is designed as such you can define your own
|
96
|
+
# strategy for connection switching and pass that into the middleware through
|
97
|
+
# these configuration options.
|
98
|
+
# config.active_record.database_selector = { delay: 2.seconds }
|
99
|
+
# config.active_record.database_resolver = ActiveRecord::Middleware::DatabaseSelector::Resolver
|
100
|
+
# config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session
|
101
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# The test environment is used exclusively to run your application's
|
2
|
+
# test suite. You never need to work with it otherwise. Remember that
|
3
|
+
# your test database is "scratch space" for the test suite and is wiped
|
4
|
+
# and recreated between test runs. Don't rely on the data there!
|
5
|
+
|
6
|
+
Rails.application.configure do
|
7
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
8
|
+
|
9
|
+
config.cache_classes = false
|
10
|
+
config.action_view.cache_template_loading = true
|
11
|
+
|
12
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
13
|
+
# just for the purpose of running a single test. If you are using a tool that
|
14
|
+
# preloads Rails for running tests, you may have to set it to true.
|
15
|
+
config.eager_load = false
|
16
|
+
|
17
|
+
# Configure public file server for tests with Cache-Control for performance.
|
18
|
+
config.public_file_server.enabled = true
|
19
|
+
config.public_file_server.headers = {
|
20
|
+
'Cache-Control' => "public, max-age=#{1.hour.to_i}"
|
21
|
+
}
|
22
|
+
|
23
|
+
# Show full error reports and disable caching.
|
24
|
+
config.consider_all_requests_local = true
|
25
|
+
config.action_controller.perform_caching = false
|
26
|
+
config.cache_store = :null_store
|
27
|
+
|
28
|
+
# Raise exceptions instead of rendering exception templates.
|
29
|
+
config.action_dispatch.show_exceptions = false
|
30
|
+
|
31
|
+
# Disable request forgery protection in test environment.
|
32
|
+
config.action_controller.allow_forgery_protection = false
|
33
|
+
|
34
|
+
config.action_mailer.perform_caching = false
|
35
|
+
|
36
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
37
|
+
# The :test delivery method accumulates sent emails in the
|
38
|
+
# ActionMailer::Base.deliveries array.
|
39
|
+
config.action_mailer.delivery_method = :test
|
40
|
+
|
41
|
+
# Print deprecation notices to the stderr.
|
42
|
+
config.active_support.deprecation = :stderr
|
43
|
+
|
44
|
+
# Raises error for missing translations.
|
45
|
+
# config.action_view.raise_on_missing_translations = true
|
46
|
+
|
47
|
+
config.cache_store = :null_store
|
48
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Version of your assets, change this if you want to expire all your assets.
|
4
|
+
Rails.application.config.assets.version = '1.0'
|
5
|
+
|
6
|
+
# Add additional assets to the asset load path.
|
7
|
+
# Rails.application.config.assets.paths << Emoji.images_path
|
8
|
+
|
9
|
+
# Precompile additional assets.
|
10
|
+
# application.js, application.css, and all non-JS/CSS in the app/assets
|
11
|
+
# folder are already added.
|
12
|
+
# Rails.application.config.assets.precompile += %w( admin.js admin.css )
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Define an application-wide content security policy
|
4
|
+
# For further information see the following documentation
|
5
|
+
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
|
6
|
+
|
7
|
+
# Rails.application.config.content_security_policy do |policy|
|
8
|
+
# policy.default_src :self, :https
|
9
|
+
# policy.font_src :self, :https, :data
|
10
|
+
# policy.img_src :self, :https, :data
|
11
|
+
# policy.object_src :none
|
12
|
+
# policy.script_src :self, :https
|
13
|
+
# policy.style_src :self, :https
|
14
|
+
|
15
|
+
# # Specify URI for violation reports
|
16
|
+
# # policy.report_uri "/csp-violation-report-endpoint"
|
17
|
+
# end
|
18
|
+
|
19
|
+
# If you are using UJS then enable automatic nonce generation
|
20
|
+
# Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) }
|
21
|
+
|
22
|
+
# Set the nonce only to specific directives
|
23
|
+
# Rails.application.config.content_security_policy_nonce_directives = %w(script-src)
|
24
|
+
|
25
|
+
# Report CSP violations to a specified URI
|
26
|
+
# For further information see the following documentation:
|
27
|
+
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
|
28
|
+
# Rails.application.config.content_security_policy_report_only = true
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# The following keys must be escaped otherwise they will not be retrieved by
|
20
|
+
# the default I18n backend:
|
21
|
+
#
|
22
|
+
# true, false, on, off, yes, no
|
23
|
+
#
|
24
|
+
# Instead, surround them with single quotes.
|
25
|
+
#
|
26
|
+
# en:
|
27
|
+
# 'true': 'foo'
|
28
|
+
#
|
29
|
+
# To learn more, please read the Rails Internationalization guide
|
30
|
+
# available at https://guides.rubyonrails.org/i18n.html.
|
31
|
+
|
32
|
+
en:
|
33
|
+
hello: "Hello world"
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Puma can serve each request in a thread from an internal thread pool.
|
2
|
+
# The `threads` method setting takes two numbers: a minimum and maximum.
|
3
|
+
# Any libraries that use thread pools should be configured to match
|
4
|
+
# the maximum value specified for Puma. Default is set to 5 threads for minimum
|
5
|
+
# and maximum; this matches the default thread size of Active Record.
|
6
|
+
#
|
7
|
+
max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
|
8
|
+
min_threads_count = ENV.fetch("RAILS_MIN_THREADS") { max_threads_count }
|
9
|
+
threads min_threads_count, max_threads_count
|
10
|
+
|
11
|
+
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
12
|
+
#
|
13
|
+
port ENV.fetch("PORT") { 3000 }
|
14
|
+
|
15
|
+
# Specifies the `environment` that Puma will run in.
|
16
|
+
#
|
17
|
+
environment ENV.fetch("RAILS_ENV") { "development" }
|
18
|
+
|
19
|
+
# Specifies the `pidfile` that Puma will use.
|
20
|
+
pidfile ENV.fetch("PIDFILE") { "tmp/pids/server.pid" }
|
21
|
+
|
22
|
+
# Specifies the number of `workers` to boot in clustered mode.
|
23
|
+
# Workers are forked web server processes. If using threads and workers together
|
24
|
+
# the concurrency of the application would be max `threads` * `workers`.
|
25
|
+
# Workers do not work on JRuby or Windows (both of which do not support
|
26
|
+
# processes).
|
27
|
+
#
|
28
|
+
# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
|
29
|
+
|
30
|
+
# Use the `preload_app!` method when specifying a `workers` number.
|
31
|
+
# This directive tells Puma to first boot the application and load code
|
32
|
+
# before forking the application. This takes advantage of Copy On Write
|
33
|
+
# process behavior so workers use less memory.
|
34
|
+
#
|
35
|
+
# preload_app!
|
36
|
+
|
37
|
+
# Allow puma to be restarted by `rails restart` command.
|
38
|
+
plugin :tmp_restart
|
File without changes
|
File without changes
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV['RAILS_ENV'] = 'test'
|
3
|
+
|
4
|
+
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
5
|
+
require 'rails/test_help'
|
6
|
+
require 'workarea/test_help'
|
7
|
+
|
8
|
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
9
|
+
# to be shown.
|
10
|
+
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
@@ -0,0 +1,21 @@
|
|
1
|
+
$:.push File.expand_path("lib", __dir__)
|
2
|
+
|
3
|
+
# Maintain your gem's version:
|
4
|
+
require "workarea/referral_rock/version"
|
5
|
+
|
6
|
+
# Describe your gem and declare its dependencies:
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "workarea-referral_rock"
|
9
|
+
spec.version = Workarea::ReferralRock::VERSION
|
10
|
+
spec.authors = ["Gunasekaran Raja"]
|
11
|
+
spec.email = ["guna.r@trikatechnologies.com"]
|
12
|
+
spec.homepage = "https://github.com/trikatechnologies/workarea-referral_rock"
|
13
|
+
spec.summary = "ReferralRock integration for workarea platform"
|
14
|
+
spec.description = "This will send tracking and converstion info to referral rock from workarea"
|
15
|
+
spec.license = "Business Software License"
|
16
|
+
|
17
|
+
|
18
|
+
spec.files = `git ls-files`.split("\n")
|
19
|
+
|
20
|
+
spec.add_dependency 'workarea', '~> 3.x'
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,128 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: workarea-referral_rock
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gunasekaran Raja
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-11-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: workarea
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.x
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.x
|
27
|
+
description: This will send tracking and converstion info to referral rock from workarea
|
28
|
+
email:
|
29
|
+
- guna.r@trikatechnologies.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".gitignore"
|
35
|
+
- Gemfile
|
36
|
+
- LICENSE
|
37
|
+
- README.md
|
38
|
+
- Rakefile
|
39
|
+
- app/assets/images/workarea/admin/referral_rock/.keep
|
40
|
+
- app/assets/images/workarea/storefront/referral_rock/.keep
|
41
|
+
- app/assets/javascripts/workarea/admin/referral_rock/.keep
|
42
|
+
- app/assets/javascripts/workarea/storefront/referral_rock/.keep
|
43
|
+
- app/assets/stylesheets/workarea/admin/referral_rock/.keep
|
44
|
+
- app/assets/stylesheets/workarea/storefront/referral_rock/.keep
|
45
|
+
- app/controllers/.keep
|
46
|
+
- app/helpers/.keep
|
47
|
+
- app/mailers/.keep
|
48
|
+
- app/models/.keep
|
49
|
+
- app/views/.keep
|
50
|
+
- app/views/workarea/storefront/referral_rock/_confirmation_script.html.haml
|
51
|
+
- app/views/workarea/storefront/referral_rock/_conversion_script.html.haml
|
52
|
+
- bin/rails
|
53
|
+
- config/initializers/appends.rb
|
54
|
+
- config/initializers/referral_rock_configurations.rb
|
55
|
+
- config/initializers/workarea.rb
|
56
|
+
- config/routes.rb
|
57
|
+
- lib/workarea/referral_rock.rb
|
58
|
+
- lib/workarea/referral_rock/engine.rb
|
59
|
+
- lib/workarea/referral_rock/version.rb
|
60
|
+
- test/dummy/.ruby-version
|
61
|
+
- test/dummy/Rakefile
|
62
|
+
- test/dummy/app/assets/config/manifest.js
|
63
|
+
- test/dummy/app/assets/images/.keep
|
64
|
+
- test/dummy/app/assets/stylesheets/application.css
|
65
|
+
- test/dummy/app/controllers/application_controller.rb
|
66
|
+
- test/dummy/app/controllers/concerns/.keep
|
67
|
+
- test/dummy/app/helpers/application_helper.rb
|
68
|
+
- test/dummy/app/javascript/packs/application.js
|
69
|
+
- test/dummy/app/jobs/application_job.rb
|
70
|
+
- test/dummy/app/mailers/application_mailer.rb
|
71
|
+
- test/dummy/app/models/concerns/.keep
|
72
|
+
- test/dummy/app/views/layouts/application.html.erb
|
73
|
+
- test/dummy/app/views/layouts/mailer.html.erb
|
74
|
+
- test/dummy/app/views/layouts/mailer.text.erb
|
75
|
+
- test/dummy/bin/rails
|
76
|
+
- test/dummy/bin/rake
|
77
|
+
- test/dummy/bin/setup
|
78
|
+
- test/dummy/config.ru
|
79
|
+
- test/dummy/config/application.rb
|
80
|
+
- test/dummy/config/boot.rb
|
81
|
+
- test/dummy/config/environment.rb
|
82
|
+
- test/dummy/config/environments/development.rb
|
83
|
+
- test/dummy/config/environments/production.rb
|
84
|
+
- test/dummy/config/environments/test.rb
|
85
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
86
|
+
- test/dummy/config/initializers/assets.rb
|
87
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
88
|
+
- test/dummy/config/initializers/content_security_policy.rb
|
89
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
90
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
91
|
+
- test/dummy/config/initializers/inflections.rb
|
92
|
+
- test/dummy/config/initializers/mime_types.rb
|
93
|
+
- test/dummy/config/initializers/workarea.rb
|
94
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
95
|
+
- test/dummy/config/locales/en.yml
|
96
|
+
- test/dummy/config/puma.rb
|
97
|
+
- test/dummy/config/routes.rb
|
98
|
+
- test/dummy/config/spring.rb
|
99
|
+
- test/dummy/db/seeds.rb
|
100
|
+
- test/dummy/lib/assets/.keep
|
101
|
+
- test/dummy/log/.keep
|
102
|
+
- test/teaspoon_env.rb
|
103
|
+
- test/test_helper.rb
|
104
|
+
- workarea-referral_rock.gemspec
|
105
|
+
homepage: https://github.com/trikatechnologies/workarea-referral_rock
|
106
|
+
licenses:
|
107
|
+
- Business Software License
|
108
|
+
metadata: {}
|
109
|
+
post_install_message:
|
110
|
+
rdoc_options: []
|
111
|
+
require_paths:
|
112
|
+
- lib
|
113
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
requirements: []
|
124
|
+
rubygems_version: 3.0.3
|
125
|
+
signing_key:
|
126
|
+
specification_version: 4
|
127
|
+
summary: ReferralRock integration for workarea platform
|
128
|
+
test_files: []
|