rouble-rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 478c4676af370d0e595be12c11a8edad50977202
4
+ data.tar.gz: 3c32ad890b820acd9fdce052e6beeb42a95a7896
5
+ SHA512:
6
+ metadata.gz: 985649d3745066fd5786ca554967bcc4033d658bee6c51b974171ea5e5fc5c1b7ab461fb032ae22732c6aa0a35a33672a8cdb331f16b6c6bcc8db0f20708b8aa
7
+ data.tar.gz: 3fe0e69538ac00be737c116232e32ea5c4b1d0ef074ce4d2f221da1b4f1c81e6ec80a89c4b442a92d36be8a7b32f24e81ef457b69601134aa6ce62be16a3d18d
@@ -0,0 +1,52 @@
1
+ # rouble-rails
2
+
3
+
4
+ ## Installation
5
+
6
+ Add this line to your application's Gemfile:
7
+
8
+ ```ruby
9
+ gem 'rouble-rails'
10
+ ```
11
+
12
+ and run `bundle install`.
13
+
14
+ Then restart your webserver if it was previously running.
15
+
16
+ ## Usage
17
+
18
+ In your `application.css`, include the css file:
19
+
20
+ ```css
21
+ /*
22
+ *= require rouble
23
+ */
24
+ ```
25
+
26
+ ``` html
27
+ 1000 <span class="rouble"></span>
28
+ ```
29
+
30
+ ##Content charset
31
+
32
+ - a - Arial Regular
33
+ - b - Arial Italic
34
+ - c - Arial Bold
35
+ - d - Arial Bold Italic
36
+ - e - Georgia Regular
37
+ - f - Georgia Italic
38
+ - g - Georgia Bold
39
+ - h -Georgia Bold Italic
40
+ - i - Tahoma Regular
41
+ - j- Tahoma Bold
42
+ - k - Times Regular
43
+ - l - Times Italic
44
+ - m - Times Bold
45
+ - n - Times Bold Italic
46
+ - o - Lucida Regular
47
+ - p - Verdana Regular
48
+ - q - Verdana Italic
49
+ - r - Verdana Bold
50
+ - s - Verdana Bold Italic
51
+
52
+
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,41 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg>
4
+ <metadata>
5
+ Created by FontForge 20120731 at Wed Dec 11 11:44:07 2013
6
+ By World Wide Web Server
7
+ Copyright (c) 2007 by . All rights reserved.
8
+ </metadata>
9
+ <defs>
10
+ <font id="ALSRubl" horiz-adv-x="709">
11
+ <font-face font-family="ALS Rubl" font-weight="400" font-stretch="normal" units-per-em="1000" panose-1="2 0 5 6 0 0 0 2 0 4" ascent="750" descent="-250" x-height="694" bbox="17 -26 822 750" underline-thickness="50" underline-position="-50" unicode-range="U+0020-00FF"/>
12
+ <missing-glyph horiz-adv-x="500"/>
13
+ <glyph glyph-name=".notdef" horiz-adv-x="500"/>
14
+ <glyph glyph-name="b" unicode="b" horiz-adv-x="571" d="M54 283l13 80h62l58 336h231c82 0 128 -22 154 -71c15 -28 19 -64 19 -101c0 -47 -11 -93 -34 -135s-53 -70 -89 -85c-36 -16 -81 -24 -132 -24h-144l-10 -60h333l-14 -80h-333l-24 -143h-77l25 143h-62l13 80h62l10 60h-61zM251 623l-45 -260h126c92 0 131 23 160 73 c16 27 24 56 24 89c0 48 -17 77 -44 88c-14 7 -38 10 -75 10h-146z"/>
15
+ <glyph glyph-name="c" unicode="c" horiz-adv-x="753" d="M70 264v118h81v319h227c86 0 142 -4 169 -11c80 -21 141 -93 141 -205c0 -128 -82 -195 -156 -211c-34 -7 -83 -10 -147 -10h-92v-60h365v-118h-365v-86h-142v86h-81v118h81v60h-81zM361 582h-68v-199h77c56 0 93 4 112 11c36 13 60 48 60 89c0 51 -34 86 -79 94 c-17 3 -51 5 -102 5z"/>
16
+ <glyph glyph-name="d" unicode="d" horiz-adv-x="714" d="M72 267l27 116h89l66 317h289c147 0 211 -66 211 -175c0 -71 -31 -144 -71 -184s-80 -58 -156 -70c-23 -3 -65 -4 -127 -4h-93l-14 -66h364l-25 -115h-363l-18 -86h-143l18 86h-96l27 115h93l14 66h-92zM374 585l-43 -202h45c76 0 127 5 152 14c47 18 82 62 82 116 c0 32 -16 55 -43 64c-13 5 -43 8 -90 8h-103z"/>
17
+ <glyph glyph-name="e" unicode="e" d="M90 308v42h98v250c0 23 -4 44 -28 52c-26 9 -52 11 -70 13v35h321c64 0 117 -16 157 -47c41 -32 61 -74 61 -126c0 -73 -30 -130 -81 -167c-49 -36 -109 -52 -176 -52h-79v-50h309v-42h-309v-121c0 -23 5 -41 29 -50c6 -3 16 -4 31 -6l42 -4v-35h-301v35l34 3 c15 1 26 4 32 7c19 8 28 25 28 50v121h-98v42h98v50h-98zM479 408c21 31 28 67 28 94c0 38 -8 79 -30 109c-23 31 -58 48 -114 48h-70v-309h50c72 0 113 24 136 58z"/>
18
+ <glyph glyph-name="f" unicode="f" horiz-adv-x="664" d="M98 309l10 41h96l59 253c1 5 3 13 3 20c0 13 -4 26 -19 32c-21 8 -47 11 -66 12l7 33h311c112 0 190 -54 190 -141c0 -80 -38 -144 -94 -185c-57 -43 -131 -65 -210 -65h-84l-13 -53h314l-9 -40h-314l-29 -123c-1 -7 -2 -13 -2 -18c0 -15 4 -26 20 -33c11 -4 46 -9 70 -9 l-7 -33h-301l7 33c17 1 54 4 69 9c23 8 34 28 39 51l28 123h-97l10 40h97l12 53h-97zM531 425c28 39 37 86 37 123c0 31 -7 59 -27 80s-49 34 -96 34h-64l-71 -312h56c75 0 130 24 165 75z"/>
19
+ <glyph glyph-name="g" unicode="g" horiz-adv-x="806" d="M80 301v47h102v246c0 23 -4 39 -31 51c-19 8 -56 15 -71 17v38h386c180 0 270 -56 270 -176c0 -79 -34 -136 -91 -171c-60 -37 -137 -51 -230 -51h-57v-53h351v-47h-351v-98c0 -23 8 -40 32 -51c13 -5 49 -12 69 -15v-38h-379v38c19 3 59 6 71 11c25 11 31 24 31 51v102 h-102v47h102v52h-102zM543 499c0 107 -37 156 -144 156h-41v-307h21c107 0 164 48 164 151z"/>
20
+ <glyph glyph-name="h" unicode="h" horiz-adv-x="787" d="M99 301l9 44h105l55 240c3 14 4 24 4 28c0 27 -26 42 -89 51l8 36h380c163 0 241 -48 241 -147c0 -81 -36 -147 -107 -190c-69 -42 -155 -62 -257 -62h-71l-11 -47h359l-10 -43h-360l-22 -99c-3 -11 -4 -22 -4 -28c0 -29 19 -41 90 -48l-9 -36h-380l8 36c9 0 21 0 38 3 c16 2 28 5 35 8c26 9 39 27 44 49l26 115h-103l10 43h103l11 47h-103zM617 551c0 72 -35 106 -122 106h-35l-72 -312h32c70 0 122 23 152 60c31 38 45 87 45 146z"/>
21
+ <glyph glyph-name="i" unicode="i" horiz-adv-x="683" d="M90 261v80h71v359h176c83 0 138 -13 182 -44c52 -36 84 -90 84 -167c0 -61 -23 -117 -62 -156c-48 -48 -108 -72 -208 -72h-79v-61h314v-80h-314v-120h-93v120h-71v80h71v61h-71zM506 486c0 48 -16 85 -50 107c-30 20 -66 27 -125 27h-77v-280h63c76 0 118 10 149 42 c28 28 40 60 40 104z"/>
22
+ <glyph glyph-name="j" unicode="j" horiz-adv-x="744" d="M70 229v131h72v339h272c79 0 136 -14 183 -46c53 -36 82 -94 82 -175c0 -65 -20 -126 -59 -166c-24 -24 -52 -45 -87 -60s-74 -23 -123 -23h-93v-49h333v-131h-333v-49h-175v49h-72v131h72v49h-72zM499 474c0 40 -22 69 -48 81c-30 14 -56 14 -109 14h-25v-210h13 c33 0 64 0 85 3c20 3 42 12 54 24c24 23 30 45 30 88z"/>
23
+ <glyph glyph-name="k" unicode="k" horiz-adv-x="648" d="M60 313v34h101v228c0 45 -5 72 -14 83c-13 15 -33 22 -60 22h-26v20h256c125 0 190 -24 239 -85c25 -31 37 -67 37 -108c0 -115 -77 -194 -216 -194h-118v-44h303v-34h-303v-111c0 -44 5 -71 15 -82c13 -15 32 -23 59 -23h27v-19h-299v19h26c29 0 51 10 64 29 c7 11 10 36 10 76v111h-101v34h101v44h-101zM259 648v-301h85c36 0 67 14 93 41c26 28 39 64 39 108c0 111 -58 162 -149 162c-17 0 -40 -3 -68 -10z"/>
24
+ <glyph glyph-name="l" unicode="l" horiz-adv-x="677" d="M129 324l9 35h78l53 182c14 48 20 80 20 96c0 24 -12 41 -79 44l6 19h275c73 0 127 -16 162 -47c36 -31 54 -68 54 -113c0 -71 -46 -144 -135 -185c-45 -21 -93 -31 -145 -31h-129l-15 -52h337l-8 -36h-340l-24 -86c-13 -45 -20 -75 -20 -90c0 -21 10 -37 81 -41l-6 -19 h-278l6 19c36 0 61 6 75 19c15 13 30 47 47 104l27 94h-70l9 36h72l15 52h-77zM393 653l-85 -294h98c76 0 140 32 175 93c17 31 26 64 26 97c0 69 -42 113 -129 113c-23 0 -52 -3 -85 -9z"/>
25
+ <glyph glyph-name="m" unicode="m" horiz-adv-x="702" d="M60 317v40h98v220c0 38 -2 62 -7 71c-5 10 -13 18 -25 24c-11 6 -33 9 -65 9v19h305c100 0 172 -18 215 -54c44 -36 66 -81 66 -134c0 -91 -59 -158 -159 -182c-33 -8 -89 -13 -168 -13v-45h306v-40h-306v-109c0 -38 1 -62 6 -72c4 -9 13 -17 25 -23s34 -9 65 -9v-19 h-355v19c64 0 81 13 90 32c5 10 7 34 7 72v109h-98v40h98v45h-98zM341 660h-21v-303h25c83 0 131 48 131 152s-47 151 -135 151z"/>
26
+ <glyph glyph-name="n" unicode="n" horiz-adv-x="707" d="M99 313l13 44h99l62 214c9 29 13 51 13 64c0 24 -18 43 -78 46l5 19h277c76 0 131 -9 165 -29c52 -30 77 -76 77 -136c0 -59 -26 -110 -77 -155s-121 -67 -208 -67h-98l-17 -59h307l-12 -44h-308l-24 -84c-8 -27 -13 -47 -13 -58c0 -31 12 -46 87 -49l-7 -19h-342l6 19 c57 1 75 11 91 34c6 8 15 32 27 73l24 84h-98l11 44h100l17 59h-99zM447 658l-85 -301h55c48 0 85 22 112 65s41 89 41 136c0 64 -38 100 -99 100h-24z"/>
27
+ <glyph glyph-name="o" unicode="o" horiz-adv-x="634" d="M141 0v137h-66v71h66v70h-66v71h66v352h227c101 0 196 -49 196 -182c0 -194 -157 -240 -319 -240h-11v-71h310v-71h-310v-137h-93zM234 631v-282h32c122 0 199 43 199 162c0 88 -66 120 -122 120h-109z"/>
28
+ <glyph glyph-name="q" unicode="q" horiz-adv-x="639" d="M60 260v80h66v360h189c85 0 140 -13 185 -44c53 -36 84 -87 84 -167c0 -63 -22 -117 -62 -156c-48 -48 -110 -72 -210 -72h-93v-67h336v-79h-336v-115h-93v115h-66v79h66v66h-66zM487 486c0 49 -16 83 -51 106c-31 20 -66 28 -125 28h-92v-280h78c76 0 119 14 150 43 c29 29 40 62 40 103z"/>
29
+ <glyph glyph-name="r" unicode="r" horiz-adv-x="615" d="M54 263l17 75h74l84 363h185c85 0 138 -16 174 -44c37 -28 57 -68 57 -125c0 -76 -34 -148 -95 -198c-58 -49 -126 -71 -226 -71h-102l-17 -73h355l-16 -76h-357l-26 -114h-94l26 114h-73l17 76h74l17 73h-74zM545 516c0 32 -10 62 -33 79c-27 21 -60 29 -119 29h-87 l-67 -286h84c76 0 123 13 159 44c43 36 63 79 63 134z"/>
30
+ <glyph glyph-name="s" unicode="s" horiz-adv-x="829" d="M60 244v141h95v365h319c95 0 156 -16 207 -49c61 -39 93 -101 93 -188c0 -67 -24 -135 -68 -179c-60 -59 -128 -90 -237 -90h-120v-45h386v-142h-386v-57h-194v57h-95v142h95v45h-95zM574 509c0 41 -27 73 -57 86c-34 15 -84 15 -135 15h-33v-225h55c65 0 106 6 135 31 c25 21 35 49 35 93z"/>
31
+ <glyph glyph-name="t" unicode="t" horiz-adv-x="797" d="M75 228l31 133h102l79 340h252c91 0 159 -11 208 -42s75 -79 75 -152c0 -83 -35 -151 -104 -202s-165 -77 -290 -77h-69l-10 -43h378l-29 -132h-379l-12 -53h-182l12 53h-102l30 132h102l10 43h-102zM629 490c0 55 -39 80 -118 80h-73l-48 -210h65c109 0 174 46 174 130z "/>
32
+ <glyph glyph-name="u" unicode="u" d="M170 0v106h-120v100h120v80h-120v100h120v314h267c32 0 61 -3 90 -12c26 -8 50 -21 71 -39c35 -30 66 -79 66 -156s-31 -126 -66 -156c-21 -18 -45 -31 -71 -39c-29 -9 -58 -12 -90 -12h-99v-80h288v-100h-288v-106h-168zM338 566v-180h56c20 0 43 3 57 11 c15 8 39 30 39 79s-24 71 -39 79c-8 4 -19 8 -29 9c-7 1 -19 2 -28 2h-56z"/>
33
+ <glyph glyph-name="v" unicode="v" horiz-adv-x="633" d="M70 694h274c78 0 121 -14 147 -27c40 -21 82 -63 82 -147c0 -77 -37 -126 -66 -151c-62 -54 -143 -59 -196 -59h-52v-60h300v-38h-300v-157l105 -18v-37h-294v37l96 18v157h-96v38h96v60h-96v38h96v291l-96 18v37zM259 348h47c31 0 96 3 134 44c11 12 33 42 33 103 c0 67 -26 105 -53 126c-30 24 -75 35 -127 35h-34v-308z"/>
34
+ <glyph glyph-name="w" unicode="w" horiz-adv-x="776" d="M327 256l-23 -66c109 -9 172 -7 235 -6c21 0 42 0 62 2c11 1 21 2 33 2c11 0 31 -2 31 -26c0 -40 -70 -28 -130 -28c-45 0 -164 5 -246 10l-22 -67c-16 -50 -1 -48 -1 -69c0 -28 -18 -34 -34 -34c-15 0 -33 14 -33 41c0 20 10 60 16 75l20 56c-32 1 -84 3 -121 3 c-18 0 -54 1 -54 30c0 19 22 46 65 24c39 -5 81 -9 126 -10l25 70c-20 1 -39 2 -59 4c-21 2 -41 4 -63 5c-19 1 -55 3 -55 32c0 19 22 46 65 24c39 -7 81 -13 126 -16l14 38c24 65 50 136 102 249c8 18 23 42 53 42c16 0 47 -17 3 -78c-41 -57 -66 -123 -86 -170 c-12 -28 -21 -48 -32 -88c24 -3 51 -5 77 -5c47 0 106 8 153 30c92 43 126 124 126 181c0 31 -11 74 -53 111c-55 49 -131 59 -197 59c-76 0 -169 -15 -254 -68c-47 -29 -57 -54 -57 -72c0 -41 57 -47 77 -48c13 -1 32 -2 32 -21c0 -9 -6 -21 -34 -21s-68 6 -94 24 c-17 12 -35 32 -35 62c0 34 17 80 90 122c83 48 185 68 280 68c125 0 202 -38 247 -84c41 -42 54 -88 54 -128c0 -83 -48 -180 -159 -228c-60 -26 -125 -34 -191 -34c-27 0 -55 1 -79 3z"/>
35
+ <glyph glyph-name="ydieresis" unicode="ÿ" horiz-adv-x="833"/>
36
+ <glyph glyph-name="p" unicode="p" horiz-adv-x="740" d="M70 278v110h66v335h323c135 0 216 -51 216 -193c0 -144 -91 -250 -252 -250h-106v-43h292v-110h-292v-127h-181v127h-66v110h66v41h-66zM317 596v-208c67 0 165 8 165 127c0 66 -49 88 -108 88c-19 0 -38 -3 -57 -7z"/>
37
+ <glyph glyph-name="a" unicode="a" horiz-adv-x="760" d="M80 285v80h75v335h264c47 0 82 -2 106 -6c102 -15 165 -96 165 -196c0 -60 -19 -111 -57 -152s-107 -61 -206 -61h-179v-62h405v-81h-405v-142h-93v142h-75v81h75v62h-75zM248 617v-250h180c121 0 165 47 165 128c0 59 -31 103 -80 116c-15 4 -44 6 -87 6h-178z"/>
38
+ <glyph glyph-name="space" unicode=" " horiz-adv-x="500"/>
39
+ <glyph glyph-name="x" unicode="x" horiz-adv-x="676" d="M316 91v-91h-219v91h-80v44l18 45h62v39h-80v45l18 44h62v392h437c52 0 88 -36 88 -87v-306c0 -51 -36 -88 -88 -88h-218v-39h212v-45l-17 -44h-195zM316 524v-129h87v129h-87z"/>
40
+ </font>
41
+ </defs></svg>
@@ -0,0 +1,26 @@
1
+ /*!
2
+ * Rouble font 0.1.0 by @pnixx - https://github.com/PNixx/rouble-rails
3
+ */
4
+ /* FONT PATH
5
+ * --------------------------
6
+ //= depend_on_asset "rouble.eot"
7
+ //= depend_on_asset "rouble.otf"
8
+ //= depend_on_asset "rouble.svg"
9
+ //= depend_on_asset "rouble.ttf"
10
+ //= depend_on_asset "rouble.woff"
11
+ */
12
+ <% v = Rouble::Rails::VERSION %>
13
+ @font-face {
14
+ font-family: "Rouble";
15
+ src: url('<%= font_path('rouble.eot') %>?v=<%= v %>') format('eot'),
16
+ url('<%= font_path('rouble.otf') %>?v=<%= v %>') format('opentype'),
17
+ url('<%= font_path('rouble.woff') %>?v=<%= v %>') format('woff'),
18
+ url('<%= font_path('rouble.ttf') %>?v=<%= v %>') format('truetype'),
19
+ url('<%= font_path('rouble.svg#ALSRubl') %>?v=<%= v %>') format('svg');
20
+ }
21
+ span.rouble {
22
+ font-family: "Rouble";
23
+ }
24
+ span.rouble:before {
25
+ content: "q";
26
+ }
@@ -0,0 +1,9 @@
1
+ require "rouble/rails/version"
2
+
3
+ module Rouble
4
+ module Rails
5
+ # add vendor/assets to Rails asset pipeline
6
+ class Engine < ::Rails::Engine
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,5 @@
1
+ module Rouble
2
+ module Rails
3
+ VERSION = "0.1.0"
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,82 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rouble-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Sergey Odintsov
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-11-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: Rouble symbol fonts
42
+ email:
43
+ - nixx.dj@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - README.md
49
+ - Rakefile
50
+ - app/assets/fonts/rouble.eot
51
+ - app/assets/fonts/rouble.otf
52
+ - app/assets/fonts/rouble.svg
53
+ - app/assets/fonts/rouble.ttf
54
+ - app/assets/fonts/rouble.woff
55
+ - app/assets/stylesheets/rouble.css.erb
56
+ - lib/rouble-rails.rb
57
+ - lib/rouble/rails/version.rb
58
+ homepage: https://github.com/PNixx/rouble-rails
59
+ licenses:
60
+ - MIT
61
+ metadata: {}
62
+ post_install_message:
63
+ rdoc_options: []
64
+ require_paths:
65
+ - lib
66
+ required_ruby_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ version: 1.9.3
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ requirements: []
77
+ rubyforge_project:
78
+ rubygems_version: 2.4.5
79
+ signing_key:
80
+ specification_version: 4
81
+ summary: Rouble symbol fonts
82
+ test_files: []