merriweather-rails 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.travis.yml +4 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +57 -0
  7. data/Rakefile +10 -0
  8. data/app/assets/fonts/black-italic/merriweather-black-italic.eot +0 -0
  9. data/app/assets/fonts/black-italic/merriweather-black-italic.svg +5399 -0
  10. data/app/assets/fonts/black-italic/merriweather-black-italic.ttf +0 -0
  11. data/app/assets/fonts/black-italic/merriweather-black-italic.woff +0 -0
  12. data/app/assets/fonts/black-italic/merriweather-black-italic.woff2 +0 -0
  13. data/app/assets/fonts/black/merriweather-black.eot +0 -0
  14. data/app/assets/fonts/black/merriweather-black.svg +731 -0
  15. data/app/assets/fonts/black/merriweather-black.ttf +0 -0
  16. data/app/assets/fonts/black/merriweather-black.woff +0 -0
  17. data/app/assets/fonts/black/merriweather-black.woff2 +0 -0
  18. data/app/assets/fonts/bold-italic/merriweather-bold-italic.eot +0 -0
  19. data/app/assets/fonts/bold-italic/merriweather-bold-italic.svg +719 -0
  20. data/app/assets/fonts/bold-italic/merriweather-bold-italic.ttf +0 -0
  21. data/app/assets/fonts/bold-italic/merriweather-bold-italic.woff +0 -0
  22. data/app/assets/fonts/bold-italic/merriweather-bold-italic.woff2 +0 -0
  23. data/app/assets/fonts/bold/merriweather-bold.eot +0 -0
  24. data/app/assets/fonts/bold/merriweather-bold.svg +293 -0
  25. data/app/assets/fonts/bold/merriweather-bold.ttf +0 -0
  26. data/app/assets/fonts/bold/merriweather-bold.woff +0 -0
  27. data/app/assets/fonts/bold/merriweather-bold.woff2 +0 -0
  28. data/app/assets/fonts/italic/merriweather-italic.eot +0 -0
  29. data/app/assets/fonts/italic/merriweather-italic.svg +719 -0
  30. data/app/assets/fonts/italic/merriweather-italic.ttf +0 -0
  31. data/app/assets/fonts/italic/merriweather-italic.woff +0 -0
  32. data/app/assets/fonts/italic/merriweather-italic.woff2 +0 -0
  33. data/app/assets/fonts/light-italic/merriweather-light-italic.eot +0 -0
  34. data/app/assets/fonts/light-italic/merriweather-light-italic.svg +5387 -0
  35. data/app/assets/fonts/light-italic/merriweather-light-italic.ttf +0 -0
  36. data/app/assets/fonts/light-italic/merriweather-light-italic.woff +0 -0
  37. data/app/assets/fonts/light-italic/merriweather-light-italic.woff2 +0 -0
  38. data/app/assets/fonts/light/merriweather-light.eot +0 -0
  39. data/app/assets/fonts/light/merriweather-light.svg +729 -0
  40. data/app/assets/fonts/light/merriweather-light.ttf +0 -0
  41. data/app/assets/fonts/light/merriweather-light.woff +0 -0
  42. data/app/assets/fonts/light/merriweather-light.woff2 +0 -0
  43. data/app/assets/fonts/regular/merriweather-regular.eot +0 -0
  44. data/app/assets/fonts/regular/merriweather-regular.svg +731 -0
  45. data/app/assets/fonts/regular/merriweather-regular.ttf +0 -0
  46. data/app/assets/fonts/regular/merriweather-regular.woff +0 -0
  47. data/app/assets/fonts/regular/merriweather-regular.woff2 +0 -0
  48. data/app/assets/stylesheets/merriweather.scss +13 -0
  49. data/app/assets/stylesheets/sass/_black-italic.scss +8 -0
  50. data/app/assets/stylesheets/sass/_black.scss +8 -0
  51. data/app/assets/stylesheets/sass/_bold-italic.scss +8 -0
  52. data/app/assets/stylesheets/sass/_bold.scss +8 -0
  53. data/app/assets/stylesheets/sass/_italic.scss +8 -0
  54. data/app/assets/stylesheets/sass/_light-italic.scss +8 -0
  55. data/app/assets/stylesheets/sass/_light.scss +8 -0
  56. data/app/assets/stylesheets/sass/_mixins.scss +14 -0
  57. data/app/assets/stylesheets/sass/_regular.scss +8 -0
  58. data/app/assets/stylesheets/sass/_variables.scss.erb +1 -0
  59. data/bin/console +14 -0
  60. data/bin/setup +8 -0
  61. data/lib/merriweather-rails.rb +2 -0
  62. data/lib/merriweather-rails/engine.rb +6 -0
  63. data/lib/merriweather-rails/version.rb +6 -0
  64. data/merriweather-rails.gemspec +32 -0
  65. metadata +199 -0
@@ -0,0 +1,13 @@
1
+ @import "sass/variables";
2
+ @import "sass/mixins";
3
+
4
+ @import "sass/hairline";
5
+ @import "sass/hairline-italic";
6
+ @import "sass/light";
7
+ @import "sass/light-italic";
8
+ @import "sass/regular";
9
+ @import "sass/italic";
10
+ @import "sass/bold";
11
+ @import "sass/bold-italic";
12
+ @import "sass/black";
13
+ @import "sass/black-italic";
@@ -0,0 +1,8 @@
1
+ /* BEGIN Black Italic */
2
+ @font-face {
3
+ font-family: "Merriweather";
4
+ @include fontdef($FontPath, $FontName, $FontVersion, "black-italic");
5
+ font-weight: 900;
6
+ font-style: italic;
7
+ }
8
+ /* END Black Italic */
@@ -0,0 +1,8 @@
1
+ /* BEGIN Black */
2
+ @font-face {
3
+ font-family: "Merriweather";
4
+ @include fontdef($FontPath, $FontName, $FontVersion, "black");
5
+ font-weight: 900;
6
+ font-style: normal;
7
+ }
8
+ /* END Black */
@@ -0,0 +1,8 @@
1
+ /* BEGIN Bold Italic */
2
+ @font-face {
3
+ font-family: "Merriweather";
4
+ @include fontdef($FontPath, $FontName, $FontVersion, "bold-italic");
5
+ font-weight: 700;
6
+ font-style: italic;
7
+ }
8
+ /* END Bold Italic */
@@ -0,0 +1,8 @@
1
+ /* BEGIN Bold */
2
+ @font-face {
3
+ font-family: "Merriweather";
4
+ @include fontdef($FontPath, $FontName, $FontVersion, "bold");
5
+ font-weight: 700;
6
+ font-style: normal;
7
+ }
8
+ /* END Bold */
@@ -0,0 +1,8 @@
1
+ /* BEGIN Italic */
2
+ @font-face {
3
+ font-family: "Merriweather";
4
+ @include fontdef($FontPath, $FontName, $FontVersion, "italic");
5
+ font-weight: 400;
6
+ font-style: italic;
7
+ }
8
+ /* END Italic */
@@ -0,0 +1,8 @@
1
+ /* BEGIN Light Italic */
2
+ @font-face {
3
+ font-family: "Merriweather";
4
+ @include fontdef($FontPath, $FontName, $FontVersion, "light-italic");
5
+ font-weight: 300;
6
+ font-style: italic;
7
+ }
8
+ /* END Light Italic */
@@ -0,0 +1,8 @@
1
+ /* BEGIN Light */
2
+ @font-face {
3
+ font-family: "Merriweather";
4
+ @include fontdef($FontPath, $FontName, $FontVersion, "light");
5
+ font-weight: 300;
6
+ font-style: normal;
7
+ }
8
+ /* END Light */
@@ -0,0 +1,14 @@
1
+ @mixin fontdef($FontPath, $FontName, $FontVersion, $FontType:"Regular") {
2
+ src: url('#{$FontPath}/#{$FontType}/#{$FontName}-#{$FontType}.eot?v=#{$FontVersion}');
3
+ src: url('#{$FontPath}/#{$FontType}/#{$FontName}-#{$FontType}.eot?#iefix&v=#{$FontVersion}') format('embedded-opentype'),
4
+ url('#{$FontPath}/#{$FontType}/#{$FontName}-#{$FontType}.woff2?v=#{$FontVersion}') format('woff2'),
5
+ url('#{$FontPath}/#{$FontType}/#{$FontName}-#{$FontType}.woff?v=#{$FontVersion}') format('woff'),
6
+ url('#{$FontPath}/#{$FontType}/#{$FontName}-#{$FontType}.ttf?v=#{$FontVersion}') format('truetype'),
7
+ url('#{$FontPath}/#{$FontType}/#{$FontName}-#{$FontType}.svg?v=#{$FontVersion}##{$FontName}#{$FontType}') format('svg');
8
+ }
9
+
10
+ @mixin fontdef-woff($FontPath, $FontName, $FontVersion:"1.0.0", $FontType:"Regular") {
11
+ src: url('#{$FontPath}/#{$FontType}/#{$FontName}-#{$FontType}.woff2?v=#{$FontVersion}') format('woff2'),
12
+ url('#{$FontPath}/#{$FontType}/#{$FontName}-#{$FontType}.woff?v=#{$FontVersion}') format('woff'),
13
+ url('#{$FontPath}/#{$FontType}/#{$FontName}-#{$FontType}.ttf?v=#{$FontVersion}') format('truetype');
14
+ }
@@ -0,0 +1,8 @@
1
+ /* BEGIN Regular */
2
+ @font-face {
3
+ font-family: "Merriweather";
4
+ @include fontdef($FontPath, $FontName, $FontVersion, "regular");
5
+ font-weight: 400;
6
+ font-style: normal;
7
+ }
8
+ /* END Regular */
@@ -0,0 +1 @@
1
+ $FontPath: "/assets" !default;
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "merriweather/rails"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,2 @@
1
+ require "merriweather-rails/version"
2
+ require "merriweather-rails/engine" if defined?(::Rails)
@@ -0,0 +1,6 @@
1
+ module Merriweather
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ module Merriweather
2
+ module Rails
3
+ FONT_VERSION = "1.0.0"
4
+ VERSION = "1.0.0"
5
+ end
6
+ end
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'merriweather-rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "merriweather-rails"
8
+ spec.version = Merriweather::Rails::VERSION
9
+ spec.authors = ["Juergen Fesslmeier"]
10
+ spec.email = ["jfesslmeier@gmail.com"]
11
+
12
+ spec.summary = %q{An asset gemification of the merriweather font.}
13
+ spec.description = %q{I like the Merriweather font. I like the asset pipeline. If you do too, you're welcome.}
14
+ spec.homepage = "https://github.com/chinshr/merriweather-rails"
15
+ spec.licenses = ["MIT", "SIL Open Font License"]
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_dependency "railties", ">= 3.2", "< 5.1"
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.11"
25
+ spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "minitest", "~> 5.0"
27
+
28
+ spec.add_development_dependency "activesupport"
29
+ spec.add_development_dependency "sass-rails"
30
+
31
+ spec.required_ruby_version = '>= 1.9.3'
32
+ end
metadata ADDED
@@ -0,0 +1,199 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: merriweather-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Juergen Fesslmeier
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-10-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5.1'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '3.2'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5.1'
33
+ - !ruby/object:Gem::Dependency
34
+ name: bundler
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '1.11'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.11'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '10.0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '10.0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: minitest
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '5.0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '5.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: activesupport
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: sass-rails
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ description: I like the Merriweather font. I like the asset pipeline. If you do too,
104
+ you're welcome.
105
+ email:
106
+ - jfesslmeier@gmail.com
107
+ executables: []
108
+ extensions: []
109
+ extra_rdoc_files: []
110
+ files:
111
+ - ".gitignore"
112
+ - ".travis.yml"
113
+ - Gemfile
114
+ - LICENSE.txt
115
+ - README.md
116
+ - Rakefile
117
+ - app/assets/fonts/black-italic/merriweather-black-italic.eot
118
+ - app/assets/fonts/black-italic/merriweather-black-italic.svg
119
+ - app/assets/fonts/black-italic/merriweather-black-italic.ttf
120
+ - app/assets/fonts/black-italic/merriweather-black-italic.woff
121
+ - app/assets/fonts/black-italic/merriweather-black-italic.woff2
122
+ - app/assets/fonts/black/merriweather-black.eot
123
+ - app/assets/fonts/black/merriweather-black.svg
124
+ - app/assets/fonts/black/merriweather-black.ttf
125
+ - app/assets/fonts/black/merriweather-black.woff
126
+ - app/assets/fonts/black/merriweather-black.woff2
127
+ - app/assets/fonts/bold-italic/merriweather-bold-italic.eot
128
+ - app/assets/fonts/bold-italic/merriweather-bold-italic.svg
129
+ - app/assets/fonts/bold-italic/merriweather-bold-italic.ttf
130
+ - app/assets/fonts/bold-italic/merriweather-bold-italic.woff
131
+ - app/assets/fonts/bold-italic/merriweather-bold-italic.woff2
132
+ - app/assets/fonts/bold/merriweather-bold.eot
133
+ - app/assets/fonts/bold/merriweather-bold.svg
134
+ - app/assets/fonts/bold/merriweather-bold.ttf
135
+ - app/assets/fonts/bold/merriweather-bold.woff
136
+ - app/assets/fonts/bold/merriweather-bold.woff2
137
+ - app/assets/fonts/italic/merriweather-italic.eot
138
+ - app/assets/fonts/italic/merriweather-italic.svg
139
+ - app/assets/fonts/italic/merriweather-italic.ttf
140
+ - app/assets/fonts/italic/merriweather-italic.woff
141
+ - app/assets/fonts/italic/merriweather-italic.woff2
142
+ - app/assets/fonts/light-italic/merriweather-light-italic.eot
143
+ - app/assets/fonts/light-italic/merriweather-light-italic.svg
144
+ - app/assets/fonts/light-italic/merriweather-light-italic.ttf
145
+ - app/assets/fonts/light-italic/merriweather-light-italic.woff
146
+ - app/assets/fonts/light-italic/merriweather-light-italic.woff2
147
+ - app/assets/fonts/light/merriweather-light.eot
148
+ - app/assets/fonts/light/merriweather-light.svg
149
+ - app/assets/fonts/light/merriweather-light.ttf
150
+ - app/assets/fonts/light/merriweather-light.woff
151
+ - app/assets/fonts/light/merriweather-light.woff2
152
+ - app/assets/fonts/regular/merriweather-regular.eot
153
+ - app/assets/fonts/regular/merriweather-regular.svg
154
+ - app/assets/fonts/regular/merriweather-regular.ttf
155
+ - app/assets/fonts/regular/merriweather-regular.woff
156
+ - app/assets/fonts/regular/merriweather-regular.woff2
157
+ - app/assets/stylesheets/merriweather.scss
158
+ - app/assets/stylesheets/sass/_black-italic.scss
159
+ - app/assets/stylesheets/sass/_black.scss
160
+ - app/assets/stylesheets/sass/_bold-italic.scss
161
+ - app/assets/stylesheets/sass/_bold.scss
162
+ - app/assets/stylesheets/sass/_italic.scss
163
+ - app/assets/stylesheets/sass/_light-italic.scss
164
+ - app/assets/stylesheets/sass/_light.scss
165
+ - app/assets/stylesheets/sass/_mixins.scss
166
+ - app/assets/stylesheets/sass/_regular.scss
167
+ - app/assets/stylesheets/sass/_variables.scss.erb
168
+ - bin/console
169
+ - bin/setup
170
+ - lib/merriweather-rails.rb
171
+ - lib/merriweather-rails/engine.rb
172
+ - lib/merriweather-rails/version.rb
173
+ - merriweather-rails.gemspec
174
+ homepage: https://github.com/chinshr/merriweather-rails
175
+ licenses:
176
+ - MIT
177
+ - SIL Open Font License
178
+ metadata: {}
179
+ post_install_message:
180
+ rdoc_options: []
181
+ require_paths:
182
+ - lib
183
+ required_ruby_version: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: 1.9.3
188
+ required_rubygems_version: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ requirements: []
194
+ rubyforge_project:
195
+ rubygems_version: 2.4.8
196
+ signing_key:
197
+ specification_version: 4
198
+ summary: An asset gemification of the merriweather font.
199
+ test_files: []