Bugfix: Sorting out dependencies

This commit is contained in:
Jonathan Abbett 2016-12-20 11:43:45 -05:00
parent e84ba2b4e4
commit ad1f35403d
5 changed files with 20 additions and 7 deletions

View File

@ -7,6 +7,13 @@ source 'http://rails-assets.org'
# development dependencies will be added by default to the :development group. # development dependencies will be added by default to the :development group.
gemspec gemspec
# These rails-assets dependencies need to be added to the developer's Gemfile
# since there's no way to specify a source in the gemspec.
source 'http://rails-assets.org' do
gem 'rails-assets-shepherd.js', '~> 1.8'
gem 'rails-assets-js-cookie', '~> 2.1'
end
# Declare any dependencies that are still in development here instead of in # Declare any dependencies that are still in development here instead of in
# your gemspec. These might include edge Rails or gems from your path or # your gemspec. These might include edge Rails or gems from your path or
# Git. Remember to move these dependencies to your gemspec before releasing # Git. Remember to move these dependencies to your gemspec before releasing

View File

@ -1,7 +1,7 @@
PATH PATH
remote: . remote: .
specs: specs:
abraham (1.1.1.rc2) abraham (1.1.1.rc3)
jquery-rails jquery-rails
rails (~> 5.0.0, >= 5.0.0.1) rails (~> 5.0.0, >= 5.0.0.1)
rails-assets-js-cookie (~> 2.1) rails-assets-js-cookie (~> 2.1)
@ -146,6 +146,8 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
abraham! abraham!
rails-assets-js-cookie (~> 2.1)!
rails-assets-shepherd.js (~> 1.8)!
rails-assets-tether! rails-assets-tether!
rubocop rubocop
sqlite3 sqlite3

View File

@ -16,10 +16,15 @@ Abraham needs to know the current user to track tour views, e.g. `current_user`
## Installation ## Installation
Add Abraham to your Gemfile: Add `abraham` and its JavaScript dependencies to your Gemfile:
``` ```
gem 'abraham' gem 'abraham'
source 'https://rails-assets.org' do
gem 'rails-assets-shepherd.js', '~> 1.8'
gem 'rails-assets-js-cookie', '~> 2.1'
end
``` ```
Then run: Then run:

View File

@ -19,11 +19,10 @@ Gem::Specification.new do |s|
s.add_dependency 'rails', '~> 5.0.0', '>= 5.0.0.1' s.add_dependency 'rails', '~> 5.0.0', '>= 5.0.0.1'
s.add_dependency 'sass-rails', '~> 5.0' s.add_dependency 'sass-rails', '~> 5.0'
s.add_dependency 'jquery-rails'
s.add_dependency 'rails-assets-shepherd.js', '~> 1.8'
s.add_dependency 'rails-assets-js-cookie', '~> 2.1'
s.add_development_dependency 'sqlite3' s.add_development_dependency 'sqlite3'
s.add_development_dependency 'rubocop' s.add_development_dependency 'rubocop'
s.add_runtime_dependency 'jquery-rails'
s.add_runtime_dependency 'rails-assets-shepherd.js', '~> 1.8'
s.add_runtime_dependency 'rails-assets-js-cookie', '~> 2.1'
end end

View File

@ -1,4 +1,4 @@
# frozen_string_literal: true # frozen_string_literal: true
module Abraham module Abraham
VERSION = '1.1.1.rc2' VERSION = '1.1.1'
end end