From 4fb5a744d5e647aefef61882814505cd1f23e59a Mon Sep 17 00:00:00 2001 From: Nikita Kholin Date: Wed, 1 Feb 2017 11:43:06 +0200 Subject: [PATCH] Add tether gem --- Gemfile | 4 ++++ Gemfile.lock | 3 +++ app/assets/javascripts/application.js | 1 + 3 files changed, 8 insertions(+) diff --git a/Gemfile b/Gemfile index 708c87d..703ed40 100644 --- a/Gemfile +++ b/Gemfile @@ -22,6 +22,10 @@ gem 'slim-rails' gem 'turbolinks', '~> 5' gem 'uglifier', '>= 1.3.0' +source 'https://rails-assets.org' do + gem 'rails-assets-tether', '>= 1.3.3' +end + group :development, :test do gem 'byebug', platform: :mri gem 'factory_girl_rails' diff --git a/Gemfile.lock b/Gemfile.lock index 5c5cb3c..7a22529 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,5 +1,6 @@ GEM remote: https://rubygems.org/ + remote: https://rails-assets.org/ specs: actioncable (5.0.1) actionpack (= 5.0.1) @@ -178,6 +179,7 @@ GEM bundler (>= 1.3.0, < 2.0) railties (= 5.0.1) sprockets-rails (>= 2.0.0) + rails-assets-tether (1.4.0) rails-controller-testing (1.0.1) actionpack (~> 5.x) actionview (~> 5.x) @@ -327,6 +329,7 @@ DEPENDENCIES pg (~> 0.18) puma (~> 3.0) rails (~> 5.0.1) + rails-assets-tether (>= 1.3.3)! rails-controller-testing rainbow (>= 2.1.0, < 2.2.0) reek diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index b4350dc..69903ef 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -12,6 +12,7 @@ // //= require jquery //= require jquery_ujs +//= require tether //= require bootstrap //= require turbolinks //= require_tree .