mercury 0.8.3 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Mercury.gemspec +9 -4
- data/README.rdoc +2 -2
- data/VERSION +1 -1
- data/docs/mercury.log +1002 -0
- data/docs/views/default.sass +5 -10
- data/docs/views/example.haml +14 -0
- data/docs/views/example.md +82 -0
- data/docs/views/home.md +1 -1
- data/docs/views/{home.haml → index.haml} +2 -0
- data/docs/views/navigation.haml +8 -9
- data/docs/views/resources.md +1 -0
- data/docs/views/wolfgang.coffee +4 -0
- data/lib/mercury.rb +13 -3
- data/lib/public/javascripts/coffee-script.js +1 -0
- data/lib/public/stylesheets/960.css +387 -1
- data/lib/public/stylesheets/sass/grid.sass +75 -0
- data/lib/views/index.haml +11 -5
- data/lib/views/layout.haml +1 -1
- metadata +27 -41
@@ -0,0 +1,75 @@
|
|
1
|
+
=grid_1
|
2
|
+
width: 60px
|
3
|
+
|
4
|
+
=grid_2
|
5
|
+
width: 140px
|
6
|
+
|
7
|
+
=grid_3
|
8
|
+
width: 220px
|
9
|
+
|
10
|
+
=grid_4
|
11
|
+
width: 300px
|
12
|
+
|
13
|
+
=grid_5
|
14
|
+
width: 380px
|
15
|
+
|
16
|
+
=grid_6
|
17
|
+
width: 460px
|
18
|
+
|
19
|
+
=grid_7
|
20
|
+
width: 540px
|
21
|
+
|
22
|
+
=grid_8
|
23
|
+
width: 620px
|
24
|
+
|
25
|
+
=grid_9
|
26
|
+
width: 700px
|
27
|
+
|
28
|
+
=grid10
|
29
|
+
width: 780px
|
30
|
+
|
31
|
+
=grid_11
|
32
|
+
width: 860px
|
33
|
+
|
34
|
+
=grid_12
|
35
|
+
width: 940px
|
36
|
+
|
37
|
+
=pad_left_1
|
38
|
+
:margin-left 90px
|
39
|
+
=pad_left_2
|
40
|
+
:margin-left 170px
|
41
|
+
=pad_left_3
|
42
|
+
:margin-left 250px
|
43
|
+
=pad_left_4
|
44
|
+
:margin-left 330px
|
45
|
+
=pad_left_5
|
46
|
+
:margin-left 410px
|
47
|
+
=pad_left_6
|
48
|
+
:margin-left 490px
|
49
|
+
=pad_left_7
|
50
|
+
:margin-left 570px
|
51
|
+
=pad_left_8
|
52
|
+
:margin-left 650px
|
53
|
+
=pad_left_9
|
54
|
+
:margin-left 730px
|
55
|
+
=pad_left_10
|
56
|
+
:margin-left 810px
|
57
|
+
=pad_left_11
|
58
|
+
:margin-left 890px
|
59
|
+
|
60
|
+
.column
|
61
|
+
margin: 0 10px
|
62
|
+
overflow: hidden
|
63
|
+
float: left
|
64
|
+
display: inline
|
65
|
+
|
66
|
+
|
67
|
+
.row
|
68
|
+
width: 960px
|
69
|
+
margin: 0 auto
|
70
|
+
overflow: hidden
|
71
|
+
|
72
|
+
.row
|
73
|
+
margin: 0 -10px
|
74
|
+
width: auto
|
75
|
+
display: inline-block
|
data/lib/views/index.haml
CHANGED
@@ -37,11 +37,17 @@
|
|
37
37
|
%h1 Mercury
|
38
38
|
|
39
39
|
#wrap.container_16
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
40
|
+
.grid_9.prefix_3
|
41
|
+
%p{:style => 'font-size:1.4em'}
|
42
|
+
Welcome to Mercury, a simple and easy to use gem that makes it super easy to create web-sites, mockups and micro-webapps. You don't have to write any ruby or know anything about web frameworks or anything complicated. This gem is not to replace any of the excellent ruby frameworks out there. It is simply a gem to quickly mockup some web sites, web mockups, or a mini prototype apps.
|
43
|
+
|
44
|
+
%p{:style => 'font-size:1.4em'}
|
45
|
+
The original purpose was to create a simple way to quickly create wireframes, using haml and sass. After tweaking the gem we added a bunch of other little features. You can replace this page, by creating an index.haml file in your views directory. We will work on providing more documentation soon.
|
46
|
+
|
47
|
+
%p{:style => 'font-size:1.4em'}
|
48
|
+
Please send us a tweet and let us know what you think about the project!
|
49
|
+
:markdown
|
50
|
+
[@jackhq](http://twitter.com/jackhq)
|
45
51
|
|
46
52
|
|
47
53
|
|
data/lib/views/layout.haml
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
- ['reset','text','960','smoothness/jquery-ui-1.8rc3.custom','app'].each do |css|
|
6
6
|
%link{ :href => "/stylesheets/#{css}.css", :rel => "stylesheet", :type => "text/css", :media => "screen", :charset => "utf-8" }
|
7
7
|
%body
|
8
|
-
- ['jquery-1.4.2.min', 'jquery-ui-1.8rc3.custom.min'].each do |js|
|
8
|
+
- ['jquery-1.4.2.min', 'jquery-ui-1.8rc3.custom.min', 'coffee-script'].each do |js|
|
9
9
|
%script{:src => "/javascripts/#{js}.js", :type => 'text/javascript'}
|
10
10
|
|
11
11
|
= yield
|
metadata
CHANGED
@@ -1,12 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mercury
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
segments:
|
6
|
-
- 0
|
7
|
-
- 8
|
8
|
-
- 3
|
9
|
-
version: 0.8.3
|
4
|
+
version: 0.9.1
|
10
5
|
platform: ruby
|
11
6
|
authors:
|
12
7
|
- Tom Wilson
|
@@ -14,61 +9,49 @@ autorequire:
|
|
14
9
|
bindir: bin
|
15
10
|
cert_chain: []
|
16
11
|
|
17
|
-
date: 2010-03-
|
12
|
+
date: 2010-03-20 00:00:00 -04:00
|
18
13
|
default_executable: mercury
|
19
14
|
dependencies:
|
20
15
|
- !ruby/object:Gem::Dependency
|
21
16
|
name: sinatra
|
22
|
-
|
23
|
-
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
20
|
requirements:
|
25
21
|
- - ">="
|
26
22
|
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 0
|
29
|
-
- 9
|
30
|
-
- 4
|
31
23
|
version: 0.9.4
|
32
|
-
|
33
|
-
version_requirements: *id001
|
24
|
+
version:
|
34
25
|
- !ruby/object:Gem::Dependency
|
35
26
|
name: haml
|
36
|
-
|
37
|
-
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
30
|
requirements:
|
39
31
|
- - ">="
|
40
32
|
- !ruby/object:Gem::Version
|
41
|
-
segments:
|
42
|
-
- 2
|
43
|
-
- 2
|
44
|
-
- 20
|
45
33
|
version: 2.2.20
|
46
|
-
|
47
|
-
version_requirements: *id002
|
34
|
+
version:
|
48
35
|
- !ruby/object:Gem::Dependency
|
49
36
|
name: faker
|
50
|
-
|
51
|
-
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
40
|
requirements:
|
53
41
|
- - ">="
|
54
42
|
- !ruby/object:Gem::Version
|
55
|
-
segments:
|
56
|
-
- 0
|
57
43
|
version: "0"
|
58
|
-
|
59
|
-
version_requirements: *id003
|
44
|
+
version:
|
60
45
|
- !ruby/object:Gem::Dependency
|
61
46
|
name: bluecloth
|
62
|
-
|
63
|
-
|
47
|
+
type: :runtime
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
50
|
requirements:
|
65
51
|
- - ">="
|
66
52
|
- !ruby/object:Gem::Version
|
67
|
-
segments:
|
68
|
-
- 0
|
69
53
|
version: "0"
|
70
|
-
|
71
|
-
version_requirements: *id004
|
54
|
+
version:
|
72
55
|
description: Mercury allows you to create web sites/apps/mockups using haml, sass, and jquery.
|
73
56
|
email: thing2@jackhq.com
|
74
57
|
executables:
|
@@ -92,21 +75,26 @@ files:
|
|
92
75
|
- docs/views/about.haml
|
93
76
|
- docs/views/about.md
|
94
77
|
- docs/views/default.sass
|
78
|
+
- docs/views/example.haml
|
79
|
+
- docs/views/example.md
|
95
80
|
- docs/views/footer.haml
|
96
81
|
- docs/views/header.haml
|
97
|
-
- docs/views/home.haml
|
98
82
|
- docs/views/home.md
|
83
|
+
- docs/views/index.haml
|
99
84
|
- docs/views/navigation.haml
|
100
85
|
- docs/views/resources.haml
|
101
86
|
- docs/views/resources.md
|
87
|
+
- docs/views/wolfgang.coffee
|
102
88
|
- lib/mercury.rb
|
103
89
|
- lib/public/favicon.ico
|
104
90
|
- lib/public/images/bk_gradient.png
|
91
|
+
- lib/public/javascripts/coffee-script.js
|
105
92
|
- lib/public/javascripts/jquery-1.4.2.min.js
|
106
93
|
- lib/public/javascripts/jquery-ui-1.8rc3.custom.min.js
|
107
94
|
- lib/public/stylesheets/960.css
|
108
95
|
- lib/public/stylesheets/app.css
|
109
96
|
- lib/public/stylesheets/reset.css
|
97
|
+
- lib/public/stylesheets/sass/grid.sass
|
110
98
|
- lib/public/stylesheets/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
111
99
|
- lib/public/stylesheets/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
112
100
|
- lib/public/stylesheets/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
@@ -140,20 +128,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
140
128
|
requirements:
|
141
129
|
- - ">="
|
142
130
|
- !ruby/object:Gem::Version
|
143
|
-
segments:
|
144
|
-
- 0
|
145
131
|
version: "0"
|
132
|
+
version:
|
146
133
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
134
|
requirements:
|
148
135
|
- - ">="
|
149
136
|
- !ruby/object:Gem::Version
|
150
|
-
segments:
|
151
|
-
- 0
|
152
137
|
version: "0"
|
138
|
+
version:
|
153
139
|
requirements: []
|
154
140
|
|
155
141
|
rubyforge_project:
|
156
|
-
rubygems_version: 1.3.
|
142
|
+
rubygems_version: 1.3.5
|
157
143
|
signing_key:
|
158
144
|
specification_version: 3
|
159
145
|
summary: Build Web Sites/Apps/Wireframes Haml, Sass, JQuery Web
|