From 404ff1094357715eee9b480858ad017068e0ab75 Mon Sep 17 00:00:00 2001 From: vonavi Date: Mon, 7 Jul 2014 15:13:46 +0300 Subject: [PATCH] Gem 'jekyll-press' compresses HTML, JS, and CSS files. --- .openshift/markers/force_clean_build | 0 Gemfile | 3 ++- Gemfile.lock | 23 +++++++++++++++++++++++ _config.yml | 1 + 4 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .openshift/markers/force_clean_build diff --git a/.openshift/markers/force_clean_build b/.openshift/markers/force_clean_build new file mode 100644 index 0000000..e69de29 diff --git a/Gemfile b/Gemfile index 2849177..206c1ae 100644 --- a/Gemfile +++ b/Gemfile @@ -1,8 +1,9 @@ source 'https://rubygems.org' gem 'jekyll', '~> 2.1.0' -gem 'i18n' gem 'therubyracer' +gem 'i18n' +gem 'jekyll-press' group :development do # Automatically reload your browser when 'view' files are modified diff --git a/Gemfile.lock b/Gemfile.lock index db67016..4d3f7e7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -12,6 +12,10 @@ GEM execjs coffee-script-source (1.7.0) colorator (0.1) + css_press (0.3.2) + csspool-st (= 3.1.2) + json + csspool-st (3.1.2) em-websocket (0.5.1) eventmachine (>= 0.12.9) http_parser.rb (~> 0.6.0) @@ -30,6 +34,11 @@ GEM em-websocket (~> 0.5) guard (~> 2.0) multi_json (~> 1.8) + html_press (0.8.2) + htmlentities + multi_css (>= 0.1.0) + multi_js (>= 0.1.0) + htmlentities (4.3.2) http_parser.rb (0.6.0) i18n (0.6.9) jekyll (2.1.0) @@ -51,10 +60,16 @@ GEM coffee-script (~> 2.2) jekyll-gist (1.1.0) jekyll-paginate (1.0.0) + jekyll-press (0.2.1) + html_press (>= 0.8.2) + jekyll + multi_css (>= 0.1.0) + multi_js (>= 0.1.0) jekyll-sass-converter (1.0.0) sass (~> 3.2) jekyll-watch (1.0.0) listen (~> 2.7) + json (1.8.1) kramdown (1.4.0) libv8 (3.16.14.3) liquid (2.6.1) @@ -65,6 +80,10 @@ GEM lumberjack (1.0.9) mercenary (0.3.3) method_source (0.8.2) + multi_css (0.1.0) + css_press + multi_js (0.1.0) + uglifier (~> 2) multi_json (1.10.1) parslet (1.5.0) blankslate (~> 2.0) @@ -91,6 +110,9 @@ GEM timers (1.1.0) toml (0.1.1) parslet (~> 1.5.0) + uglifier (2.5.1) + execjs (>= 0.3.0) + json (>= 1.8.0) yajl-ruby (1.1.0) PLATFORMS @@ -100,4 +122,5 @@ DEPENDENCIES guard-livereload i18n jekyll (~> 2.1.0) + jekyll-press therubyracer diff --git a/_config.yml b/_config.yml index dc57ce4..089d4fc 100644 --- a/_config.yml +++ b/_config.yml @@ -5,6 +5,7 @@ permalink: pretty destination: public exclude: ['assets/vendor', 'Gemfile*', 'Guardfile', 'README*', 'vendor'] keep_files: ['.gitkeep'] +gems: ['jekyll-press'] encoding: UTF-8