checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
---
2
2
SHA256:
3
- metadata.gz: f0e8db6642cda13915c19c3f0c2ef0424523383fa3f85750ff6e4684db10d42a
4
- data.tar.gz: bbe1ab1dbbb7c11e2ad1cfc1817e5184ee64c4fb88389f19eee50dbde45d8418
3
+ metadata.gz: 64e7de6cd86bee84681381bf17cf62f9d8b56aad0b21d94ffe5557be6495ec79
4
+ data.tar.gz: ec0b0ae7d5a4cf2a052e6bc0ba322aa118fc092a623a8f0bc77160e7bb63ffba
5
5
SHA512:
6
- metadata.gz: 974d112146ac83a2b29b5a3b092cc23d7fc6bfd8b2c893d9dc82ea7f562c6c072e994bd1c18f4a2ed534d33043141f5907bfd9f4ac5c40d2feb94579004f8e35
7
- data.tar.gz: 5ebbe1e3f4c286761e857447f3f38e59bf23b6f9f132618fd63dc7dcb5d939f01b02ef077f399f754635c1c4bb2adeb48cd2bb5ad4770183627ef8158677e96d
6
+ metadata.gz: 9420c67c2e0ded23fa09820bb83b0f8056ddb2cf243b0335a39bc132cc2f04bc40a6c8c9e0f6c9f38f83d76efb7e1a209ef0bd73aa8bafc111ffdcd6ded8877d
7
+ data.tar.gz: 27f09df2b6d331b0ae7195900566cecdb4145714bf110b0ec17b7521b6274158cc8a2475c71180055ec9bb8d19923475ede339bfd462e0d53813d310aafabfe9
data/lib/iatelier.rb CHANGED
@@ -11,10 +11,11 @@ require 'hanami/assets'
11
11
# require 'rack'
12
12
13
13
require 'active_support/inflector'
14
- Dir[File.join(__dir__, 'iatelier/models/', '*.rb')].each { |file| require file }
15
- Dir[File.join(__dir__, 'iatelier/models/dimensions', '*.rb')].each { |file| require file }
16
- #require 'gem'
17
- #Gem.find_files('iatelier/models/dimensions').each {|file| require file }
14
+ # Dir[File.join(__dir__, 'iatelier/models/', '*.rb')].each { |file| require file }
15
+ # Dir[File.join(__dir__, 'iatelier/models/dimensions', '*.rb')].each { |file| require file }
16
+ require 'iatelier/models/application_record'
17
+ Gem.find_files('iatelier/models/*.rb').each {|file| require file }
18
+ Gem.find_files('iatelier/models/dimensions/*.rb').each {|file| require file }
18
19
19
20
module Iatelier
20
21
class Application < Hanami::Application
@@ -26,7 +27,7 @@ module Iatelier
26
27
# Define the root path of this application.
27
28
# All paths specified in this configuration are relative to path below.
28
29
#
29
- root __dir__
30
+ root File.dirname __dir__, 'lib/iatelier'
30
31
31
32
# Relative load paths where this application will recursively load the
32
33
# code.
data/lib/iatelier/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
module Iatelier
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.12"
3
3
end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: iatelier
3
3
version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.12
5
5
platform: ruby
6
6
authors:
7
7
- Captain Husayn Pinguin