hecks-application 0.1.8.rc → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Version +1 -1
- data/lib/hecks-application.rb +11 -2
- metadata +36 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65aeaf1570a6e168f91c7fa3017e23e5bb1d7301
|
4
|
+
data.tar.gz: 5436edd3fb46e2a38579068f9719477b7ed5880a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dec2ffb2d399c7d49ce77b108b6436043af62da44db1ff864f9f68dc627f5226f7a058abbebf73ac684de0de77900b35933abe1d105d77acc1b9a91c28d35509
|
7
|
+
data.tar.gz: a7aefc32afe8c1f85bfed5c5363da711bf4781b46e05c6434ba05fac0248237061361e2d2260807e79b91fd9cb7afde6710396fd9f1780fc21bae1483afc4532
|
data/lib/Version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.8
|
1
|
+
0.1.8
|
data/lib/hecks-application.rb
CHANGED
@@ -2,10 +2,19 @@
|
|
2
2
|
require_relative 'commands/commands'
|
3
3
|
require_relative 'queries/queries'
|
4
4
|
|
5
|
+
if ['development', 'test'].include?(ENV['HECKS_ENVIRONMENT'])
|
6
|
+
ENV['HECKS_PATH'] = File.dirname(__FILE__) + '/../hecks/lib/hecks'
|
7
|
+
require_relative "#{File.dirname(__FILE__)}/../../hecks-domain/lib/hecks-domain"
|
8
|
+
require_relative "#{File.dirname(__FILE__)}/../../hecks-adapters/lib/hecks-adapters"
|
9
|
+
else
|
10
|
+
require 'hecks-domain'
|
11
|
+
require 'hecks-adapters'
|
12
|
+
end
|
13
|
+
|
5
14
|
module Hecks
|
6
15
|
def self.version
|
7
|
-
path = "#{File.dirname(__FILE__)}/Version"
|
8
|
-
File.read(path)
|
16
|
+
path = "#{File.dirname(__FILE__)}/Version"
|
17
|
+
File.read(path).gsub("\n", '')
|
9
18
|
end
|
10
19
|
|
11
20
|
class Application
|
metadata
CHANGED
@@ -1,16 +1,44 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hecks-application
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.8
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Young
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
12
|
-
dependencies:
|
13
|
-
|
11
|
+
date: 2017-04-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: hecks-domain
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.1.8
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.1.8
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: hecks-adapters
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.1.8
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.1.8
|
41
|
+
description: Hecks Application
|
14
42
|
email: chris@example.com
|
15
43
|
executables: []
|
16
44
|
extensions: []
|
@@ -42,13 +70,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
42
70
|
version: '0'
|
43
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
72
|
requirements:
|
45
|
-
- - "
|
73
|
+
- - ">="
|
46
74
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
75
|
+
version: '0'
|
48
76
|
requirements: []
|
49
77
|
rubyforge_project:
|
50
78
|
rubygems_version: 2.6.10
|
51
79
|
signing_key:
|
52
80
|
specification_version: 4
|
53
|
-
summary:
|
81
|
+
summary: Hecks::Application understands things and acts as an interface to Domains
|
82
|
+
built with Hecks::Domain
|
54
83
|
test_files: []
|