melodiest 0.0.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.
- checksums.yaml +7 -0
- data/lib/melodiest.rb +25 -0
- metadata +44 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 93c66c8871e89bc8303f476b924871bd9aaf8343
|
4
|
+
data.tar.gz: b4064d1179b4b64c2c52682c087117acb367c55f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0a9fa292079989c7629e68b7bc3d124925e377cd58f8773727736827603bc17f3fa23a3dd0482be5a3d1939191da9b0ec7e80c5d06225f43f93f009731ee4636
|
7
|
+
data.tar.gz: 2ad9868036531b474a5c9c64287aaf9db0f508208d18fd765a7620eadd481d13c2fc231952c91ad8c303b6fc61ee67e923bd5592d96434adb80f70aa2f8402c1
|
data/lib/melodiest.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'sinatra'
|
2
|
+
|
3
|
+
module Melodiest
|
4
|
+
module Config
|
5
|
+
def harmonize(&block)
|
6
|
+
yield if block
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
class Base < Sinatra::Base
|
11
|
+
extend Config
|
12
|
+
|
13
|
+
configure do
|
14
|
+
harmonize
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
class Application < Sinatra::Application
|
19
|
+
extend Config
|
20
|
+
|
21
|
+
configure do
|
22
|
+
harmonize
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: melodiest
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kunto Aji Kristianto
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-12-20 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Sinatra configuration boilerpalte
|
14
|
+
email: kunto.aji.kr@slackware-id.org
|
15
|
+
executables: []
|
16
|
+
extensions: []
|
17
|
+
extra_rdoc_files: []
|
18
|
+
files:
|
19
|
+
- lib/melodiest.rb
|
20
|
+
homepage: http://github.com/kuntoaji/melodiest
|
21
|
+
licenses:
|
22
|
+
- MIT
|
23
|
+
metadata: {}
|
24
|
+
post_install_message:
|
25
|
+
rdoc_options: []
|
26
|
+
require_paths:
|
27
|
+
- lib
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ">="
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
requirements: []
|
39
|
+
rubyforge_project:
|
40
|
+
rubygems_version: 2.2.2
|
41
|
+
signing_key:
|
42
|
+
specification_version: 4
|
43
|
+
summary: Sinatra configuration boilerplate
|
44
|
+
test_files: []
|