patternfly-sass 3.6.0 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -2
  3. data/Rakefile +16 -21
  4. data/assets/stylesheets/_patternfly.scss +1 -0
  5. data/assets/stylesheets/patternfly/_list-view.scss +2 -0
  6. data/assets/stylesheets/patternfly/_wizard.scss +242 -0
  7. data/bower.json +1 -1
  8. data/lib/patternfly-sass/version.rb +2 -2
  9. data/patternfly-sass.gemspec +1 -0
  10. data/spec/compare_spec.rb +4 -3
  11. data/spec/html/about-modal.html +13 -13
  12. data/spec/html/accordions.html +11 -12
  13. data/spec/html/alerts.html +11 -12
  14. data/spec/html/area-charts.html +11 -12
  15. data/spec/html/badges.html +11 -12
  16. data/spec/html/bar-charts.html +11 -12
  17. data/spec/html/basic.html +12 -12
  18. data/spec/html/blank-slate.html +11 -12
  19. data/spec/html/bootstrap-combobox.html +11 -12
  20. data/spec/html/bootstrap-datepicker.html +19 -20
  21. data/spec/html/bootstrap-select.html +11 -12
  22. data/spec/html/bootstrap-switch.html +11 -12
  23. data/spec/html/bootstrap-touchspin.html +11 -12
  24. data/spec/html/bootstrap-treeview-2.html +12 -12
  25. data/spec/html/bootstrap-treeview.html +11 -12
  26. data/spec/html/breadcrumbs.html +11 -12
  27. data/spec/html/buttons.html +11 -12
  28. data/spec/html/cards.html +12 -12
  29. data/spec/html/code.html +11 -12
  30. data/spec/html/dashboard.html +12 -12
  31. data/spec/html/datatables-columns.html +11 -12
  32. data/spec/html/datatables.html +11 -12
  33. data/spec/html/dist/css/patternfly-additions.css +223 -0
  34. data/spec/html/dist/css/patternfly-additions.css.map +1 -1
  35. data/spec/html/dist/css/patternfly-additions.min.css +1 -1
  36. data/spec/html/dist/css/patternfly-additions.min.css.map +1 -1
  37. data/spec/html/donut-charts.html +11 -12
  38. data/spec/html/dropdowns.html +11 -12
  39. data/spec/html/form.html +12 -12
  40. data/spec/html/forms.html +11 -12
  41. data/spec/html/horizontal-navigation.html +12 -12
  42. data/spec/html/icons.html +11 -12
  43. data/spec/html/index.html +14 -12
  44. data/spec/html/infotip.html +13 -13
  45. data/spec/html/labels.html +11 -12
  46. data/spec/html/layout-alt-fixed-inner-scroll.html +12 -12
  47. data/spec/html/layout-alt-fixed-with-footer-inner-scroll.html +12 -12
  48. data/spec/html/layout-alt-fixed-with-footer.html +12 -12
  49. data/spec/html/layout-alt-fixed.html +12 -12
  50. data/spec/html/line-charts.html +11 -12
  51. data/spec/html/list-group.html +11 -12
  52. data/spec/html/list-view.html +11 -12
  53. data/spec/html/login.html +13 -13
  54. data/spec/html/modals.html +11 -12
  55. data/spec/html/navbar.html +36 -37
  56. data/spec/html/notifications-drawer.html +12 -12
  57. data/spec/html/pagination.html +11 -12
  58. data/spec/html/panels.html +11 -12
  59. data/spec/html/pie-charts.html +11 -12
  60. data/spec/html/popovers.html +11 -12
  61. data/spec/html/progress-bars.html +11 -12
  62. data/spec/html/search.html +11 -12
  63. data/spec/html/spinner.html +11 -12
  64. data/spec/html/tab.html +12 -12
  65. data/spec/html/tables.html +11 -12
  66. data/spec/html/tabs.html +11 -12
  67. data/spec/html/time-picker.html +11 -12
  68. data/spec/html/toast.html +11 -12
  69. data/spec/html/toolbar.html +13 -14
  70. data/spec/html/tooltip.html +11 -12
  71. data/spec/html/typography-2.html +12 -12
  72. data/spec/html/typography.html +11 -12
  73. data/spec/html/utilization-bar-charts.html +11 -12
  74. data/spec/html/vertical-navigation-without-icons.html +12 -12
  75. data/spec/html/vertical-navigation.html +12 -12
  76. data/spec/html/wizard.html +472 -0
  77. data/spec/main.html +2 -2
  78. data/tasks/converter.rb +12 -6
  79. metadata +19 -2
data/spec/main.html CHANGED
@@ -6,10 +6,10 @@
6
6
  <h1>Test webserver for LESS/SASS comparison</h1>
7
7
  <ul>
8
8
  <li>
9
- <a href="/less/patternfly/index.html">Reference LESS version</a>
9
+ <a href="/less/pages/patternfly/index.html">Reference LESS version</a>
10
10
  </li>
11
11
  <li>
12
- <a href="/sass/patternfly/index.html">Converted SASS version</a>
12
+ <a href="/sass/pages/patternfly/index.html">Converted SASS version</a>
13
13
  </li>
14
14
  </ul>
15
15
  </body>
data/tasks/converter.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  BOOTSTRAP_GEM_ROOT = Gem::Specification.find_by_name("bootstrap-sass").gem_dir
2
2
  require "#{BOOTSTRAP_GEM_ROOT}/tasks/converter/less_conversion"
3
3
  require 'rugged'
4
+ require 'jekyll'
4
5
 
5
6
  class Converter
6
7
  include Converter::LessConversion
@@ -38,6 +39,7 @@ class Converter
38
39
 
39
40
  def convert
40
41
  checkout_upstream
42
+ build_tests
41
43
  copy_non_less
42
44
  process_stylesheets
43
45
  store_version
@@ -188,6 +190,16 @@ class Converter
188
190
  less_to_sass('patternfly.less', top_level_files.map { |f| File.read(f) }.join("\n"))
189
191
  end
190
192
 
193
+ def build_tests
194
+ tsrc = File.join(@source, 'tests', 'pages')
195
+ conf = Jekyll.configuration(
196
+ 'config' => File.join(tsrc, '_config.yml'),
197
+ 'source' => tsrc,
198
+ 'destination' => TEST_DIR
199
+ )
200
+ Jekyll::Site.new(conf).process
201
+ end
202
+
191
203
  def copy_non_less
192
204
  copy_config.each do |asset|
193
205
  FileUtils.rm_rf(asset[:destination])
@@ -282,12 +294,6 @@ class Converter
282
294
  :reject => nil,
283
295
  :destination => File.join(@destination, 'javascripts')
284
296
  },
285
- {
286
- :source => File.join(@source, 'tests'),
287
- :select => /.*/,
288
- :reject => nil,
289
- :destination => TEST_DIR
290
- },
291
297
  {
292
298
  :source => File.join(@source, 'dist', 'css'),
293
299
  :select => /css/,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: patternfly-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.0
4
+ version: 3.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dávid Halász
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-07-07 00:00:00.000000000 Z
12
+ date: 2016-07-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
@@ -95,6 +95,20 @@ dependencies:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
97
  version: 0.23.2
98
+ - !ruby/object:Gem::Dependency
99
+ name: jekyll
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: 3.1.6
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: 3.1.6
98
112
  - !ruby/object:Gem::Dependency
99
113
  name: rspec
100
114
  requirement: !ruby/object:Gem::Requirement
@@ -330,6 +344,7 @@ files:
330
344
  - assets/stylesheets/patternfly/_type.scss
331
345
  - assets/stylesheets/patternfly/_variables.scss
332
346
  - assets/stylesheets/patternfly/_vertical-nav.scss
347
+ - assets/stylesheets/patternfly/_wizard.scss
333
348
  - assets/stylesheets/patternfly/lib/bootstrap-combobox.scss
334
349
  - assets/stylesheets/patternfly/lib/bootstrap-datepicker.scss
335
350
  - assets/stylesheets/patternfly/lib/bootstrap-datetimepicker.scss
@@ -416,6 +431,7 @@ files:
416
431
  - spec/html/utilization-bar-charts.html
417
432
  - spec/html/vertical-navigation-without-icons.html
418
433
  - spec/html/vertical-navigation.html
434
+ - spec/html/wizard.html
419
435
  - spec/main.html
420
436
  - spec/spec_helper.rb
421
437
  - tasks/converter.rb
@@ -518,5 +534,6 @@ test_files:
518
534
  - spec/html/utilization-bar-charts.html
519
535
  - spec/html/vertical-navigation-without-icons.html
520
536
  - spec/html/vertical-navigation.html
537
+ - spec/html/wizard.html
521
538
  - spec/main.html
522
539
  - spec/spec_helper.rb