droidcss 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +15 -0
- data/CHANGELOG.MD +3 -0
- data/README.md +9 -3
- data/lib/droidcss/version.rb +1 -1
- data/vendor/assets/stylesheets/droidcss/mixins/font-face.scss +5 -5
- metadata +34 -51
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NDFjMzExZDJlYjM0YzA3N2M1MzkzOTM4MDNlZjM0MjUyMDgzMzY3YQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZmJiOTRhNmMyNTM5MzI0ZDc2NTYxYzc3MDE3NzE2YWEyZDg3ZGY2Zg==
|
7
|
+
!binary "U0hBNTEy":
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MmQ1MWYwNTZiNjczYmYxNTUwOWIwY2RjYjk5YTFmNjNmZWQyZWE3N2YxZDFj
|
10
|
+
MjNlZjNiNWUwOTRlNmEwMTJkM2I1NDdjMjA3MDA4MjBiYjc0N2EwNjA3ZGNl
|
11
|
+
YTEzYWZiZjVkMTcxNmExMzI2YTU0Y2JkZmI1Y2U3OWRiYWQyY2I=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
N2VkNzcwNThiZTQ3MDRiY2M5MTFkMDNmMGI1ODkwYmRmM2E0YTJlNzM0NTM2
|
14
|
+
NGIwZmZmMjE0M2ZmOWQxZDU4YTg0OTJlNTI4YWMzM2VkNTI1ZDNlY2M1ZmM4
|
15
|
+
ZDA0ZjcyYjJhMjYyNjBlN2IwNjBjYzExOThmY2VmZGZmNDlkOGM=
|
data/CHANGELOG.MD
CHANGED
data/README.md
CHANGED
@@ -12,7 +12,13 @@ Small responsive framework with grids and couple mixins. We've took the most use
|
|
12
12
|
|
13
13
|
## How to use DroidCSS within Rails/Sinatra application
|
14
14
|
|
15
|
-
#### Step 1:
|
15
|
+
#### Step 1: Include gem
|
16
|
+
|
17
|
+
Add DroidCSS to your Gemfile & run 'bundle install' in the terminal:
|
18
|
+
|
19
|
+
gem 'droidcss'
|
20
|
+
|
21
|
+
#### Step 2: Set variables
|
16
22
|
|
17
23
|
Set variables if needed. Otherwise, skip to the next step.
|
18
24
|
|
@@ -21,13 +27,13 @@ Create a file called setup.scss in 'partials' folder and declare it right before
|
|
21
27
|
@import 'partials/setup';
|
22
28
|
|
23
29
|
|
24
|
-
#### Step
|
30
|
+
#### Step 3.1: Application without web-fonts (@font-face)
|
25
31
|
|
26
32
|
Import DroidCSS main file:
|
27
33
|
|
28
34
|
@import 'droidcss';
|
29
35
|
|
30
|
-
#### Step
|
36
|
+
#### Step 3.2: Application with web-fonts (@font-face)
|
31
37
|
|
32
38
|
Create a new file 'fonts.scss' in 'partials' folder. Place font-face mixins in fonts.scss file. Then import all needed files in the main scss file:
|
33
39
|
|
data/lib/droidcss/version.rb
CHANGED
@@ -8,11 +8,11 @@ $fonts-path: '/assets/fonts/' !default; // with trailing slash, please. Otherwis
|
|
8
8
|
font-weight: #{$weight};
|
9
9
|
font-style: #{$style};
|
10
10
|
@if $asset-pipeline == true {
|
11
|
-
src:
|
12
|
-
src:
|
13
|
-
|
14
|
-
|
15
|
-
|
11
|
+
src: asset-url('#{$file-name}.eot');
|
12
|
+
src: asset-url('#{$file-name}.eot?#iefix') format('embedded-opentype'),
|
13
|
+
asset-url('#{$file-name}.woff') format('woff'),
|
14
|
+
asset-url('#{$file-name}.ttf') format('truetype'),
|
15
|
+
asset-url('#{$file-name}.svg##{$font-family}') format('svg');
|
16
16
|
} @else {
|
17
17
|
src: url('#{$fonts-path}#{$file-name}.eot');
|
18
18
|
src: url('#{$fonts-path}#{$file-name}.eot?#iefix') format('embedded-opentype'),
|
metadata
CHANGED
@@ -1,46 +1,36 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: droidcss
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 1
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
version: 1.0.4
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.5
|
10
5
|
platform: ruby
|
11
|
-
authors:
|
6
|
+
authors:
|
12
7
|
- Ilya Gorenburg
|
13
8
|
autorequire:
|
14
9
|
bindir: bin
|
15
10
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2013-10-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
21
14
|
name: sass
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 3
|
29
|
-
- 2
|
30
|
-
- 0
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
31
19
|
version: 3.2.0
|
32
20
|
type: :runtime
|
33
|
-
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.2.0
|
34
27
|
description: Small responsive framework
|
35
|
-
email:
|
28
|
+
email:
|
36
29
|
- ilya@droidlabs.pro
|
37
30
|
executables: []
|
38
|
-
|
39
31
|
extensions: []
|
40
|
-
|
41
32
|
extra_rdoc_files: []
|
42
|
-
|
43
|
-
files:
|
33
|
+
files:
|
44
34
|
- .gitignore
|
45
35
|
- CHANGELOG.MD
|
46
36
|
- LICENSE
|
@@ -66,35 +56,28 @@ files:
|
|
66
56
|
- vendor/assets/stylesheets/droidcss/partials/defaults.scss
|
67
57
|
- vendor/assets/stylesheets/droidcss/partials/grid.scss
|
68
58
|
- vendor/assets/stylesheets/droidcss/partials/reset.scss
|
69
|
-
has_rdoc: true
|
70
59
|
homepage: https://github.com/droidlabs/droidcss
|
71
|
-
licenses:
|
60
|
+
licenses:
|
72
61
|
- MIT
|
62
|
+
metadata: {}
|
73
63
|
post_install_message:
|
74
64
|
rdoc_options: []
|
75
|
-
|
76
|
-
require_paths:
|
65
|
+
require_paths:
|
77
66
|
- lib
|
78
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- -
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
segments:
|
90
|
-
- 0
|
91
|
-
version: "0"
|
67
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ! '>='
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
92
77
|
requirements: []
|
93
|
-
|
94
78
|
rubyforge_project:
|
95
|
-
rubygems_version:
|
79
|
+
rubygems_version: 2.0.5
|
96
80
|
signing_key:
|
97
|
-
specification_version:
|
81
|
+
specification_version: 4
|
98
82
|
summary: Small responsive framework
|
99
83
|
test_files: []
|
100
|
-
|