mercury 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Mercury.gemspec +4 -4
  2. data/README.rdoc +27 -24
  3. data/Rakefile +2 -2
  4. data/VERSION +1 -1
  5. 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.3"
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-05}
12
+ s.date = %q{2010-03-06}
13
13
  s.default_executable = %q{mercury}
14
- s.description = %q{Mercury allows you to create directory and start writting haml, html, css, etc to build wireframes for your user design.}
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{Simple Wire Frame Tool}
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
- Using textmate, haml, sass, and jquery to create slick ui designs is a great and fluid process.
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
- Mercury makes it easy to use these technologies with out have to create a web framework server, it removes that from the picture.
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
- So with mercury you use the haml, jquery, jquery-ui, with just a simple command. You don't have to know ruby, all you have to do is to run "mercury [myproject]", open the views folder and start creating .haml files.
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
- sudo gem install mercury
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 [project]
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 wire frame form
53
+ # then create a haml page
42
54
 
43
55
  touch test.haml
44
56
 
45
57
  ===
46
-
47
- %h1 Test Form
48
- %br
49
- %input{:type => 'checkbox'} Unable to assess;
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 wireframes however you want, and you never have to write a line of code, other than haml.
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{Simple Wire Frame Tool}
9
- gem.description = %Q{Mercury allows you to create directory and start writting haml, html, css, etc to build wireframes for your user design.}
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.3
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.3
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-05 00:00:00 -05:00
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 directory and start writting haml, html, css, etc to build wireframes for your user design.
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: Simple Wire Frame Tool
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