the1kbgrid-css-rails 1.0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 654315ab0ca6cbfe9a922fa87c9fdb4212c4ba7a
4
+ data.tar.gz: e019216e1d30ea5317f23cd0ed6eb32b84935688
5
+ SHA512:
6
+ metadata.gz: 3eb7d6de946b4b367944b4192a7174c42c6a34334b4647589b25c2a93fbb27e9b03e8e0fadd70091298a3f4418a749db82d5f1d1b9d72d360d52f87b59bdbafa
7
+ data.tar.gz: 6e2d60c2edf7d56e2330055d80edc5f1f8e9c502925873c6340c2073b264017e36e07e917749f9615a88a73c78d5b3881a6d390f82b18cfd78d03dcf1fae0a8a
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'the1kbgrid-css-rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "the1kbgrid-css-rails"
8
+ spec.version = The1kbgridCss::Rails::VERSION
9
+ spec.authors = ["Doc Walker"]
10
+ spec.email = ["doc.walker@jameshardie.com"]
11
+ spec.description = %q{Provides The 1Kb Grid CSS for the Rails 3.1+ asset pipeline.}
12
+ spec.summary = %q{Provides The 1Kb Grid CSS for the Rails 3.1+ asset pipeline.}
13
+ spec.homepage = "https://github.com/jhx/gem-the1kbgrid-css-rails"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_dependency "railties", "~> 3.1"
22
+
23
+ spec.add_development_dependency "bundler", "~> 1.3"
24
+ spec.add_development_dependency "rake"
25
+ end
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in 1kbgrid-css-rails.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Doc Walker
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,41 @@
1
+ # the1kbgrid-css-rails [![Gem Version](https://badge.fury.io/rb/the1kbgrid-css-rails.png)](http://badge.fury.io/rb/the1kbgrid-css-rails)
2
+
3
+ > Created by Doc Walker
4
+
5
+ Provides The 1Kb Grid CSS for the Rails 3.1+ asset pipeline.
6
+
7
+ ## Installation
8
+
9
+ Add these lines to your application's Gemfile:
10
+
11
+ # the 1kb grid css packaged for the rails asset pipeline
12
+ gem 'the1kbgrid-css-rails', '~> 1.0'
13
+
14
+ And then execute:
15
+
16
+ $ bundle
17
+
18
+ Or install it yourself as:
19
+
20
+ $ gem install the1kbgrid-css-rails
21
+
22
+ ## Usage
23
+
24
+ Add these lines to `app/assets/stylesheets/application.css`
25
+
26
+ provides The 1Kb Grid CSS from gem 'the1kbgrid-css-rails':
27
+ = require the1kbgrid-css-rails
28
+
29
+ ## Contributing
30
+
31
+ 1. Fork it
32
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
33
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
34
+ 4. Push to the branch (`git push origin my-new-feature`)
35
+ 5. Create new Pull Request
36
+
37
+ ## Acknowledgements
38
+
39
+ - [The 1Kb Grid](http://www.1kbgrid.com) *link not working*
40
+ - [RailsCast #245](http://railscasts.com/episodes/245-new-gem-with-bundler) New Gem with Bundler -- inspiration
41
+ - [Gemify Assets for Rails](http://prioritized.net/blog/gemify-assets-for-rails/) -- guidance
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,6 @@
1
+ module The1kbgridCss
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ module The1kbgridCss
2
+ module Rails
3
+ # Refer to Semantic Versioning 2.0.0 (http://semver.org).
4
+ VERSION = "1.0.0"
5
+ end
6
+ end
@@ -0,0 +1,2 @@
1
+ require "the1kbgrid-css-rails/version"
2
+ require "the1kbgrid-css-rails/engine" if defined?(::Rails)
@@ -0,0 +1,37 @@
1
+ /* ================ */
2
+ /* = The 1Kb Grid = */ /* 16 columns, 40 pixels each, with 10 pixel gutter */
3
+ /* ================ */
4
+
5
+ .grid_1 { width:40px; }
6
+ .grid_2 { width:90px; }
7
+ .grid_3 { width:140px; }
8
+ .grid_4 { width:190px; }
9
+ .grid_5 { width:240px; }
10
+ .grid_6 { width:290px; }
11
+ .grid_7 { width:340px; }
12
+ .grid_8 { width:390px; }
13
+ .grid_9 { width:440px; }
14
+ .grid_10 { width:490px; }
15
+ .grid_11 { width:540px; }
16
+ .grid_12 { width:590px; }
17
+ .grid_13 { width:640px; }
18
+ .grid_14 { width:690px; }
19
+ .grid_15 { width:740px; }
20
+ .grid_16 { width:790px; }
21
+
22
+ .column {
23
+ margin: 0 5px;
24
+ overflow: hidden;
25
+ float: left;
26
+ display: inline;
27
+ }
28
+ .row {
29
+ width: 800px;
30
+ margin: 0 auto;
31
+ overflow: hidden;
32
+ }
33
+ .row .row {
34
+ margin: 0 -5px;
35
+ width: auto;
36
+ display: inline-block;
37
+ }
metadata ADDED
@@ -0,0 +1,96 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: the1kbgrid-css-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Doc Walker
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-07-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '3.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '3.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: Provides The 1Kb Grid CSS for the Rails 3.1+ asset pipeline.
56
+ email:
57
+ - doc.walker@jameshardie.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - .gitignore
63
+ - 1kbgrid-css-rails.gemspec
64
+ - Gemfile
65
+ - LICENSE.txt
66
+ - README.md
67
+ - Rakefile
68
+ - lib/the1kbgrid-css-rails.rb
69
+ - lib/the1kbgrid-css-rails/engine.rb
70
+ - lib/the1kbgrid-css-rails/version.rb
71
+ - vendor/assets/stylesheets/the1kbgrid-css-rails.css
72
+ homepage: https://github.com/jhx/gem-the1kbgrid-css-rails
73
+ licenses:
74
+ - MIT
75
+ metadata: {}
76
+ post_install_message:
77
+ rdoc_options: []
78
+ require_paths:
79
+ - lib
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ! '>='
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ requirements: []
91
+ rubyforge_project:
92
+ rubygems_version: 2.0.3
93
+ signing_key:
94
+ specification_version: 4
95
+ summary: Provides The 1Kb Grid CSS for the Rails 3.1+ asset pipeline.
96
+ test_files: []