hecks-application 0.1.6 → 0.1.7.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hecks-application.rb +0 -14
- metadata +7 -37
- data/lib/Version +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdc91afa1e089eaf23402656504311b7187b0fc4
|
4
|
+
data.tar.gz: d73997d67302658edbc131020aab2227860998b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e25e37c4166e385174c21dee389a1c9d184484609462556263b6e140ca7e0782e2c050137c32bb545b0e9205bc8388c9e36ab020ac7bb83418b9444e9e3a848a
|
7
|
+
data.tar.gz: 5837c89ddbb66f282b2860c7e5a0d920c828a4badc9196d970e7a7709d8ec0554af3baa846467a0fb48473ebf8f0b98185dda73189b82200a045701124c7ca37
|
data/lib/hecks-application.rb
CHANGED
@@ -2,21 +2,7 @@
|
|
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
|
-
|
14
5
|
module Hecks
|
15
|
-
def self.version
|
16
|
-
path = "#{File.dirname(__FILE__)}/Version"
|
17
|
-
File.read(path).gsub("\n", '')
|
18
|
-
end
|
19
|
-
|
20
6
|
class Application
|
21
7
|
attr_reader :database, :domain_spec, :events_port
|
22
8
|
def initialize(database: nil, listeners: [], domain:)
|
metadata
CHANGED
@@ -1,50 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hecks-application
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7.rc
|
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
|
-
|
14
|
-
name: hecks-domain
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - '='
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.6
|
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.6
|
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.6
|
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.6
|
41
|
-
description: Hecks Application
|
11
|
+
date: 2017-03-14 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Make the Domain the center of your programming world
|
42
14
|
email: chris@example.com
|
43
15
|
executables: []
|
44
16
|
extensions: []
|
45
17
|
extra_rdoc_files: []
|
46
18
|
files:
|
47
|
-
- lib/Version
|
48
19
|
- lib/commands/commands.rb
|
49
20
|
- lib/commands/create.rb
|
50
21
|
- lib/commands/crud_handler.rb
|
@@ -70,14 +41,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
70
41
|
version: '0'
|
71
42
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
43
|
requirements:
|
73
|
-
- - "
|
44
|
+
- - ">"
|
74
45
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
46
|
+
version: 1.3.1
|
76
47
|
requirements: []
|
77
48
|
rubyforge_project:
|
78
49
|
rubygems_version: 2.6.10
|
79
50
|
signing_key:
|
80
51
|
specification_version: 4
|
81
|
-
summary:
|
82
|
-
built with Hecks::Domain
|
52
|
+
summary: DDD and Hexagonal Code Generators
|
83
53
|
test_files: []
|
data/lib/Version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.1.6
|