ghoul_guides 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in ghoul_guides.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,29 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ ghoul_guides (0.0.1)
5
+ georgedrummond_sinatra_helpers
6
+ haml
7
+ sass
8
+ sinatra
9
+
10
+ GEM
11
+ remote: http://rubygems.org/
12
+ specs:
13
+ georgedrummond_sinatra_helpers (0.0.7)
14
+ haml (3.1.3)
15
+ rack (1.3.5)
16
+ rack-protection (1.1.4)
17
+ rack
18
+ sass (3.1.10)
19
+ sinatra (1.3.1)
20
+ rack (~> 1.3, >= 1.3.4)
21
+ rack-protection (~> 1.1, >= 1.1.2)
22
+ tilt (~> 1.3, >= 1.3.3)
23
+ tilt (1.3.3)
24
+
25
+ PLATFORMS
26
+ ruby
27
+
28
+ DEPENDENCIES
29
+ ghoul_guides!
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 George Drummond, george@accountsapp.com
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,10 @@
1
+ # GhoulGuides
2
+
3
+ **GhoulGuides** is a [sinatra](http://www.sinatrarb.com) app/middleware that can be run standalone app or required as a gem.
4
+
5
+ ## Running standalone
6
+ Simply run the ``bundle`` and then ``rackup`` commands.
7
+
8
+ ## Bundling as a gem
9
+ gem build ghoul_guides.gemspec
10
+ sudo gem install ghoul_guides-0.0.1.gem
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
data/config.ru ADDED
@@ -0,0 +1,3 @@
1
+ require './lib/ghoul_guides/app.rb'
2
+
3
+ run GhoulGuides::Application
@@ -0,0 +1,23 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "ghoul_guides"
7
+ s.version = GhoulGuides::VERSION
8
+ s.authors = ["George Drummond"]
9
+ s.email = ["george@accountsapp.com"]
10
+ s.homepage = ""
11
+ s.summary = %q{This will be the ghoul guides}
12
+ s.description = %q{This will be the ghoul guides}
13
+
14
+ s.files = `git ls-files`.split("\n")
15
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
17
+ s.require_paths = ["lib"]
18
+
19
+ s.add_dependency "sinatra"
20
+ s.add_dependency "haml"
21
+ s.add_dependency "sass"
22
+ s.add_dependency "georgedrummond_sinatra_helpers"
23
+ end
@@ -0,0 +1,17 @@
1
+ require "sinatra"
2
+ require "haml"
3
+ require "sass"
4
+ require "georgedrummond_sinatra_helpers"
5
+
6
+ module GhoulGuides
7
+ class Application < Sinatra::Base
8
+ include GeorgeDrummond::Sinatra::Helpers
9
+
10
+ set :public_folder, File.join(File.dirname(__FILE__), 'public')
11
+ set :views, File.join(File.dirname(__FILE__), 'views')
12
+
13
+ get "/*" do
14
+ "Ghoul guides will be here"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,2 @@
1
+ require "./lib/version"
2
+ require "./lib/ghoul_guides/app.rb"
data/lib/version.rb ADDED
@@ -0,0 +1,3 @@
1
+ module GhoulGuides
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,99 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ghoul_guides
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - George Drummond
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-10-23 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: sinatra
16
+ requirement: &70202352902840 !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: *70202352902840
25
+ - !ruby/object:Gem::Dependency
26
+ name: haml
27
+ requirement: &70202352902320 !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: *70202352902320
36
+ - !ruby/object:Gem::Dependency
37
+ name: sass
38
+ requirement: &70202352901820 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *70202352901820
47
+ - !ruby/object:Gem::Dependency
48
+ name: georgedrummond_sinatra_helpers
49
+ requirement: &70202352901160 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *70202352901160
58
+ description: This will be the ghoul guides
59
+ email:
60
+ - george@accountsapp.com
61
+ executables: []
62
+ extensions: []
63
+ extra_rdoc_files: []
64
+ files:
65
+ - Gemfile
66
+ - Gemfile.lock
67
+ - LICENSE
68
+ - README.md
69
+ - Rakefile
70
+ - config.ru
71
+ - ghoul_guides.gemspec
72
+ - lib/ghoul_guides.rb
73
+ - lib/ghoul_guides/app.rb
74
+ - lib/version.rb
75
+ homepage: ''
76
+ licenses: []
77
+ post_install_message:
78
+ rdoc_options: []
79
+ require_paths:
80
+ - lib
81
+ required_ruby_version: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ required_rubygems_version: !ruby/object:Gem::Requirement
88
+ none: false
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ requirements: []
94
+ rubyforge_project:
95
+ rubygems_version: 1.8.11
96
+ signing_key:
97
+ specification_version: 3
98
+ summary: This will be the ghoul guides
99
+ test_files: []