send_aws_kinesis_event 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -6
- data/lib/send_aws_kinesis_event/version.rb +1 -1
- data/send_aws_kinesis_event.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c6d34307629c703f20ade26ab13fdbde3de3b63
|
4
|
+
data.tar.gz: 58c4947469a761cbda22ca615cf6c634d00bcd5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2f7b3b0820876422c774450766bd83131f6cb7f31727f509ebc88b3e4775010b53928f2154e9236ec39f481f0bbf31ab484322c7df8866e9b4bf7133047fadd
|
7
|
+
data.tar.gz: ffa22f4667ff562ed7c8ce21b7668cf824c611cff731c5f58a0eb890e8822b767788c93b8a94e04873cc44390694d1b62d1744adbf81a63a890efdab15e7ce4f
|
data/README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# SendAwsKinesisEvent
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
3
|
+
This gem is to send any generated event data to AWS Kinesis stream service.
|
6
4
|
|
7
5
|
## Installation
|
8
6
|
|
@@ -22,7 +20,16 @@ Or install it yourself as:
|
|
22
20
|
|
23
21
|
## Usage
|
24
22
|
|
25
|
-
|
23
|
+
Environment variable to be included in your application:
|
24
|
+
`AWS_REGION`
|
25
|
+
`AWS_ACCESS_KEY_ID`
|
26
|
+
`AWS_SECRET_ACCESS_KEY`
|
27
|
+
`KINESIS_STREAM_NAME`
|
28
|
+
|
29
|
+
Use SendAwsKinesisEvent.call(partition_key, data) in your application to send data to AWS Kinesis.
|
30
|
+
|
31
|
+
`partition_key` : event type
|
32
|
+
`data` : data to be sent to Kinesis
|
26
33
|
|
27
34
|
## Development
|
28
35
|
|
@@ -32,10 +39,9 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
39
|
|
33
40
|
## Contributing
|
34
41
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
42
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/Supahands/Send-AWS-Kinesis-Event-gem.
|
36
43
|
|
37
44
|
|
38
45
|
## License
|
39
46
|
|
40
47
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
-
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
-
# to allow pushing to a
|
18
|
+
# to allow pushing to a singrle host or delete this section to allow pushing to any host.
|
19
19
|
# if spec.respond_to?(:metadata)
|
20
20
|
# spec.metadata['allowed_push_host'] = 'http://mygemserver.com'
|
21
21
|
# else
|
@@ -32,5 +32,5 @@ Gem::Specification.new do |spec|
|
|
32
32
|
|
33
33
|
spec.add_development_dependency "bundler", "~> 1.13"
|
34
34
|
spec.add_development_dependency "rake", "~> 10.0"
|
35
|
-
spec.add_dependency 'aws-sdk'
|
35
|
+
spec.add_dependency 'aws-sdk-kinesis', '~> 0'
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: send_aws_kinesis_event
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Low Yeong Yih
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -39,17 +39,17 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: aws-sdk
|
42
|
+
name: aws-sdk-kinesis
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: testing....
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
91
|
rubyforge_project:
|
92
|
-
rubygems_version: 2.
|
92
|
+
rubygems_version: 2.6.12
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
95
|
summary: A gem that sends data to AWS Kinesis
|