kril 0.1.2 → 0.1.3

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: b7d8dbd65078db6c0d7accd7084512306ba446bd
4
- data.tar.gz: 9ac6795f739fb2c74386340ff699400d0f34a016
3
+ metadata.gz: 5e4c4c69cd458217ed052514aacfc9d5c767052e
4
+ data.tar.gz: 32608012a0e06db317cddce8a795b245cc50d095
5
5
  SHA512:
6
- metadata.gz: e871e3a2fcb7a93af1df742d9b33cf31ef0e79f28e0f705ef119a34fdf05dc839085bdc5444d0f1af10d7cc8da0355950f0e74174f1b1c04dd5fa9eeed783e2f
7
- data.tar.gz: f045020e1d45acbf8aa679c8cafa31d9282c48dd68aa17d42fe821559b570723e5ee268d130a30881de94458bb6d54ffe6595437fd7fbfe5501f64398c683a43
6
+ metadata.gz: 9958e3b8ed31cd36d027489aab920979482ccebd77ead2cadec32ee88a0753ceaf9f4317e666400f615b3d5c0c1626ae219dbf945f3a524cbf54d42779e1153f
7
+ data.tar.gz: 5a8c97bec9425ad459faf5d61d071a27dd2b30054c70670729d5d260aee71eab789d29cdbebbcd5bc965fb52939ead3c97c6e9a52ac7d044c223a16626e47a36
data/Gemfile.lock ADDED
@@ -0,0 +1,52 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ kril (0.1.3)
5
+ avro_turf (~> 0.8.0)
6
+ clamp (~> 1.2, >= 1.2.1)
7
+ ruby-kafka (~> 0.5.3)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ avro (1.8.2)
13
+ multi_json
14
+ avro_turf (0.8.0)
15
+ avro (>= 1.7.7, < 1.9)
16
+ excon (~> 0.45)
17
+ clamp (1.2.1)
18
+ diff-lcs (1.3)
19
+ excon (0.60.0)
20
+ multi_json (1.13.1)
21
+ rake (10.5.0)
22
+ rspec (3.7.0)
23
+ rspec-core (~> 3.7.0)
24
+ rspec-expectations (~> 3.7.0)
25
+ rspec-mocks (~> 3.7.0)
26
+ rspec-core (3.7.1)
27
+ rspec-support (~> 3.7.0)
28
+ rspec-expectations (3.7.0)
29
+ diff-lcs (>= 1.2.0, < 2.0)
30
+ rspec-support (~> 3.7.0)
31
+ rspec-mocks (3.7.0)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.7.0)
34
+ rspec-nc (0.3.0)
35
+ rspec (>= 3)
36
+ terminal-notifier (>= 1.4)
37
+ rspec-support (3.7.1)
38
+ ruby-kafka (0.5.3)
39
+ terminal-notifier (2.0.0)
40
+
41
+ PLATFORMS
42
+ ruby
43
+
44
+ DEPENDENCIES
45
+ bundler (~> 1.16)
46
+ kril!
47
+ rake (~> 10.0)
48
+ rspec (~> 3.7)
49
+ rspec-nc (~> 0.3.0)
50
+
51
+ BUNDLED WITH
52
+ 1.16.0
data/bin/kril CHANGED
@@ -10,6 +10,7 @@ require 'kril'
10
10
  Clamp do
11
11
  $log = Logger.new($STDOUT)
12
12
  $log.level = Logger::ERROR
13
+ gem_root = File.expand_path('..', __dir__)
13
14
 
14
15
  option %w[--version], :flag, 'show version' do
15
16
  puts Kril::VERSION
@@ -22,7 +23,7 @@ Clamp do
22
23
  address_string.split(/,\s*/)
23
24
  end
24
25
  option %w[-g --schema-registry], '', 'address of schema registry', default: 'http://localhost:8081'
25
- option %w[-p --schemas-path], '', 'directory of Avro schemas', default: 'schemas/' do |path|
26
+ option %w[-p --schemas-path], '', 'directory of Avro schemas', default: "#{File.join(gem_root, 'schemas/')}" do |path|
26
27
  raise ArgumentError, "Schema path: #{path} is not a directory" unless File.directory?(path)
27
28
  end
28
29
  option %w[-v --verbose], :flag, 'print logs, warnings' do
data/kril.gemspec CHANGED
@@ -22,12 +22,12 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = ['kril']
23
23
  spec.require_paths = ['lib']
24
24
 
25
- spec.add_development_dependency 'avro_turf', '~> 0.8.0'
25
+ spec.add_dependency 'avro_turf', '~> 0.8.0'
26
+ spec.add_dependency 'clamp', '~> 1.2', '>= 1.2.1'
27
+ spec.add_dependency 'ruby-kafka', '~> 0.5.3'
28
+
26
29
  spec.add_development_dependency 'bundler', '~> 1.16'
27
- spec.add_development_dependency 'clamp', '~> 1.2', '>= 1.2.1'
28
- spec.add_development_dependency 'httparty', '~> 0.16.0'
29
30
  spec.add_development_dependency 'rake', '~> 10.0'
30
31
  spec.add_development_dependency 'rspec', '~> 3.7'
31
32
  spec.add_development_dependency 'rspec-nc', '~> 0.3.0'
32
- spec.add_development_dependency 'ruby-kafka', '~> 0.5.3'
33
33
  end
data/lib/kril/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kril
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kril
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Bowman
@@ -17,27 +17,13 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.8.0
20
- type: :development
20
+ type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.8.0
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.16'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.16'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: clamp
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -48,7 +34,7 @@ dependencies:
48
34
  - - ">="
49
35
  - !ruby/object:Gem::Version
50
36
  version: 1.2.1
51
- type: :development
37
+ type: :runtime
52
38
  prerelease: false
53
39
  version_requirements: !ruby/object:Gem::Requirement
54
40
  requirements:
@@ -59,75 +45,75 @@ dependencies:
59
45
  - !ruby/object:Gem::Version
60
46
  version: 1.2.1
61
47
  - !ruby/object:Gem::Dependency
62
- name: httparty
48
+ name: ruby-kafka
63
49
  requirement: !ruby/object:Gem::Requirement
64
50
  requirements:
65
51
  - - "~>"
66
52
  - !ruby/object:Gem::Version
67
- version: 0.16.0
68
- type: :development
53
+ version: 0.5.3
54
+ type: :runtime
69
55
  prerelease: false
70
56
  version_requirements: !ruby/object:Gem::Requirement
71
57
  requirements:
72
58
  - - "~>"
73
59
  - !ruby/object:Gem::Version
74
- version: 0.16.0
60
+ version: 0.5.3
75
61
  - !ruby/object:Gem::Dependency
76
- name: rake
62
+ name: bundler
77
63
  requirement: !ruby/object:Gem::Requirement
78
64
  requirements:
79
65
  - - "~>"
80
66
  - !ruby/object:Gem::Version
81
- version: '10.0'
67
+ version: '1.16'
82
68
  type: :development
83
69
  prerelease: false
84
70
  version_requirements: !ruby/object:Gem::Requirement
85
71
  requirements:
86
72
  - - "~>"
87
73
  - !ruby/object:Gem::Version
88
- version: '10.0'
74
+ version: '1.16'
89
75
  - !ruby/object:Gem::Dependency
90
- name: rspec
76
+ name: rake
91
77
  requirement: !ruby/object:Gem::Requirement
92
78
  requirements:
93
79
  - - "~>"
94
80
  - !ruby/object:Gem::Version
95
- version: '3.7'
81
+ version: '10.0'
96
82
  type: :development
97
83
  prerelease: false
98
84
  version_requirements: !ruby/object:Gem::Requirement
99
85
  requirements:
100
86
  - - "~>"
101
87
  - !ruby/object:Gem::Version
102
- version: '3.7'
88
+ version: '10.0'
103
89
  - !ruby/object:Gem::Dependency
104
- name: rspec-nc
90
+ name: rspec
105
91
  requirement: !ruby/object:Gem::Requirement
106
92
  requirements:
107
93
  - - "~>"
108
94
  - !ruby/object:Gem::Version
109
- version: 0.3.0
95
+ version: '3.7'
110
96
  type: :development
111
97
  prerelease: false
112
98
  version_requirements: !ruby/object:Gem::Requirement
113
99
  requirements:
114
100
  - - "~>"
115
101
  - !ruby/object:Gem::Version
116
- version: 0.3.0
102
+ version: '3.7'
117
103
  - !ruby/object:Gem::Dependency
118
- name: ruby-kafka
104
+ name: rspec-nc
119
105
  requirement: !ruby/object:Gem::Requirement
120
106
  requirements:
121
107
  - - "~>"
122
108
  - !ruby/object:Gem::Version
123
- version: 0.5.3
109
+ version: 0.3.0
124
110
  type: :development
125
111
  prerelease: false
126
112
  version_requirements: !ruby/object:Gem::Requirement
127
113
  requirements:
128
114
  - - "~>"
129
115
  - !ruby/object:Gem::Version
130
- version: 0.5.3
116
+ version: 0.3.0
131
117
  description: Makes producing and consuming topics simple. Useful when experimenting.
132
118
  email:
133
119
  - chad.bowman0@gmail.com
@@ -144,6 +130,7 @@ files:
144
130
  - ".rspec"
145
131
  - ".travis.yml"
146
132
  - Gemfile
133
+ - Gemfile.lock
147
134
  - LICENSE.txt
148
135
  - README.md
149
136
  - Rakefile