google_mdl 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +51 -15
- data/lib/google_mdl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 650106987adcd42d1de52e353da93c34570c46a4
|
4
|
+
data.tar.gz: 053377c9631cec2ccaffe7058cedaabd7804121c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f24b580513b0144d00f7be927c1915b2779a4c66273bf8d7d73cef86bb4d76f9300547bcba89dc3fa5bf39a857fb2bbab1f1d2ecd30b55e230f3de6b7b8cf0eb
|
7
|
+
data.tar.gz: 9a9b23f95fa785e20e8efb56363629fc9de26d67e00695dd07fed23cbe2b458e16813fa382bb923d76024fe7cc002ca228aa36ec10c6c0d3adfb58d313a6b62d
|
data/README.md
CHANGED
@@ -4,34 +4,70 @@ Material Design Lite lets you add a [Material Design](http://google.com/design/s
|
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
7
|
+
To your Rails application's Gemfile, add
|
8
8
|
|
9
9
|
```ruby
|
10
10
|
gem 'google_mdl'
|
11
11
|
```
|
12
12
|
|
13
|
-
And then
|
13
|
+
And then run
|
14
14
|
|
15
|
-
$ bundle
|
15
|
+
$ bundle
|
16
16
|
|
17
|
-
|
17
|
+
#### Javascripts
|
18
18
|
|
19
|
-
|
19
|
+
Do one of the following:
|
20
20
|
|
21
|
-
|
21
|
+
To your `application.js` file, add:
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
```
|
24
|
+
//= require material.min
|
25
|
+
```
|
26
|
+
**OR**
|
27
|
+
|
28
|
+
If you're using coffee, add
|
29
|
+
```
|
30
|
+
#= require material.min
|
31
|
+
```
|
32
|
+
in your `application.js.coffee`.
|
33
|
+
|
34
|
+
|
35
|
+
#### Stylesheets
|
36
|
+
|
37
|
+
Do one of the following:
|
38
|
+
|
39
|
+
To your `application.css` , add
|
40
|
+
```
|
41
|
+
*= require material.min
|
42
|
+
```
|
43
|
+
|
44
|
+
**OR**
|
45
|
+
|
46
|
+
If you're using sass, add
|
47
|
+
[`@import`](https://github.com/rails/sass-rails#important-note)
|
48
|
+
in your `application.scss`.
|
49
|
+
|
50
|
+
```
|
51
|
+
@import "material.min";
|
52
|
+
```
|
53
|
+
|
54
|
+
#### Icons
|
55
|
+
Material Design Lite uses a font called 'Material Icons'.
|
56
|
+
You can either load this font from google, or host it yourself.
|
57
|
+
|
58
|
+
##### Load font from google
|
59
|
+
Add the following line to your `application.html.erb` view layout file,
|
60
|
+
in the `<head>` section:
|
61
|
+
|
62
|
+
```
|
63
|
+
<%= stylesheet_link_tag "https://fonts.googleapis.com/icon?family=Material+Icons" %>
|
64
|
+
```
|
26
65
|
|
27
|
-
|
66
|
+
**OR**
|
28
67
|
|
29
|
-
|
30
|
-
|
31
|
-
*= require material.min
|
32
|
-
*/
|
68
|
+
##### Host font locally
|
69
|
+
Use the `material_icons` gem to [host the font locally](https://github.com/Angelmmiguel/material_icons).
|
33
70
|
|
34
|
-
@import "https://fonts.googleapis.com/icon?family=Material+Icons"
|
35
71
|
|
36
72
|
## Documentation
|
37
73
|
[Getting start with Material Design Lite(MDL)](http://www.getmdl.io/started/index.html)
|
data/lib/google_mdl/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google_mdl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Varma
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|