pluto-admin 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.md ADDED
@@ -0,0 +1,3 @@
1
+ ### 0.1.0 / 2013-09-20
2
+
3
+ * Everything is new. First release.
data/Manifest.txt ADDED
@@ -0,0 +1,6 @@
1
+ History.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/pluto/admin.rb
6
+ lib/pluto/admin/version.rb
data/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # pluto.admin
2
+
3
+ planet web admin - sintara web app ready to get mounted into your web app
4
+
5
+
6
+ * home :: [github.com/rubylibs/pluto.admin](https://github.com/rubylibs/pluto.admin)
7
+ * bugs :: [github.com/rubylibs/pluto.admin/issues](https://github.com/rubylibs/pluto.admin/issues)
8
+ * gem :: [rubygems.org/gems/pluto-admin](https://rubygems.org/gems/pluto-admin)
9
+ * rdoc :: [rubydoc.info/gems/pluto-admin](http://rubydoc.info/gems/pluto-admin)
10
+
11
+
12
+ ## Usage
13
+
14
+ ### Rack
15
+
16
+ ~~~
17
+ map '/db' do
18
+ run PlutoAdmin::Server
19
+ end
20
+ ~~~
21
+
22
+ All together - `config.ru` (see `planet.live`):
23
+
24
+ ~~~
25
+ map '/' do
26
+
27
+ run Planet
28
+ map '/db' do
29
+ run PlutoAdmin::Server
30
+ end
31
+ end
32
+ ~~~
33
+
34
+
35
+ ## License
36
+
37
+ The `pluto` scripts are dedicated to the public domain.
38
+ Use it as you please with no restrictions whatsoever.
data/Rakefile ADDED
@@ -0,0 +1,32 @@
1
+ require 'hoe'
2
+ require './lib/pluto/admin/version.rb'
3
+
4
+ Hoe.spec 'pluto-admin' do
5
+
6
+ self.version = PlutoAdmin::VERSION
7
+
8
+ self.summary = 'planet web admin - sintara web app ready to get mounted into your web app'
9
+ self.description = summary
10
+
11
+ self.urls = ['https://github.com/feedreader/pluto.admin']
12
+
13
+ self.author = 'Gerald Bauer'
14
+ self.email = 'webslideshow@googlegroups.com'
15
+
16
+ # switch extension to .markdown for gihub formatting
17
+ self.readme_file = 'README.md'
18
+ self.history_file = 'History.md'
19
+
20
+ self.extra_deps = [
21
+ ['logutils', '>= 0.5']
22
+ ## todo: add pluto dep ?? why? why not?
23
+ ]
24
+
25
+ self.licenses = ['Public Domain']
26
+
27
+ self.spec_extras = {
28
+ :required_ruby_version => '>= 1.9.2'
29
+ }
30
+
31
+
32
+ end
@@ -0,0 +1,23 @@
1
+
2
+ require 'pluto'
3
+
4
+ require 'pluto/admin/version' # let it always go first
5
+
6
+
7
+ module PlutoAdmin
8
+
9
+ def self.banner
10
+ "pluto-admin #{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
11
+ end
12
+
13
+ def self.root
14
+ "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}"
15
+ end
16
+
17
+ end # module PlutoAdmin
18
+
19
+
20
+ puts PlutoAdmin.banner # say hello
21
+
22
+ puts "[boot] plut-admin root: #{PlutAdmin.root}"
23
+
@@ -0,0 +1,4 @@
1
+
2
+ module PlutoAdmin
3
+ VERSION = '0.0.1'
4
+ end
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pluto-admin
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Gerald Bauer
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-09-20 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: logutils
16
+ requirement: &80396680 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0.5'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *80396680
25
+ - !ruby/object:Gem::Dependency
26
+ name: rdoc
27
+ requirement: &80395460 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: '3.10'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *80395460
36
+ - !ruby/object:Gem::Dependency
37
+ name: hoe
38
+ requirement: &80394390 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: '3.3'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *80394390
47
+ description: planet web admin - sintara web app ready to get mounted into your web
48
+ app
49
+ email: webslideshow@googlegroups.com
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files:
53
+ - Manifest.txt
54
+ files:
55
+ - History.md
56
+ - Manifest.txt
57
+ - README.md
58
+ - Rakefile
59
+ - lib/pluto/admin.rb
60
+ - lib/pluto/admin/version.rb
61
+ homepage: https://github.com/feedreader/pluto.admin
62
+ licenses:
63
+ - Public Domain
64
+ post_install_message:
65
+ rdoc_options:
66
+ - --main
67
+ - README.md
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: 1.9.2
76
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
+ none: false
78
+ requirements:
79
+ - - ! '>='
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ requirements: []
83
+ rubyforge_project: pluto-admin
84
+ rubygems_version: 1.8.17
85
+ signing_key:
86
+ specification_version: 3
87
+ summary: planet web admin - sintara web app ready to get mounted into your web app
88
+ test_files: []