mercury 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Mercury.gemspec +4 -4
- data/README.rdoc +27 -24
- data/Rakefile +2 -2
- data/VERSION +1 -1
- metadata +4 -4
data/Mercury.gemspec
CHANGED
@@ -5,13 +5,13 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{mercury}
|
8
|
-
s.version = "0.7.
|
8
|
+
s.version = "0.7.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Tom Wilson"]
|
12
|
-
s.date = %q{2010-03-
|
12
|
+
s.date = %q{2010-03-06}
|
13
13
|
s.default_executable = %q{mercury}
|
14
|
-
s.description = %q{Mercury allows you to create
|
14
|
+
s.description = %q{Mercury allows you to create web sites/apps/mockups using haml, sass, and jquery.}
|
15
15
|
s.email = %q{thing2@jackhq.com}
|
16
16
|
s.executables = ["mercury"]
|
17
17
|
s.extra_rdoc_files = [
|
@@ -61,7 +61,7 @@ Gem::Specification.new do |s|
|
|
61
61
|
s.rdoc_options = ["--charset=UTF-8"]
|
62
62
|
s.require_paths = ["lib"]
|
63
63
|
s.rubygems_version = %q{1.3.5}
|
64
|
-
s.summary = %q{
|
64
|
+
s.summary = %q{Build Web Sites/Apps/Wireframes Haml, Sass, JQuery Web}
|
65
65
|
s.test_files = [
|
66
66
|
"spec/mercury_spec.rb",
|
67
67
|
"spec/spec_helper.rb"
|
data/README.rdoc
CHANGED
@@ -13,54 +13,57 @@ Mercury is a prototype builder:
|
|
13
13
|
|
14
14
|
== Why
|
15
15
|
|
16
|
-
|
16
|
+
We love using haml, sass and jquery in complex applications, but wanted a simple way to utilize these tools for web sites, simple or nosql applications, and wireframes. Mercury gives us the power to create quick projects without having to setup a rails or sinatra app or write any code to get started.
|
17
17
|
|
18
|
-
|
18
|
+
Simply type:
|
19
|
+
|
20
|
+
mercury {your project name}
|
21
|
+
|
22
|
+
And you are ready to start writing haml, sass, and jquery. No configuration or setup, just start creating.
|
23
|
+
|
24
|
+
To run a mercury app:
|
19
25
|
|
20
|
-
|
26
|
+
cd into your project folder and type:
|
27
|
+
|
28
|
+
mercury
|
29
|
+
|
30
|
+
Keeping it this simple allows users that are not super familiar with ruby technologies to use haml and sass.
|
21
31
|
|
22
32
|
== Install
|
23
33
|
|
24
|
-
|
34
|
+
gem install mercury
|
25
35
|
|
26
36
|
|
27
37
|
== Create a mercury project
|
28
38
|
|
29
39
|
# Create a new folder for your project
|
30
40
|
|
31
|
-
mercury
|
41
|
+
mercury {project}
|
32
42
|
|
33
43
|
# Create your haml files
|
34
44
|
|
45
|
+
cd {project}
|
46
|
+
|
35
47
|
cd views
|
36
48
|
|
37
49
|
touch test.haml
|
38
50
|
|
39
51
|
===
|
40
52
|
|
41
|
-
# then create a
|
53
|
+
# then create a haml page
|
42
54
|
|
43
55
|
touch test.haml
|
44
56
|
|
45
57
|
===
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
%
|
50
|
-
reason
|
51
|
-
%input{:type => 'text', :style => 'width:240px;'}
|
52
|
-
%hr
|
53
|
-
%table
|
54
|
-
%tr
|
55
|
-
%td{:style => 'vertical-align:top;'} Psychiatric
|
56
|
-
%td
|
57
|
-
%textarea{:style => 'height:40px; width:490px'}
|
58
|
-
%tr
|
59
|
-
%td{:style => 'vertical-align:top;'}
|
60
|
-
Medical
|
61
|
-
%td
|
62
|
-
%textarea{:style => 'height:40px; width:490px'}
|
58
|
+
#header
|
59
|
+
%h1 Widget
|
60
|
+
|
61
|
+
%h1 Welcome to Mercury
|
63
62
|
|
63
|
+
%p
|
64
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit sapien, ultricies id pulvinar euismod, pharetra accumsan nisl. Phasellus at ante neque, ut gravida massa. Mauris dapibus dolor nec nibh pellentesque cursus. Nullam quis mauris sed augue tempus cursus at vel purus. Cras suscipit augue eget leo tincidunt tempus. Curabitur imperdiet risus et diam vestibulum dictum. Sed id erat quis tellus consectetur tristique sit amet ut orci. Phasellus malesuada dui sit amet tortor tincidunt quis molestie justo elementum. In hac habitasse platea dictumst. Suspendisse pharetra facilisis dolor ut tincidunt. Donec rhoncus viverra sem, eu lobortis eros facilisis eu. Nam fringilla vehicula diam gravida consectetur. Donec tincidunt, diam sed pharetra accumsan, urna quam malesuada nibh, id malesuada mauris est vel mauris. Proin lacus magna, facilisis vel pulvinar sed, suscipit malesuada metus. Nam semper mattis pharetra. Quisque et mattis eros.
|
65
|
+
|
66
|
+
|
64
67
|
===Run Server
|
65
68
|
|
66
69
|
# cd back to the root directory
|
@@ -75,7 +78,7 @@ So with mercury you use the haml, jquery, jquery-ui, with just a simple command.
|
|
75
78
|
|
76
79
|
And you should see you index page with a link to your test.haml form
|
77
80
|
|
78
|
-
You can create more haml documents, and you can create subfolders and organize your
|
81
|
+
You can create more haml documents, and you can create subfolders and organize your pages however you want, and you never have to write a line of code, other than haml.
|
79
82
|
|
80
83
|
===Using Sass
|
81
84
|
|
data/Rakefile
CHANGED
@@ -5,8 +5,8 @@ begin
|
|
5
5
|
require 'jeweler'
|
6
6
|
Jeweler::Tasks.new do |gem|
|
7
7
|
gem.name = "mercury"
|
8
|
-
gem.summary = %Q{
|
9
|
-
gem.description = %Q{Mercury allows you to create
|
8
|
+
gem.summary = %Q{Build Web Sites/Apps/Wireframes Haml, Sass, JQuery Web }
|
9
|
+
gem.description = %Q{Mercury allows you to create web sites/apps/mockups using haml, sass, and jquery.}
|
10
10
|
gem.email = "thing2@jackhq.com"
|
11
11
|
gem.homepage = "http://github.com/jackhq/mercury"
|
12
12
|
gem.authors = ["Tom Wilson"]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.4
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mercury
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Wilson
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-03-
|
12
|
+
date: 2010-03-06 00:00:00 -05:00
|
13
13
|
default_executable: mercury
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: "0"
|
44
44
|
version:
|
45
|
-
description: Mercury allows you to create
|
45
|
+
description: Mercury allows you to create web sites/apps/mockups using haml, sass, and jquery.
|
46
46
|
email: thing2@jackhq.com
|
47
47
|
executables:
|
48
48
|
- mercury
|
@@ -116,7 +116,7 @@ rubyforge_project:
|
|
116
116
|
rubygems_version: 1.3.5
|
117
117
|
signing_key:
|
118
118
|
specification_version: 3
|
119
|
-
summary:
|
119
|
+
summary: Build Web Sites/Apps/Wireframes Haml, Sass, JQuery Web
|
120
120
|
test_files:
|
121
121
|
- spec/mercury_spec.rb
|
122
122
|
- spec/spec_helper.rb
|