generate-column-widths 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 +4 -4
- data/README.md +7 -8
- data/lib/generate-column-widths/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: 54c85672716235f16814020d026b0c608223a6a3
|
4
|
+
data.tar.gz: ca925b88157a2d95614010df1543041e30efd19a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15bfc55147a6d64d132f3df0c8a8cee341c504b7e0eb49968666a029ee56e46d7bdfb0bde046bfbcc9f09cfa231502c34b593b39d3bc62906980e6b56e254a22
|
7
|
+
data.tar.gz: 55a297a4f509446ff9d413c5142cc1594baf2b3701f2cc9d78e8be6afb8b2a2261f0c18ced63bfac2491581b8d5129a210ea7d8b674d26b3edad2c8897edb27a
|
data/README.md
CHANGED
@@ -21,14 +21,13 @@ small and above (a Bootstrap concept):
|
|
21
21
|
...
|
22
22
|
<% end %>
|
23
23
|
|
24
|
-
The variable generated by the gem replaces the "3" in the col-sm-3
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
content.
|
24
|
+
The variable generated by the gem replaces the "3" in the col-sm-3. As your view
|
25
|
+
iterates through the items in the collection and renders them in the view, it
|
26
|
+
will generate only the number of columns you need for the data you have. The
|
27
|
+
columns will automatically be the right width to accommodate your data. If you
|
28
|
+
have fewer than expected, your columns won't all be clumped together to one
|
29
|
+
side - and you can accomplish that without having to add a bunch of centering
|
30
|
+
divs to wrap the content.
|
32
31
|
|
33
32
|
This doc is largely implementation oriented. If you need a bit more of a plain
|
34
33
|
English description of what it does, check out my blog post:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: generate-column-widths
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "'Liane Allen'"
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|