patternfly-sass 2.10.0 → 2.10.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.
data/bower.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patternfly-sass",
3
- "version": "2.10.0",
3
+ "version": "2.10.1",
4
4
  "license": "Apache-2.0",
5
5
  "homepage": "https://www.patternfly.org",
6
6
  "authors": [
@@ -1,4 +1,4 @@
1
1
  module Patternfly
2
- VERSION = '2.10.0'
2
+ VERSION = '2.10.1'
3
3
  PATTERNFLY_SHA = 'd8bd431412de05f235587c583920de657e9d15dc'
4
4
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "patternfly-sass",
3
- "version": "2.10.0",
3
+ "version": "2.10.1",
4
4
  "description": "Red Hat's Patternfly, converted to Sass and ready to drop into Rails",
5
5
  "repository": {
6
6
  "type": "git",
data/tasks/converter.rb CHANGED
@@ -112,22 +112,27 @@ class Converter
112
112
 
113
113
  file = replace_all(file, "@import \"../components/font-awesome/less/variables\";\n", '')
114
114
  file = replace_all(file, '../components/font-awesome/less/font-awesome', 'font-awesome')
115
- file = replace_all(file, '../components/bootstrap-combobox/less/combobox', 'bootstrap-combobox')
116
- file = replace_all(file, '../components/bootstrap-select/less/bootstrap-select', 'bootstrap-select')
117
- file = replace_all(file, '../components/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.css', 'bootstrap-touchspin/dist/jquery.bootstrap-touchspin')
118
- file = replace_all(file, '../components/c3/c3.css', 'c3')
119
- file = replace_all(file, '../components/bootstrap-datepicker/less/datepicker3', 'bootstrap-datepicker/bootstrap-datepicker3')
120
115
 
121
116
  sass_contrib('bootstrap-switch/src/less/bootstrap3/bootstrap-switch.less', 'bootstrap-switch.scss')
122
117
  file = replace_all(file, '../components/bootstrap-switch/src/less/bootstrap3/bootstrap-switch', 'patternfly/sass-contrib/bootstrap-switch')
118
+ sass_contrib('bootstrap-combobox/css/bootstrap-combobox.css', 'bootstrap-combobox.scss', false)
119
+ file = replace_all(file, '../components/bootstrap-combobox/less/combobox', 'patternfly/sass-contrib/bootstrap-combobox')
120
+ sass_contrib('bootstrap-select/dist/css/bootstrap-select.css', 'bootstrap-select.scss', false)
121
+ file = replace_all(file, '../components/bootstrap-select/less/bootstrap-select', 'patternfly/sass-contrib/bootstrap-select')
122
+ sass_contrib('bootstrap-touchspin/dist/jquery.bootstrap-touchspin.css', 'bootstrap-touchspin.scss', false)
123
+ file = replace_all(file, '../components/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.css', 'patternfly/sass-contrib/bootstrap-touchspin')
124
+ sass_contrib('c3/c3.css', 'c3.scss', false)
125
+ file = replace_all(file, '../components/c3/c3.css', 'patternfly/sass-contrib/c3')
126
+ sass_contrib('bootstrap-datepicker/dist/css/bootstrap-datepicker3.css', 'bootstrap-datepicker.scss', false)
127
+ file = replace_all(file, '../components/bootstrap-datepicker/less/datepicker3', 'patternfly/sass-contrib/bootstrap-datepicker')
123
128
 
124
129
  TOP + remove_comments_and_whitespace(file)
125
130
  end
126
131
 
127
- def sass_contrib(src, dst)
132
+ def sass_contrib(src, dst, convert=true)
128
133
  base = 'assets/stylesheets/patternfly/sass-contrib'
129
134
  less = File.read(File.join('bower_components', src))
130
- sass = less_to_sass(nil, less)
135
+ sass = convert ? less_to_sass(nil, less) : less
131
136
  FileUtils.mkdir_p(base) unless File.exist?(base)
132
137
  File.open(File.join(base, dst), 'w') { |f| f.write(sass) }
133
138
  end
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: 2.10.0
4
+ version: 2.10.1
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-02-02 00:00:00.000000000 Z
12
+ date: 2016-02-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
@@ -345,6 +345,7 @@ files:
345
345
  - ".travis.yml"
346
346
  - Gemfile
347
347
  - LICENSE.txt
348
+ - OPEN_SOURCE_LICENCES.txt
348
349
  - README.md
349
350
  - Rakefile
350
351
  - assets/fonts/patternfly/OpenSans-Bold-webfont.eot
@@ -471,7 +472,12 @@ files:
471
472
  - assets/stylesheets/patternfly/_tooltip.scss
472
473
  - assets/stylesheets/patternfly/_type.scss
473
474
  - assets/stylesheets/patternfly/_variables.scss
475
+ - assets/stylesheets/patternfly/sass-contrib/bootstrap-combobox.scss
476
+ - assets/stylesheets/patternfly/sass-contrib/bootstrap-datepicker.scss
477
+ - assets/stylesheets/patternfly/sass-contrib/bootstrap-select.scss
474
478
  - assets/stylesheets/patternfly/sass-contrib/bootstrap-switch.scss
479
+ - assets/stylesheets/patternfly/sass-contrib/bootstrap-touchspin.scss
480
+ - assets/stylesheets/patternfly/sass-contrib/c3.scss
475
481
  - bower.json
476
482
  - lib/patternfly-sass.rb
477
483
  - lib/patternfly-sass/engine.rb