mercury 0.1.0 → 0.2.0

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.
Files changed (4) hide show
  1. data/Mercury.gemspec +1 -1
  2. data/VERSION +1 -1
  3. data/lib/mercury.rb +40 -1
  4. metadata +1 -1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mercury}
8
- s.version = "0.1.0"
8
+ s.version = "0.2.0"
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"]
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -13,4 +13,43 @@ class Mercury < Sinatra::Default
13
13
  end
14
14
  end
15
15
 
16
- end
16
+ end
17
+
18
+ __END__
19
+
20
+ @@ layout
21
+ !!!
22
+ %html{ :xmlns => "http://www.w3.org/1999/xhtml", :lang => "en", 'xml:lang' => "en" }
23
+ %head
24
+ %title Mercury
25
+ - ['reset','text','960','app'].each do |css|
26
+ %link{ :href => "/stylesheets/#{css}.css", :rel => "stylesheet", :type => "text/css", :media => "screen", :charset => "utf-8" }
27
+ %body
28
+ #header
29
+ .container_12
30
+ %small{:style => 'font-style:italic;float:right;'} WireFrame Tool
31
+ %h1{:style => 'margin:0;padding:0;'}
32
+ %a{:href => '/', :style => 'color:white;text-decoration:none;'} Mercury
33
+
34
+ #wrap
35
+ .container_16
36
+ = yield
37
+ .clear
38
+ #footer
39
+ .container_12
40
+ .grid_4.prefix_8
41
+ %p Jack Russell Software Company, LLC
42
+
43
+ - ['jquery-1.4.2.min'].each do |js|
44
+ %script{:src => "/javascripts/#{js}.js", :type => 'text/javascript'}
45
+
46
+ @@ index
47
+ .grid_16
48
+ %p Welcome
49
+
50
+ %ul
51
+ - Dir.glob('views/**/*.haml').each do |f|
52
+ - unless f =~ /index/ or f =~ /layout/
53
+ %li
54
+ %a{:href => f.gsub(/views/,'').match(/(.*).haml$/)[1]}= f.match(/\/(.*).haml$/)[1]
55
+
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.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Wilson