gridlines 0.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 +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +40 -0
- data/Rakefile +34 -0
- data/lib/gridlines.rb +5 -0
- data/lib/gridlines/version.rb +3 -0
- data/lib/tasks/gridlines_tasks.rake +4 -0
- metadata +55 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 0d654710f80c4a19076fdd6d8d4ffb8ad0d7db5e
|
|
4
|
+
data.tar.gz: 8ae0d4bafdc0c29b2a1d00629507baeb5e0c1424
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: af138fb8c6636b571dca413d232f54cec2f91b375bc739b4700a0c375955b799e976a4cc0b1c699f9ef456df9771551e82c576f6f29023fca59cc45e476c6577
|
|
7
|
+
data.tar.gz: 8b6fbc881d7b3e3ffdfaec689d8a2537f45bf15ef1f3bbc460d3e887d509d925d9edd78b0135a4822fadb112df3063c115e35487eb461cd169c3b1500492c53e
|
data/MIT-LICENSE
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright 2017
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Gridlines
|
|
2
|
+
Gridlines helps you design a responsive and modern site layout by drawing the constraints of the CSS grid during development. Version 0.1.0 is configured to work with the most popular css frameworks including:
|
|
3
|
+
|
|
4
|
+
* **Bootstrap**
|
|
5
|
+
* **Zurb Foundation**
|
|
6
|
+
* **Semantic UI**
|
|
7
|
+
|
|
8
|
+
* View an example of gridlines in action [here](https://webteamuniversity.github.io/gridlines/.)
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
If you are developing with one of the listed frameworks, Bootstrap, Foundation, or Semantic UI, you are already completely set up. Gridlines will draw out your existing rows and columns as well as any newly created alignments.
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
Add this line to your application's Gemfile:
|
|
15
|
+
|
|
16
|
+
```ruby
|
|
17
|
+
gem 'gridlines'
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
And then execute:
|
|
21
|
+
```
|
|
22
|
+
$ bundle install
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Or install it yourself as:
|
|
26
|
+
```
|
|
27
|
+
$ gem install gridlines
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### Require
|
|
31
|
+
|
|
32
|
+
If you are using an app.css manifest file add the require statement, ` *= require gridlines` after any 3rd party frameworks
|
|
33
|
+
|
|
34
|
+
If you are using a Sass manifest file add the import statement, `@import 'gridlines'` after any 3rd party frameworks
|
|
35
|
+
|
|
36
|
+
## Contributing
|
|
37
|
+
Feel free to make a PR
|
|
38
|
+
|
|
39
|
+
## License
|
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
begin
|
|
2
|
+
require 'bundler/setup'
|
|
3
|
+
rescue LoadError
|
|
4
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
|
5
|
+
end
|
|
6
|
+
|
|
7
|
+
require 'rdoc/task'
|
|
8
|
+
|
|
9
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
|
10
|
+
rdoc.rdoc_dir = 'rdoc'
|
|
11
|
+
rdoc.title = 'Gridlines'
|
|
12
|
+
rdoc.options << '--line-numbers'
|
|
13
|
+
rdoc.rdoc_files.include('README.md')
|
|
14
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
require 'bundler/gem_tasks'
|
|
23
|
+
|
|
24
|
+
require 'rake/testtask'
|
|
25
|
+
|
|
26
|
+
Rake::TestTask.new(:test) do |t|
|
|
27
|
+
t.libs << 'lib'
|
|
28
|
+
t.libs << 'test'
|
|
29
|
+
t.pattern = 'test/**/*_test.rb'
|
|
30
|
+
t.verbose = false
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
task default: :test
|
data/lib/gridlines.rb
ADDED
metadata
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: gridlines
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Frederick John
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2017-04-29 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: 'Gridlines helps developers with structuring and aligning the content
|
|
14
|
+
of their site during development. It comes pre-configured to work with the most
|
|
15
|
+
popular CSS frameworks, Bootstrap, Foundation, and Semantic UI. As you create rows
|
|
16
|
+
and columns for displaying content gridlines will automatically add color and outlines.
|
|
17
|
+
This makes it easy to properly align items and see the current restraints of the
|
|
18
|
+
grid. '
|
|
19
|
+
email:
|
|
20
|
+
- ''
|
|
21
|
+
executables: []
|
|
22
|
+
extensions: []
|
|
23
|
+
extra_rdoc_files: []
|
|
24
|
+
files:
|
|
25
|
+
- MIT-LICENSE
|
|
26
|
+
- README.md
|
|
27
|
+
- Rakefile
|
|
28
|
+
- lib/gridlines.rb
|
|
29
|
+
- lib/gridlines/version.rb
|
|
30
|
+
- lib/tasks/gridlines_tasks.rake
|
|
31
|
+
homepage: https://webteamuniversity.github.io/gridlines/
|
|
32
|
+
licenses:
|
|
33
|
+
- MIT
|
|
34
|
+
metadata: {}
|
|
35
|
+
post_install_message:
|
|
36
|
+
rdoc_options: []
|
|
37
|
+
require_paths:
|
|
38
|
+
- lib
|
|
39
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
40
|
+
requirements:
|
|
41
|
+
- - ">="
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: '0'
|
|
44
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
|
+
requirements:
|
|
46
|
+
- - ">="
|
|
47
|
+
- !ruby/object:Gem::Version
|
|
48
|
+
version: '0'
|
|
49
|
+
requirements: []
|
|
50
|
+
rubyforge_project:
|
|
51
|
+
rubygems_version: 2.6.11
|
|
52
|
+
signing_key:
|
|
53
|
+
specification_version: 4
|
|
54
|
+
summary: Gridlines creates colored regions indicated where rows and columns are located.
|
|
55
|
+
test_files: []
|