gravityframework 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -4
- data/README.markdown +43 -0
- data/bin/{gravity-new.rb → gravity} +15 -14
- data/lib/gravityframework/version.rb +1 -1
- data/pkg/gravityframework-0.0.1.gem +0 -0
- data/pkg/gravityframework-0.0.2.gem +0 -0
- data/pkg/gravityframework-0.0.3.gem +0 -0
- data/pkg/gravityframework-0.0.4.gem +0 -0
- metadata +16 -11
data/.gitignore
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
*.
|
2
|
-
.
|
3
|
-
|
4
|
-
|
1
|
+
*.log
|
2
|
+
.DS_Store
|
3
|
+
.sass-cache
|
4
|
+
|
data/README.markdown
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
#Gravity Framework
|
2
|
+
AUTHORS: Owain Lewis, Ollie Wells, Hamish Taplin, Nadhim Orfali
|
3
|
+
|
4
|
+
Creative Commons (cc) Attribution 3.0
|
5
|
+
http://GravityFramework.com
|
6
|
+
|
7
|
+
Gravity is a powerful boilerplate framework for building HTML5 websites. It uses SASS and HAML in place of CSS and HTML5. Gravity does some basic setup work for you, giving you a rock solid starting point for your project and then gets out of your way. It ships with a responsive 12 column grid by default that adapts to all devices if required, along with both sass and scss options depending on your preference.
|
8
|
+
|
9
|
+
Gravity will drastically reduce the time needed to take a design from concept to working model. It enforces best practices at every stage. Gravity based websites are easier to maintain, and therefore this framework can help you drastically improve your teams workflow and profitability.
|
10
|
+
|
11
|
+
##Features
|
12
|
+
|
13
|
+
+ Core CSS styling (reset styles, typography, baselines, grids)
|
14
|
+
+ Grid builder
|
15
|
+
+ CSS3 Mixins
|
16
|
+
+ HAML and HTML5 index.html files already set up
|
17
|
+
+ Media Queries built in and ready to go
|
18
|
+
+ Responsive 12 column grid by default for all devices
|
19
|
+
|
20
|
+
##Mixin Syntax
|
21
|
+
|
22
|
+
Gravity comes with a wide range of useful CSS3 mixins. Tired of writing multiple lines of vendor specific CSS? So were we. You can now add cross browser CSS3 to your projects with one line.
|
23
|
+
|
24
|
+
@include rounded(10px)
|
25
|
+
|
26
|
+
##Installing Gravity
|
27
|
+
|
28
|
+
You need SASS installed http://sass-lang.com and ideally HAML. (gem install haml)
|
29
|
+
|
30
|
+
MAC OSX
|
31
|
+
|
32
|
+
1. mkdir myproject
|
33
|
+
2. cd myproject
|
34
|
+
3. Copy the framework into your new project directory
|
35
|
+
4. Run this command in the terminal: sass --watch sass:css
|
36
|
+
|
37
|
+
If you have any questions about this framework email owain@owainlewis.com.
|
38
|
+
|
39
|
+
=====================
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
|
@@ -1,15 +1,16 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require
|
3
|
-
|
4
|
-
libdir
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
args
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
installer.
|
13
|
-
|
14
|
-
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require "rubygems"
|
3
|
+
libdir = File.join(File.dirname(File.dirname(__FILE__)), "lib")
|
4
|
+
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
5
|
+
|
6
|
+
require 'gravityframework'
|
7
|
+
|
8
|
+
#Get command line args. New project created >> gravity-init NAME --options
|
9
|
+
args = ARGV.dup.unshift()
|
10
|
+
|
11
|
+
if args.length > 0
|
12
|
+
installer = Gravityframework::Installer.new(args, libdir)
|
13
|
+
installer.create()
|
14
|
+
else
|
15
|
+
STDERR.puts "No project name supplied"
|
15
16
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gravityframework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-08-
|
12
|
+
date: 2011-08-27 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
16
|
-
requirement: &
|
16
|
+
requirement: &2153625160 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2153625160
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rake
|
27
|
-
requirement: &
|
27
|
+
requirement: &2153624700 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2153624700
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sprockets
|
38
|
-
requirement: &
|
38
|
+
requirement: &2153624260 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,19 +43,20 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2153624260
|
47
47
|
description: Gravity is a CSS framework by Owain Lewis
|
48
48
|
email:
|
49
49
|
- owain@owainlewis.com
|
50
50
|
executables:
|
51
|
-
- gravity
|
51
|
+
- gravity
|
52
52
|
extensions: []
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
55
|
- .gitignore
|
56
56
|
- Gemfile
|
57
|
+
- README.markdown
|
57
58
|
- Rakefile
|
58
|
-
- bin/gravity
|
59
|
+
- bin/gravity
|
59
60
|
- gravityframework.gemspec
|
60
61
|
- lib/gravityframework.rb
|
61
62
|
- lib/gravityframework/src/index.html
|
@@ -90,6 +91,10 @@ files:
|
|
90
91
|
- lib/gravityframework/src/views/all_styles.slim
|
91
92
|
- lib/gravityframework/src/views/index.slim
|
92
93
|
- lib/gravityframework/version.rb
|
94
|
+
- pkg/gravityframework-0.0.1.gem
|
95
|
+
- pkg/gravityframework-0.0.2.gem
|
96
|
+
- pkg/gravityframework-0.0.3.gem
|
97
|
+
- pkg/gravityframework-0.0.4.gem
|
93
98
|
homepage: ''
|
94
99
|
licenses: []
|
95
100
|
post_install_message:
|
@@ -110,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
115
|
version: '0'
|
111
116
|
requirements: []
|
112
117
|
rubyforge_project: gravityframework
|
113
|
-
rubygems_version: 1.8.
|
118
|
+
rubygems_version: 1.8.5
|
114
119
|
signing_key:
|
115
120
|
specification_version: 3
|
116
121
|
summary: Gravityframework is a SASS framework that helps you build better websites
|