daftos 0.3.0 → 0.4.0
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/README.rdoc +8 -1
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/bin/{daftos → daft} +1 -0
- data/daftos.gemspec +4 -4
- data/lib/apps/filebrowser/coffee/filebrowser.coffee +4 -1
- data/lib/daftos.rb +1 -3
- metadata +16 -15
data/README.rdoc
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
= daftos
|
2
2
|
|
3
|
-
|
3
|
+
Daftos is a server running HTML5 application, providing them your local filesystem via API.
|
4
|
+
|
5
|
+
==Installation
|
6
|
+
|
7
|
+
* Download ruby version >= 1.9.0
|
8
|
+
* gem install daftos
|
9
|
+
* daft start
|
10
|
+
* point your browser at http://localhost:9999
|
4
11
|
|
5
12
|
== Contributing to daftos
|
6
13
|
|
data/Rakefile
CHANGED
@@ -18,10 +18,10 @@ Jeweler::Tasks.new do |gem|
|
|
18
18
|
gem.homepage = "http://github.com/hypertornado/daftos"
|
19
19
|
gem.license = "MIT"
|
20
20
|
gem.summary = "OS in your browser"
|
21
|
-
gem.description = "
|
21
|
+
gem.description = "Daftos is a server running HTML5 application, providing them your local filesystem via API."
|
22
22
|
gem.email = "hypertornado@gmail.com"
|
23
23
|
gem.authors = ["Ondrej Odchazel"]
|
24
|
-
gem.executables = ['
|
24
|
+
gem.executables = ['daft']
|
25
25
|
# dependencies defined in Gemfile
|
26
26
|
end
|
27
27
|
Jeweler::RubygemsDotOrgTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
data/bin/{daftos → daft}
RENAMED
data/daftos.gemspec
CHANGED
@@ -5,14 +5,14 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "daftos"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.4.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ondrej Odchazel"]
|
12
12
|
s.date = "2012-05-03"
|
13
|
-
s.description = "
|
13
|
+
s.description = "Daftos is a server running HTML5 application, providing them your local filesystem via API."
|
14
14
|
s.email = "hypertornado@gmail.com"
|
15
|
-
s.executables = ["
|
15
|
+
s.executables = ["daft"]
|
16
16
|
s.extra_rdoc_files = [
|
17
17
|
"LICENSE.txt",
|
18
18
|
"README.rdoc"
|
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
"README.rdoc",
|
27
27
|
"Rakefile",
|
28
28
|
"VERSION",
|
29
|
-
"bin/
|
29
|
+
"bin/daft",
|
30
30
|
"daftos.gemspec",
|
31
31
|
"lib/.DS_Store",
|
32
32
|
"lib/apis/.DS_Store",
|
@@ -13,7 +13,10 @@ class FileBrowser
|
|
13
13
|
hashchange: =>
|
14
14
|
location = window.location.hash
|
15
15
|
location = location.slice(1,location.length)
|
16
|
-
|
16
|
+
if location.length > 0
|
17
|
+
@load_dir(location)
|
18
|
+
else
|
19
|
+
@load_dir('/')
|
17
20
|
|
18
21
|
load_dir: (path) =>
|
19
22
|
$('#file-list').html("")
|
data/lib/daftos.rb
CHANGED
@@ -18,7 +18,7 @@ class Daftos
|
|
18
18
|
map('/api/apps'){ run AppsAPI }
|
19
19
|
map('/'){ run Server }
|
20
20
|
end
|
21
|
-
Rack::Handler::Thin.run builder, :Port => 9999
|
21
|
+
Rack::Handler::Thin.run builder, :Port => 9999, :Host => "0.0.0.0"
|
22
22
|
|
23
23
|
end
|
24
24
|
end
|
@@ -30,6 +30,4 @@ class Daftos
|
|
30
30
|
|
31
31
|
end
|
32
32
|
|
33
|
-
Daftos.start()
|
34
|
-
|
35
33
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: daftos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-05-03 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: shoulda
|
16
|
-
requirement: &
|
16
|
+
requirement: &2177518580 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2177518580
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rdoc
|
27
|
-
requirement: &
|
27
|
+
requirement: &2177517980 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '3.12'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2177517980
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: bundler
|
38
|
-
requirement: &
|
38
|
+
requirement: &2177517380 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 1.0.0
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2177517380
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: jeweler
|
49
|
-
requirement: &
|
49
|
+
requirement: &2177516780 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 1.8.3
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2177516780
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: ptools
|
60
|
-
requirement: &
|
60
|
+
requirement: &2177516140 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,11 +65,12 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
69
|
-
description:
|
68
|
+
version_requirements: *2177516140
|
69
|
+
description: Daftos is a server running HTML5 application, providing them your local
|
70
|
+
filesystem via API.
|
70
71
|
email: hypertornado@gmail.com
|
71
72
|
executables:
|
72
|
-
-
|
73
|
+
- daft
|
73
74
|
extensions: []
|
74
75
|
extra_rdoc_files:
|
75
76
|
- LICENSE.txt
|
@@ -83,7 +84,7 @@ files:
|
|
83
84
|
- README.rdoc
|
84
85
|
- Rakefile
|
85
86
|
- VERSION
|
86
|
-
- bin/
|
87
|
+
- bin/daft
|
87
88
|
- daftos.gemspec
|
88
89
|
- lib/.DS_Store
|
89
90
|
- lib/apis/.DS_Store
|
@@ -418,7 +419,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
418
419
|
version: '0'
|
419
420
|
segments:
|
420
421
|
- 0
|
421
|
-
hash: -
|
422
|
+
hash: -4317224152375089677
|
422
423
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
423
424
|
none: false
|
424
425
|
requirements:
|