bootstrap-sass 3.3.7 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bootstrap-sass might be problematic. Click here for more details.

Files changed (103) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +4 -10
  3. data/CHANGELOG.md +5 -0
  4. data/Gemfile +1 -4
  5. data/README.md +26 -58
  6. data/Rakefile +10 -8
  7. data/assets/javascripts/bootstrap-sprockets.js +3 -3
  8. data/assets/javascripts/bootstrap.js +120 -89
  9. data/assets/javascripts/bootstrap.min.js +3 -4
  10. data/assets/javascripts/bootstrap/affix.js +7 -5
  11. data/assets/javascripts/bootstrap/alert.js +6 -5
  12. data/assets/javascripts/bootstrap/button.js +4 -4
  13. data/assets/javascripts/bootstrap/carousel.js +16 -7
  14. data/assets/javascripts/bootstrap/collapse.js +6 -6
  15. data/assets/javascripts/bootstrap/dropdown.js +5 -5
  16. data/assets/javascripts/bootstrap/modal.js +43 -24
  17. data/assets/javascripts/bootstrap/popover.js +6 -6
  18. data/assets/javascripts/bootstrap/scrollspy.js +4 -4
  19. data/assets/javascripts/bootstrap/tab.js +10 -10
  20. data/assets/javascripts/bootstrap/tooltip.js +6 -6
  21. data/assets/javascripts/bootstrap/transition.js +5 -5
  22. data/assets/stylesheets/_bootstrap.scss +2 -2
  23. data/assets/stylesheets/bootstrap/_alerts.scss +3 -3
  24. data/assets/stylesheets/bootstrap/_badges.scss +3 -3
  25. data/assets/stylesheets/bootstrap/_breadcrumbs.scss +2 -2
  26. data/assets/stylesheets/bootstrap/_button-groups.scss +5 -5
  27. data/assets/stylesheets/bootstrap/_buttons.scss +4 -4
  28. data/assets/stylesheets/bootstrap/_carousel.scss +26 -25
  29. data/assets/stylesheets/bootstrap/_close.scss +1 -0
  30. data/assets/stylesheets/bootstrap/_code.scss +3 -3
  31. data/assets/stylesheets/bootstrap/_component-animations.scss +1 -0
  32. data/assets/stylesheets/bootstrap/_dropdowns.scss +20 -23
  33. data/assets/stylesheets/bootstrap/_forms.scss +47 -57
  34. data/assets/stylesheets/bootstrap/_glyphicons.scss +9 -9
  35. data/assets/stylesheets/bootstrap/_grid.scss +10 -0
  36. data/assets/stylesheets/bootstrap/_input-groups.scss +2 -2
  37. data/assets/stylesheets/bootstrap/_jumbotron.scss +5 -5
  38. data/assets/stylesheets/bootstrap/_labels.scss +1 -1
  39. data/assets/stylesheets/bootstrap/_list-group.scss +30 -32
  40. data/assets/stylesheets/bootstrap/_media.scss +1 -1
  41. data/assets/stylesheets/bootstrap/_modals.scss +6 -6
  42. data/assets/stylesheets/bootstrap/_navbar.scss +75 -81
  43. data/assets/stylesheets/bootstrap/_navs.scss +4 -4
  44. data/assets/stylesheets/bootstrap/_normalize.scss +5 -2
  45. data/assets/stylesheets/bootstrap/_pager.scss +2 -2
  46. data/assets/stylesheets/bootstrap/_pagination.scss +12 -15
  47. data/assets/stylesheets/bootstrap/_panels.scss +4 -4
  48. data/assets/stylesheets/bootstrap/_popovers.scss +47 -52
  49. data/assets/stylesheets/bootstrap/_print.scss +90 -92
  50. data/assets/stylesheets/bootstrap/_progress-bars.scss +3 -3
  51. data/assets/stylesheets/bootstrap/_responsive-embed.scss +2 -2
  52. data/assets/stylesheets/bootstrap/_responsive-utilities.scss +3 -3
  53. data/assets/stylesheets/bootstrap/_scaffolding.scss +7 -7
  54. data/assets/stylesheets/bootstrap/_tables.scss +23 -23
  55. data/assets/stylesheets/bootstrap/_theme.scss +21 -17
  56. data/assets/stylesheets/bootstrap/_thumbnails.scss +1 -1
  57. data/assets/stylesheets/bootstrap/_tooltip.scss +38 -27
  58. data/assets/stylesheets/bootstrap/_type.scss +10 -10
  59. data/assets/stylesheets/bootstrap/_variables.scss +6 -6
  60. data/assets/stylesheets/bootstrap/_wells.scss +2 -2
  61. data/assets/stylesheets/bootstrap/mixins/_alerts.scss +2 -1
  62. data/assets/stylesheets/bootstrap/mixins/_border-radius.scss +4 -4
  63. data/assets/stylesheets/bootstrap/mixins/_buttons.scss +6 -10
  64. data/assets/stylesheets/bootstrap/mixins/_center-block.scss +1 -1
  65. data/assets/stylesheets/bootstrap/mixins/_clearfix.scss +1 -1
  66. data/assets/stylesheets/bootstrap/mixins/_forms.scss +4 -4
  67. data/assets/stylesheets/bootstrap/mixins/_gradients.scss +6 -8
  68. data/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +1 -1
  69. data/assets/stylesheets/bootstrap/mixins/_grid.scss +7 -7
  70. data/assets/stylesheets/bootstrap/mixins/_image.scss +5 -10
  71. data/assets/stylesheets/bootstrap/mixins/_opacity.scss +2 -3
  72. data/assets/stylesheets/bootstrap/mixins/_reset-text.scss +4 -4
  73. data/assets/stylesheets/bootstrap/mixins/_resize.scss +1 -1
  74. data/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +0 -4
  75. data/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +1 -1
  76. data/bootstrap-sass.gemspec +5 -4
  77. data/bower.json +1 -1
  78. data/composer.json +1 -1
  79. data/lib/bootstrap-sass.rb +13 -16
  80. data/lib/bootstrap-sass/version.rb +2 -2
  81. data/package-lock.json +1611 -0
  82. data/package.json +3 -3
  83. data/tasks/converter/less_conversion.rb +7 -8
  84. data/tasks/converter/network.rb +2 -2
  85. data/templates/project/_bootstrap-variables.sass +7 -7
  86. data/test/compilation_test.rb +24 -12
  87. data/test/dummy_rails/config/application.rb +1 -0
  88. data/test/dummy_rails/config/boot.rb +1 -1
  89. data/test/dummy_sass_only/Gemfile +1 -1
  90. data/test/dummy_sass_only/compile.rb +14 -7
  91. data/test/dummy_sass_only/import_all.scss +2 -0
  92. data/test/gemfiles/default.gemfile +3 -0
  93. data/test/node_sass_compile_test.sh +4 -3
  94. data/test/sass_test.rb +10 -7
  95. data/test/sprockets_rails_test.rb +12 -8
  96. data/test/test_helper.rb +2 -1
  97. metadata +33 -26
  98. data/test/compass_test.rb +0 -9
  99. data/test/dummy_sass_only/import_all.sass +0 -2
  100. data/test/gemfiles/rails_head.gemfile +0 -17
  101. data/test/gemfiles/sass_3_3.gemfile +0 -9
  102. data/test/gemfiles/sass_3_4.gemfile +0 -7
  103. data/test/gemfiles/sass_head.gemfile +0 -6
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bootstrap-sass",
3
- "version": "3.3.7",
3
+ "version": "3.4.0",
4
4
  "description": "bootstrap-sass is a Sass-powered version of Bootstrap 3, ready to drop right into your Sass powered applications.",
5
5
  "main": "assets/javascripts/bootstrap.js",
6
6
  "style": "assets/stylesheets/_bootstrap.scss",
@@ -33,9 +33,9 @@
33
33
  "url": "https://github.com/twbs/bootstrap-sass/issues"
34
34
  },
35
35
  "devDependencies": {
36
- "node-sass": "^3.8.0",
36
+ "node-sass": "^4.9.3",
37
37
  "mincer": "~1.4.0",
38
- "ejs": "~2.4.2"
38
+ "ejs": "~2.6.1"
39
39
  },
40
40
  "eyeglass": {
41
41
  "exports": "eyeglass-exports.js",
@@ -67,6 +67,7 @@ class Converter
67
67
  log_processing name
68
68
  # apply common conversions
69
69
  file = convert_less(file)
70
+ file = replace_all file, %r{// stylelint-disable.*?\n+}, '', optional: true
70
71
  if name.start_with?('mixins/')
71
72
  file = varargify_mixin_definitions(file, *VARARG_MIXINS)
72
73
  %w(responsive-(in)?visibility input-size text-emphasis-variant bg-variant).each do |mixin|
@@ -126,10 +127,7 @@ class Converter
126
127
  when 'thumbnails.less', 'labels.less', 'badges.less', 'buttons.less'
127
128
  file = extract_nested_rule file, 'a&'
128
129
  when 'glyphicons.less'
129
- file = replace_rules(file, /\s*@font-face/) { |rule|
130
- rule = replace_all rule, /(\$icon-font(?:-\w+)+)/, '#{\1}'
131
- replace_asset_url rule, :font
132
- }
130
+ file = replace_rules(file, /\s*@font-face/) { |rule| replace_asset_url rule, :font }
133
131
  when 'type.less'
134
132
  file = apply_mixin_parent_selector(file, '\.(text|bg)-(success|primary|info|warning|danger)')
135
133
  # .bg-primary will not get patched automatically as it includes an additional rule. fudge for now
@@ -325,10 +323,10 @@ SASS
325
323
  %Q(@import "#{target_path}\\1";)
326
324
  end
327
325
 
328
- def replace_all(file, regex, replacement = nil, &block)
326
+ def replace_all(file, regex, replacement = nil, optional: false, &block)
329
327
  log_transform regex, replacement
330
328
  new_file = file.gsub(regex, replacement, &block)
331
- raise "replace_all #{regex}, #{replacement} NO MATCH" if file == new_file
329
+ raise "replace_all #{regex}, #{replacement} NO MATCH" if !optional && file == new_file
332
330
  new_file
333
331
  end
334
332
 
@@ -465,7 +463,7 @@ SASS
465
463
  def replace_ms_filters(file)
466
464
  log_transform
467
465
  file.gsub(
468
- /filter: e\(%\("progid:DXImageTransform.Microsoft.gradient\(startColorstr='%d', endColorstr='%d', GradientType=(\d)\)",argb\(([\-$\w]+)\),argb\(([\-$\w]+)\)\)\);/,
466
+ /filter: e\(%\("progid:DXImageTransform.Microsoft.gradient\(startColorstr='%d', endColorstr='%d', GradientType=(\d)\)", ?argb\(([\-$\w]+)\), ?argb\(([\-$\w]+)\)\)\);/,
469
467
  %Q(filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='\#{ie-hex-str(\\2)}', endColorstr='\#{ie-hex-str(\\3)}', GradientType=\\1);)
470
468
  )
471
469
  end
@@ -511,7 +509,8 @@ SASS
511
509
  def replace_escaping(less)
512
510
  less = less.gsub(/~"([^"]+)"/, '\1').gsub(/~'([^']+)'/, '\1') # Get rid of ~"" escape
513
511
  less.gsub!(/\$\{([^}]+)\}/, '$\1') # Get rid of @{} escape
514
- less.gsub!(/"([^"\n]*)(\$[\w\-]+)([^"\n]*)"/, '"\1#{\2}\3"') # interpolate variable in string, e.g. url("$file-1x") => url("#{$file-1x}")
512
+ # interpolate variables in strings, e.g. url("$file-1x") => url("#{$file-1x}")
513
+ less.gsub!(/"[^"\n]*"/) { |str| str.gsub(/\$[^"\n$.\\]+/, '#{\0}') }
515
514
  less.gsub(/(\W)e\(%\("?([^"]*)"?\)\)/, '\1\2') # Get rid of e(%("")) escape
516
515
  end
517
516
 
@@ -32,7 +32,7 @@ class Converter
32
32
  if File.directory?(full_path)
33
33
  files.each do |name|
34
34
  path = "#{full_path}/#{name}"
35
- contents[name] = File.read(path, mode: 'rb') if File.exists?(path)
35
+ contents[name] = File.read(path, mode: 'rb') if File.exist?(path)
36
36
  end
37
37
  end
38
38
  contents
@@ -51,7 +51,7 @@ class Converter
51
51
  uri = URI(url)
52
52
  cache_path = "./#@cache_path#{uri.path}#{uri.query.tr('?&=', '-') if uri.query}"
53
53
  FileUtils.mkdir_p File.dirname(cache_path)
54
- if File.exists?(cache_path)
54
+ if File.exist?(cache_path)
55
55
  log_http_get_file url, true
56
56
  File.read(cache_path, mode: 'rb')
57
57
  else
@@ -1,4 +1,4 @@
1
- // Override Bootstrap variables here (defaults from bootstrap-sass v3.3.7):
1
+ // Override Bootstrap variables here (defaults from bootstrap-sass v3.4.0):
2
2
 
3
3
  //
4
4
  // Variables
@@ -52,14 +52,14 @@
52
52
 
53
53
  // $font-size-base: 14px
54
54
  // $font-size-large: ceil(($font-size-base * 1.25)) // ~18px
55
- // $font-size-small: ceil(($font-size-base * 0.85)) // ~12px
55
+ // $font-size-small: ceil(($font-size-base * .85)) // ~12px
56
56
 
57
57
  // $font-size-h1: floor(($font-size-base * 2.6)) // ~36px
58
58
  // $font-size-h2: floor(($font-size-base * 2.15)) // ~30px
59
59
  // $font-size-h3: ceil(($font-size-base * 1.7)) // ~24px
60
60
  // $font-size-h4: ceil(($font-size-base * 1.25)) // ~18px
61
61
  // $font-size-h5: $font-size-base
62
- // $font-size-h6: ceil(($font-size-base * 0.85)) // ~12px
62
+ // $font-size-h6: ceil(($font-size-base * .85)) // ~12px
63
63
 
64
64
  //** Unit-less `line-height` for use in components like buttons.
65
65
  // $line-height-base: 1.428571429 // 20/14
@@ -240,7 +240,7 @@
240
240
  //** Background for the dropdown menu.
241
241
  // $dropdown-bg: #fff
242
242
  //** Dropdown menu `border-color`.
243
- // $dropdown-border: rgba(0,0,0,.15)
243
+ // $dropdown-border: rgba(0, 0, 0, .15)
244
244
  //** Dropdown menu `border-color` **for IE8**.
245
245
  // $dropdown-fallback-border: #ccc
246
246
  //** Divider color for between dropdown items.
@@ -546,7 +546,7 @@
546
546
  //** Popover maximum width
547
547
  // $popover-max-width: 276px
548
548
  //** Popover border color
549
- // $popover-border-color: rgba(0,0,0,.2)
549
+ // $popover-border-color: rgba(0, 0, 0, .2)
550
550
  //** Popover fallback border color
551
551
  // $popover-fallback-border-color: #ccc
552
552
 
@@ -604,7 +604,7 @@
604
604
  //** Background color of modal content area
605
605
  // $modal-content-bg: #fff
606
606
  //** Modal content border color
607
- // $modal-content-border-color: rgba(0,0,0,.2)
607
+ // $modal-content-border-color: rgba(0, 0, 0, .2)
608
608
  //** Modal content border color **for IE8**
609
609
  // $modal-content-fallback-border-color: #999
610
610
 
@@ -809,7 +809,7 @@
809
809
  //
810
810
  //##
811
811
 
812
- // $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6)
812
+ // $carousel-text-shadow: 0 1px 2px rgba(0, 0, 0, .6)
813
813
 
814
814
  // $carousel-control-color: #fff
815
815
  // $carousel-control-width: 15%
@@ -1,18 +1,30 @@
1
1
  require 'test_helper'
2
2
  require 'fileutils'
3
- require 'sass'
3
+ require 'sassc'
4
4
 
5
5
  class CompilationTest < Minitest::Test
6
- def test_compilation
7
- path = 'assets/stylesheets'
8
- %w(_bootstrap bootstrap/_theme).each do |file|
9
- FileUtils.rm_rf('.sass-cache', secure: true)
10
- engine = Sass::Engine.for_file("#{path}/#{file}.scss", syntax: :scss, load_paths: [path])
11
- FileUtils.mkdir_p("tmp/#{File.dirname(file)}")
12
- File.open("tmp/#{file}.css", 'w') { |f|
13
- f.write engine.render
14
- }
15
- assert true # nothing was raised
16
- end
6
+ def test_compilation_bootstrap
7
+ compile 'bootstrap'
8
+ assert true # nothing was raised
9
+ end
10
+
11
+ def test_compilation_bootstrap_theme
12
+ compile 'bootstrap/theme'
13
+ assert true # nothing was raised
14
+ end
15
+
16
+ private
17
+
18
+ def compile(file)
19
+ path = File.expand_path('../assets/stylesheets', __dir__)
20
+ FileUtils.rm_rf('.sass-cache', secure: true)
21
+ engine = SassC::Engine.new(
22
+ %Q{@import "#{path}/#{file}"},
23
+ syntax: :scss, load_paths: ['.']
24
+ )
25
+ FileUtils.mkdir_p("tmp/#{File.dirname(file)}")
26
+ File.open("tmp/#{file}.css", 'w') { |f|
27
+ f.write engine.render
28
+ }
17
29
  end
18
30
  end
@@ -12,6 +12,7 @@ end
12
12
 
13
13
  require 'slim-rails'
14
14
  require 'jquery-rails'
15
+ require 'sassc-rails'
15
16
  require 'bootstrap-sass'
16
17
  require 'uglifier'
17
18
 
@@ -1,5 +1,5 @@
1
1
  # Set up gems listed in the Gemfile.
2
2
  ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
3
3
 
4
- require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
4
+ require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
5
5
  $LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'sass', '~> 3.3'
3
+ gem 'sassc', '>= 2.0.0'
4
4
  gem 'bootstrap-sass', path: '../..'
@@ -1,13 +1,20 @@
1
- require 'sass'
1
+ # frozen_string_literal: true
2
+
3
+ require 'sassc'
2
4
  require 'bootstrap-sass'
3
5
  require 'fileutils'
4
6
 
5
- scss_path = File.expand_path('./import_all.sass', File.dirname(__FILE__))
6
- css = Sass.compile File.read(scss_path), syntax: 'sass'
7
+ load_path = ARGV[0]
8
+ out_path = ARGV[1]
9
+
10
+ output = SassC::Engine.new(
11
+ File.read(File.expand_path('./import_all.scss', __dir__)),
12
+ syntax: :scss, load_paths: ['.', load_path]
13
+ ).render
7
14
 
8
- if ARGV[0]
9
- FileUtils.mkdir_p File.dirname(ARGV[0])
10
- File.open(ARGV[0], 'w') { |f| f.write css }
15
+ if out_path
16
+ FileUtils.mkdir_p(File.dirname(out_path))
17
+ File.write(out_path, output)
11
18
  else
12
- puts css
19
+ puts output
13
20
  end
@@ -0,0 +1,2 @@
1
+ @import 'bootstrap';
2
+ @import 'bootstrap/theme';
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '../../'
@@ -1,8 +1,9 @@
1
- #!/bin/sh
1
+ #!/bin/bash
2
2
 
3
3
  # Test compilation with node-sass binary
4
4
 
5
5
  mkdir -p tmp/node-sass
6
- node-sass assets/stylesheets/_bootstrap.scss -o tmp/node-sass/bootstrap.css && \
7
- node-sass assets/stylesheets/bootstrap/_theme.scss -o tmp/node-sass/bootstrap-theme.css || \
6
+ node_modules/.bin/node-sass assets/stylesheets/_bootstrap.scss -o tmp/node-sass/bootstrap.css && \
7
+ node_modules/.bin/node-sass --include-path=assets/stylesheets/ \
8
+ assets/stylesheets/bootstrap/_theme.scss -o tmp/node-sass/bootstrap-theme.css || \
8
9
  (echo "node-sass compilation failed" && exit 1)
@@ -1,23 +1,26 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'test_helper'
2
4
  require 'shellwords'
5
+ require 'fileutils'
6
+ require 'bootstrap-sass'
3
7
 
4
8
  class SassTest < Minitest::Test
5
9
  DUMMY_PATH = 'test/dummy_sass_only'
6
10
 
7
11
  def test_font_helper
8
- assert_match %r(url\(['"]?.*eot['"]?\)), @css
12
+ assert_match %r{url\(['"]?.*eot['"]?\)}, @css
9
13
  end
10
14
 
11
15
  def setup
12
- Dir.chdir DUMMY_PATH do
13
- %x[rm -rf .sass-cache/]
14
- %x[bundle]
15
- end
16
+ FileUtils.rm_rf(File.join(DUMMY_PATH, '.sass-cache'), secure: true)
16
17
  css_path = File.join GEM_PATH, 'tmp/bootstrap-sass-only.css'
17
- command = "bundle exec ruby compile.rb #{Shellwords.escape css_path}"
18
18
  success = Dir.chdir DUMMY_PATH do
19
19
  silence_stdout_if !ENV['VERBOSE'] do
20
- system(command)
20
+ Bundler.with_original_env do
21
+ system('bundle') && system('bundle', 'exec', 'ruby', 'compile.rb',
22
+ Bootstrap.stylesheets_path, css_path)
23
+ end
21
24
  end
22
25
  end
23
26
  assert success, 'Sass-only compilation failed'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'test_helper'
2
4
  require 'fileutils'
3
5
  require 'find'
@@ -6,22 +8,24 @@ require 'shellwords'
6
8
  class SprocketsRailsTest < Minitest::Test
7
9
 
8
10
  def test_sprockets_digest_asset_refs
9
- root = 'test/dummy_rails'
10
- command = "bundle exec rake assets:precompile GEMFILE=#{GEM_PATH}/Gemfile RAILS_ENV=production"
11
+ root = 'test/dummy_rails'
11
12
  compiled = Dir.chdir root do
12
13
  silence_stderr_if !ENV['VERBOSE'] do
13
- system(command)
14
+ Bundler.with_original_env do
15
+ system({ 'BUNDLE_GEMFILE' => File.join(GEM_PATH, 'Gemfile'),
16
+ 'RAILS_ENV' => 'production' },
17
+ 'bundle && bundle exec rake assets:precompile')
18
+ end
14
19
  end
15
20
  end
16
21
  assert compiled, 'Could not precompile assets'
17
22
  Dir.glob(File.join(root, 'public', 'assets', 'app*.{css,js}')) do |path|
18
- File.open(path, 'r') do |f|
19
- f.read.scan /url\("?[^"]+\.(?:jpg|png|eot|woff2?|ttf|svg)[^"]*"?\)/ do |m|
20
- assert_match /-[0-9a-f]{12,}\./, m
21
- end
23
+ File.read(path)
24
+ .scan(/url\("?[^"]+\.(?:jpg|png|eot|woff2?|ttf|svg)[^"]*"?\)/) do |m|
25
+ assert_match(/-[0-9a-f]{12,}\./, m)
22
26
  end
23
27
  end
24
28
  ensure
25
- FileUtils.rm_rf %W(#{root}/public/assets/ #{root}/tmp/cache/), secure: true
29
+ FileUtils.rm_rf %W[#{root}/public/assets/ #{root}/tmp/cache/], secure: true
26
30
  end
27
31
  end
@@ -10,7 +10,7 @@ Dir['test/support/**/*.rb'].each do |file|
10
10
  require_relative File.join('.', file)
11
11
  end
12
12
 
13
- GEM_PATH = File.expand_path('../', File.dirname(__FILE__))
13
+ GEM_PATH = File.expand_path('../', __dir__)
14
14
 
15
15
  #= Capybara + Poltergeist
16
16
  require 'capybara/poltergeist'
@@ -26,6 +26,7 @@ Capybara.register_driver :poltergeist do |app|
26
26
  end
27
27
 
28
28
  Capybara.configure do |config|
29
+ config.server = :webrick
29
30
  config.app_host = 'http://localhost:7000'
30
31
  config.default_driver = :poltergeist
31
32
  config.javascript_driver = :poltergeist
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.7
4
+ version: 3.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas McDonald
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-25 00:00:00.000000000 Z
11
+ date: 2018-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: sass
14
+ name: sassc
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.3.4
19
+ version: 2.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 3.3.4
26
+ version: 2.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: autoprefixer-rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,42 +44,42 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '5.8'
47
+ version: '5.11'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '5.8'
54
+ version: '5.11'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest-reporters
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.1'
61
+ version: '1.3'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.1'
68
+ version: '1.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: capybara
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 2.5.0
75
+ version: '3.6'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 2.5.0
82
+ version: '3.6'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: poltergeist
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: sassc-rails
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 2.0.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 2.0.0
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: actionpack
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -322,6 +336,7 @@ files:
322
336
  - lib/bootstrap-sass.rb
323
337
  - lib/bootstrap-sass/engine.rb
324
338
  - lib/bootstrap-sass/version.rb
339
+ - package-lock.json
325
340
  - package.json
326
341
  - sache.json
327
342
  - tasks/bower.rake
@@ -335,7 +350,6 @@ files:
335
350
  - templates/project/_bootstrap-variables.sass
336
351
  - templates/project/manifest.rb
337
352
  - templates/project/styles.sass
338
- - test/compass_test.rb
339
353
  - test/compilation_test.rb
340
354
  - test/dummy_node_mincer/apple-touch-icon-144-precomposed.png
341
355
  - test/dummy_node_mincer/application.css.ejs.scss
@@ -370,11 +384,8 @@ files:
370
384
  - test/dummy_rails/log/.keep
371
385
  - test/dummy_sass_only/Gemfile
372
386
  - test/dummy_sass_only/compile.rb
373
- - test/dummy_sass_only/import_all.sass
374
- - test/gemfiles/rails_head.gemfile
375
- - test/gemfiles/sass_3_3.gemfile
376
- - test/gemfiles/sass_3_4.gemfile
377
- - test/gemfiles/sass_head.gemfile
387
+ - test/dummy_sass_only/import_all.scss
388
+ - test/gemfiles/default.gemfile
378
389
  - test/node_mincer_test.rb
379
390
  - test/node_sass_compile_test.sh
380
391
  - test/pages_test.rb
@@ -404,13 +415,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
404
415
  version: '0'
405
416
  requirements: []
406
417
  rubyforge_project:
407
- rubygems_version: 2.6.4
418
+ rubygems_version: 2.7.8
408
419
  signing_key:
409
420
  specification_version: 4
410
421
  summary: bootstrap-sass is a Sass-powered version of Bootstrap 3, ready to drop right
411
422
  into your Sass powered applications.
412
423
  test_files:
413
- - test/compass_test.rb
414
424
  - test/compilation_test.rb
415
425
  - test/dummy_node_mincer/apple-touch-icon-144-precomposed.png
416
426
  - test/dummy_node_mincer/application.css.ejs.scss
@@ -445,11 +455,8 @@ test_files:
445
455
  - test/dummy_rails/log/.keep
446
456
  - test/dummy_sass_only/Gemfile
447
457
  - test/dummy_sass_only/compile.rb
448
- - test/dummy_sass_only/import_all.sass
449
- - test/gemfiles/rails_head.gemfile
450
- - test/gemfiles/sass_3_3.gemfile
451
- - test/gemfiles/sass_3_4.gemfile
452
- - test/gemfiles/sass_head.gemfile
458
+ - test/dummy_sass_only/import_all.scss
459
+ - test/gemfiles/default.gemfile
453
460
  - test/node_mincer_test.rb
454
461
  - test/node_sass_compile_test.sh
455
462
  - test/pages_test.rb