adsf 1.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/NEWS.rdoc +4 -0
  2. data/Rakefile +12 -2
  3. data/lib/adsf.rb +1 -1
  4. metadata +31 -10
  5. data/lib/adsf/package.rb +0 -52
data/NEWS.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  = adsf News
2
2
 
3
+ == 1.0.1
4
+
5
+ * Added runtime dependency on Rack
6
+
3
7
  == 1.0
4
8
 
5
9
  * Initial release
data/Rakefile CHANGED
@@ -2,5 +2,15 @@
2
2
  $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/lib'))
3
3
  require 'adsf'
4
4
 
5
- # Load tasks
6
- Dir.glob('tasks/**/*.rake').each { |r| Rake.application.add_import r }
5
+ desc 'Run all tests'
6
+ task :test do
7
+ $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/..'))
8
+
9
+ require 'minitest/unit'
10
+ MiniTest::Unit.autorun
11
+
12
+ test_files = Dir["test/**/test_*.rb"]
13
+ test_files.each { |f| require f }
14
+ end
15
+
16
+ task :default => :test
@@ -1,6 +1,6 @@
1
1
  module Adsf
2
2
 
3
- VERSION = '1.0'
3
+ VERSION = '1.0.1'
4
4
 
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adsf
3
3
  version: !ruby/object:Gem::Version
4
- version: "1.0"
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 0
8
+ - 1
9
+ version: 1.0.1
5
10
  platform: ruby
6
11
  authors:
7
12
  - Denis Defreyne
@@ -9,10 +14,23 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2009-05-29 00:00:00 +02:00
17
+ date: 2010-04-05 00:00:00 +02:00
13
18
  default_executable:
14
- dependencies: []
15
-
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: rack
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 0
30
+ - 0
31
+ version: 1.0.0
32
+ type: :runtime
33
+ version_requirements: *id001
16
34
  description: a tiny static file server
17
35
  email: denis.defreyne@stoneship.org
18
36
  executables:
@@ -28,12 +46,11 @@ files:
28
46
  - Rakefile
29
47
  - README.rdoc
30
48
  - bin/adsf
31
- - lib/adsf/package.rb
32
49
  - lib/adsf/rack/index_file_finder.rb
33
50
  - lib/adsf/rack.rb
34
51
  - lib/adsf.rb
35
- has_rdoc: true
36
- homepage: http://adsf.stoneship.org/
52
+ has_rdoc: false
53
+ homepage: http://stoneship.org/software/adsf/
37
54
  licenses: []
38
55
 
39
56
  post_install_message:
@@ -45,18 +62,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
45
62
  requirements:
46
63
  - - ">="
47
64
  - !ruby/object:Gem::Version
65
+ segments:
66
+ - 1
67
+ - 8
68
+ - 5
48
69
  version: 1.8.5
49
- version:
50
70
  required_rubygems_version: !ruby/object:Gem::Requirement
51
71
  requirements:
52
72
  - - ">="
53
73
  - !ruby/object:Gem::Version
74
+ segments:
75
+ - 0
54
76
  version: "0"
55
- version:
56
77
  requirements: []
57
78
 
58
79
  rubyforge_project: adsf
59
- rubygems_version: 1.3.3
80
+ rubygems_version: 1.3.6
60
81
  signing_key:
61
82
  specification_version: 3
62
83
  summary: a tiny static file server
@@ -1,52 +0,0 @@
1
- require 'singleton'
2
-
3
- module Adsf
4
-
5
- # Adsf::Package is a singleton that contains metadata about the adsf
6
- # project, which is used for packaging releases.
7
- class Package
8
-
9
- include Singleton
10
-
11
- # The name of the application.
12
- def name
13
- 'adsf'
14
- end
15
-
16
- # The files to include in the package. This is also the list of files that
17
- # will be included in the documentation (with the exception of the files
18
- # in undocumented_files).
19
- def files
20
- @files ||= (%w( ChangeLog LICENSE NEWS.rdoc Rakefile README.rdoc ) +
21
- Dir['bin/**/*'] +
22
- Dir['lib/**/*']).reject { |f| File.directory?(f) }
23
- end
24
-
25
- # The Gem::Specification used for packaging.
26
- def gem_spec
27
- @gem_spec ||= Gem::Specification.new do |s|
28
- s.name = self.name
29
- s.version = Adsf::VERSION
30
- s.platform = Gem::Platform::RUBY
31
- s.summary = 'a tiny static file server'
32
- s.description = s.summary
33
- s.homepage = 'http://adsf.stoneship.org/'
34
- s.rubyforge_project = 'adsf'
35
-
36
- s.author = 'Denis Defreyne'
37
- s.email = 'denis.defreyne@stoneship.org'
38
-
39
- s.required_ruby_version = '>= 1.8.5'
40
-
41
- s.has_rdoc = false
42
-
43
- s.files = self.files
44
- s.executables = [ 'adsf' ]
45
- s.require_path = 'lib'
46
- s.bindir = 'bin'
47
- end
48
- end
49
-
50
- end
51
-
52
- end