lokka-hello_app 0.0.1

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/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in lokka-hello_app.gemspec
4
+ gemspec
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1 @@
1
+ require 'lokka/hello_app'
@@ -0,0 +1,14 @@
1
+ require 'sinatra/base'
2
+ require 'haml'
3
+
4
+ module Lokka
5
+ class HelloApp < Sinatra::Base
6
+ set :root, File.expand_path('../../..', __FILE__)
7
+
8
+ get '/admin/plugins/hello_app' do
9
+ haml :index
10
+ end
11
+
12
+ run! if app_file == $0
13
+ end
14
+ end
@@ -0,0 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+
4
+ Gem::Specification.new do |s|
5
+ s.name = "lokka-hello_app"
6
+ s.version = '0.0.1'
7
+ s.authors = ["Masaki Komagata"]
8
+ s.email = ["komagata@gmail.com"]
9
+ s.homepage = "http://lokka.org"
10
+ s.summary = %q{Lokka App style plugin sample}
11
+ s.description = %q{Lokka App style plugin sample}
12
+
13
+ s.rubyforge_project = "lokka-hello_app"
14
+
15
+ s.files = `git ls-files`.split("\n")
16
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
+ s.require_paths = ["lib"]
19
+
20
+ # specify any dependencies here; for example:
21
+ # s.add_development_dependency "rspec"
22
+ s.add_runtime_dependency "sinatra"
23
+ s.add_runtime_dependency "haml"
24
+ end
data/views/index.haml ADDED
@@ -0,0 +1 @@
1
+ %h1 Hello App!
metadata ADDED
@@ -0,0 +1,75 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lokka-hello_app
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Masaki Komagata
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-02-15 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sinatra
16
+ requirement: &70201476422480 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70201476422480
25
+ - !ruby/object:Gem::Dependency
26
+ name: haml
27
+ requirement: &70201476421520 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70201476421520
36
+ description: Lokka App style plugin sample
37
+ email:
38
+ - komagata@gmail.com
39
+ executables: []
40
+ extensions: []
41
+ extra_rdoc_files: []
42
+ files:
43
+ - .gitignore
44
+ - Gemfile
45
+ - Rakefile
46
+ - lib/lokka-hello_app.rb
47
+ - lib/lokka/hello_app.rb
48
+ - lokka-hello_app.gemspec
49
+ - views/index.haml
50
+ homepage: http://lokka.org
51
+ licenses: []
52
+ post_install_message:
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ requirements: []
69
+ rubyforge_project: lokka-hello_app
70
+ rubygems_version: 1.8.10
71
+ signing_key:
72
+ specification_version: 3
73
+ summary: Lokka App style plugin sample
74
+ test_files: []
75
+ has_rdoc: