mercury 0.2.4 → 0.4.1

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 +4 -1
  2. data/VERSION +1 -1
  3. data/bin/mercury +18 -0
  4. metadata +5 -4
data/Mercury.gemspec CHANGED
@@ -5,13 +5,15 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mercury}
8
- s.version = "0.2.4"
8
+ s.version = "0.4.1"
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
12
  s.date = %q{2010-02-26}
13
+ s.default_executable = %q{mercury}
13
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
15
  s.email = %q{thing2@jackhq.com}
16
+ s.executables = ["mercury"]
15
17
  s.extra_rdoc_files = [
16
18
  "LICENSE",
17
19
  "README.rdoc"
@@ -24,6 +26,7 @@ Gem::Specification.new do |s|
24
26
  "README.rdoc",
25
27
  "Rakefile",
26
28
  "VERSION",
29
+ "bin/mercury",
27
30
  "lib/mercury.rb",
28
31
  "lib/public/favicon.ico",
29
32
  "lib/public/javascripts/jquery-1.4.2.min.js",
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.4
1
+ 0.4.1
data/bin/mercury ADDED
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'rubygems'
4
+ require 'fileutils'
5
+
6
+ version = ">= 0"
7
+
8
+ if ARGV.first
9
+ # Build Directory and add setup files
10
+ FileUtils.mkdir_p ARGV.first
11
+ FileUtils.mkdir_p ARGV.first + '/views'
12
+ File.open(ARGV.first + '/config.ru','w').write("require 'mercury'\nrun Mercury\n")
13
+
14
+ else
15
+ # try to run in current directory
16
+ gem 'rack', version
17
+ load Gem.bin_path('rack', 'rackup', version)
18
+ end
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.2.4
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Wilson
@@ -10,7 +10,7 @@ bindir: bin
10
10
  cert_chain: []
11
11
 
12
12
  date: 2010-02-26 00:00:00 -05:00
13
- default_executable:
13
+ default_executable: mercury
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sinatra
@@ -34,8 +34,8 @@ dependencies:
34
34
  version:
35
35
  description: Mercury allows you to create directory and start writting haml, html, css, etc to build wireframes for your user design.
36
36
  email: thing2@jackhq.com
37
- executables: []
38
-
37
+ executables:
38
+ - mercury
39
39
  extensions: []
40
40
 
41
41
  extra_rdoc_files:
@@ -49,6 +49,7 @@ files:
49
49
  - README.rdoc
50
50
  - Rakefile
51
51
  - VERSION
52
+ - bin/mercury
52
53
  - lib/mercury.rb
53
54
  - lib/public/favicon.ico
54
55
  - lib/public/javascripts/jquery-1.4.2.min.js