twitter-bootswatch-rails-fontawesome 3.2.1.0 → 3.2.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,7 @@ module Bootswatch
6
6
  module Generators
7
7
  class InstallGenerator < ::Rails::Generators::NamedBase
8
8
 
9
+ DEFAULT_RAILS_APP_CSS_FILE='app/assets/stylesheets/application.css'
9
10
  DEFAULT_THEME_NAME='bootswatch'
10
11
 
11
12
  argument :name, type: :string, default: DEFAULT_THEME_NAME,
@@ -30,12 +31,12 @@ module Bootswatch
30
31
 
31
32
  if use_default_theme_name?
32
33
 
33
- if File.exist?('app/assets/stylesheets/application.css')
34
+ if File.exist?(DEFAULT_RAILS_APP_CSS_FILE)
34
35
 
35
- unless File.read('app/assets/stylesheets/application.css').include?('font-awesome')
36
- insert_into_file 'app/assets/stylesheets/application.css',
36
+ unless File.read(DEFAULT_RAILS_APP_CSS_FILE).include?('font-awesome')
37
+ insert_into_file DEFAULT_RAILS_APP_CSS_FILE,
37
38
  " *= require #{theme_name}/font-awesome\n",
38
- :after => "*= require #{theme_name}/loader\n"
39
+ :before => "*/"
39
40
  end
40
41
 
41
42
  end
@@ -47,7 +48,7 @@ module Bootswatch
47
48
  unless File.read("app/assets/stylesheets/#{theme_name}.css").include?('font-awesome')
48
49
  insert_into_file "app/assets/stylesheets/#{theme_name}.css",
49
50
  " *= require #{theme_name}/font-awesome\n",
50
- :after => "*= require #{theme_name}/loader\n"
51
+ :before => "*/"
51
52
  end
52
53
 
53
54
  end
@@ -62,13 +63,6 @@ module Bootswatch
62
63
 
63
64
  less_variables = File.readlines(find_in_source_paths('variables.less'))
64
65
 
65
- # clean up line breaks
66
- less_variables.delete_at(0)
67
- less_variables.delete_at(0)
68
- less_variables.delete_at(0)
69
- less_variables.delete_at(0)
70
- less_variables.delete_at(0)
71
-
72
66
  less_imports = File.read(find_in_source_paths('font-awesome.less')).scan(Less::Rails::ImportProcessor::IMPORT_SCANNER).flatten.compact.uniq
73
67
 
74
68
  template 'font-awesome.less.tt', File.join(stylesheets_dest_path,'font-awesome.less'), {less_imports: less_imports, less_variables: less_variables, theme_name: theme_name, theme_info: theme_info}
@@ -1,3 +1,4 @@
1
+ @import "fontawesome/variables";
1
2
  // <%= config[:theme_info] %>
2
3
  // Bootswatch Font Awesome
3
4
 
@@ -1,735 +1,6 @@
1
- // Variables
2
- // --------------------------
3
-
4
-
5
- //@FontAwesomePath: "//netdna.bootstrapcdn.com/font-awesome/3.2.1/font"; // for referencing Bootstrap CDN font files directly
6
1
 
7
2
  @borderColor: #eee;
8
3
  @iconMuted: #eee;
9
4
  @iconLight: #fff;
10
5
  @iconDark: #333;
11
6
  @icons-li-width: 30/14em;
12
-
13
-
14
- @glass: "\f000";
15
-
16
- @music: "\f001";
17
-
18
- @search: "\f002";
19
-
20
- @envelope-alt: "\f003";
21
-
22
- @heart: "\f004";
23
-
24
- @star: "\f005";
25
-
26
- @star-empty: "\f006";
27
-
28
- @user: "\f007";
29
-
30
- @film: "\f008";
31
-
32
- @th-large: "\f009";
33
-
34
- @th: "\f00a";
35
-
36
- @th-list: "\f00b";
37
-
38
- @ok: "\f00c";
39
-
40
- @remove: "\f00d";
41
-
42
- @zoom-in: "\f00e";
43
-
44
- @zoom-out: "\f010";
45
-
46
- @off: "\f011";
47
-
48
- @signal: "\f012";
49
-
50
- @cog: "\f013";
51
-
52
- @trash: "\f014";
53
-
54
- @home: "\f015";
55
-
56
- @file-alt: "\f016";
57
-
58
- @time: "\f017";
59
-
60
- @road: "\f018";
61
-
62
- @download-alt: "\f019";
63
-
64
- @download: "\f01a";
65
-
66
- @upload: "\f01b";
67
-
68
- @inbox: "\f01c";
69
-
70
- @play-circle: "\f01d";
71
-
72
- @repeat: "\f01e";
73
-
74
- @refresh: "\f021";
75
-
76
- @list-alt: "\f022";
77
-
78
- @lock: "\f023";
79
-
80
- @flag: "\f024";
81
-
82
- @headphones: "\f025";
83
-
84
- @volume-off: "\f026";
85
-
86
- @volume-down: "\f027";
87
-
88
- @volume-up: "\f028";
89
-
90
- @qrcode: "\f029";
91
-
92
- @barcode: "\f02a";
93
-
94
- @tag: "\f02b";
95
-
96
- @tags: "\f02c";
97
-
98
- @book: "\f02d";
99
-
100
- @bookmark: "\f02e";
101
-
102
- @print: "\f02f";
103
-
104
- @camera: "\f030";
105
-
106
- @font: "\f031";
107
-
108
- @bold: "\f032";
109
-
110
- @italic: "\f033";
111
-
112
- @text-height: "\f034";
113
-
114
- @text-width: "\f035";
115
-
116
- @align-left: "\f036";
117
-
118
- @align-center: "\f037";
119
-
120
- @align-right: "\f038";
121
-
122
- @align-justify: "\f039";
123
-
124
- @list: "\f03a";
125
-
126
- @indent-left: "\f03b";
127
-
128
- @indent-right: "\f03c";
129
-
130
- @facetime-video: "\f03d";
131
-
132
- @picture: "\f03e";
133
-
134
- @pencil: "\f040";
135
-
136
- @map-marker: "\f041";
137
-
138
- @adjust: "\f042";
139
-
140
- @tint: "\f043";
141
-
142
- @edit: "\f044";
143
-
144
- @share: "\f045";
145
-
146
- @check: "\f046";
147
-
148
- @move: "\f047";
149
-
150
- @step-backward: "\f048";
151
-
152
- @fast-backward: "\f049";
153
-
154
- @backward: "\f04a";
155
-
156
- @play: "\f04b";
157
-
158
- @pause: "\f04c";
159
-
160
- @stop: "\f04d";
161
-
162
- @forward: "\f04e";
163
-
164
- @fast-forward: "\f050";
165
-
166
- @step-forward: "\f051";
167
-
168
- @eject: "\f052";
169
-
170
- @chevron-left: "\f053";
171
-
172
- @chevron-right: "\f054";
173
-
174
- @plus-sign: "\f055";
175
-
176
- @minus-sign: "\f056";
177
-
178
- @remove-sign: "\f057";
179
-
180
- @ok-sign: "\f058";
181
-
182
- @question-sign: "\f059";
183
-
184
- @info-sign: "\f05a";
185
-
186
- @screenshot: "\f05b";
187
-
188
- @remove-circle: "\f05c";
189
-
190
- @ok-circle: "\f05d";
191
-
192
- @ban-circle: "\f05e";
193
-
194
- @arrow-left: "\f060";
195
-
196
- @arrow-right: "\f061";
197
-
198
- @arrow-up: "\f062";
199
-
200
- @arrow-down: "\f063";
201
-
202
- @share-alt: "\f064";
203
-
204
- @resize-full: "\f065";
205
-
206
- @resize-small: "\f066";
207
-
208
- @plus: "\f067";
209
-
210
- @minus: "\f068";
211
-
212
- @asterisk: "\f069";
213
-
214
- @exclamation-sign: "\f06a";
215
-
216
- @gift: "\f06b";
217
-
218
- @leaf: "\f06c";
219
-
220
- @fire: "\f06d";
221
-
222
- @eye-open: "\f06e";
223
-
224
- @eye-close: "\f070";
225
-
226
- @warning-sign: "\f071";
227
-
228
- @plane: "\f072";
229
-
230
- @calendar: "\f073";
231
-
232
- @random: "\f074";
233
-
234
- @comment: "\f075";
235
-
236
- @magnet: "\f076";
237
-
238
- @chevron-up: "\f077";
239
-
240
- @chevron-down: "\f078";
241
-
242
- @retweet: "\f079";
243
-
244
- @shopping-cart: "\f07a";
245
-
246
- @folder-close: "\f07b";
247
-
248
- @folder-open: "\f07c";
249
-
250
- @resize-vertical: "\f07d";
251
-
252
- @resize-horizontal: "\f07e";
253
-
254
- @bar-chart: "\f080";
255
-
256
- @twitter-sign: "\f081";
257
-
258
- @facebook-sign: "\f082";
259
-
260
- @camera-retro: "\f083";
261
-
262
- @key: "\f084";
263
-
264
- @cogs: "\f085";
265
-
266
- @comments: "\f086";
267
-
268
- @thumbs-up-alt: "\f087";
269
-
270
- @thumbs-down-alt: "\f088";
271
-
272
- @star-half: "\f089";
273
-
274
- @heart-empty: "\f08a";
275
-
276
- @signout: "\f08b";
277
-
278
- @linkedin-sign: "\f08c";
279
-
280
- @pushpin: "\f08d";
281
-
282
- @external-link: "\f08e";
283
-
284
- @signin: "\f090";
285
-
286
- @trophy: "\f091";
287
-
288
- @github-sign: "\f092";
289
-
290
- @upload-alt: "\f093";
291
-
292
- @lemon: "\f094";
293
-
294
- @phone: "\f095";
295
-
296
- @check-empty: "\f096";
297
-
298
- @bookmark-empty: "\f097";
299
-
300
- @phone-sign: "\f098";
301
-
302
- @twitter: "\f099";
303
-
304
- @facebook: "\f09a";
305
-
306
- @github: "\f09b";
307
-
308
- @unlock: "\f09c";
309
-
310
- @credit-card: "\f09d";
311
-
312
- @rss: "\f09e";
313
-
314
- @hdd: "\f0a0";
315
-
316
- @bullhorn: "\f0a1";
317
-
318
- @bell: "\f0a2";
319
-
320
- @certificate: "\f0a3";
321
-
322
- @hand-right: "\f0a4";
323
-
324
- @hand-left: "\f0a5";
325
-
326
- @hand-up: "\f0a6";
327
-
328
- @hand-down: "\f0a7";
329
-
330
- @circle-arrow-left: "\f0a8";
331
-
332
- @circle-arrow-right: "\f0a9";
333
-
334
- @circle-arrow-up: "\f0aa";
335
-
336
- @circle-arrow-down: "\f0ab";
337
-
338
- @globe: "\f0ac";
339
-
340
- @wrench: "\f0ad";
341
-
342
- @tasks: "\f0ae";
343
-
344
- @filter: "\f0b0";
345
-
346
- @briefcase: "\f0b1";
347
-
348
- @fullscreen: "\f0b2";
349
-
350
- @group: "\f0c0";
351
-
352
- @link: "\f0c1";
353
-
354
- @cloud: "\f0c2";
355
-
356
- @beaker: "\f0c3";
357
-
358
- @cut: "\f0c4";
359
-
360
- @copy: "\f0c5";
361
-
362
- @paper-clip: "\f0c6";
363
-
364
- @save: "\f0c7";
365
-
366
- @sign-blank: "\f0c8";
367
-
368
- @reorder: "\f0c9";
369
-
370
- @list-ul: "\f0ca";
371
-
372
- @list-ol: "\f0cb";
373
-
374
- @strikethrough: "\f0cc";
375
-
376
- @underline: "\f0cd";
377
-
378
- @table: "\f0ce";
379
-
380
- @magic: "\f0d0";
381
-
382
- @truck: "\f0d1";
383
-
384
- @pinterest: "\f0d2";
385
-
386
- @pinterest-sign: "\f0d3";
387
-
388
- @google-plus-sign: "\f0d4";
389
-
390
- @google-plus: "\f0d5";
391
-
392
- @money: "\f0d6";
393
-
394
- @caret-down: "\f0d7";
395
-
396
- @caret-up: "\f0d8";
397
-
398
- @caret-left: "\f0d9";
399
-
400
- @caret-right: "\f0da";
401
-
402
- @columns: "\f0db";
403
-
404
- @sort: "\f0dc";
405
-
406
- @sort-down: "\f0dd";
407
-
408
- @sort-up: "\f0de";
409
-
410
- @envelope: "\f0e0";
411
-
412
- @linkedin: "\f0e1";
413
-
414
- @undo: "\f0e2";
415
-
416
- @legal: "\f0e3";
417
-
418
- @dashboard: "\f0e4";
419
-
420
- @comment-alt: "\f0e5";
421
-
422
- @comments-alt: "\f0e6";
423
-
424
- @bolt: "\f0e7";
425
-
426
- @sitemap: "\f0e8";
427
-
428
- @umbrella: "\f0e9";
429
-
430
- @paste: "\f0ea";
431
-
432
- @lightbulb: "\f0eb";
433
-
434
- @exchange: "\f0ec";
435
-
436
- @cloud-download: "\f0ed";
437
-
438
- @cloud-upload: "\f0ee";
439
-
440
- @user-md: "\f0f0";
441
-
442
- @stethoscope: "\f0f1";
443
-
444
- @suitcase: "\f0f2";
445
-
446
- @bell-alt: "\f0f3";
447
-
448
- @coffee: "\f0f4";
449
-
450
- @food: "\f0f5";
451
-
452
- @file-text-alt: "\f0f6";
453
-
454
- @building: "\f0f7";
455
-
456
- @hospital: "\f0f8";
457
-
458
- @ambulance: "\f0f9";
459
-
460
- @medkit: "\f0fa";
461
-
462
- @fighter-jet: "\f0fb";
463
-
464
- @beer: "\f0fc";
465
-
466
- @h-sign: "\f0fd";
467
-
468
- @plus-sign-alt: "\f0fe";
469
-
470
- @double-angle-left: "\f100";
471
-
472
- @double-angle-right: "\f101";
473
-
474
- @double-angle-up: "\f102";
475
-
476
- @double-angle-down: "\f103";
477
-
478
- @angle-left: "\f104";
479
-
480
- @angle-right: "\f105";
481
-
482
- @angle-up: "\f106";
483
-
484
- @angle-down: "\f107";
485
-
486
- @desktop: "\f108";
487
-
488
- @laptop: "\f109";
489
-
490
- @tablet: "\f10a";
491
-
492
- @mobile-phone: "\f10b";
493
-
494
- @circle-blank: "\f10c";
495
-
496
- @quote-left: "\f10d";
497
-
498
- @quote-right: "\f10e";
499
-
500
- @spinner: "\f110";
501
-
502
- @circle: "\f111";
503
-
504
- @reply: "\f112";
505
-
506
- @github-alt: "\f113";
507
-
508
- @folder-close-alt: "\f114";
509
-
510
- @folder-open-alt: "\f115";
511
-
512
- @expand-alt: "\f116";
513
-
514
- @collapse-alt: "\f117";
515
-
516
- @smile: "\f118";
517
-
518
- @frown: "\f119";
519
-
520
- @meh: "\f11a";
521
-
522
- @gamepad: "\f11b";
523
-
524
- @keyboard: "\f11c";
525
-
526
- @flag-alt: "\f11d";
527
-
528
- @flag-checkered: "\f11e";
529
-
530
- @terminal: "\f120";
531
-
532
- @code: "\f121";
533
-
534
- @reply-all: "\f122";
535
-
536
- @mail-reply-all: "\f122";
537
-
538
- @star-half-empty: "\f123";
539
-
540
- @location-arrow: "\f124";
541
-
542
- @crop: "\f125";
543
-
544
- @code-fork: "\f126";
545
-
546
- @unlink: "\f127";
547
-
548
- @question: "\f128";
549
-
550
- @info: "\f129";
551
-
552
- @exclamation: "\f12a";
553
-
554
- @superscript: "\f12b";
555
-
556
- @subscript: "\f12c";
557
-
558
- @eraser: "\f12d";
559
-
560
- @puzzle-piece: "\f12e";
561
-
562
- @microphone: "\f130";
563
-
564
- @microphone-off: "\f131";
565
-
566
- @shield: "\f132";
567
-
568
- @calendar-empty: "\f133";
569
-
570
- @fire-extinguisher: "\f134";
571
-
572
- @rocket: "\f135";
573
-
574
- @maxcdn: "\f136";
575
-
576
- @chevron-sign-left: "\f137";
577
-
578
- @chevron-sign-right: "\f138";
579
-
580
- @chevron-sign-up: "\f139";
581
-
582
- @chevron-sign-down: "\f13a";
583
-
584
- @html5: "\f13b";
585
-
586
- @css3: "\f13c";
587
-
588
- @anchor: "\f13d";
589
-
590
- @unlock-alt: "\f13e";
591
-
592
- @bullseye: "\f140";
593
-
594
- @ellipsis-horizontal: "\f141";
595
-
596
- @ellipsis-vertical: "\f142";
597
-
598
- @rss-sign: "\f143";
599
-
600
- @play-sign: "\f144";
601
-
602
- @ticket: "\f145";
603
-
604
- @minus-sign-alt: "\f146";
605
-
606
- @check-minus: "\f147";
607
-
608
- @level-up: "\f148";
609
-
610
- @level-down: "\f149";
611
-
612
- @check-sign: "\f14a";
613
-
614
- @edit-sign: "\f14b";
615
-
616
- @external-link-sign: "\f14c";
617
-
618
- @share-sign: "\f14d";
619
-
620
- @compass: "\f14e";
621
-
622
- @collapse: "\f150";
623
-
624
- @collapse-top: "\f151";
625
-
626
- @expand: "\f152";
627
-
628
- @eur: "\f153";
629
-
630
- @gbp: "\f154";
631
-
632
- @usd: "\f155";
633
-
634
- @inr: "\f156";
635
-
636
- @jpy: "\f157";
637
-
638
- @cny: "\f158";
639
-
640
- @krw: "\f159";
641
-
642
- @btc: "\f15a";
643
-
644
- @file: "\f15b";
645
-
646
- @file-text: "\f15c";
647
-
648
- @sort-by-alphabet: "\f15d";
649
-
650
- @sort-by-alphabet-alt: "\f15e";
651
-
652
- @sort-by-attributes: "\f160";
653
-
654
- @sort-by-attributes-alt: "\f161";
655
-
656
- @sort-by-order: "\f162";
657
-
658
- @sort-by-order-alt: "\f163";
659
-
660
- @thumbs-up: "\f164";
661
-
662
- @thumbs-down: "\f165";
663
-
664
- @youtube-sign: "\f166";
665
-
666
- @youtube: "\f167";
667
-
668
- @xing: "\f168";
669
-
670
- @xing-sign: "\f169";
671
-
672
- @youtube-play: "\f16a";
673
-
674
- @dropbox: "\f16b";
675
-
676
- @stackexchange: "\f16c";
677
-
678
- @instagram: "\f16d";
679
-
680
- @flickr: "\f16e";
681
-
682
- @adn: "\f170";
683
-
684
- @bitbucket: "\f171";
685
-
686
- @bitbucket-sign: "\f172";
687
-
688
- @tumblr: "\f173";
689
-
690
- @tumblr-sign: "\f174";
691
-
692
- @long-arrow-down: "\f175";
693
-
694
- @long-arrow-up: "\f176";
695
-
696
- @long-arrow-left: "\f177";
697
-
698
- @long-arrow-right: "\f178";
699
-
700
- @apple: "\f179";
701
-
702
- @windows: "\f17a";
703
-
704
- @android: "\f17b";
705
-
706
- @linux: "\f17c";
707
-
708
- @dribbble: "\f17d";
709
-
710
- @skype: "\f17e";
711
-
712
- @foursquare: "\f180";
713
-
714
- @trello: "\f181";
715
-
716
- @female: "\f182";
717
-
718
- @male: "\f183";
719
-
720
- @gittip: "\f184";
721
-
722
- @sun: "\f185";
723
-
724
- @moon: "\f186";
725
-
726
- @archive: "\f187";
727
-
728
- @bug: "\f188";
729
-
730
- @vk: "\f189";
731
-
732
- @weibo: "\f18a";
733
-
734
- @renren: "\f18b";
735
-
@@ -2,7 +2,7 @@ module Twitter
2
2
  module Bootswatch
3
3
  module Rails
4
4
  module Fontawesome
5
- VERSION = '3.2.1.0'
5
+ VERSION = '3.2.1.2'
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter-bootswatch-rails-fontawesome
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1.0
4
+ version: 3.2.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-02 00:00:00.000000000 Z
12
+ date: 2013-07-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -121,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
121
121
  version: '0'
122
122
  segments:
123
123
  - 0
124
- hash: 531658143614382232
124
+ hash: -892572083462962595
125
125
  required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  none: false
127
127
  requirements:
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  version: '0'
131
131
  segments:
132
132
  - 0
133
- hash: 531658143614382232
133
+ hash: -892572083462962595
134
134
  requirements: []
135
135
  rubyforge_project: twitter-bootswatch-rails-fontawesome
136
136
  rubygems_version: 1.8.25