hecks-application 0.1.2.rc → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/Version +1 -0
  3. data/lib/hecks-application.rb +6 -0
  4. metadata +23 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 649923e47eff9160cb16fd9edabaa1ac56753583
4
- data.tar.gz: 640046689b8dada584a0333e9540db470dfdc4b3
3
+ metadata.gz: '097b4017f14126b60b45a286dbb9484095018437'
4
+ data.tar.gz: 11ce2e1c6c3b924b5a7e1d287b9400c258b729c7
5
5
  SHA512:
6
- metadata.gz: 95c1698a330a5f6a4d472b0ac9fb05dd8e50fe32f23bf0b00a13cc6690a046a32c63bd701ebe995673fe80caaeda3bf7eb73a08aea78922eb8b0fdffd1575eda
7
- data.tar.gz: efec41c5fe10e57a41f4205d4094b2bc26b868a78bacfaf4b4a94c308e20bc22624843d06c794e014ccff62826957760559bb6f40557c108f8ebc2f420a82afe
6
+ metadata.gz: 4632f1863c99baa1d316c3328b53a2a71f38bf4c15c03398eacb93881b7a6580f7b2ecd461cb8a6056b3d89c4ea124cc9b7a0d4ee7cbab718cc61e57198659b5
7
+ data.tar.gz: 984da7adc28f49156ab1bd191c4dd81f886d3930f30fd5a891414a851aa4fd1164db8923df33bc91883c8e04c21c394917af16ad1c83843304016a47b969c087
data/lib/Version ADDED
@@ -0,0 +1 @@
1
+ 0.1.2
@@ -1,8 +1,14 @@
1
1
  # frozen_string_literal: true
2
2
  require_relative 'commands/commands'
3
3
  require_relative 'queries/queries'
4
+ require 'hecks-domain'
4
5
 
5
6
  module Hecks
7
+ def self.version
8
+ path = "#{File.dirname(__FILE__)}/Version"
9
+ File.read(path).gsub("\n", '')
10
+ end
11
+
6
12
  class Application
7
13
  attr_reader :database, :domain_spec, :events_port
8
14
  def initialize(database: nil, listeners: [], domain:)
metadata CHANGED
@@ -1,21 +1,36 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hecks-application
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.rc
4
+ version: 0.1.2
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-03-14 00:00:00.000000000 Z
12
- dependencies: []
13
- description: Make the Domain the center of your programming world
11
+ date: 2017-03-16 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.2
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.2
27
+ description: Hecks Application
14
28
  email: chris@example.com
15
29
  executables: []
16
30
  extensions: []
17
31
  extra_rdoc_files: []
18
32
  files:
33
+ - lib/Version
19
34
  - lib/commands/commands.rb
20
35
  - lib/commands/create.rb
21
36
  - lib/commands/crud_handler.rb
@@ -41,13 +56,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
41
56
  version: '0'
42
57
  required_rubygems_version: !ruby/object:Gem::Requirement
43
58
  requirements:
44
- - - ">"
59
+ - - ">="
45
60
  - !ruby/object:Gem::Version
46
- version: 1.3.1
61
+ version: '0'
47
62
  requirements: []
48
63
  rubyforge_project:
49
64
  rubygems_version: 2.6.10
50
65
  signing_key:
51
66
  specification_version: 4
52
- summary: DDD and Hexagonal Code Generators
67
+ summary: Hecks::Application understands things and acts as an interface to Domains
68
+ built with Hecks::Domain
53
69
  test_files: []