bootstrap-sass 2.3.2.0 → 2.3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f502c25ee946e29cbadf5a88744b41b177eb9e2c
4
- data.tar.gz: 2ad210792cd1f45c9e0db7126fa845966d6d0496
3
+ metadata.gz: 5bb7fd8551f85426c5881a1dc425a65b5a9ac98f
4
+ data.tar.gz: 4f217305659458105cd1e7d8084bea95e536e473
5
5
  SHA512:
6
- metadata.gz: 0f632027ad30ce3da7dc6e3b98c2382dda542811aea1b698aae6c6aae05410fe70a5ca00718164093fac8f83a549821740a4827831d5c759833a2a267b74bfb8
7
- data.tar.gz: 5b37c7bbde6d8e8ded49094fcd5072fe31508aaed83d81fa87769e6e9d1548907cf393039101a5516e3f5c16608684d6243318cdaac7db7b3ca7cf51a9eb457d
6
+ metadata.gz: 215470fb0847cbaa9f7d75950b0be7307fa6258519212eab219bff3490063247c3dfd0d7211503e67515c2568bafacc0975b4c6ea0a8ff8d2410ae65bf7cacc3
7
+ data.tar.gz: fbf087573adc022a364387c31fae39d35e5b8a5b4fd75ecc55fa10b0cc2b1b10c51b37e27a82d4a6471448b7d2db0b1dcf5fbc13f1ee1bdad6cc96fcdf0a8466
@@ -0,0 +1,6 @@
1
+ *.gem
2
+ .sass-cache
3
+ bootstrap.css
4
+ bootstrap-responsive.css
5
+ Gemfile.lock
6
+ .rvmrc
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - jruby-19mode
5
+ gemfile:
6
+ - test/gemfiles/sass_3_2.gemfile
7
+ - test/gemfiles/sass_head.gemfile
@@ -0,0 +1,92 @@
1
+ # Changelog
2
+
3
+ ## 2.3.2.0
4
+
5
+ * Update to Bootstrap 2.3.2 - *Dan Allen*
6
+
7
+ ## 2.3.1.3
8
+
9
+ * Find the correct Sprockets context for the `image_path` function - *Tristan Harward, Gleb Mazovetskiy*
10
+
11
+ ## 2.3.1.2
12
+
13
+ * Fix changes to image url - *Gleb Mazovetskiy*
14
+ * Copy _variables into project on Compass install - *Phil Thompson*
15
+ * Add `bootstrap-affix` to the Compass template file - *brief*
16
+
17
+ ## 2.3.1.1 (yanked)
18
+
19
+ * Change how image_url is handled internally - *Tristan Harward*
20
+ * Fix some font variables not having `!default` - *Thomas McDonald*
21
+
22
+ ## 2.3.0.0
23
+ * [#290] Update to Bootstrap 2.3.0 - *Tristan Harward*
24
+ * Fix `rake:debug` with new file locations - *Thomas McDonald*
25
+ * Add draft contributing document - *Thomas McDonald*
26
+ * [#260] Add our load path to the global Sass load path - *Tristan Harward*
27
+ * [#275] Use GitHub notation in Sass head testing gemfile - *Timo Schilling*
28
+ * [#279, #283] Readme improvements - *theverything, Philip Arndt*
29
+
30
+ ## 2.2.2.0
31
+ * [#270] Update to Bootstrap 2.2.2 - *Tristan Harward*
32
+ * [#266] Add license to gemspec - *Peter Marsh*
33
+
34
+ ## 2.2.1.1
35
+ * [#258] Use `bootstrap` prefix for `@import`ing files in `bootstrap/bootstrap.scss` - *Umair Siddique*
36
+
37
+ ## 2.2.1.0
38
+ * [#246] Update to Bootstrap 2.2.1 - *Tristan Harward*
39
+ * [#246] Pull Bootstrap updates from jlong/sass-twitter-bootstrap - *Tristan Harward*
40
+
41
+ ## 2.1.1.0
42
+ * Update to Bootstrap 2.1.1
43
+ * [#222] Remove 100% multiplier in vertical-three-colours
44
+ * [#227] Fix IE component animation collapse
45
+ * [#228] Fix variables documentation link
46
+ * [#231] Made .input-block-level a class as well as mixin
47
+
48
+ ## 2.1.0.1
49
+ * [#219] Fix expected a color. Got: transparent.
50
+ * [#207] Add missing warning style for table row highlighting
51
+ * [#208] Use grid-input-span for input spans
52
+
53
+ ## 2.1.0.0
54
+ * Updated to Bootstrap 2.1
55
+ * Changed some mixin names to be more consistent. Nested mixins in Less are separated by a `-` when they are flattened in Sass.
56
+
57
+ ## 2.0.4.1
58
+ * Fix `.row-fluid > spanX` nesting
59
+ * Small Javascript fixes for those staying on the 2.0.4 release
60
+ * Add `!default` to z-index variables.
61
+
62
+ ## 2.0.4.0
63
+ * Updated to Bootstrap 2.0.4
64
+ * Switched to Bootstrap 2.0.3+'s method of separating responsive files
65
+ * [#149, #150] Fix off by one error introduced with manual revert of media query breakpoints
66
+ * `rake debug` and `rake test` both compile bootstrap & bootstrap-responsive
67
+
68
+ ## 2.0.3.1
69
+ * [#145, #146] Fix button alignment in collapsing navbar as a result of an incorrect variable
70
+
71
+ ## 2.0.3
72
+ * Updated to Bootstrap 2.0.3
73
+ * [#106] Support for Rails < 3.1 through Compass
74
+ * [#132] Add CI testing
75
+ * [#106] Support Rails w/Compass
76
+ * [#134] Fix support for Rails w/Compass
77
+
78
+ ## 2.0.2
79
+ * [#86] Updated to Bootstrap 2.0.2
80
+ Things of note: static navbars now have full width. (to be fixed in 2.0.3) `.navbar-inner > .container { width:940px; }` seems to work in the meanwhile
81
+ * [#62] Fixed asset compilation taking a *very* long time.
82
+ * [#69, #79, #80] \(Hopefully) clarified README. Now with less cat humour.
83
+ * [#91] Removed doubled up Sass extensions for Rails.
84
+ * [#63, #73] Allow for overriding of image-path
85
+ * [[SO](http://stackoverflow.com/a/9909626/241212)] Added makeFluidColumn mixin for defining fluid columns. Fluid rows must use `@extend .row-fluid`, and any column inside it can use `@include makeFluidColumn(num)`, where `num` is the number of columns. Unfortunately, there is a rather major limitation to this: margins on first-child elements must be overriden. See the attached Stack Overflow answer for more information.
86
+
87
+ ## 2.0.1
88
+ * Updated to Bootstrap 2.0.1
89
+ * Modified `@mixin opacity()` to take an argument `0...1` rather than `0...100` to be consistent with Compass.
90
+
91
+ ## 2.0.0
92
+ * Updated to Bootstrap 2.0.0
@@ -0,0 +1,71 @@
1
+ # Contributing to bootstrap-sass
2
+
3
+ ## Bugs
4
+
5
+ A bug is a _demonstrable problem_ that is caused by the code in the
6
+ repository. Good bug reports are extremely helpful - thank you!
7
+
8
+ Guidelines for bug reports:
9
+
10
+ 1. **Does it belong here?** &mdash; is this a problem with bootstrap-sass, or
11
+ it an issue with [twitter/bootstrap](https://github.com/twitter/bootstrap)?
12
+ We only distribute a direct port and will not modify files if they're not
13
+ changed upstream.
14
+
15
+ 2. **Use the GitHub issue search** &mdash; check if the issue has already been
16
+ reported.
17
+
18
+ 3. **Isolate the problem** &mdash; ideally create a [reduced test
19
+ case](http://css-tricks.com/6263-reduced-test-cases/) and a live example.
20
+
21
+ A good bug report shouldn't leave others needing to chase you up for more
22
+ information. Please try to be as detailed as possible in your report. What is
23
+ your environment? What steps will reproduce the issue? What browser(s) and OS
24
+ experience the problem? What would you expect to be the outcome? All these
25
+ details will help people to fix any potential bugs.
26
+
27
+ Example:
28
+
29
+ > Short and descriptive example bug report title
30
+ >
31
+ > A summary of the issue and the browser/OS environment in which it occurs. If
32
+ > suitable, include the steps required to reproduce the bug.
33
+ >
34
+ > 1. This is the first step
35
+ > 2. This is the second step
36
+ > 3. Further steps, etc.
37
+ >
38
+ > `<url>` (a link to the reduced test case)
39
+ >
40
+ > Any other information you want to share that is relevant to the issue being
41
+ > reported. This might include the lines of code that you have identified as
42
+ > causing the bug, and potential solutions (and your opinions on their
43
+ > merits).
44
+
45
+ **[File a bug report](https://github.com/thomas-mcdonald/bootstrap-sass/issues/)**
46
+
47
+
48
+ ## Pull requests
49
+
50
+ **We will not accept pull requests that modify the SCSS beyond fixing bugs caused by *our* code!**
51
+
52
+ Most pull requests should go to [twitter/bootstrap](https://github.com/twitter/bootstrap) or [jlong/sass-twitter-bootstrap](https://github.com/jlong/sass-twitter-bootstrap)
53
+
54
+ Good pull requests - patches, improvements, new features - are a fantastic
55
+ help. They should remain focused in scope and avoid containing unrelated
56
+ commits. If your contribution involves a significant amount of work or substantial
57
+ changes to any part of the project, please open an issue to discuss it first.
58
+
59
+ Make sure to adhere to the coding conventions used throughout a project
60
+ (indentation, accurate comments, etc.). Please update any documentation that is
61
+ relevant to the change you're making.
62
+
63
+ ## Do not…
64
+
65
+ Please **do not** use the issue tracker for personal support requests (use
66
+ [Stack Overflow](http://stackoverflow.com/)).
67
+
68
+ Please **do not** derail or troll issues. Keep the
69
+ discussion on topic and respect the opinions of others.
70
+
71
+ *props [html5-boilerplate](https://github.com/h5bp/html5-boilerplate/blob/master/CONTRIBUTING.md)*
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
data/README.md CHANGED
@@ -14,17 +14,11 @@ In your Gemfile:
14
14
 
15
15
  ```ruby
16
16
  gem 'sass-rails', '~> 3.2'
17
- gem 'bootstrap-sass', '~> 2.3.2'
17
+ gem 'bootstrap-sass', '~> 2.3.2.1'
18
18
  ```
19
19
 
20
20
  `bundle install` and restart your server to make the files available.
21
21
 
22
- #### Rails 4
23
-
24
- Due to a change in Rails that prevents images from being compiled in vendor and lib, you'll need to add the following line to your application.rb:
25
-
26
- config.assets.precompile += %w(*.png *.jpg *.jpeg *.gif)
27
-
28
22
  #### CSS
29
23
 
30
24
  Import Bootstrap in an SCSS file (for example, `application.css.scss`) to get all of Bootstrap's styles, mixins and variables! We recommend against using `//= require` directives, since none of your other stylesheets will be [able to use](https://github.com/thomas-mcdonald/bootstrap-sass/issues/79#issuecomment-4428595) the awesome mixins that Bootstrap has defined.
@@ -123,7 +117,7 @@ Basically this means you should expect to append a separate patch version to the
123
117
  ### Bundler?
124
118
 
125
119
  ```ruby
126
- gem 'bootstrap-sass', '~> 2.3.2'
120
+ gem 'bootstrap-sass', '~> 2.3.2.1'
127
121
  ```
128
122
 
129
123
  Don't use the standard `~> 2.x.y`. Your apps may break.
@@ -0,0 +1,20 @@
1
+ require 'rake/testtask'
2
+ Rake::TestTask.new do |t|
3
+ t.libs << "test"
4
+ t.test_files = FileList['test/*_test.rb']
5
+ t.verbose = true
6
+ end
7
+
8
+ desc 'Dumps output to a CSS file for testing'
9
+ task :debug do
10
+ require 'sass'
11
+ require './lib/bootstrap-sass/compass_functions'
12
+ require './lib/bootstrap-sass/sass_functions'
13
+ path = './vendor/assets/stylesheets'
14
+ %w(bootstrap bootstrap-responsive).each do |file|
15
+ engine = Sass::Engine.for_file("#{path}/#{file}.scss", syntax: :scss, load_paths: [path])
16
+ File.open("./#{file}.css", 'w') { |f| f.write(engine.render) }
17
+ end
18
+ end
19
+
20
+ task default: :test
@@ -0,0 +1,15 @@
1
+ diff --git a/vendor/assets/stylesheets/_variables.scss b/vendor/assets/stylesheets/_variables.scss
2
+ index e29dc59..85f4d56 100644
3
+ --- a/vendor/assets/stylesheets/_variables.scss
4
+ +++ b/vendor/assets/stylesheets/_variables.scss
5
+ @@ -151,8 +151,8 @@ $zindexModal: 1050 !default;
6
+
7
+ // Sprite icons path
8
+ // -------------------------
9
+ -$iconSpritePath: "../img/glyphicons-halflings.png" !default;
10
+ -$iconWhiteSpritePath: "../img/glyphicons-halflings-white.png" !default;
11
+ +$iconSpritePath: image-path("glyphicons-halflings.png") !default;
12
+ +$iconWhiteSpritePath: image-path("glyphicons-halflings-white.png") !default;
13
+
14
+
15
+ // Input placeholder text color
@@ -0,0 +1,16 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = "bootstrap-sass"
3
+ s.version = '2.3.2.1'
4
+ s.authors = ["Thomas McDonald"]
5
+ s.email = 'tom@conceptcoding.co.uk'
6
+ s.summary = "Twitter's Bootstrap, converted to Sass and ready to drop into Rails or Compass"
7
+ s.homepage = "http://github.com/thomas-mcdonald/bootstrap-sass"
8
+ s.license = "Apache 2.0"
9
+
10
+ s.add_development_dependency 'compass'
11
+ s.add_development_dependency 'sass-rails', '~> 3.2'
12
+ s.add_runtime_dependency 'sass', '~> 3.2'
13
+
14
+ s.files = `git ls-files`.split("\n")
15
+ s.test_files = `git ls-files -- test/*`.split("\n")
16
+ end
@@ -1,7 +1,9 @@
1
1
  module Bootstrap
2
2
  module Rails
3
3
  class Engine < ::Rails::Engine
4
- # Rails, will you please look in our vendor? kthx
4
+ initializer "bootstrap-sass.assets.precompile" do |app|
5
+ app.config.assets.precompile += %w(glyphicons-halflings.png glyphicons-halflings-white.png)
6
+ end
5
7
  end
6
8
  end
7
- end
9
+ end
@@ -0,0 +1,13 @@
1
+ require 'test_helper'
2
+
3
+ class CompilationTest < Test::Unit::TestCase
4
+ def test_compilation
5
+ path = 'vendor/assets/stylesheets'
6
+ %w(bootstrap bootstrap-responsive).each do |file|
7
+ engine = Sass::Engine.for_file("#{path}/#{file}.scss", syntax: :scss, load_paths: [path])
8
+ assert_nothing_raised do
9
+ engine.render
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem 'sass', '~> 3.2'
4
+
5
+ gemspec path: '../../'
@@ -0,0 +1,5 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem 'sass', github: 'nex3/sass'
4
+
5
+ gemspec path: '../../'
@@ -0,0 +1,7 @@
1
+ $:.unshift("#{File.dirname(__FILE__)}/..")
2
+
3
+ require 'test/unit'
4
+
5
+ require 'sass'
6
+ require 'lib/bootstrap-sass/compass_functions'
7
+ require 'lib/bootstrap-sass/sass_functions'
@@ -0,0 +1,25 @@
1
+ #!/bin/bash
2
+
3
+ ROOT=`pwd`"/vendor/assets"
4
+ TMP='tmp/sass-twitter-bootstrap'
5
+ # Pull down sass-twitter-bootstrap sources
6
+ git clone https://github.com/jlong/sass-twitter-bootstrap.git tmp/sass-twitter-bootstrap
7
+ # Copy lib/ to stylesheets/
8
+ mkdir -p $ROOT/stylesheets/bootstrap
9
+ cp -r $TMP/lib/* $ROOT/stylesheets/bootstrap
10
+ # Copy js/ to javascripts/
11
+ cp -r $TMP/js/* $ROOT/javascripts
12
+ # Copy img/ to images/
13
+ cp -r $TMP/img/* $ROOT/images
14
+ # Remove tests
15
+ rm -r $ROOT/javascripts/tests
16
+ rm -r $ROOT/stylesheets/bootstrap/tests
17
+
18
+ # Patch the asset-url in _variables.scss
19
+ patch -f vendor/assets/stylesheets/bootstrap/_variables.scss < asseturl.patch
20
+
21
+ # Patch paths in bootstrap.scss and responsive.scss
22
+ sed -i.bak 's_@import \"_@import \"bootstrap/_g' $ROOT/stylesheets/bootstrap/{bootstrap,responsive}.scss
23
+ rm $ROOT/stylesheets/bootstrap/*.bak
24
+
25
+ rm -rf $TMP
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2.0
4
+ version: 2.3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas McDonald
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-11 00:00:00.000000000 Z
11
+ date: 2013-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: compass
@@ -58,6 +58,46 @@ executables: []
58
58
  extensions: []
59
59
  extra_rdoc_files: []
60
60
  files:
61
+ - .gitignore
62
+ - .travis.yml
63
+ - CHANGELOG.md
64
+ - CONTRIBUTING.md
65
+ - Gemfile
66
+ - LICENSE
67
+ - README.md
68
+ - Rakefile
69
+ - asseturl.patch
70
+ - bootstrap-sass.gemspec
71
+ - lib/bootstrap-sass.rb
72
+ - lib/bootstrap-sass/compass_functions.rb
73
+ - lib/bootstrap-sass/engine.rb
74
+ - lib/bootstrap-sass/sass_functions.rb
75
+ - templates/project/_variables.scss
76
+ - templates/project/manifest.rb
77
+ - templates/project/styles.scss
78
+ - test/compilation_test.rb
79
+ - test/gemfiles/sass_3_2.gemfile
80
+ - test/gemfiles/sass_head.gemfile
81
+ - test/test_helper.rb
82
+ - update-bootstrap.sh
83
+ - vendor/assets/images/glyphicons-halflings-white.png
84
+ - vendor/assets/images/glyphicons-halflings.png
85
+ - vendor/assets/javascripts/bootstrap-affix.js
86
+ - vendor/assets/javascripts/bootstrap-alert.js
87
+ - vendor/assets/javascripts/bootstrap-button.js
88
+ - vendor/assets/javascripts/bootstrap-carousel.js
89
+ - vendor/assets/javascripts/bootstrap-collapse.js
90
+ - vendor/assets/javascripts/bootstrap-dropdown.js
91
+ - vendor/assets/javascripts/bootstrap-modal.js
92
+ - vendor/assets/javascripts/bootstrap-popover.js
93
+ - vendor/assets/javascripts/bootstrap-scrollspy.js
94
+ - vendor/assets/javascripts/bootstrap-tab.js
95
+ - vendor/assets/javascripts/bootstrap-tooltip.js
96
+ - vendor/assets/javascripts/bootstrap-transition.js
97
+ - vendor/assets/javascripts/bootstrap-typeahead.js
98
+ - vendor/assets/javascripts/bootstrap.js
99
+ - vendor/assets/stylesheets/bootstrap-responsive.scss
100
+ - vendor/assets/stylesheets/bootstrap.scss
61
101
  - vendor/assets/stylesheets/bootstrap/_accordion.scss
62
102
  - vendor/assets/stylesheets/bootstrap/_alerts.scss
63
103
  - vendor/assets/stylesheets/bootstrap/_breadcrumbs.scss
@@ -99,33 +139,6 @@ files:
99
139
  - vendor/assets/stylesheets/bootstrap/_wells.scss
100
140
  - vendor/assets/stylesheets/bootstrap/bootstrap.scss
101
141
  - vendor/assets/stylesheets/bootstrap/responsive.scss
102
- - vendor/assets/stylesheets/bootstrap-responsive.scss
103
- - vendor/assets/stylesheets/bootstrap.scss
104
- - vendor/assets/javascripts/bootstrap-affix.js
105
- - vendor/assets/javascripts/bootstrap-alert.js
106
- - vendor/assets/javascripts/bootstrap-button.js
107
- - vendor/assets/javascripts/bootstrap-carousel.js
108
- - vendor/assets/javascripts/bootstrap-collapse.js
109
- - vendor/assets/javascripts/bootstrap-dropdown.js
110
- - vendor/assets/javascripts/bootstrap-modal.js
111
- - vendor/assets/javascripts/bootstrap-popover.js
112
- - vendor/assets/javascripts/bootstrap-scrollspy.js
113
- - vendor/assets/javascripts/bootstrap-tab.js
114
- - vendor/assets/javascripts/bootstrap-tooltip.js
115
- - vendor/assets/javascripts/bootstrap-transition.js
116
- - vendor/assets/javascripts/bootstrap-typeahead.js
117
- - vendor/assets/javascripts/bootstrap.js
118
- - vendor/assets/images/glyphicons-halflings-white.png
119
- - vendor/assets/images/glyphicons-halflings.png
120
- - lib/bootstrap-sass/compass_functions.rb
121
- - lib/bootstrap-sass/engine.rb
122
- - lib/bootstrap-sass/sass_functions.rb
123
- - lib/bootstrap-sass.rb
124
- - templates/project/_variables.scss
125
- - templates/project/manifest.rb
126
- - templates/project/styles.scss
127
- - README.md
128
- - LICENSE
129
142
  homepage: http://github.com/thomas-mcdonald/bootstrap-sass
130
143
  licenses:
131
144
  - Apache 2.0
@@ -150,4 +163,8 @@ rubygems_version: 2.0.3
150
163
  signing_key:
151
164
  specification_version: 4
152
165
  summary: Twitter's Bootstrap, converted to Sass and ready to drop into Rails or Compass
153
- test_files: []
166
+ test_files:
167
+ - test/compilation_test.rb
168
+ - test/gemfiles/sass_3_2.gemfile
169
+ - test/gemfiles/sass_head.gemfile
170
+ - test/test_helper.rb