edango 0.5.3 → 0.5.4
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.
- data/History.txt +5 -0
- data/Rakefile +5 -1
- data/lib/edango.rb +1 -1
- data/lib/edango/context/directories.rb +4 -4
- data/lib/edango/context/files.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
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
|
data/lib/edango.rb
CHANGED
|
@@ -21,8 +21,8 @@ require 'edango/di/container'
|
|
|
21
21
|
module EDango
|
|
22
22
|
|
|
23
23
|
DIRECTORIES = DI::Container.new do
|
|
24
|
-
asset :
|
|
25
|
-
File.prepare_directory(
|
|
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[:
|
|
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[:
|
|
61
|
+
File.prepare_directory(File.join(DIRECTORIES[:user_base], 'logs'))
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
data/lib/edango/context/files.rb
CHANGED
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.
|
|
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-
|
|
12
|
+
date: 2010-01-19 00:00:00 +06:00
|
|
13
13
|
default_executable: edango
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|