twitter-bootswatch-rails 2.3.2.4 → 2.3.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,12 +28,20 @@ module Bootswatch
28
28
  get File.join(theme_repo_url,'variables.less'), File.join(stylesheets_dest_path,'variables.less')
29
29
 
30
30
 
31
- get File.join(theme_repo_url,'bootswatch.less'), File.join(stylesheets_dest_path,'bootswatch.less')
31
+ get File.join(theme_repo_url,'bootswatch.less'), File.join(stylesheets_dest_path,'bootswatch.css.less')
32
32
 
33
- prepend_to_file File.join(stylesheets_dest_path,'bootswatch.less') do
34
- "@import \"base\";\n"
33
+ prepend_to_file File.join(stylesheets_dest_path,'bootswatch.css.less') do
34
+ "@import \"#{theme_name}/base\";\n"
35
35
  end
36
36
 
37
+ gsub_file File.join(stylesheets_dest_path,'variables.less'),
38
+ '"../img/glyphicons-halflings.png"',
39
+ '"twitter/bootstrap/glyphicons-halflings.png"'
40
+
41
+ gsub_file File.join(stylesheets_dest_path,'variables.less'),
42
+ '"../img/glyphicons-halflings-white.png"',
43
+ '"twitter/bootstrap/glyphicons-halflings-white.png"'
44
+
37
45
  end
38
46
 
39
47
  end
@@ -74,6 +74,11 @@ module Bootswatch
74
74
 
75
75
  template 'loader.coffee.tt', File.join(javascripts_dest_path,'loader.coffee'), {theme_name: theme_name, theme_info: theme_info}
76
76
 
77
+ # upgrade to new extension to trigger recompile
78
+ if File.exist?(File.join(javascripts_dest_path,'bootswatch.coffee'))
79
+ File.rename(File.join(javascripts_dest_path,'bootswatch.coffee'), File.join(javascripts_dest_path,'bootswatch.js.coffee'))
80
+ end
81
+
77
82
  template 'bootswatch.js.coffee.tt', File.join(javascripts_dest_path,'bootswatch.js.coffee'), {theme_name: theme_name, theme_info: theme_info}
78
83
 
79
84
  end
@@ -91,6 +96,11 @@ module Bootswatch
91
96
 
92
97
  template 'mixins.less.tt', File.join(stylesheets_dest_path,'mixins.less'), {theme_name: theme_name, theme_info: theme_info}
93
98
 
99
+ # upgrade to new extension to trigger recompile
100
+ if File.exist?(File.join(stylesheets_dest_path,'bootswatch.less'))
101
+ File.rename(File.join(stylesheets_dest_path,'bootswatch.less'), File.join(stylesheets_dest_path,'bootswatch.css.less'))
102
+ end
103
+
94
104
  template 'bootswatch.css.less.tt', File.join(stylesheets_dest_path,'bootswatch.css.less'), {theme_name: theme_name, theme_info: theme_info}
95
105
 
96
106
  template 'base.less.tt', File.join(stylesheets_dest_path,'base.less'), {theme_name: theme_name, theme_info: theme_info}
@@ -1,7 +1,7 @@
1
1
  module Twitter
2
2
  module Bootswatch
3
3
  module Rails
4
- VERSION = '2.3.2.4'
4
+ VERSION = '2.3.2.5'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,18 +1,20 @@
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
4
+ version: 2.3.2.5
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Scott V. Rosenthal
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-07-10 00:00:00.000000000 Z
12
+ date: 2013-07-12 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: railties
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ! '>='
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ! '>='
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: less-rails
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ! '>='
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ! '>='
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: execjs
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ! '>='
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ! '>='
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: rails
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - ! '>='
60
68
  - !ruby/object:Gem::Version
@@ -62,6 +70,7 @@ dependencies:
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - ! '>='
67
76
  - !ruby/object:Gem::Version
@@ -69,6 +78,7 @@ dependencies:
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: therubyracer
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
83
  - - ! '>='
74
84
  - !ruby/object:Gem::Version
@@ -76,6 +86,7 @@ dependencies:
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
91
  - - ! '>='
81
92
  - !ruby/object:Gem::Version
@@ -187,7 +198,6 @@ homepage: https://github.com/scottvrosenthal/twitter-bootswatch-rails
187
198
  licenses:
188
199
  - MIT
189
200
  - GPL-2
190
- metadata: {}
191
201
  post_install_message: ! "Important: You may need to add a javascript runtime to your
192
202
  Gemfile in order for bootstrap's LESS files to compile to CSS. \n\n**********************************************\n\nExecJS
193
203
  supports these runtimes:\n\ntherubyracer - Google V8 embedded within Ruby\n\ntherubyrhino
@@ -196,20 +206,22 @@ rdoc_options: []
196
206
  require_paths:
197
207
  - lib
198
208
  required_ruby_version: !ruby/object:Gem::Requirement
209
+ none: false
199
210
  requirements:
200
211
  - - ! '>='
201
212
  - !ruby/object:Gem::Version
202
- version: '0'
213
+ version: 1.9.3
203
214
  required_rubygems_version: !ruby/object:Gem::Requirement
215
+ none: false
204
216
  requirements:
205
217
  - - ! '>='
206
218
  - !ruby/object:Gem::Version
207
- version: '0'
219
+ version: 1.8.11
208
220
  requirements: []
209
221
  rubyforge_project: twitter-bootswatch-rails
210
- rubygems_version: 2.0.3
222
+ rubygems_version: 1.8.25
211
223
  signing_key:
212
- specification_version: 4
224
+ specification_version: 3
213
225
  summary: Twitter Bootstrap CSS toolkit for Rails 3.1+ Asset Pipeline with less-rails
214
226
  (no fluff - core only)
215
227
  test_files: []
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NTNhNWViYjE4MDc3Mzk1MjY5NmI4OTYxZDU1Mzc3NDI3YWI2NzE0Mw==
5
- data.tar.gz: !binary |-
6
- NDE0NGQzZDA5MzAzMmIwNjk2ZGZiYzJhYWQyMjhmODVkOWEzMTZmNg==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- ZGQyZjZiZjNhMjNlZTA2MzBmN2UxMDE1NmViNTMxNTdkM2M2MTE4NDQ4YjQ4
10
- YjVlNjE1ZTVlMTY2MjJjYjlhZjczZWMwNWU4OWNhODA0NWYxMDBmYmZkYmQ4
11
- Y2U5YWQ3OWU2MTVhZDA1ZTE0ZDU2Nzg1NjgyMTU4ODA3YTBmODI=
12
- data.tar.gz: !binary |-
13
- YmU3ZjEyMjY0MDA4NjI2OTQ5ZjYxZjJjNmJhYTNiMjkwNWZhNGYzYTI4ZTc0
14
- ZDM1NTAwZjVlMDA4NDYyNDM4ZjhkYWU1MGFkMDFjNjU4OGQ4NGI2Y2MwNWI3
15
- M2FhZjhhMjg2Y2IyY2RhNGRiMTY1YTg5MGQzYWY1YjdjYTliMzg=