evt-command_line-component_generator 1.0.1.0 → 2.0.1.4
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c0aef2b4365d75efac929d884575ce8876415207ac346f956ccc079ba134201
|
4
|
+
data.tar.gz: ca7d5046235a046b364a0e2c58d4bbeb64f50d9b44928c1e60a9479126ec2eaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47d633dacb9a97a977707b6a417ba8473ba4ad47cd6525ea3469e774e1026475a26b4df87339932fc0603abc2d278420d6bf285dd30b4bf1fcf7689d3a111e34
|
7
|
+
data.tar.gz: d9255a9e0abd18a03fa061d62dd9df8b108a83cf7449f846c35d7ad9b4dc58f149469fac8d624a21a7309337c8015b76c45fb938db84e549f731da9a964d7777
|
@@ -9,7 +9,7 @@ module <%= component_constant_name %>
|
|
9
9
|
include Log::Dependency
|
10
10
|
# TODO include Messages::Commands once commands are implemented
|
11
11
|
# include Messages::Commands
|
12
|
-
# TODO include Messages::Events once
|
12
|
+
# TODO include Messages::Events once events are implemented
|
13
13
|
# include Messages::Events
|
14
14
|
|
15
15
|
dependency :write, Messaging::Postgres::Write
|
@@ -1,3 +1,6 @@
|
|
1
|
+
# This test is for example purposes. You may remove it once it has served its purpose.
|
2
|
+
# More on the TestBench test framework for Ruby: https://github.com/ntl/test-bench/blob/master/README.adoc
|
3
|
+
|
1
4
|
require_relative './automated_init'
|
2
5
|
|
3
6
|
context "Database Connection" do
|
@@ -6,8 +9,10 @@ context "Database Connection" do
|
|
6
9
|
refute(session.connected?)
|
7
10
|
|
8
11
|
test "Connects on first use" do
|
9
|
-
|
10
|
-
|
12
|
+
refute_raises do
|
13
|
+
session.execute('SELECT 1;')
|
11
14
|
end
|
12
15
|
end
|
16
|
+
|
17
|
+
comment "This test is for example purposes. You may remove it once it has served its purpose."
|
13
18
|
end
|
data/source/test/automated.rb
CHANGED
@@ -1,8 +1,5 @@
|
|
1
|
-
|
1
|
+
ENV['TEST_BENCH_EXCLUDE_FILE_PATTERN'] ||= '/_|sketch|(_init\.rb|_tests\.rb)\z'
|
2
2
|
|
3
|
-
|
3
|
+
require_relative './test_init'
|
4
4
|
|
5
|
-
TestBench::CLI.(
|
6
|
-
exclude_pattern: '/_|sketch|(_init\.rb|_tests\.rb)\z',
|
7
|
-
tests_directory: 'test/automated'
|
8
|
-
) or exit 1
|
5
|
+
TestBench::CLI.()
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-command_line-component_generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: executable
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -114,9 +114,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
- !ruby/object:Gem::Version
|
115
115
|
version: '0'
|
116
116
|
requirements: []
|
117
|
-
|
118
|
-
rubygems_version: 2.7.3
|
117
|
+
rubygems_version: 3.0.1
|
119
118
|
signing_key:
|
120
119
|
specification_version: 4
|
121
|
-
summary: Command line
|
120
|
+
summary: Command line Eventide component generator
|
122
121
|
test_files: []
|