edango 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ === 0.5.4 / 2010-01-19
2
+
3
+ * Fixed processing of the "EDANGO_USER_BASE" environmental variable
4
+ * Fixed "hoe" specification
5
+
1
6
  === 0.5.3 / 2010-01-17
2
7
 
3
8
  * Fixed the list of dependencies
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'hoe'
6
6
  EDANGO_ROOT = File.expand_path(File.dirname(__FILE__))
7
7
  require File.expand_path(File.join(EDANGO_ROOT, 'lib', 'edango'))
8
8
 
9
- Hoe.spec EDango::UNIX_NAME do
9
+ $hoe = Hoe.spec EDango::UNIX_NAME do
10
10
  self.version = EDango::VERSION
11
11
  self.developer EDango::AUTHOR, EDango::EMAIL
12
12
  self.url = EDango::URL
@@ -15,7 +15,11 @@ Hoe.spec EDango::UNIX_NAME do
15
15
  self.post_install_message = File.read(File.expand_path(File.join(EDANGO_ROOT, 'PostInstall.txt'))) rescue ''
16
16
 
17
17
  self.extra_deps = [['sinatra', '>= 0.9.4'],
18
+ ['haml', '>= 2.2.16'],
18
19
  ['mechanize', '>= 0.9.3']]
19
20
  end
20
21
 
22
+ $hoe.spec.rdoc_options = ['--main', $hoe.readme_file, $hoe.readme_file]
23
+ $hoe.spec.extra_rdoc_files = ['History.txt']
24
+
21
25
  # vim: syntax=ruby
@@ -25,7 +25,7 @@ $LOAD_PATH.unshift(current_dir) unless $LOAD_PATH.include?(current_dir) or
25
25
  module EDango
26
26
  FULL_NAME = 'EDango'
27
27
  UNIX_NAME = 'edango'
28
- VERSION = '0.5.3'
28
+ VERSION = '0.5.4'
29
29
 
30
30
  AUTHOR = 'Toksaitov Dmitrii Alexandrovich'
31
31
 
@@ -21,8 +21,8 @@ require 'edango/di/container'
21
21
  module EDango
22
22
 
23
23
  DIRECTORIES = DI::Container.new do
24
- asset :base do
25
- File.prepare_directory(File.join('~', ".#{UNIX_NAME}"))
24
+ asset :user_base do
25
+ File.prepare_directory(USER_BASE_DIRECTORY)
26
26
  end
27
27
 
28
28
  asset :helpers do
@@ -54,11 +54,11 @@ module EDango
54
54
  end
55
55
 
56
56
  asset :tickets do
57
- File.prepare_directory(File.join(DIRECTORIES[:base], 'tickets'))
57
+ File.prepare_directory(File.join(DIRECTORIES[:user_base], 'tickets'))
58
58
  end
59
59
 
60
60
  asset :log do
61
- File.prepare_directory(File.join(DIRECTORIES[:base], 'logs'))
61
+ File.prepare_directory(File.join(DIRECTORIES[:user_base], 'logs'))
62
62
  end
63
63
  end
64
64
 
@@ -26,7 +26,7 @@ module EDango
26
26
  end
27
27
 
28
28
  asset :options do
29
- File.join(DIRECTORIES[:base], 'options.yml')
29
+ File.join(DIRECTORIES[:user_base], 'options.yml')
30
30
  end
31
31
 
32
32
  asset :helpers do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edango
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toksaitov Dmitrii Alexandrovich
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-17 00:00:00 +06:00
12
+ date: 2010-01-19 00:00:00 +06:00
13
13
  default_executable: edango
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency