twitter-bootswatch-rails 2.3.2.6 → 2.3.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjUxYTkyYzkzODhlOTg5YWZjMjhhOTE2Yzc0YzFhNTE0ZTViNTQ3ZA==
4
+ YjA2NWRlNmNlZmU0OTljMTAxYjlmN2E5NDk5YTllYjBlNTdlMWI1NQ==
5
5
  data.tar.gz: !binary |-
6
- ODU1ZDlmZDEzYWM2ZmNhZTkxYzVlMjBkZjI0MjIyYWFhZjFmZTdmNw==
6
+ NWFkNWVmNzgyMzRmZWJmOGFlZDRmMGY1NzAxMGI0NDdiZTQyZDVkNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NWU1NGQ3NTVjNmNlOTMxNjgwMzI1YzRmYzZjYmQ2YTQ4NDE2ZWUxNTEyNzlk
10
- ZmJjYWRhMmI2YmNkMTNhMGU5M2EzNTMwMGRhOGIyZDVmNjViNjc1MGUxNjY1
11
- MDkxNDNmZjRjZTQyNmU4ODlmNzkwZGRhNTM4ZmRmNGQ2NjliZWQ=
9
+ MGQwZGYxZTQyNGY4ZmFkYTZmYTQ2OWYwMzljM2IwZjYwOGE1ZmNhYzIwMGJl
10
+ OGI0NWY3MmRkYmQzYzE3OGM4MDRjNDM5OTNhZWUxZjFmMjFmZTI1ZDM2YjA2
11
+ ZDI4M2JjYjczZmZkNWQ2NzhmZTU0ZjEwYjQ0NzgwZGE1NGMzNGI=
12
12
  data.tar.gz: !binary |-
13
- MjgxOTFkZmZiNWY4NTRjNDA2MzI5ZTUzMDUzYzU5OTljNDRmMTE2Mzg4M2Ey
14
- ZGM5ZjlkOTIwZTJlOWVhZWMzZGUzYjM1NGExMTE0OTZlNjllNmU2M2ExY2Ix
15
- NWM4NGEyMjljZmEzMjQ3YTRlMDRiOWVkNGU4ZmJiNGYyZDg5NDc=
13
+ MTg3YjM3NzlkMzNmZTUyMzJmMzcyMzc3OTQ1ZjIxNGM1YjlmMTY2YzQ4Yzc4
14
+ OTZjYzlmNWM2ZTc2OWNmMjZlNjU1NTQzMDQ3OWQ0Y2I2YTUyYzU1MWZhMzkz
15
+ ZGJkMTJhMmY3YzU5YzYwYTE2MGM1NzYwMmRiOTk1N2FhZjAwZjc=
@@ -31,7 +31,7 @@ module Bootswatch
31
31
  get File.join(theme_repo_url,'bootswatch.less'), File.join(stylesheets_dest_path,'bootswatch.css.less')
32
32
 
33
33
  prepend_to_file File.join(stylesheets_dest_path,'bootswatch.css.less') do
34
- "@import \"#{theme_name}/base\";\n"
34
+ "@import \"#{theme_name}/base\";\n\n"
35
35
  end
36
36
 
37
37
  gsub_file File.join(stylesheets_dest_path,'variables.less'),
@@ -88,9 +88,13 @@ module Bootswatch
88
88
  stylesheets_dest_path = "app/assets/stylesheets/#{theme_name}"
89
89
  empty_directory stylesheets_dest_path
90
90
 
91
- less_imports = File.read(find_in_source_paths('bootstrap.less')).scan(Less::Rails::ImportProcessor::IMPORT_SCANNER).flatten.compact.uniq
91
+ bootstrap_less_imports = File.read(find_in_source_paths('bootstrap.less')).scan(Less::Rails::ImportProcessor::IMPORT_SCANNER).flatten.compact.uniq
92
92
 
93
- template 'loader.css.less.tt', File.join(stylesheets_dest_path,'loader.css.less'), {less_imports: less_imports, theme_name: theme_name, theme_info: theme_info}
93
+ template 'loader.css.less.tt', File.join(stylesheets_dest_path,'loader.css.less'), {less_imports: bootstrap_less_imports, theme_name: theme_name, theme_info: theme_info}
94
+
95
+ template 'responsive.less.tt', File.join(stylesheets_dest_path,'responsive.less'), {theme_name: theme_name, theme_info: theme_info}
96
+
97
+ # now variables and mixins
94
98
 
95
99
  template 'variables.less.tt', File.join(stylesheets_dest_path,'variables.less'), {theme_name: theme_name, theme_info: theme_info}
96
100
 
@@ -1,5 +1,4 @@
1
1
  @import "<%= config[:theme_name] %>/base";
2
- // @import "twitter/bootstrap/responsive";
3
2
 
4
3
  // <%= config[:theme_info] %>
5
4
  // Bootswatch
@@ -1,7 +1,7 @@
1
1
  // <%= config[:theme_info] %>
2
2
  // Bootswatch
3
3
  // loader.css.less
4
- // customize the modules loaded here
4
+ // Customize the modules loaded here
5
5
 
6
6
  <%
7
7
  config[:less_imports].map{|item| item.gsub(/.less/, '')}.each do |less_file|
@@ -16,4 +16,6 @@ else
16
16
  <%
17
17
  end
18
18
  end
19
- %>
19
+ %>
20
+
21
+ // @import "<%= config[:theme_name] %>/responsive";
@@ -1,5 +1,6 @@
1
1
  // <%= config[:theme_info] %>
2
2
  // Bootswatch
3
+
3
4
  //
4
5
  // Mixins
5
6
  // --------------------------------------------------
@@ -0,0 +1,51 @@
1
+ // <%= config[:theme_info] %>
2
+ // Bootswatch
3
+
4
+ /*!
5
+ * Bootstrap Responsive v2.3.2
6
+ *
7
+ * Copyright 2012 Twitter, Inc
8
+ * Licensed under the Apache License v2.0
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
12
+ */
13
+
14
+
15
+ // Responsive.less
16
+ // For phone and tablet devices
17
+ // -------------------------------------------------------------
18
+
19
+
20
+ // REPEAT VARIABLES & MIXINS
21
+ // -------------------------
22
+ // Required since we compile the responsive stuff separately
23
+
24
+ @import "<%= config[:theme_name] %>/variables.less"; // Modify this for custom colors, font-sizes, etc
25
+ @import "<%= config[:theme_name] %>/mixins.less";
26
+
27
+
28
+ // RESPONSIVE CLASSES
29
+ // ------------------
30
+
31
+ @import "twitter/bootstrap/responsive-utilities.less";
32
+
33
+
34
+ // MEDIA QUERIES
35
+ // ------------------
36
+
37
+ // Large desktops
38
+ @import "twitter/bootstrap/responsive-1200px-min.less";
39
+
40
+ // Tablets to regular desktops
41
+ @import "twitter/bootstrap/responsive-768px-979px.less";
42
+
43
+ // Phones to portrait tablets and narrow desktops
44
+ @import "twitter/bootstrap/responsive-767px-max.less";
45
+
46
+
47
+ // RESPONSIVE NAVBAR
48
+ // ------------------
49
+
50
+ // From 979px and below, show a button to toggle navbar contents
51
+ @import "twitter/bootstrap/responsive-navbar.less";
@@ -1,5 +1,6 @@
1
1
  // <%= config[:theme_info] %>
2
2
  // Bootswatch
3
+
3
4
  //
4
5
  // Variables
5
6
  // --------------------------------------------------
@@ -1,7 +1,7 @@
1
1
  module Twitter
2
2
  module Bootswatch
3
3
  module Rails
4
- VERSION = '2.3.2.6'
4
+ VERSION = '2.3.2.7'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter-bootswatch-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2.6
4
+ version: 2.3.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott V. Rosenthal
@@ -102,6 +102,7 @@ files:
102
102
  - lib/generators/bootswatch/install/templates/loader.coffee.tt
103
103
  - lib/generators/bootswatch/install/templates/loader.css.less.tt
104
104
  - lib/generators/bootswatch/install/templates/mixins.less.tt
105
+ - lib/generators/bootswatch/install/templates/responsive.less.tt
105
106
  - lib/generators/bootswatch/install/templates/variables.less.tt
106
107
  - lib/generators/bootswatch/layout/layout_generator.rb
107
108
  - lib/generators/bootswatch/layout/templates/layout.html.erb