twbs_sass_rails 0.6.4 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/Rakefile +10 -3
  4. data/app/assets/fonts/fontawesome-webfont.eot +0 -0
  5. data/app/assets/fonts/fontawesome-webfont.svg +469 -379
  6. data/app/assets/fonts/fontawesome-webfont.ttf +0 -0
  7. data/app/assets/fonts/fontawesome-webfont.woff +0 -0
  8. data/gemfiles/Gemfile.rails-4.0.x +1 -1
  9. data/gemfiles/Gemfile.rails-4.1.x +1 -1
  10. data/lib/twbs_sass_rails/version.rb +1 -1
  11. data/vendor/assets/javascripts/twbs/bootstrap/affix.js +19 -14
  12. data/vendor/assets/javascripts/twbs/bootstrap/alert.js +10 -6
  13. data/vendor/assets/javascripts/twbs/bootstrap/button.js +11 -8
  14. data/vendor/assets/javascripts/twbs/bootstrap/carousel.js +49 -31
  15. data/vendor/assets/javascripts/twbs/bootstrap/collapse.js +22 -22
  16. data/vendor/assets/javascripts/twbs/bootstrap/dropdown.js +17 -13
  17. data/vendor/assets/javascripts/twbs/bootstrap/modal.js +66 -29
  18. data/vendor/assets/javascripts/twbs/bootstrap/popover.js +10 -7
  19. data/vendor/assets/javascripts/twbs/bootstrap/scrollspy.js +40 -23
  20. data/vendor/assets/javascripts/twbs/bootstrap/tab.js +11 -8
  21. data/vendor/assets/javascripts/twbs/bootstrap/tooltip.js +115 -57
  22. data/vendor/assets/javascripts/twbs/bootstrap/transition.js +18 -7
  23. data/vendor/assets/javascripts/twbs/bootstrap.js +12 -12
  24. data/vendor/assets/stylesheets/fontawesome/_icons.scss +97 -3
  25. data/vendor/assets/stylesheets/fontawesome/_mixins.scss +2 -2
  26. data/vendor/assets/stylesheets/fontawesome/_spinning.scss +8 -6
  27. data/vendor/assets/stylesheets/fontawesome/_variables.scss +464 -330
  28. data/vendor/assets/stylesheets/fontawesome/font-awesome.scss +1 -1
  29. data/vendor/assets/stylesheets/twbs/bootstrap/_alerts.scss +4 -3
  30. data/vendor/assets/stylesheets/twbs/bootstrap/_badges.scss +13 -11
  31. data/vendor/assets/stylesheets/twbs/bootstrap/_button-groups.scss +16 -2
  32. data/vendor/assets/stylesheets/twbs/bootstrap/_buttons.scss +0 -2
  33. data/vendor/assets/stylesheets/twbs/bootstrap/_carousel.scss +15 -4
  34. data/vendor/assets/stylesheets/twbs/bootstrap/_code.scss +6 -1
  35. data/vendor/assets/stylesheets/twbs/bootstrap/_component-animations.scss +10 -4
  36. data/vendor/assets/stylesheets/twbs/bootstrap/_dropdowns.scss +2 -0
  37. data/vendor/assets/stylesheets/twbs/bootstrap/_forms.scss +144 -42
  38. data/vendor/assets/stylesheets/twbs/bootstrap/_input-groups.scss +6 -2
  39. data/vendor/assets/stylesheets/twbs/bootstrap/_jumbotron.scss +4 -0
  40. data/vendor/assets/stylesheets/twbs/bootstrap/_labels.scss +11 -9
  41. data/vendor/assets/stylesheets/twbs/bootstrap/_list-group.scss +22 -1
  42. data/vendor/assets/stylesheets/twbs/bootstrap/_mixins.scss +35 -943
  43. data/vendor/assets/stylesheets/twbs/bootstrap/_modals.scss +18 -7
  44. data/vendor/assets/stylesheets/twbs/bootstrap/_navbar.scss +41 -2
  45. data/vendor/assets/stylesheets/twbs/bootstrap/_navs.scss +1 -1
  46. data/vendor/assets/stylesheets/twbs/bootstrap/_normalize.scss +21 -19
  47. data/vendor/assets/stylesheets/twbs/bootstrap/_panels.scss +8 -6
  48. data/vendor/assets/stylesheets/twbs/bootstrap/_popovers.scss +1 -1
  49. data/vendor/assets/stylesheets/twbs/bootstrap/_progress-bars.scss +27 -2
  50. data/vendor/assets/stylesheets/twbs/bootstrap/_responsive-embed.scss +34 -0
  51. data/vendor/assets/stylesheets/twbs/bootstrap/_responsive-utilities.scss +101 -1
  52. data/vendor/assets/stylesheets/twbs/bootstrap/_scaffolding.scss +17 -1
  53. data/vendor/assets/stylesheets/twbs/bootstrap/_tables.scss +4 -4
  54. data/vendor/assets/stylesheets/twbs/bootstrap/_theme.scss +11 -0
  55. data/vendor/assets/stylesheets/twbs/bootstrap/_type.scss +32 -12
  56. data/vendor/assets/stylesheets/twbs/bootstrap/_utilities.scss +1 -0
  57. data/vendor/assets/stylesheets/twbs/bootstrap/_variables.scss +41 -24
  58. data/vendor/assets/stylesheets/twbs/bootstrap/bootstrap.scss +2 -1
  59. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_alerts.scss +14 -0
  60. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_background-variant.scss +11 -0
  61. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_border-radius.scss +18 -0
  62. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_buttons.scss +50 -0
  63. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_center-block.scss +7 -0
  64. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_clearfix.scss +22 -0
  65. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_forms.scss +84 -0
  66. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_gradients.scss +58 -0
  67. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_grid-framework.scss +81 -0
  68. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_grid.scss +122 -0
  69. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_hide-text.scss +21 -0
  70. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_image.scss +34 -0
  71. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_labels.scss +12 -0
  72. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_list-group.scss +31 -0
  73. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_nav-divider.scss +10 -0
  74. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_nav-vertical-align.scss +9 -0
  75. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_opacity.scss +8 -0
  76. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_pagination.scss +23 -0
  77. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_panels.scss +24 -0
  78. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_progress-bar.scss +10 -0
  79. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_reset-filter.scss +8 -0
  80. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_resize.scss +6 -0
  81. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_responsive-visibility.scss +21 -0
  82. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_size.scss +10 -0
  83. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_tab-focus.scss +9 -0
  84. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_table-row.scss +28 -0
  85. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_text-emphasis.scss +11 -0
  86. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_text-overflow.scss +8 -0
  87. data/vendor/assets/stylesheets/twbs/bootstrap/mixins/_vendor-prefixes.scss +219 -0
  88. metadata +32 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d6b9c6e532fa011bee8a52a5c9a14e11ad8ff700
4
- data.tar.gz: 3b8d3e490018336e40d0bc26b079faca09cef632
3
+ metadata.gz: 0a06def64c4b8cec2860e6f94c347adbf335d63d
4
+ data.tar.gz: 193a5cf149a45d1f6289dca49bc7ee04398b3df5
5
5
  SHA512:
6
- metadata.gz: 88a62cfcd1a93dfd4d3281c9ba5d95594e5b60f82ad96de284d91b06c07ee6543c4a1e65d0b444193e495d648572d0e0c6cf88bf97c45e41a6282a7dc15a858c
7
- data.tar.gz: 5ea6b0fb4ad94b7187660be390d3ef083ef1ef3d2be0732f5f7c40469926b493c35a1847a01970fbdabb22c89fbe05a7317244d7fdaa43a75132d490d622b473
6
+ metadata.gz: 983ef5953e0c0beecfa17879b2452ea7b357208785363a658d4d9f2ee75d01e2a69beee6784701dfb47b8fe559910d7f2ea0e4667f9d4e4778893485a17e07a3
7
+ data.tar.gz: 8b96f2e66ad511d4eeff0d331d5b951b4459a319f491426db280f7cf51781a397150bd01eb3e1461a6fcfe259d1b9c176987be7c9035cb86d341d8d592c43fd4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.0
4
+
5
+ * bootstrap-sass 3.2.0
6
+ * Fontawesome 4.1.0
7
+ * Support for Rails 4.1.2 and 4.0.6
8
+
3
9
  ## 0.6.4
4
10
 
5
11
  * Added Gemfile.lock to .gitignore
data/Rakefile CHANGED
@@ -46,15 +46,17 @@ SUBMODULES = {
46
46
  }
47
47
 
48
48
  SOURCE_FILES = {
49
- bootstrap_stylesheets: File.expand_path('src/twbs/bootstrap-sass/vendor/assets/stylesheets/bootstrap/*.scss'),
50
- bootstrap_javascripts: File.expand_path('src/twbs/bootstrap-sass/vendor/assets/javascripts/bootstrap/*.js'),
49
+ bootstrap_stylesheets: File.expand_path('src/twbs/bootstrap-sass/assets/stylesheets/bootstrap/*.scss'),
50
+ bootstrap_stylesheets_mixins: File.expand_path('src/twbs/bootstrap-sass/assets/stylesheets/bootstrap/mixins/*.scss'),
51
+ bootstrap_javascripts: File.expand_path('src/twbs/bootstrap-sass/assets/javascripts/bootstrap/*.js'),
51
52
  fontawesome_stylesheets: File.expand_path('src/FortAwesome/Font-Awesome/scss/*.scss'),
52
- glyphicons_fonts: File.expand_path('src/twbs/bootstrap-sass/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.*'),
53
+ glyphicons_fonts: File.expand_path('src/twbs/bootstrap-sass/assets/fonts/bootstrap/glyphicons-halflings-regular.*'),
53
54
  fontawesome_fonts: File.expand_path('src/FortAwesome/Font-Awesome/fonts/fontawesome-webfont.*'),
54
55
  }
55
56
 
56
57
  DESTINATION_FOLDERS = {
57
58
  bootstrap_stylesheets: File.expand_path('vendor/assets/stylesheets/twbs/bootstrap'),
59
+ bootstrap_stylesheets_mixins: File.expand_path('vendor/assets/stylesheets/twbs/bootstrap/mixins'),
58
60
  bootstrap_javascripts: File.expand_path('vendor/assets/javascripts/twbs/bootstrap'),
59
61
  fontawesome_stylesheets: File.expand_path('vendor/assets/stylesheets/fontawesome'),
60
62
  glyphicons_fonts: File.expand_path('app/assets/fonts'),
@@ -88,6 +90,9 @@ namespace :update do
88
90
  puts 'Adding respond.js...'
89
91
  FileUtils.cp File.expand_path('src/scottjehl/Respond/src/respond.js'), File.expand_path('vendor/assets/javascripts/respond.js')
90
92
 
93
+ puts 'Importing bootstrap-sprockets.js'
94
+ FileUtils.cp File.expand_path('src/twbs/bootstrap-sass/assets/javascripts/bootstrap-sprockets.js'), File.expand_path('vendor/assets/javascripts/twbs/bootstrap.js')
95
+
91
96
  puts 'Updating font paths...'
92
97
  update_fontawesome_paths
93
98
  update_glyphicons_paths
@@ -114,6 +119,7 @@ end
114
119
 
115
120
  def copy_source_files_to_destination_folders
116
121
  SOURCE_FILES.each do |k, v|
122
+ FileUtils.mkdir_p DESTINATION_FOLDERS[k] unless File.directory?(DESTINATION_FOLDERS[k])
117
123
  FileUtils.cp Dir.glob(v), DESTINATION_FOLDERS[k]
118
124
  end
119
125
  end
@@ -132,6 +138,7 @@ def update_glyphicons_paths
132
138
  file_name = "#{DESTINATION_FOLDERS[:bootstrap_stylesheets]}/_glyphicons.scss"
133
139
  text = File.read(file_name)
134
140
  text.gsub! /url\(if.*\#\{\$icon-font-name\}\.(.*)\)\)(.*)/, "font-url('\#{$icon-font-name}.\\1)\\2"
141
+ text.gsub! /\/\/= depend_on.*\n/, ''
135
142
  File.open(file_name, 'w') { |file| file.puts text }
136
143
  end
137
144