Skip to content

Commit

Permalink
Deploy Ruby Update
Browse files Browse the repository at this point in the history
  • Loading branch information
istankevychgsa committed Nov 29, 2023
1 parent cd49120 commit d245214
Show file tree
Hide file tree
Showing 36 changed files with 7,033 additions and 25,448 deletions.
15 changes: 14 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,17 @@ node_modules
.DS_Store
Gemfile.lock
*.idea
.idea/*
.idea/*
Gemfile.lock
.DS_Store
assets/img
assets/fonts
assets/uswds/
!assets/uswds/.gitkeep
assets/js/uswds.js
assets/js/uswds.min.js
assets/js/uswds.min.js.map
_pages/payment-accuracy/assets/fonts/
!_pages/payment-accuracy/assets/fonts/.gitkeep
_pages/payment-accuracy/assets/img/
!_pages/payment-accuracy/assets/img/.gitkeep
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1.3
27 changes: 8 additions & 19 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,35 +1,24 @@
ruby '>= 2.5.7'
ruby '>= 3.1.3'

source "https://rubygems.org"

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 3.8"

gem "webrick" # not included in jekyll directly until 4.3.0 https://github.com/jekyll/jekyll/pull/8524

# See https://github.com/envygeeks/jekyll-assets/issues/622
gem "sprockets", "~> 3.7"

# If you have any plugins, put them here!
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6"
gem 'jekyll-redirect-from'
gem 'jekyll-paginate-v2', "2.0"
gem 'jekyll-paginate-v2', "3.0.0"
gem 'jekyll-sitemap'
gem 'jekyll-seo-tag'
gem "jekyll-assets", group: :jekyll_plugins

gem "jekyll-feed", "~> 0.6"
gem 'jekyll-redirect-from'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0" if Gem.win_platform?

gem "html-proofer", "~> 3.10"
gem "html-proofer", "~> 3.15"
gem "kramdown-parser-gfm", "1.1.0"
127 changes: 50 additions & 77 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,108 +1,79 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (5.2.4.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.1.6)
em-websocket (0.5.1)
concurrent-ruby (1.2.2)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
ethon (0.12.0)
ffi (>= 1.3.0)
http_parser.rb (~> 0)
ethon (0.16.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
eventmachine (1.2.7-x64-mingw32)
execjs (2.7.0)
extras (0.3.0)
forwardable-extended (~> 2.5)
fastimage (2.1.7)
ffi (1.12.2)
ffi (1.12.2-x64-mingw32)
ffi (1.16.3-x64-mingw-ucrt)
forwardable-extended (2.6.0)
html-proofer (3.15.3)
html-proofer (3.19.4)
addressable (~> 2.3)
mercenary (~> 0.3)
nokogumbo (~> 2.0)
parallel (~> 1.3)
nokogiri (~> 1.13)
parallel (~> 1.10)
rainbow (~> 3.0)
typhoeus (~> 1.3)
yell (~> 2.0)
http_parser.rb (0.6.0)
i18n (0.9.5)
http_parser.rb (0.8.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
jekyll (3.8.7)
jekyll (3.9.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
i18n (>= 0.7, < 2)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 2.0)
kramdown (~> 1.14)
kramdown (>= 1.17, < 3)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
jekyll-assets (3.0.12)
activesupport (~> 5.0)
execjs (~> 2.7)
extras (~> 0.2)
fastimage (~> 2.0, >= 1.8)
jekyll (>= 3.5, < 4.0)
jekyll-sanity (~> 1.2)
liquid-tag-parser (~> 1.0)
nokogiri (~> 1.8)
pathutil (~> 0.16)
sprockets (>= 3.3, < 4.1.beta)
jekyll-feed (0.13.0)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-paginate-v2 (2.0.0)
jekyll (~> 3.0)
jekyll-paginate-v2 (3.0.0)
jekyll (>= 3.0, < 5.0)
jekyll-redirect-from (0.16.0)
jekyll (>= 3.3, < 5.0)
jekyll-sanity (1.6.0)
jekyll (>= 3.1, < 5.0)
pathutil (~> 0.16)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (1.17.0)
liquid (4.0.3)
liquid-tag-parser (1.9.0)
extras (~> 0.3)
liquid (>= 3.0, < 5.0)
listen (3.2.1)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mini_portile2 (2.4.0)
minitest (5.14.1)
nokogiri (1.10.9)
mini_portile2 (~> 2.4.0)
nokogiri (1.10.9-x64-mingw32)
mini_portile2 (~> 2.4.0)
nokogumbo (2.0.2)
nokogiri (~> 1.8, >= 1.8.4)
parallel (1.19.1)
nokogiri (1.15.4-x64-mingw-ucrt)
racc (~> 1.4)
parallel (1.23.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.5)
rack (2.2.3)
rainbow (3.0.0)
rb-fsevent (0.10.4)
public_suffix (5.0.3)
racc (1.7.3)
rack (2.2.8)
rainbow (3.1.1)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rouge (3.19.0)
rexml (3.2.6)
rouge (3.30.0)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
Expand All @@ -112,33 +83,35 @@ GEM
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
thread_safe (0.3.6)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (1.2.7)
thread_safe (~> 0.1)
tzinfo-data (1.2020.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2023.3)
tzinfo (>= 1.0.0)
wdm (0.1.1)
webrick (1.8.1)
yell (2.2.2)

PLATFORMS
ruby
x64-mingw32
x64-mingw-ucrt

DEPENDENCIES
html-proofer (~> 3.10)
html-proofer (~> 3.15)
jekyll (~> 3.8)
jekyll-assets
jekyll-feed (~> 0.6)
jekyll-paginate-v2 (= 2.0)
jekyll-paginate-v2 (= 3.0.0)
jekyll-redirect-from
jekyll-seo-tag
jekyll-sitemap
kramdown-parser-gfm (= 1.1.0)
sprockets (~> 3.7)
tzinfo-data
wdm (~> 0.1.0)
webrick

RUBY VERSION
ruby 2.5.7p206
ruby 3.1.4p223

BUNDLED WITH
1.17.3
2.4.21
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ searchgov:

- We try to keep configuration options to a minimum so you can easily change functionality. You should review `_config.yml` to see the options that are available to you. There are a few values on top that you **need** to change. They refer to the agency name and contact information. The rest of `_config.yml` has a range of more advanced options.

- The contents inside `assets/` folder store your Javascript, SCSS/CSS, images, and other media assets are managed by [jekyll-assets](https://github.com/envygeeks/jekyll-assets). Assets are combined, compressed, and automatically available in your theme
- The `assets/` folder stores your Javascript, CSS, images, and other media assets. Additional SASS partials should be added to the `_sass/` folder where they can be imported. USWDS assets are automatically copied into the `assets/` folder when running `jekyll serve` or `jekyll build`

- If you look at `package.json` you will see that the `npm run federalist` command that will run when running on the Federalist platform.

Expand Down
30 changes: 16 additions & 14 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ twitter: 18F
# Configuration for Google Analytics, add your UA code here:
google_analytics_ua: UA-????????-??


dap_agency: GSA
# USAID - Agency for International Development
# USDA - Department of Agriculture
Expand Down Expand Up @@ -188,7 +189,6 @@ plugins:
- jekyll-redirect-from
- jekyll-sitemap
- jekyll-seo-tag
- jekyll-assets

############################################################
# Site configuration for the Jekyll 3 Pagination Gem
Expand Down Expand Up @@ -246,19 +246,21 @@ exclude:
- Gemfile.lock


assets:
digest: false
sources:
- node_modules/uswds/dist/img
- node_modules/uswds/dist/js
- node_modules/uswds/dist/scss
- node_modules/netlify-cms/dist
defaults:
js: { integrity: false }
css: { integrity: false }
img: { integrity: false }
features:
integrity: false
autoprefixer:
browsers:
- "> 2%"
- "last 2 versions"
- "IE 11"
- "not dead"

sass:
sass_dir: _sass
load_paths:
- node_modules/uswds/dist/
sourcemap: development
quiet_deps: true
style: compressed
verbose: true



2 changes: 1 addition & 1 deletion _includes/The-Latest-for-tiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


<div class="usa-media-block tablet:grid-col-12">
<p class="card-tag margin-top-0 text-gray-50 text-thin"> {{ include.text }} </p>
<p class="margin-top-0 text-gray-50 text-thin"> {{ include.text }} </p>
<div class="resources">
{% assign sorted = (site.resources | where: include.filter, 'yes') %}
{% for grant in sorted %}
Expand Down
6 changes: 3 additions & 3 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<header class="usa-banner__header">
<div class="usa-banner__inner">
<div class="grid-col-auto">
{% asset us_flag_small.png class="usa-banner__header-flag" alt="U.S. flag" %}
<img class="usa-banner__header-flag" alt="U.S. flag" src="{{ site.baseurl }}/assets/img/us_flag_small.png">
</div>
<div class="grid-col-fill tablet:grid-col-auto">
<p class="usa-banner__header-text">An official website of the United States government</p>
Expand All @@ -23,7 +23,7 @@
<div class="usa-banner__content usa-accordion__content" id="gov-banner">
<div class="grid-row grid-gap-lg">
<div class="usa-banner__guidance tablet:grid-col-6">
{% asset icon-dot-gov.svg class="usa-banner__icon usa-media-block__img" alt="Dot gov" %}
<img class="usa-banner__icon usa-media-block__img" alt="Dot gov" src="{{ site.baseurl }}/assets/img/icon-dot-gov.svg"/>
<div class="usa-media-block__body">
<p>
<strong>The .gov means it's official.</strong>
Expand All @@ -34,7 +34,7 @@
</div>
</div>
<div class="usa-banner__guidance tablet:grid-col-6">
{% asset icon-https.svg class="usa-banner__icon usa-media-block__img" alt="Https" %}
<img class="usa-banner__icon usa-media-block__img" alt="Https" src="{{ site.baseurl }}/assets/img/icon-https.svg"/>
<div class="usa-media-block__body">
<p>
<strong>The site is secure.</strong>
Expand Down
Loading

0 comments on commit d245214

Please sign in to comment.