halfling 0.0.11 → 0.0.12
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 +5 -5
- data/lib/halfling/base.rb +2 -2
- data/lib/halfling/version.rb +1 -1
- metadata +3 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bb2a8cc5cac3f1e57d3cd7f837462060165059730803da6a311f5b7d914286f2
|
4
|
+
data.tar.gz: f5610e1f0d2f5fcb102d1eb33847e9203c494ebfc301157ef330a6a180006169
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d08cf5e8c4ba7db1e278e7989fe379db4aa7ca8de00519a7ba95fa82ef925fc09da2e0a78fe0aa8704842af1d8b60f0c8e2d84cf249ccda41b3553fed7f1bbdd
|
7
|
+
data.tar.gz: 4a0ccb2f66ab84f557ec604d8c053462438b53d77a77956396d3915de27a0d2b149ec39d8ea36c551446584745c7c1ec2345bd35c8f7b36f1c1eb4ff0181eb2a
|
data/lib/halfling/base.rb
CHANGED
@@ -18,8 +18,8 @@ module Hobbit
|
|
18
18
|
def inherited(sub)
|
19
19
|
if sub.superclass == Base
|
20
20
|
#config stuff
|
21
|
-
if File.
|
22
|
-
all_conf=YAML.
|
21
|
+
if File.exist?('config/env.yml')
|
22
|
+
all_conf=YAML.unsafe_load_file 'config/env.yml'
|
23
23
|
conf=all_conf[ENV['RACK_ENV']]
|
24
24
|
@@templates={}
|
25
25
|
@@config=conf
|
data/lib/halfling/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: halfling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leo P.
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: hobbit
|
@@ -171,7 +170,6 @@ licenses:
|
|
171
170
|
- MIT
|
172
171
|
metadata:
|
173
172
|
allowed_push_host: https://rubygems.org
|
174
|
-
post_install_message:
|
175
173
|
rdoc_options: []
|
176
174
|
require_paths:
|
177
175
|
- lib
|
@@ -186,9 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
186
184
|
- !ruby/object:Gem::Version
|
187
185
|
version: '0'
|
188
186
|
requirements: []
|
189
|
-
|
190
|
-
rubygems_version: 2.6.8
|
191
|
-
signing_key:
|
187
|
+
rubygems_version: 3.6.9
|
192
188
|
specification_version: 4
|
193
189
|
summary: Halfling - a Hobbit with some Railsy structure
|
194
190
|
test_files: []
|