sassyseeds 0.0.1
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.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +56 -0
- data/Rakefile +2 -0
- data/lib/sassyseeds/version.rb +3 -0
- data/lib/sassyseeds.rb +4 -0
- data/sassyseeds.gemspec +20 -0
- metadata +77 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2012 matt copeland
|
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,56 @@
|
|
1
|
+
# Sassyseeds
|
2
|
+
|
3
|
+
# Installation
|
4
|
+
|
5
|
+
## Add the Sassyseeds gem to your application ##
|
6
|
+
|
7
|
+
* Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```gem 'sassyseeds'```
|
10
|
+
|
11
|
+
* Then udpate your bundle:
|
12
|
+
|
13
|
+
```$ bundle```
|
14
|
+
|
15
|
+
### Or install the gem yourself: ###
|
16
|
+
|
17
|
+
```$ gem install sassyseeds```
|
18
|
+
|
19
|
+
|
20
|
+
## Run the SassySeeds rails generator ##
|
21
|
+
|
22
|
+
```$ rails g sassyseeds```
|
23
|
+
|
24
|
+
### This will do a few things: ###
|
25
|
+
* Generates Sassyseeds stylesheets into your app/assets/stylsheets/sassyseeds
|
26
|
+
* Generates a compass.rb file with a few presets.
|
27
|
+
* Adds ```gem "compass-rails", :group => "assets"``` to your gemfile.
|
28
|
+
|
29
|
+
## Update your bundle for Compass ##
|
30
|
+
```$ bundle install```
|
31
|
+
|
32
|
+
## Modify application.css ##
|
33
|
+
|
34
|
+
* Rename application.css to application.css.scss
|
35
|
+
|
36
|
+
```$ mv app/assets/stylesheets/application.css app/assets/stylesheets/application.css.scss```
|
37
|
+
|
38
|
+
* Sass needs to read your files in a specific order. So we'll need to modify application.css.scss.
|
39
|
+
Delete the default rails 'requires', including line ``` *= require_tree ```
|
40
|
+
|
41
|
+
* Then, import Sassyseeds at the beginning of application.css.scss
|
42
|
+
|
43
|
+
``` @import "sassyseeds" ```
|
44
|
+
|
45
|
+
This will load compass and all of the files from app/assets/stylesheets/sassyseeds.
|
46
|
+
|
47
|
+
* Import all of your other sass files below that line.
|
48
|
+
|
49
|
+
|
50
|
+
## Contributing ##
|
51
|
+
|
52
|
+
1. Fork it
|
53
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
54
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
55
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
56
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
data/lib/sassyseeds.rb
ADDED
data/sassyseeds.gemspec
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/sassyseeds/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["matt copeland"]
|
6
|
+
gem.email = ["sassyseeds@thoughtworks.com"]
|
7
|
+
gem.description = "Sassyseeds is a sass resource for clean white-label applications."
|
8
|
+
gem.summary = "Sassyseeds uses a standard module for sass to separate visual and positional styling to avoid cluttering semantic markup. The standard module allows you to consistently control visual-styles by utilizing mixins and variables."
|
9
|
+
gem.homepage = "http://www.sassyseeds.org"
|
10
|
+
|
11
|
+
gem.add_dependency "compass-rails"
|
12
|
+
gem.add_dependency('sass', '>= 3.2')
|
13
|
+
|
14
|
+
gem.files = `git ls-files`.split($\)
|
15
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
16
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
17
|
+
gem.name = "sassyseeds"
|
18
|
+
gem.require_paths = ["lib"]
|
19
|
+
gem.version = Sassyseeds::VERSION
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sassyseeds
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- matt copeland
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-11-05 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: compass-rails
|
16
|
+
requirement: &70156316357380 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70156316357380
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: sass
|
27
|
+
requirement: &70156316356780 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.2'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70156316356780
|
36
|
+
description: Sassyseeds is a sass resource for clean white-label applications.
|
37
|
+
email:
|
38
|
+
- sassyseeds@thoughtworks.com
|
39
|
+
executables: []
|
40
|
+
extensions: []
|
41
|
+
extra_rdoc_files: []
|
42
|
+
files:
|
43
|
+
- .gitignore
|
44
|
+
- Gemfile
|
45
|
+
- LICENSE
|
46
|
+
- README.md
|
47
|
+
- Rakefile
|
48
|
+
- lib/sassyseeds.rb
|
49
|
+
- lib/sassyseeds/version.rb
|
50
|
+
- sassyseeds.gemspec
|
51
|
+
homepage: http://www.sassyseeds.org
|
52
|
+
licenses: []
|
53
|
+
post_install_message:
|
54
|
+
rdoc_options: []
|
55
|
+
require_paths:
|
56
|
+
- lib
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
requirements: []
|
70
|
+
rubyforge_project:
|
71
|
+
rubygems_version: 1.8.15
|
72
|
+
signing_key:
|
73
|
+
specification_version: 3
|
74
|
+
summary: Sassyseeds uses a standard module for sass to separate visual and positional
|
75
|
+
styling to avoid cluttering semantic markup. The standard module allows you to consistently
|
76
|
+
control visual-styles by utilizing mixins and variables.
|
77
|
+
test_files: []
|