snap 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/bin/snap +2 -1
- metadata +8 -16
data/Rakefile
CHANGED
@@ -12,6 +12,7 @@ begin
|
|
12
12
|
gem.authors = ["Nick Stielau"]
|
13
13
|
gem.add_development_dependency "rack-test", ">= 0.5.1"
|
14
14
|
gem.add_runtime_dependency 'sinatra', '>= 0.9.4'
|
15
|
+
gem.add_runtime_dependency 'launchy', '>= 0.3.5'
|
15
16
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
17
|
end
|
17
18
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/bin/snap
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
require 'snap'
|
4
4
|
require 'optparse'
|
5
|
+
require 'launchy'
|
5
6
|
|
6
7
|
options = {}
|
7
8
|
if ARGV.any?
|
@@ -16,7 +17,7 @@ if ARGV.any?
|
|
16
17
|
end
|
17
18
|
|
18
19
|
if options[:open]
|
19
|
-
|
20
|
+
Launchy.open("http://127.0.0.1:#{options[:port] || 4567}")
|
20
21
|
end
|
21
22
|
|
22
23
|
# run!
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Stielau
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-05 00:00:00 -08:00
|
13
13
|
default_executable: snap
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -33,24 +33,14 @@ dependencies:
|
|
33
33
|
version: 0.9.4
|
34
34
|
version:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
37
|
-
type: :development
|
38
|
-
version_requirement:
|
39
|
-
version_requirements: !ruby/object:Gem::Requirement
|
40
|
-
requirements:
|
41
|
-
- - ">="
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: 0.5.1
|
44
|
-
version:
|
45
|
-
- !ruby/object:Gem::Dependency
|
46
|
-
name: sinatra
|
36
|
+
name: launchy
|
47
37
|
type: :runtime
|
48
38
|
version_requirement:
|
49
39
|
version_requirements: !ruby/object:Gem::Requirement
|
50
40
|
requirements:
|
51
41
|
- - ">="
|
52
42
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
43
|
+
version: 0.3.5
|
54
44
|
version:
|
55
45
|
description: A ultility to make HTML directory listings a snap!
|
56
46
|
email: nick.stielau@gmail.com
|
@@ -92,6 +82,8 @@ files:
|
|
92
82
|
- test/test_snap_file.rb
|
93
83
|
has_rdoc: true
|
94
84
|
homepage: http://nstielau.github.com/snap
|
85
|
+
licenses: []
|
86
|
+
|
95
87
|
post_install_message:
|
96
88
|
rdoc_options:
|
97
89
|
- --charset=UTF-8
|
@@ -112,9 +104,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
104
|
requirements: []
|
113
105
|
|
114
106
|
rubyforge_project:
|
115
|
-
rubygems_version: 1.3.
|
107
|
+
rubygems_version: 1.3.5
|
116
108
|
signing_key:
|
117
|
-
specification_version:
|
109
|
+
specification_version: 3
|
118
110
|
summary: Directory listings faster than you can say 'onomatopoeia'.
|
119
111
|
test_files:
|
120
112
|
- test/helper.rb
|