asdf 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ pkg/*
2
+ *.gem
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source :gemcutter
2
+
3
+ # Specify your gem's dependencies in asdf.gemspec
4
+ gemspec
@@ -0,0 +1,2 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
3
+ require 'asdf/version'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "asdf"
7
+ s.version = Asdf::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Yehuda Katz"]
10
+ s.email = ["wycats@gmail.com"]
11
+ s.homepage = "http://github.com/wycats/asdf"
12
+ s.summary = "Make the current directory available on port 9292"
13
+ s.description = "Use Rack::Directory to rackup the current directory on port 9292 for availability in a browser"
14
+
15
+ s.required_rubygems_version = ">= 1.3.6"
16
+ s.rubyforge_project = "asdf"
17
+
18
+ s.add_runtime_dependency "rack", "~> 1.2.1"
19
+ s.add_development_dependency "bundler", ">= 1.0.0.rc.5"
20
+
21
+ s.files = `git ls-files`.split("\n")
22
+ s.executables = `git ls-files`.split("\n").map { |f| p f; f[%r{^bin/(.*)}, 1] }.compact
23
+ s.require_path = 'lib'
24
+ end
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "asdf"
4
+ Asdf::Server.new.start
@@ -0,0 +1,11 @@
1
+ require "rack"
2
+ require "asdf/version"
3
+
4
+ module Asdf
5
+ class Server < ::Rack::Server
6
+ def app
7
+ Rack::Directory.new(Dir.pwd)
8
+ end
9
+ end
10
+ end
11
+
@@ -0,0 +1,3 @@
1
+ module Asdf
2
+ VERSION = "0.5.0"
3
+ end
metadata ADDED
@@ -0,0 +1,109 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: asdf
3
+ version: !ruby/object:Gem::Version
4
+ hash: 11
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 5
9
+ - 0
10
+ version: 0.5.0
11
+ platform: ruby
12
+ authors:
13
+ - Yehuda Katz
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-08-16 00:00:00 -07:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rack
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ hash: 29
30
+ segments:
31
+ - 1
32
+ - 2
33
+ - 1
34
+ version: 1.2.1
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: bundler
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 15424063
46
+ segments:
47
+ - 1
48
+ - 0
49
+ - 0
50
+ - rc
51
+ - 5
52
+ version: 1.0.0.rc.5
53
+ type: :development
54
+ version_requirements: *id002
55
+ description: Use Rack::Directory to rackup the current directory on port 9292 for availability in a browser
56
+ email:
57
+ - wycats@gmail.com
58
+ executables:
59
+ - asdf
60
+ extensions: []
61
+
62
+ extra_rdoc_files: []
63
+
64
+ files:
65
+ - .gitignore
66
+ - Gemfile
67
+ - Rakefile
68
+ - asdf.gemspec
69
+ - bin/asdf
70
+ - lib/asdf.rb
71
+ - lib/asdf/version.rb
72
+ has_rdoc: true
73
+ homepage: http://github.com/wycats/asdf
74
+ licenses: []
75
+
76
+ post_install_message:
77
+ rdoc_options: []
78
+
79
+ require_paths:
80
+ - lib
81
+ required_ruby_version: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ hash: 3
87
+ segments:
88
+ - 0
89
+ version: "0"
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ none: false
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ hash: 23
96
+ segments:
97
+ - 1
98
+ - 3
99
+ - 6
100
+ version: 1.3.6
101
+ requirements: []
102
+
103
+ rubyforge_project: asdf
104
+ rubygems_version: 1.3.7
105
+ signing_key:
106
+ specification_version: 3
107
+ summary: Make the current directory available on port 9292
108
+ test_files: []
109
+