less-rails-bootstrap 3.1.1.1 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/.travis.yml +5 -4
  4. data/Appraisals +10 -4
  5. data/Gemfile +0 -2
  6. data/ISSUES.md +6 -0
  7. data/README.md +6 -6
  8. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.eot +0 -0
  9. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.svg +229 -0
  10. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  11. data/app/assets/fonts/twitter/bootstrap/glyphicons-halflings-regular.woff +0 -0
  12. data/app/assets/javascripts/twitter/bootstrap.js +12 -0
  13. data/app/assets/javascripts/twitter/bootstrap/affix.js +142 -0
  14. data/app/assets/javascripts/twitter/bootstrap/alert.js +92 -0
  15. data/app/assets/javascripts/twitter/bootstrap/button.js +110 -0
  16. data/app/assets/javascripts/twitter/bootstrap/carousel.js +223 -0
  17. data/app/assets/javascripts/twitter/bootstrap/collapse.js +170 -0
  18. data/app/assets/javascripts/twitter/bootstrap/dropdown.js +151 -0
  19. data/app/assets/javascripts/twitter/bootstrap/modal.js +280 -0
  20. data/app/assets/javascripts/twitter/bootstrap/popover.js +113 -0
  21. data/app/assets/javascripts/twitter/bootstrap/scrollspy.js +170 -0
  22. data/app/assets/javascripts/twitter/bootstrap/tab.js +128 -0
  23. data/app/assets/javascripts/twitter/bootstrap/tooltip.js +457 -0
  24. data/app/assets/javascripts/twitter/bootstrap/transition.js +59 -0
  25. data/app/assets/stylesheets/twitter/bootstrap.less +1 -0
  26. data/app/frameworks/twitter/bootstrap/alerts.less +68 -0
  27. data/app/frameworks/twitter/bootstrap/badges.less +55 -0
  28. data/app/frameworks/twitter/bootstrap/bootstrap.less +50 -0
  29. data/app/frameworks/twitter/bootstrap/breadcrumbs.less +26 -0
  30. data/app/frameworks/twitter/bootstrap/button-groups.less +240 -0
  31. data/app/frameworks/twitter/bootstrap/buttons.less +157 -0
  32. data/app/frameworks/twitter/bootstrap/carousel.less +243 -0
  33. data/app/frameworks/twitter/bootstrap/close.less +33 -0
  34. data/app/frameworks/twitter/bootstrap/code.less +68 -0
  35. data/app/frameworks/twitter/bootstrap/component-animations.less +31 -0
  36. data/app/frameworks/twitter/bootstrap/dropdowns.less +215 -0
  37. data/app/frameworks/twitter/bootstrap/forms.less +540 -0
  38. data/app/frameworks/twitter/bootstrap/glyphicons.less +233 -0
  39. data/app/frameworks/twitter/bootstrap/grid.less +84 -0
  40. data/app/frameworks/twitter/bootstrap/input-groups.less +166 -0
  41. data/app/frameworks/twitter/bootstrap/jumbotron.less +48 -0
  42. data/app/frameworks/twitter/bootstrap/labels.less +64 -0
  43. data/app/frameworks/twitter/bootstrap/list-group.less +131 -0
  44. data/app/frameworks/twitter/bootstrap/media.less +56 -0
  45. data/app/frameworks/twitter/bootstrap/mixins.less +39 -0
  46. data/app/frameworks/twitter/bootstrap/mixins/alerts.less +14 -0
  47. data/app/frameworks/twitter/bootstrap/mixins/background-variant.less +8 -0
  48. data/app/frameworks/twitter/bootstrap/mixins/border-radius.less +18 -0
  49. data/app/frameworks/twitter/bootstrap/mixins/buttons.less +50 -0
  50. data/app/frameworks/twitter/bootstrap/mixins/center-block.less +7 -0
  51. data/app/frameworks/twitter/bootstrap/mixins/clearfix.less +22 -0
  52. data/app/frameworks/twitter/bootstrap/mixins/forms.less +81 -0
  53. data/app/frameworks/twitter/bootstrap/mixins/gradients.less +59 -0
  54. data/app/frameworks/twitter/bootstrap/mixins/grid-framework.less +91 -0
  55. data/app/frameworks/twitter/bootstrap/mixins/grid.less +122 -0
  56. data/app/frameworks/twitter/bootstrap/mixins/hide-text.less +21 -0
  57. data/app/frameworks/twitter/bootstrap/mixins/image.less +34 -0
  58. data/app/frameworks/twitter/bootstrap/mixins/labels.less +12 -0
  59. data/app/frameworks/twitter/bootstrap/mixins/list-group.less +29 -0
  60. data/app/frameworks/twitter/bootstrap/mixins/nav-divider.less +10 -0
  61. data/app/frameworks/twitter/bootstrap/mixins/nav-vertical-align.less +9 -0
  62. data/app/frameworks/twitter/bootstrap/mixins/opacity.less +8 -0
  63. data/app/frameworks/twitter/bootstrap/mixins/pagination.less +23 -0
  64. data/app/frameworks/twitter/bootstrap/mixins/panels.less +24 -0
  65. data/app/frameworks/twitter/bootstrap/mixins/progress-bar.less +10 -0
  66. data/app/frameworks/twitter/bootstrap/mixins/reset-filter.less +8 -0
  67. data/app/frameworks/twitter/bootstrap/mixins/resize.less +6 -0
  68. data/app/frameworks/twitter/bootstrap/mixins/responsive-visibility.less +15 -0
  69. data/app/frameworks/twitter/bootstrap/mixins/size.less +10 -0
  70. data/app/frameworks/twitter/bootstrap/mixins/tab-focus.less +9 -0
  71. data/app/frameworks/twitter/bootstrap/mixins/table-row.less +28 -0
  72. data/app/frameworks/twitter/bootstrap/mixins/text-emphasis.less +8 -0
  73. data/app/frameworks/twitter/bootstrap/mixins/text-overflow.less +8 -0
  74. data/app/frameworks/twitter/bootstrap/mixins/vendor-prefixes.less +224 -0
  75. data/app/frameworks/twitter/bootstrap/modals.less +150 -0
  76. data/app/frameworks/twitter/bootstrap/navbar.less +655 -0
  77. data/app/frameworks/twitter/bootstrap/navs.less +242 -0
  78. data/app/frameworks/twitter/bootstrap/normalize.less +425 -0
  79. data/app/frameworks/twitter/bootstrap/pager.less +55 -0
  80. data/app/frameworks/twitter/bootstrap/pagination.less +88 -0
  81. data/app/frameworks/twitter/bootstrap/panels.less +243 -0
  82. data/app/frameworks/twitter/bootstrap/popovers.less +133 -0
  83. data/app/frameworks/twitter/bootstrap/print.less +101 -0
  84. data/app/frameworks/twitter/bootstrap/progress-bars.less +105 -0
  85. data/app/frameworks/twitter/bootstrap/responsive-embed.less +34 -0
  86. data/app/frameworks/twitter/bootstrap/responsive-utilities.less +194 -0
  87. data/app/frameworks/twitter/bootstrap/scaffolding.less +150 -0
  88. data/app/frameworks/twitter/bootstrap/tables.less +233 -0
  89. data/app/frameworks/twitter/bootstrap/theme.less +258 -0
  90. data/app/frameworks/twitter/bootstrap/thumbnails.less +36 -0
  91. data/app/frameworks/twitter/bootstrap/tooltip.less +95 -0
  92. data/app/frameworks/twitter/bootstrap/type.less +313 -0
  93. data/app/frameworks/twitter/bootstrap/utilities.less +57 -0
  94. data/app/frameworks/twitter/bootstrap/variables.less +846 -0
  95. data/app/frameworks/twitter/bootstrap/wells.less +29 -0
  96. data/less-rails-bootstrap.gemspec +4 -2
  97. data/lib/less/rails/bootstrap/version.rb +1 -1
  98. data/scripts/update_bootstrap.sh +5 -4
  99. data/test/cases/generators/custom_bootstrap_generator_test.rb +1 -1
  100. metadata +51 -7
@@ -0,0 +1,29 @@
1
+ //
2
+ // Wells
3
+ // --------------------------------------------------
4
+
5
+
6
+ // Base class
7
+ .well {
8
+ min-height: 20px;
9
+ padding: 19px;
10
+ margin-bottom: 20px;
11
+ background-color: @well-bg;
12
+ border: 1px solid @well-border;
13
+ border-radius: @border-radius-base;
14
+ .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
15
+ blockquote {
16
+ border-color: #ddd;
17
+ border-color: rgba(0,0,0,.15);
18
+ }
19
+ }
20
+
21
+ // Sizes
22
+ .well-lg {
23
+ padding: 24px;
24
+ border-radius: @border-radius-large;
25
+ }
26
+ .well-sm {
27
+ padding: 9px;
28
+ border-radius: @border-radius-small;
29
+ }
@@ -16,7 +16,9 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
17
  gem.require_paths = ['lib']
18
18
  gem.add_runtime_dependency 'less-rails', '~> 2.5.0'
19
- gem.add_development_dependency 'minitest', '~> 4.0'
19
+
20
+ gem.add_development_dependency 'minitest', '>= 4.0'
20
21
  gem.add_development_dependency 'guard-minitest'
21
- gem.add_development_dependency 'rails', ['>= 3.1', '< 4.1']
22
+ gem.add_development_dependency 'rails', ['>= 3.1', '<= 4.1']
23
+ gem.add_development_dependency 'appraisal'
22
24
  end
@@ -1,7 +1,7 @@
1
1
  module Less
2
2
  module Rails
3
3
  module Bootstrap
4
- VERSION = "3.1.1.1"
4
+ VERSION = "3.2.0"
5
5
  end
6
6
  end
7
7
  end
@@ -75,16 +75,17 @@ done
75
75
  info "Copying styles..."
76
76
  # styles
77
77
  mkdir -p $lrb_fw_dir
78
- for f in $bs_dir/less/*.less; do
79
- bn=$(basename $f)
78
+ for f in $bs_dir/less/{,**/}*.less; do
79
+ bn=${f/\.\/twitter\/bootstrap\/less\//}
80
+ mkdir -p $lrb_fw_dir/$(dirname $bn)
80
81
  cp $f $lrb_fw_dir/$bn
81
82
  done
82
83
 
83
84
  info "Apply patches..."
84
85
  [[ $(uname -s) == 'Darwin' ]] && ioption=(-i "") || ioption=(-i)
85
86
  sed "${ioption[@]}" 's#^\(@icon-font-path:[[:space:]]*\"\).*\(\";\)#\1twitter/bootstrap/\2#g' $lrb_fw_dir/variables.less
86
- sed "${ioption[@]}" 's# ~"url(\(.*\))"# asset-url(\1)#g' $lrb_fw_dir/*.less
87
- sed "${ioption[@]}" 's# url(# asset-url(#g' $lrb_fw_dir/*.less
87
+ sed "${ioption[@]}" 's# ~"url(\(.*\))"# asset-url(\1)#g' $lrb_fw_dir/{,**/}*.less
88
+ sed "${ioption[@]}" 's# url(# asset-url(#g' $lrb_fw_dir/{,**/}*.less
88
89
 
89
90
  info "Generate bootstrap.js..."
90
91
  sed -n "s#.*'js/\([a-z]\{1,\}\.js\)'.*#//= require twitter/bootstrap/\1#p" twitter/bootstrap/Gruntfile.js >> $lrb_bootstrap_js
@@ -14,7 +14,7 @@ class CustomBootstrapGeneratorTest < Rails::Generators::TestCase
14
14
 
15
15
  test "content of custom_bootstrap.less was changed" do
16
16
  md5 = Digest::MD5.file(destination_root.join("app/assets/stylesheets/custom_bootstrap/custom_bootstrap.less")).hexdigest
17
- assert_equal '4e87e1db9ef280b02cee47634f975ca1', md5,
17
+ assert_equal '337291aa6cd4515c56d686f16c641930', md5,
18
18
  'Looks like content of custom_bootstrap.less was changed. Please, investigate the reason of this and fix test if these changes are appropriate.'
19
19
  end
20
20
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: less-rails-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1.1
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Collins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-19 00:00:00.000000000 Z
11
+ date: 2014-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: less-rails
@@ -28,14 +28,14 @@ dependencies:
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4.0'
41
41
  - !ruby/object:Gem::Dependency
@@ -59,7 +59,7 @@ dependencies:
59
59
  - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.1'
62
- - - <
62
+ - - <=
63
63
  - !ruby/object:Gem::Version
64
64
  version: '4.1'
65
65
  type: :development
@@ -69,9 +69,23 @@ dependencies:
69
69
  - - '>='
70
70
  - !ruby/object:Gem::Version
71
71
  version: '3.1'
72
- - - <
72
+ - - <=
73
73
  - !ruby/object:Gem::Version
74
74
  version: '4.1'
75
+ - !ruby/object:Gem::Dependency
76
+ name: appraisal
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - '>='
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
75
89
  description: CSS toolkit from Twitter For Rails 3.1 Asset Pipeline. Best one of all!
76
90
  email:
77
91
  - ken@metaskills.net
@@ -127,6 +141,35 @@ files:
127
141
  - app/frameworks/twitter/bootstrap/list-group.less
128
142
  - app/frameworks/twitter/bootstrap/media.less
129
143
  - app/frameworks/twitter/bootstrap/mixins.less
144
+ - app/frameworks/twitter/bootstrap/mixins/alerts.less
145
+ - app/frameworks/twitter/bootstrap/mixins/background-variant.less
146
+ - app/frameworks/twitter/bootstrap/mixins/border-radius.less
147
+ - app/frameworks/twitter/bootstrap/mixins/buttons.less
148
+ - app/frameworks/twitter/bootstrap/mixins/center-block.less
149
+ - app/frameworks/twitter/bootstrap/mixins/clearfix.less
150
+ - app/frameworks/twitter/bootstrap/mixins/forms.less
151
+ - app/frameworks/twitter/bootstrap/mixins/gradients.less
152
+ - app/frameworks/twitter/bootstrap/mixins/grid-framework.less
153
+ - app/frameworks/twitter/bootstrap/mixins/grid.less
154
+ - app/frameworks/twitter/bootstrap/mixins/hide-text.less
155
+ - app/frameworks/twitter/bootstrap/mixins/image.less
156
+ - app/frameworks/twitter/bootstrap/mixins/labels.less
157
+ - app/frameworks/twitter/bootstrap/mixins/list-group.less
158
+ - app/frameworks/twitter/bootstrap/mixins/nav-divider.less
159
+ - app/frameworks/twitter/bootstrap/mixins/nav-vertical-align.less
160
+ - app/frameworks/twitter/bootstrap/mixins/opacity.less
161
+ - app/frameworks/twitter/bootstrap/mixins/pagination.less
162
+ - app/frameworks/twitter/bootstrap/mixins/panels.less
163
+ - app/frameworks/twitter/bootstrap/mixins/progress-bar.less
164
+ - app/frameworks/twitter/bootstrap/mixins/reset-filter.less
165
+ - app/frameworks/twitter/bootstrap/mixins/resize.less
166
+ - app/frameworks/twitter/bootstrap/mixins/responsive-visibility.less
167
+ - app/frameworks/twitter/bootstrap/mixins/size.less
168
+ - app/frameworks/twitter/bootstrap/mixins/tab-focus.less
169
+ - app/frameworks/twitter/bootstrap/mixins/table-row.less
170
+ - app/frameworks/twitter/bootstrap/mixins/text-emphasis.less
171
+ - app/frameworks/twitter/bootstrap/mixins/text-overflow.less
172
+ - app/frameworks/twitter/bootstrap/mixins/vendor-prefixes.less
130
173
  - app/frameworks/twitter/bootstrap/modals.less
131
174
  - app/frameworks/twitter/bootstrap/navbar.less
132
175
  - app/frameworks/twitter/bootstrap/navs.less
@@ -137,6 +180,7 @@ files:
137
180
  - app/frameworks/twitter/bootstrap/popovers.less
138
181
  - app/frameworks/twitter/bootstrap/print.less
139
182
  - app/frameworks/twitter/bootstrap/progress-bars.less
183
+ - app/frameworks/twitter/bootstrap/responsive-embed.less
140
184
  - app/frameworks/twitter/bootstrap/responsive-utilities.less
141
185
  - app/frameworks/twitter/bootstrap/scaffolding.less
142
186
  - app/frameworks/twitter/bootstrap/tables.less
@@ -186,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
230
  version: '0'
187
231
  requirements: []
188
232
  rubyforge_project:
189
- rubygems_version: 2.2.1
233
+ rubygems_version: 2.2.2
190
234
  signing_key:
191
235
  specification_version: 4
192
236
  summary: CSS toolkit from Twitter For Rails 3.1 Asset Pipeline