Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glebm@google.com>2015-01-17 23:57:38 +0300
committerGleb Mazovetskiy <glebm@google.com>2015-01-18 01:49:41 +0300
commit30ac3c8ca7c5041fdde484041c659b12cdee6208 (patch)
tree3f110fa5ce6133f60368b7b003f7f314ca612cdf
parent90446df74e67ca1b4f7eed579eb8b87ccaf90408 (diff)
Make autoprefixer-rails a dependency #824
-rw-r--r--README.md7
-rw-r--r--bootstrap-sass.gemspec2
-rw-r--r--test/dummy_rails/config/environments/test.rb2
3 files changed, 3 insertions, 8 deletions
diff --git a/README.md b/README.md
index 4ceca14..810345d 100644
--- a/README.md
+++ b/README.md
@@ -21,13 +21,6 @@ gem 'bootstrap-sass', '~> 3.3.1'
gem 'sass-rails', '>= 3.2'
```
-Bootstrap requires the use of [Autoprefixer](https://github.com/ai/autoprefixer-rails)
-to add browser vendor prefixes automatically. Simply add the gem:
-
-```ruby
-gem 'autoprefixer-rails'
-```
-
`bundle install` and restart your server to make the files available through the pipeline.
Import Bootstrap styles in `app/assets/stylesheets/application.css.scss`:
diff --git a/bootstrap-sass.gemspec b/bootstrap-sass.gemspec
index a938a54..b07f39c 100644
--- a/bootstrap-sass.gemspec
+++ b/bootstrap-sass.gemspec
@@ -12,6 +12,7 @@ Gem::Specification.new do |s|
s.license = 'MIT'
s.add_runtime_dependency 'sass', '~> 3.2'
+ s.add_runtime_dependency 'autoprefixer-rails', '~> 5.0'
# Testing dependencies
s.add_development_dependency 'minitest', '~> 5.4.0'
@@ -24,7 +25,6 @@ Gem::Specification.new do |s|
s.add_development_dependency 'activesupport', '>= 4.1.5'
s.add_development_dependency 'json', '>= 1.8.1'
s.add_development_dependency 'sprockets-rails', '>= 2.1.3'
- s.add_development_dependency 'autoprefixer-rails', '~> 1.1'
s.add_development_dependency 'jquery-rails', '>= 3.1.0'
s.add_development_dependency 'slim-rails'
s.add_development_dependency 'uglifier'
diff --git a/test/dummy_rails/config/environments/test.rb b/test/dummy_rails/config/environments/test.rb
index 59c6a96..0ad21d0 100644
--- a/test/dummy_rails/config/environments/test.rb
+++ b/test/dummy_rails/config/environments/test.rb
@@ -26,5 +26,7 @@ Dummy::Application.configure do
# Disable request forgery protection in test environment.
config.action_controller.allow_forgery_protection = false
+ config.active_support.test_order = :random
+
config.active_support.deprecation = :stderr
end