Skip to content

Commit

Permalink
Merge pull request #890 from dbt-labs/feature/disable_index_warning
Browse files Browse the repository at this point in the history
Bug bounty PR
  • Loading branch information
VersusFacit authored Nov 11, 2021
2 parents 4557e13 + 24fc01f commit 8786986
Show file tree
Hide file tree
Showing 29 changed files with 70 additions and 27 deletions.
26 changes: 14 additions & 12 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GEM
autoprefixer-rails (10.3.3.0)
execjs (~> 2)
backports (3.21.0)
coderay (1.1.2)
coderay (1.1.3)
coffee-script (2.4.1)
coffee-script-source
execjs
Expand All @@ -29,7 +29,7 @@ GEM
execjs (2.8.1)
fast_blank (1.0.1)
fastimage (2.2.5)
ffi (1.15.3)
ffi (1.15.4)
haml (5.2.2)
temple (>= 0.8.0)
tilt
Expand All @@ -43,12 +43,12 @@ GEM
rexml
less (2.6.0)
commonjs (~> 0.2.7)
libv8-node (15.14.0.1)
libv8 (3.16.14.19)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
memoist (0.16.2)
method_source (0.9.0)
method_source (1.0.0)
middleman (4.4.0)
coffee-script (~> 2.2)
haml (>= 4.0.5)
Expand Down Expand Up @@ -89,19 +89,17 @@ GEM
em-websocket (~> 0.5.1)
middleman-core (>= 3.3)
rack-livereload (~> 0.3.15)
mini_racer (0.4.0)
libv8-node (~> 15.14.0.0)
minitest (5.14.4)
padrino-helpers (0.15.1)
i18n (>= 0.6.7, < 2)
padrino-support (= 0.15.1)
tilt (>= 1.4.1, < 3)
padrino-support (0.15.1)
parallel (1.20.1)
parallel (1.21.0)
parslet (2.0.0)
pry (0.11.3)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
pry (0.14.1)
coderay (~> 1.1)
method_source (~> 1.0)
public_suffix (4.0.6)
rack (2.2.3)
rack-livereload (0.3.17)
Expand All @@ -110,11 +108,15 @@ GEM
rb-inotify (0.10.1)
ffi (~> 1.0)
redcarpet (3.5.1)
ref (2.0.0)
rexml (3.2.5)
sassc (2.4.0)
ffi (~> 1.9)
servolux (0.13.0)
temple (0.8.2)
therubyracer (0.12.3)
libv8 (~> 3.16.14.15)
ref
thor (1.1.0)
tilt (2.0.10)
toml (0.3.0)
Expand All @@ -135,11 +137,11 @@ DEPENDENCIES
middleman (~> 4.4)
middleman-autoprefixer (~> 3.0.0)
middleman-livereload (= 3.4.7)
mini_racer
pry
redcarpet (= 3.5.1)
therubyracer
tzinfo-data
wdm (~> 0.1)

BUNDLED WITH
2.2.27
2.1.4
12 changes: 11 additions & 1 deletion config.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
require 'open-uri'

class Middleman::Util::EnhancedHash
# Mila: Looked into Hashie::Mash's source code where this class is
# defined (Middleman merely mixes it in). disable_warnings is the
# advertised way to turn off key conflict warnings which we probably
# cannot avoid in this project -- each package we host includes a file
# named index.json which is treated as a property. This in turn
# conflicts with Ruby's builtin [] (Array#index) method
disable_warnings
end

ignore 'www.getdbt.com/'
ignore 'source/img'

set :js_dir, 'javascripts'
set :images_dir, 'images'
set :images_dir, 'img'


activate :autoprefixer do |prefix|
Expand Down
2 changes: 1 addition & 1 deletion source/_nav.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="navigation-brand">
<a class="hub-logo" href="<%= site_url %>/" title="dbt hub" target="_self">
<strong class="nav-logo-text">dbt hub</strong>
<img src='/images/logos/dbt-lockup.png' style="height: 48px"/>
<img src='<%= site_url %>/img/logos/dbt-lockup.png' style="height: 48px"/>
</a>
</div>
<div class="navigation-link">
Expand Down
1 change: 0 additions & 1 deletion source/_sass

This file was deleted.

1 change: 0 additions & 1 deletion source/img

This file was deleted.

15 changes: 15 additions & 0 deletions source/img/bg/grid-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions source/img/bg/grid-red.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion source/layouts/layout.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</script>


<%= favicon_tag "#{site_url}/images/favicon.ico" %>
<%= favicon_tag "#{site_url}/img/favicon.ico" %>

<style>
.markdown-body {
Expand Down
20 changes: 10 additions & 10 deletions source/stylesheets/main.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
$readme: false;

@charset "utf-8";
@import "../_sass/effects/effects";
@import "../_sass/bootstrap/variables";
@import "../_sass/bootstrap/bootstrap-sass/bootstrap";
@import "../../www.getdbt.com/ui/_sass/effects/effects";
@import "../../www.getdbt.com/ui/_sass/bootstrap/variables";
@import "../../www.getdbt.com/ui/_sass/bootstrap/bootstrap-sass/bootstrap";

@import "../_sass/functions/functions";
@import "../_sass/fonts/fonts";
@import "../_sass/base/base";
@import "../_sass/widgets/widgets";
@import "../_sass/components/components";
@import "../_sass/layout/layout";
@import "../_sass/custom/custom";
@import "../../www.getdbt.com/ui/_sass/functions/functions";
@import "../../www.getdbt.com/ui/_sass/fonts/fonts";
@import "../../www.getdbt.com/ui/_sass/base/base";
@import "../../www.getdbt.com/ui/_sass/widgets/widgets";
@import "../../www.getdbt.com/ui/_sass/components/components";
@import "../../www.getdbt.com/ui/_sass/layout/layout";
@import "../../www.getdbt.com/ui/_sass/custom/custom";

pre {
background-color: #f6f8fa;
Expand Down

0 comments on commit 8786986

Please sign in to comment.