susyboot 0.1.1 → 0.1.2

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +68 -23
  3. data/VERSION +1 -1
  4. data/docs/changelog.rst +8 -2
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e80cfc7c7d2a2c8dbc2a22b52e9653abb664f390
4
- data.tar.gz: 0ba93b3fa06ca55da77381e63b08e244e6fd2d41
3
+ metadata.gz: 1b957ca34eefb0178796c6a673393bf14882ada2
4
+ data.tar.gz: fc86e176e5d311303c88644b3ca1fc7fb9228b6a
5
5
  SHA512:
6
- metadata.gz: 52806dcfb69a4fdf9a0ba710b42ef85240b421ab21f43c91eb792e2ac1cfbe4ab93ec37e74422faefc1c6116708db9c3c79a6032a6f571f25a0967a55190f1fe
7
- data.tar.gz: 1f31a794044c19f0ba205c3436e90b994ad4c65656c9f32993e1ca352dc9c3c693f957d0e048cf5a8e064013356f8c73080a2255830172d9033c8b11e3833e9b
6
+ metadata.gz: 4b54cfaa101804d20c1f5c9b081791b7ed58f486009253b8acb821722e6f7162a5383fdcc2b75dfd9af2645196835f41af37837c05881def2fa766608f4a3a61
7
+ data.tar.gz: 357fec413573533fd3e026dcc74a6d497a4d6928675d83997dceec88ee662c5346d61f5efd7fbb47093b145f1d475abb5f479cf3babb5fd543d9172e9c204a57
data/README.md CHANGED
@@ -1,18 +1,19 @@
1
1
  # Susyboot
2
- Susy-powered Bootstrap grid replacement
2
+ [![Gem Version](https://badge.fury.io/rb/susyboot.svg)](https://badge.fury.io/rb/susyboot)
3
+
4
+ Susy-powered Bootstrap grid replacement.
5
+
6
+ ## Goals
3
7
 
4
- Goals
5
- ---
6
8
  - Provide content managers with the grid classes, which they are familiar with
7
- - Make the move from Bootstrap 3 grid to Susy 2 grid smooth
9
+ - Make the move from [Bootstrap 3](http://getbootstrap.com/) grid to [Susy 2](http://susy.oddbird.net/) grid smooth
10
+
11
+ ## Note
8
12
 
9
- Note
10
- ---
11
13
  It is not a pixel-perfect replacement because of the differences in calculating gutters.
12
- The gutters have fixed size in Bootstrap (15px). In Susy, they are calculated dynamically.
14
+ The gutters have fixed size in Bootstrap (30px by default). In Susy, they are calculated dynamically.
13
15
 
14
- Features
15
- ---
16
+ ## Features
16
17
 
17
18
  - The classes you know and like:
18
19
  - .container, .container-fluid
@@ -22,24 +23,24 @@ Features
22
23
  - .col-xs-pull-{n}, .col-sm-pull-{n}, .col-md-pull-{n}, .col-lg-pull-{n}
23
24
  - .col-xs-push-{n}, .col-sm-push-{n}, .col-md-push-{n}, .col-lg-push-{n}
24
25
 
25
- Example
26
- ---
27
- Compare output of [test_bootstrap.html](https://github.com/kkomelin/susyboot/blob/master/examples/test_bootstrap.html) and
28
- [test_susyboot.html](https://github.com/kkomelin/susyboot/blob/master/examples/test_susyboot.html).
26
+ ## Examples
27
+
28
+ - [Bootstrap](https://htmlpreview.github.io/?https://raw.githubusercontent.com/kkomelin/susyboot/master/examples/test_bootstrap.html) ([source](https://raw.githubusercontent.com/kkomelin/susyboot/master/examples/test_bootstrap.html))
29
+ - [Susyboot](https://htmlpreview.github.io/?https://raw.githubusercontent.com/kkomelin/susyboot/master/examples/test_susyboot.html) ([source](https://raw.githubusercontent.com/kkomelin/susyboot/master/examples/test_susyboot.html))
29
30
 
30
31
  Please note that the gutters are different. Read [this note](#note) for more detail.
31
32
 
32
- How to use
33
- ---
33
+ ## Installation
34
+
35
+ ### a) Manual
34
36
 
35
- **CSS:**
37
+ Just include [susyboot.css](https://raw.githubusercontent.com/kkomelin/susyboot/master/css/susyboot.css) into your page head:
36
38
 
37
- Just include [susyboot.css](https://github.com/kkomelin/susyboot/blob/master/css/susyboot.css) into your page head:
38
39
  ```
39
40
  <link href="css/susyboot.css" type="text/css" rel="stylesheet" media="all" />
40
41
  ```
41
42
 
42
- **SASS:**
43
+ ### b) Ruby gem
43
44
 
44
45
  ```
45
46
  # command line
@@ -56,13 +57,57 @@ require 'susyboot'
56
57
  @import "susyboot";
57
58
  ```
58
59
 
59
- Roadmap
60
- ---
60
+ ### c) Composer
61
+
62
+ ```
63
+ # command line
64
+ php composer.phar require kkomelin/susyboot 0.1.x-dev
65
+ ```
66
+
67
+ ```
68
+ /* main.tpl.php (html head) */
69
+ <link href="vendor/kkomelin/susyboot/css/susyboot.css" type="text/css" rel="stylesheet" media="all" />
70
+ ```
71
+
72
+ or
73
+
74
+ ```
75
+ /* app.scss */
76
+ @import "vendor/kkomelin/susyboot/scss/susyboot";
77
+ ```
78
+
79
+ ### d) Bower
80
+
81
+ ```
82
+ # command line
83
+ bower install susyboot --save
84
+ ```
85
+
86
+ ```
87
+ /* app.scss */
88
+ @import "bower_components/susyboot/scss/susyboot";
89
+ ```
90
+
91
+ ### e) NPM
92
+
93
+ ```
94
+ # command line
95
+ npm install susyboot
96
+ ```
97
+
98
+ ```
99
+ /* app.scss */
100
+ @import "node_modules/susyboot/scss/susyboot";
101
+ ```
102
+
103
+
104
+ ## Roadmap
105
+
61
106
  - Fix nested column margin
62
- - Add support of npm, composer, and others.
107
+ - Make the project available through package managers.
108
+
109
+ ## Normalize.css
63
110
 
64
- Normalize.css
65
- ---
66
111
  For improved cross-browser rendering,
67
112
  we use the same version of [Normalize.css](http://necolas.github.io/normalize.css/),
68
113
  a project by [Nicolas Gallagher](https://twitter.com/necolas)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
@@ -1,13 +1,19 @@
1
1
  Changelog
2
2
  =========
3
3
 
4
+ 0.1.2 - May 6 2016
5
+ --------------------
6
+
7
+ - Made the project available through package managers.
8
+ - Improved documentation.
9
+
4
10
  0.1.1 - May 4 2016
5
11
  --------------------
6
12
 
7
- - Improved documentation
13
+ - Improved documentation.
8
14
 
9
15
 
10
16
  0.1.0 - May 4 2016
11
17
  -------------------
12
18
 
13
- - Initial release
19
+ - Initial release.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: susyboot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Komelin
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 2.2.0
41
- description: Susy-powered Bootstrap grid replacement
41
+ description: Susy-powered Bootstrap grid replacement.
42
42
  email: konstantin@komelin.com
43
43
  executables: []
44
44
  extensions: []