rigging 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ODQ1OWQzOGE3ODVhNDEyZDI5YTNkN2E2NjFiZDkxMWNmNzNjNTM5Zg==
5
+ data.tar.gz: !binary |-
6
+ MzdiZmIwYjI0YjNmYzExNzlhNThmMzQ5MWUyODY0ZTEzOTE4M2M4MA==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ NGY4NjViNTMwYTVmODU3NTJkOGU3NGVkNGNkZDkzMGFhYTBiYTc5NjRlMjgz
10
+ YzU1MTg5YzRiYjdjNjFhNzY0YjllYjAxM2UyMDY1YWY4NTBiZWI2YjY5Mjkw
11
+ ZDY0MjgyMGY1ODdmMWU1YTRkYzUyOTQ0MmMxM2EwMzc0ZTJlZTA=
12
+ data.tar.gz: !binary |-
13
+ OTNkY2JiNjBmN2E5NzBjOWYzNzNhOGNkMWVlOTVjMWE3MWVkMTM2YWY0ZGM0
14
+ ODFmN2QxZjU4ODY0MjYxYTVkYjM0MzhiNDBiMTAxNWJiN2Q2ZDdiOWFkNTQ3
15
+ NjY3YmQwYWYxYTgzYjM3YmMwM2U2ZDE3Nzc3OGQwOTM2MjNmMDc=
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2013 Scott Matthewman
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,52 @@
1
+ # Welcome to Rigging
2
+
3
+ **Rigging** is a framework of Sass placeholder elements, mixins and functions designed to enable Rails applications' stylesheets to remain organised, semantic and easy to maintain.
4
+
5
+ It includes a variety of control templates for boxes, alerts, etc. that can be customised to suit your own site's visual design needs. The intention is to provide clear structure without enforcing a visual design ethos at the same time. (Let's face it, all those sites using Twitter Bootstrap have become _so_ easy to spot...)
6
+
7
+ When installed as a gem in your Rails apps, the libraries are integrated into the asset pipeline.
8
+
9
+ Rigging is built on top of Chris Eppstein's [Compass][a], so all of its awesome tools and utilities are available in your Sass toolbelt as well.
10
+
11
+ ## Principles
12
+
13
+ 1. HTML markup should be minimal and semantic.
14
+ 2. CSS for each HTML element should be able to use Sass `@include` and `@extend` directives to make their definitions easy to understand and maintain.
15
+ 3. The use of Rigging encourages good practice: it does not impose a design.
16
+
17
+ ## Usage
18
+
19
+ In your `application.css.scss` file, use Sass `@import` directives to load the
20
+ module(s) your application needs.
21
+
22
+ ```ruby
23
+ # to use rigging's reset CSS (not included in the main rigging import – see
24
+ # below for an explanation
25
+ @import 'rigging/reset';
26
+
27
+ # to import all of rigging's modules in one go
28
+ @import 'rigging';
29
+
30
+ # to import an individual module, or group of modules
31
+ # NB: modules below do not yet exist
32
+ @import 'rigging/tables'; # all rigging table modules
33
+ @import 'rigging/tables/zebra-striping'; # import only zebra striping module
34
+ ```
35
+
36
+ ## Notes
37
+
38
+ ### Reset CSS
39
+
40
+ Rigging is predominantly designed not to change any of your CSS until and unless you declare that you want it to. The `@import 'rigging';` directive should never alter any of your site's presentational qualities until you start using its mixins, placeholders and variables.
41
+
42
+ A reset.css file goes against this principle, because its sole purpose is to directly affect change. For this reason, although Rigging includes a reset.css file, it is not included in the standard module imports.
43
+
44
+ If you wish to use Rigging's reset.css file, you must explicitly import it before any other CSS declarations in `application.css.scss`:
45
+
46
+ ```ruby
47
+ @import 'rigging/reset';
48
+ ```
49
+
50
+ Alternatively, you can roll your own reset.css file and continue to use Rigging's mixins.
51
+
52
+ [a]: http://compass-style.org
data/Rakefile ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env rake
2
+ begin
3
+ require 'bundler/setup'
4
+ rescue LoadError
5
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ end
7
+ begin
8
+ require 'rdoc/task'
9
+ rescue LoadError
10
+ require 'rdoc/rdoc'
11
+ require 'rake/rdoctask'
12
+ RDoc::Task = Rake::RDocTask
13
+ end
14
+
15
+ RDoc::Task.new(:rdoc) do |rdoc|
16
+ rdoc.rdoc_dir = 'rdoc'
17
+ rdoc.title = 'Rigging'
18
+ rdoc.options << '--line-numbers'
19
+ rdoc.rdoc_files.include('README.rdoc')
20
+ rdoc.rdoc_files.include('lib/**/*.rb')
21
+ end
22
+
23
+
24
+
25
+
26
+ Bundler::GemHelper.install_tasks
27
+
@@ -0,0 +1,84 @@
1
+ // Global reset
2
+ // -----------------------------------------------------------
3
+ *
4
+ {
5
+ }
6
+
7
+ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video
8
+ {
9
+ margin: 0;
10
+ padding: 0;
11
+ border: 0;
12
+ font: inherit;
13
+ font-size: 100%;
14
+ vertical-align: baseline;
15
+ }
16
+
17
+ table
18
+ {
19
+ border-collapse:collapse;
20
+ border-spacing: 0;
21
+ }
22
+
23
+ caption, th, td
24
+ {
25
+ text-align: left;
26
+ font-weight: 400;
27
+ vertical-align: middle;
28
+ }
29
+
30
+ q, blockquote
31
+ {
32
+ quotes: none;
33
+ }
34
+
35
+ q:before, q:after,
36
+ blockquote:before, blockquote:after
37
+ {
38
+ content: "";
39
+ content: none;
40
+ }
41
+
42
+ a img
43
+ {
44
+ border: none;
45
+ }
46
+
47
+ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary
48
+ {
49
+ display: block;
50
+ }
51
+
52
+ // Forms. If no forms, remove these bad boys
53
+ // -----------------------------------------------------------
54
+ button, input
55
+ {
56
+ line-height: normal;
57
+ }
58
+
59
+ button, input, select, textarea
60
+ {
61
+ font-size: 100%;
62
+ margin: 0;
63
+ vertical-align: baseline;
64
+ *vertical-align: middle;
65
+ }
66
+
67
+ button, input[type="button"], input[type="reset"], input[type="submit"]
68
+ {
69
+ cursor: pointer;
70
+ *overflow: visible;
71
+ }
72
+
73
+ button::-moz-focus-inner, input::-moz-focus-inner
74
+ {
75
+ border: 0;
76
+ padding: 0;
77
+ }
78
+
79
+ textarea
80
+ {
81
+ overflow: auto;
82
+ vertical-align: top;
83
+ resize: vertical;
84
+ }
@@ -0,0 +1,4 @@
1
+ module Rigging
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module Rigging
2
+ VERSION = "0.0.1"
3
+ end
data/lib/rigging.rb ADDED
@@ -0,0 +1,5 @@
1
+ require "rigging/engine"
2
+ require "rigging/version"
3
+
4
+ module Rigging
5
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :rigging do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,138 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rigging
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Scott Matthewman
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-03-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.11
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 3.2.11
27
+ - !ruby/object:Gem::Dependency
28
+ name: sqlite3
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec-rails
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
+ - !ruby/object:Gem::Dependency
56
+ name: capybara
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard-rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard-spork
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: Rigging uses modern Sass abilities, including 'placeholder' attributes
98
+ and @extend directives, to allow your application's stylesheets to be small, extensible
99
+ and semantically strong
100
+ email:
101
+ - scott@matthewman.net
102
+ executables: []
103
+ extensions: []
104
+ extra_rdoc_files: []
105
+ files:
106
+ - app/assets/stylesheets/rigging/_reset.css.scss
107
+ - lib/rigging/engine.rb
108
+ - lib/rigging/version.rb
109
+ - lib/rigging.rb
110
+ - lib/tasks/rigging_tasks.rake
111
+ - LICENSE.txt
112
+ - Rakefile
113
+ - README.md
114
+ homepage: http://github.com/scottmatthewman/rigging
115
+ licenses: []
116
+ metadata: {}
117
+ post_install_message:
118
+ rdoc_options: []
119
+ require_paths:
120
+ - lib
121
+ required_ruby_version: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ required_rubygems_version: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ! '>='
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
131
+ requirements: []
132
+ rubyforge_project:
133
+ rubygems_version: 2.0.3
134
+ signing_key:
135
+ specification_version: 4
136
+ summary: A Sass framework for defining visually strong and consistent web applications
137
+ test_files: []
138
+ has_rdoc: