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: 03be3fe6a6daa6cee340f343ec02b0e736760e53e84d263f935d15208f555633
4
- data.tar.gz: 3010dc1958047c7535267a013b180455a7258ae6d4a811513a919e4fe445dcf7
3
+ metadata.gz: 7c0aef2b4365d75efac929d884575ce8876415207ac346f956ccc079ba134201
4
+ data.tar.gz: ca7d5046235a046b364a0e2c58d4bbeb64f50d9b44928c1e60a9479126ec2eaf
5
5
  SHA512:
6
- metadata.gz: 34a652e48e8b455462d692ce95e97b0021648a39200611525f8070c61f2c392f1c8ccbed633c8a0b35f790ced73513a1d045a898ede62a7f86f911db567bb62f
7
- data.tar.gz: 55cf0963e525d1044ae41caf6ddd122bb96055c47703e04a8eefef478294cf1eceb95677d4864b982bea3b92c12d7ae623b70f0a452cd7a29e53c576eed7a1a8
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 commands are implemented"
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
- refute proc { session.execute('SELECT 1;') } do
10
- raises_error?
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
@@ -1,8 +1,5 @@
1
- require_relative './test_init'
1
+ ENV['TEST_BENCH_EXCLUDE_FILE_PATTERN'] ||= '/_|sketch|(_init\.rb|_tests\.rb)\z'
2
2
 
3
- require 'test_bench/cli'
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.()
@@ -1,3 +1,3 @@
1
1
  require_relative '../test_init'
2
2
 
3
- ENV['LOG_LEVEL'] = 'data'
3
+ ENV['LOG_LEVEL'] = 'info'
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: 1.0.1.0
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-01-18 00:00:00.000000000 Z
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
- rubyforge_project:
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 project generator
120
+ summary: Command line Eventide component generator
122
121
  test_files: []