twitter-bootswatch-rails 2.3.2.0 → 2.3.2.2
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
|
-
|
4
|
+
OTFiOTIwYzVjM2Q5ZGVhOWNmMzc2Zjc2YzE4NTQ4NTIyNjFmMmE5Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODcyYzc1N2U4OGRkYTllMzU2MzVlNWNjY2IwMGQ5MjRlN2U4YTQwOA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZTEwMGFjZTM1MjY1ZmZlZGZmZTJkZDRiYzM3OTljYTkxZWVkYWEzZGI5OTYx
|
10
|
+
ODE5ZjI3MzQzZWEyNjZjMTYzNjQ2NTQwYTRmZTVmYjk0Y2ZiNzk1N2Y3N2M2
|
11
|
+
OGMyOGZjYWZjNTc0ZDg0ZWEwNzRiOTRkNGQxZTZhYzcwMGQ1ZWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZGY4ZTFmNzdlODA1NDBhODZkNDQ4NDVkYzI5YmM1YzEyYTcwODk3MTM3MDVl
|
14
|
+
YmJjZjZhNDk4NDgzYWI5YWVlOTUzZWZmZGViYjIyOTkzZDAwZDI1ZWNiNjFh
|
15
|
+
NTBkY2IwNWI2YzAyMWU2Y2FlYmY1ODljODJjZjIxYmFhYjY1MjU=
|
@@ -25,17 +25,8 @@ module Bootswatch
|
|
25
25
|
stylesheets_dest_path = "app/assets/stylesheets/#{theme_directory}"
|
26
26
|
empty_directory stylesheets_dest_path
|
27
27
|
|
28
|
-
# let's auto backup if a custom variables.less already exists
|
29
|
-
if File.exist?(File.join(stylesheets_dest_path,'variables.less'))
|
30
|
-
File.rename(File.join(stylesheets_dest_path,'variables.less'), File.join(stylesheets_dest_path,'variables.less_bak'))
|
31
|
-
end
|
32
|
-
|
33
28
|
get File.join(theme_repo_url,'variables.less'), File.join(stylesheets_dest_path,'variables.less')
|
34
29
|
|
35
|
-
# let's auto backup if a custom bootswatch.less already exists
|
36
|
-
if File.exist?(File.join(stylesheets_dest_path,'bootswatch.less'))
|
37
|
-
File.rename(File.join(stylesheets_dest_path,'bootswatch.less'), File.join(stylesheets_dest_path,'bootswatch.less_bak'))
|
38
|
-
end
|
39
30
|
|
40
31
|
get File.join(theme_repo_url,'bootswatch.less'), File.join(stylesheets_dest_path,'bootswatch.less')
|
41
32
|
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'rails/generators'
|
2
|
+
require 'less-rails'
|
2
3
|
|
3
4
|
module Bootswatch
|
4
5
|
module Generators
|
@@ -21,7 +22,7 @@ module Bootswatch
|
|
21
22
|
end
|
22
23
|
|
23
24
|
def theme_info
|
24
|
-
"#{use_default_theme_name? ? 'bootstrap'.capitalize : theme_name.capitalize}
|
25
|
+
"#{use_default_theme_name? ? 'bootstrap'.capitalize : theme_name.capitalize}"
|
25
26
|
end
|
26
27
|
|
27
28
|
def add_assets
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter-bootswatch-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.2.
|
4
|
+
version: 2.3.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott V. Rosenthal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|