the1kbgrid-css-rails 1.0.0 → 1.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 654315ab0ca6cbfe9a922fa87c9fdb4212c4ba7a
4
- data.tar.gz: e019216e1d30ea5317f23cd0ed6eb32b84935688
3
+ metadata.gz: 25a218591f1f59cd7c19f1d99a196bc483b931e7
4
+ data.tar.gz: d0dd5f7915291518b94673d5ff208cd620033ad2
5
5
  SHA512:
6
- metadata.gz: 3eb7d6de946b4b367944b4192a7174c42c6a34334b4647589b25c2a93fbb27e9b03e8e0fadd70091298a3f4418a749db82d5f1d1b9d72d360d52f87b59bdbafa
7
- data.tar.gz: 6e2d60c2edf7d56e2330055d80edc5f1f8e9c502925873c6340c2073b264017e36e07e917749f9615a88a73c78d5b3881a6d390f82b18cfd78d03dcf1fae0a8a
6
+ metadata.gz: 30e8ca54287eebd42c0422405769f4eb4184fa891a6a6ad4aebf60227e33b9b2b1079ee869c9e8edd7732d1805f3b17d90e5ded536fc286e7d72e8c76d50c611
7
+ data.tar.gz: 14668b78c84262131200e3cef9fd5eeecbdaf480f83746de3d080360e6886680e7dbb19377f4b92d27de34380c8b7d7400d9ca79e9b5b76747e609a7fa86749f
data/README.md CHANGED
@@ -1,30 +1,85 @@
1
1
  # the1kbgrid-css-rails [![Gem Version](https://badge.fury.io/rb/the1kbgrid-css-rails.png)](http://badge.fury.io/rb/the1kbgrid-css-rails)
2
2
 
3
- > Created by Doc Walker
3
+ > Gemified by Doc Walker
4
4
 
5
5
  Provides The 1Kb Grid CSS for the Rails 3.1+ asset pipeline.
6
6
 
7
7
  ## Installation
8
8
 
9
- Add these lines to your application's Gemfile:
9
+ Add these lines to your application's `Gemfile`:
10
10
 
11
- # the 1kb grid css packaged for the rails asset pipeline
12
- gem 'the1kbgrid-css-rails', '~> 1.0'
11
+ ```rb
12
+ # the 1kb grid css packaged for the rails asset pipeline
13
+ gem 'the1kbgrid-css-rails', '~> 1.1'
14
+ ```
13
15
 
14
16
  And then execute:
15
17
 
16
- $ bundle
18
+ ```sh
19
+ $ bundle
20
+ ```
17
21
 
18
22
  Or install it yourself as:
19
23
 
20
- $ gem install the1kbgrid-css-rails
24
+ ```sh
25
+ $ gem install the1kbgrid-css-rails
26
+ ```
21
27
 
22
28
  ## Usage
23
29
 
24
30
  Add these lines to `app/assets/stylesheets/application.css`
25
31
 
26
- provides The 1Kb Grid CSS from gem 'the1kbgrid-css-rails':
27
- = require the1kbgrid-css-rails
32
+ ```css
33
+ provides The 1Kb Grid CSS from gem 'the1kbgrid-css-rails':
34
+ = require the1kbgrid-css-rails
35
+ ```
36
+
37
+ Use one or more of the following `div` classes:
38
+
39
+ ```css
40
+ .row
41
+ .column
42
+ .grid_1
43
+ .grid_2
44
+ .grid_3
45
+ .grid_4
46
+ .grid_5
47
+ .grid_6
48
+ .grid_7
49
+ .grid_8
50
+ .grid_9
51
+ .grid_10
52
+ .grid_11
53
+ .grid_12
54
+ .grid_13
55
+ .grid_14
56
+ .grid_15
57
+ .grid_16
58
+ ```
59
+
60
+ Rails/HAML examples:
61
+
62
+ ```haml
63
+ -# start each row with '.row'
64
+ -# start each column with '.column'
65
+ -# combine '.column.grid_n' for up to 16 across (960px wide)
66
+ .row
67
+ .column.grid_2
68
+ = 'grid width 2'
69
+ .column.grid_4
70
+ = 'grid width 4'
71
+ .column.grid_10
72
+ = 'grid width 10'
73
+ .row
74
+ .column.grid_3
75
+ = 'grid width 3'
76
+ .column.grid_1
77
+ = 'grid width 1'
78
+ .column.grid_7
79
+ = 'grid width 7'
80
+ .column.grid_5
81
+ = 'grid width 5'
82
+ ```
28
83
 
29
84
  ## Contributing
30
85
 
@@ -1,6 +1,6 @@
1
1
  module The1kbgridCss
2
2
  module Rails
3
3
  # Refer to Semantic Versioning 2.0.0 (http://semver.org).
4
- VERSION = "1.0.0"
4
+ VERSION = "1.1.0"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the1kbgrid-css-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doc Walker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-29 00:00:00.000000000 Z
11
+ date: 2013-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -65,10 +65,10 @@ files:
65
65
  - LICENSE.txt
66
66
  - README.md
67
67
  - Rakefile
68
+ - lib/assets/stylesheets/the1kbgrid-css-rails.css
68
69
  - lib/the1kbgrid-css-rails.rb
69
70
  - lib/the1kbgrid-css-rails/engine.rb
70
71
  - lib/the1kbgrid-css-rails/version.rb
71
- - vendor/assets/stylesheets/the1kbgrid-css-rails.css
72
72
  homepage: https://github.com/jhx/gem-the1kbgrid-css-rails
73
73
  licenses:
74
74
  - MIT