curo-material-interface 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff20c67398ed247a1ba552ea2edf3e53e3f98aa7
4
- data.tar.gz: 256f471f38f6d60764f0a0db8c24093231fcc348
3
+ metadata.gz: 9b794f9b95baa005bc18e6ab27e57663955d9e74
4
+ data.tar.gz: 55f703a12dffe299d571ac75dd2501cd5fbb720b
5
5
  SHA512:
6
- metadata.gz: 61796fa1a87b7c171e52eee777ed43346ac6eb488b3a4a1034341974f2dfbd02665166526c0a4146012f0f1325f071f0f94affe394d6184acef01c4ebe36a96c
7
- data.tar.gz: fe2a11b2828e265dcf7ddbff7702269a0570a16639114f319d628fa44c207e6b4f6a471b699e3a914eb27d2d297493129fe48e701565b3f258bf55590b0fce07
6
+ metadata.gz: 2e1b622dad79390f61bb9310c9b703f7dc17ee7194fc4896263942b872daaa62682629156375c7c1a5387f574e109a99e644de2ae3a4cd7cca553e5f71f3231b
7
+ data.tar.gz: 6a1afd21c5b559707967f0e93d46278526e0a31f7ab13e2ec06cc6b1a3a0bd7120dfa883e14478f8ad9f23e78dd17ba36303c88e70fa77f08278abd1008abd79
@@ -1,3 +1,9 @@
1
+ # for rails
2
+ if defined?(Rails)
3
+ require 'rails/all'
4
+ require 'curo_material_interface/engine'
5
+ end
6
+
1
7
  module CuroMaterialInterface
2
8
 
3
9
  end
@@ -0,0 +1,16 @@
1
+ require 'curo_material_interface/roboto_files'
2
+
3
+ module CuroMaterialInterface
4
+ class Engine < ::Rails::Engine
5
+
6
+ initializer 'curo.add_precompile_assets' do |app|
7
+ app.config.assets.precompile += CuroMaterialInterface::ROBOTO_FILES.map{ |f| File.join('roboto', f) }
8
+
9
+ app.config.assets.precompile << 'mdi/Material-Design-Icons.eot'
10
+ app.config.assets.precompile << 'mdi/Material-Design-Icons.svg'
11
+ app.config.assets.precompile << 'mdi/Material-Design-Icons.ttf'
12
+ app.config.assets.precompile << 'mdi/Material-Design-Icons.woff'
13
+ end
14
+
15
+ end
16
+ end
@@ -0,0 +1,76 @@
1
+ module CuroMaterialInterface
2
+ ROBOTO_FILES = [
3
+ 'Roboto-Black-webfont.eot',
4
+ 'Roboto-Black-webfont.svg',
5
+ 'Roboto-Black-webfont.ttf',
6
+ 'Roboto-Black-webfont.woff',
7
+ 'Roboto-BlackItalic-webfont.eot',
8
+ 'Roboto-BlackItalic-webfont.svg',
9
+ 'Roboto-BlackItalic-webfont.ttf',
10
+ 'Roboto-BlackItalic-webfont.woff',
11
+ 'Roboto-Bold-webfont.eot',
12
+ 'Roboto-Bold-webfont.svg',
13
+ 'Roboto-Bold-webfont.ttf',
14
+ 'Roboto-Bold-webfont.woff',
15
+ 'Roboto-BoldItalic-webfont.eot',
16
+ 'Roboto-BoldItalic-webfont.svg',
17
+ 'Roboto-BoldItalic-webfont.ttf',
18
+ 'Roboto-BoldItalic-webfont.woff',
19
+ 'Roboto-Italic-webfont.eot',
20
+ 'Roboto-Italic-webfont.svg',
21
+ 'Roboto-Italic-webfont.ttf',
22
+ 'Roboto-Italic-webfont.woff',
23
+ 'Roboto-Light-webfont.eot',
24
+ 'Roboto-Light-webfont.svg',
25
+ 'Roboto-Light-webfont.ttf',
26
+ 'Roboto-Light-webfont.woff',
27
+ 'Roboto-LightItalic-webfont.eot',
28
+ 'Roboto-LightItalic-webfont.svg',
29
+ 'Roboto-LightItalic-webfont.ttf',
30
+ 'Roboto-LightItalic-webfont.woff',
31
+ 'Roboto-Medium-webfont.eot',
32
+ 'Roboto-Medium-webfont.svg',
33
+ 'Roboto-Medium-webfont.ttf',
34
+ 'Roboto-Medium-webfont.woff',
35
+ 'Roboto-MediumItalic-webfont.eot',
36
+ 'Roboto-MediumItalic-webfont.svg',
37
+ 'Roboto-MediumItalic-webfont.ttf',
38
+ 'Roboto-MediumItalic-webfont.woff',
39
+ 'Roboto-Regular-webfont.eot',
40
+ 'Roboto-Regular-webfont.svg',
41
+ 'Roboto-Regular-webfont.ttf',
42
+ 'Roboto-Regular-webfont.woff',
43
+ 'Roboto-Thin-webfont.eot',
44
+ 'Roboto-Thin-webfont.svg',
45
+ 'Roboto-Thin-webfont.ttf',
46
+ 'Roboto-Thin-webfont.woff',
47
+ 'Roboto-ThinItalic-webfont.eot',
48
+ 'Roboto-ThinItalic-webfont.svg',
49
+ 'Roboto-ThinItalic-webfont.ttf',
50
+ 'Roboto-ThinItalic-webfont.woff',
51
+ 'RobotoCondensed-Bold-webfont.eot',
52
+ 'RobotoCondensed-Bold-webfont.svg',
53
+ 'RobotoCondensed-Bold-webfont.ttf',
54
+ 'RobotoCondensed-Bold-webfont.woff',
55
+ 'RobotoCondensed-BoldItalic-webfont.eot',
56
+ 'RobotoCondensed-BoldItalic-webfont.svg',
57
+ 'RobotoCondensed-BoldItalic-webfont.ttf',
58
+ 'RobotoCondensed-BoldItalic-webfont.woff',
59
+ 'RobotoCondensed-Italic-webfont.eot',
60
+ 'RobotoCondensed-Italic-webfont.svg',
61
+ 'RobotoCondensed-Italic-webfont.ttf',
62
+ 'RobotoCondensed-Italic-webfont.woff',
63
+ 'RobotoCondensed-Light-webfont.eot',
64
+ 'RobotoCondensed-Light-webfont.svg',
65
+ 'RobotoCondensed-Light-webfont.ttf',
66
+ 'RobotoCondensed-Light-webfont.woff',
67
+ 'RobotoCondensed-LightItalic-webfont.eot',
68
+ 'RobotoCondensed-LightItalic-webfont.svg',
69
+ 'RobotoCondensed-LightItalic-webfont.ttf',
70
+ 'RobotoCondensed-LightItalic-webfont.woff',
71
+ 'RobotoCondensed-Regular-webfont.eot',
72
+ 'RobotoCondensed-Regular-webfont.svg',
73
+ 'RobotoCondensed-Regular-webfont.ttf',
74
+ 'RobotoCondensed-Regular-webfont.woff'
75
+ ]
76
+ end
@@ -1,3 +1,3 @@
1
1
  module CuroMaterialInterface
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: curo-material-interface
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sascha Hillig
@@ -143,6 +143,8 @@ files:
143
143
  - lib/assets/stylesheets/cmi/components/_buttons.sass
144
144
  - lib/assets/stylesheets/cmi/components/_navbar.sass
145
145
  - lib/curo-material-interface.rb
146
+ - lib/curo_material_interface/engine.rb
147
+ - lib/curo_material_interface/roboto_files.rb
146
148
  - lib/curo_material_interface/version.rb
147
149
  homepage: https://github.com/wonderweblabs/curo-material-interface
148
150
  licenses: