gate 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a55abc2888e46b9345e003c22968f96278c3d0f6
4
- data.tar.gz: afa0cac795d0ed611cf439e768054e6d1d674333
3
+ metadata.gz: 846471b7a35837bf5c77b0b05678371908f7e396
4
+ data.tar.gz: 4c73630b6395728d8f402a30bb63edd10ff35a25
5
5
  SHA512:
6
- metadata.gz: 46e1efff76afae5d352120c80352f34f8a3c60ac4f4af36a0d71f657bee958de34e9c32c0337cb19421f83b83145f5261539ca6daea102e3727bf93dadacf1be
7
- data.tar.gz: ac0d2d2bafa5866d47c2b29f8ed5c43939cd5a64b388e72d6fcc357c7c0bd4c74593630417aab039a65cf6e4c9778c10ca2d271934a97ce11a1313a67885c6bb
6
+ metadata.gz: 180f36ebb806f3c35001100d8d43e00a81296cee6fcae974526401b3a025db17679db3d3c23b9007597a972ef5f9fbf9ec942c246c3c0a5d7cd7a2f5cd5526fa
7
+ data.tar.gz: d0733dc8579cadb93e47e3131d047cf53464363694c8bf751faa5c6f4898af6365501698f6b7b35dda4498c1888b8e6dbb6d44bfab965c1915f3ebeaf1d6ca6f
@@ -1,10 +1,52 @@
1
+ build_steps: &build_steps
2
+ working_directory: ~/repo
3
+ steps:
4
+ - checkout
5
+ - run: bundle install
6
+ - run: bundle exec rake
7
+
1
8
  version: 2
2
9
  jobs:
3
- build:
10
+ test_ruby-2.3:
11
+ <<: *build_steps
4
12
  docker:
5
- - image: circleci/ruby:2.5.0
13
+ - image: circleci/ruby:2.3
14
+ test_ruby-2.4:
15
+ <<: *build_steps
16
+ docker:
17
+ - image: circleci/ruby:2.4
18
+ test_ruby-2.5:
19
+ <<: *build_steps
20
+ docker:
21
+ - image: circleci/ruby:2.5
22
+ release:
23
+ docker:
24
+ - image: circleci/ruby:2.5
6
25
  steps:
26
+ - run:
27
+ name: Authenticate rubygems
28
+ command: |
29
+ mkdir "~/.gem"
30
+ echo "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}" > ~/.gem/credentials
31
+ chmod 0600 ~/.gem/credentials
7
32
  - checkout
8
- - run: gem install bundler
9
33
  - run: bundle install
10
- - run: bundle exec rake
34
+ - run: bundle exec rake release
35
+
36
+ workflows:
37
+ version: 2
38
+ test_and_release:
39
+ jobs:
40
+ - test_ruby-2.3
41
+ - test_ruby-2.4
42
+ - test_ruby-2.5
43
+ - release:
44
+ requires:
45
+ - test_ruby-2.3
46
+ - test_ruby-2.4
47
+ - test_ruby-2.5
48
+ filters:
49
+ tags:
50
+ only: /^v.*/
51
+ branches:
52
+ ignore: /.*/
@@ -1,5 +1,11 @@
1
+ require "forwardable"
2
+
1
3
  module Gate
2
4
  module Command
5
+ extend Forwardable
6
+
7
+ def_delegator :result, :to_h
8
+
3
9
  SchemaAlreadyRegistered = Class.new(StandardError)
4
10
  SchemaNotDefined = Class.new(StandardError)
5
11
 
@@ -1,3 +1,3 @@
1
1
  module Gate
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Dudulski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-16 00:00:00.000000000 Z
11
+ date: 2018-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-validation
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 2.6.14
139
+ rubygems_version: 2.6.14.1
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: CQRS Command