peastash 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.travis.yml +4 -1
- data/README.md +2 -2
- data/lib/peastash/outputs/io.rb +2 -2
- data/lib/peastash/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 6f2f09c34ca13d8ab6ee2842add1d06fb4f49efbf1825c904c053d8a50ae75c2
|
|
4
|
+
data.tar.gz: cd336e4d3ac448b4dc9b43e1ff230388c99e9d0532c136bed87c9359fdb5d893
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ccb538320167ad2b078161bcb0a7c5d0c9a2ab59b9b327735241a69d4ef0494ce978a2a171ac405491015bd5459ee14b0308aa24bc6ab07e8f3ce98a58f3646
|
|
7
|
+
data.tar.gz: 88c9574c661cf6841c42a12733f9a66d5058facad72baa8f7fdf7d6561e0ee4f902a47aa63c7da1a0e55be2590b77c6a462a84a79d87587fbdde7eccaf817bf6
|
data/.travis.yml
CHANGED
|
@@ -16,7 +16,10 @@ gemfile:
|
|
|
16
16
|
- gemfiles/Gemfile.rails-head
|
|
17
17
|
script:
|
|
18
18
|
- bundle exec rspec
|
|
19
|
-
before_install:
|
|
19
|
+
before_install:
|
|
20
|
+
- rvm use @global
|
|
21
|
+
- gem uninstall bundler -x || gem uninstall bundler -a || true
|
|
22
|
+
- gem install bundler -v 1.17
|
|
20
23
|
matrix:
|
|
21
24
|
allow_failures:
|
|
22
25
|
- gemfile: gemfiles/Gemfile.rails-head
|
data/README.md
CHANGED
|
@@ -28,8 +28,8 @@ When the code inside the block is done running, a log entry will be created and
|
|
|
28
28
|
The most basic usage would look like:
|
|
29
29
|
|
|
30
30
|
```ruby
|
|
31
|
-
Peastash.with_instance.log do
|
|
32
|
-
|
|
31
|
+
Peastash.with_instance.log do |instance|
|
|
32
|
+
instance.store[:foo] = 'bar'
|
|
33
33
|
end
|
|
34
34
|
# This will produce a Logstash log entry looking like this:
|
|
35
35
|
# {"@source":"peastash","@fields":{"foo":"bar"},"@tags":[],"@timestamp":"2014-05-27T15:18:29.824Z","@version":"1"}
|
data/lib/peastash/outputs/io.rb
CHANGED
data/lib/peastash/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: peastash
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vincent Boisard
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-02-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logstash-event
|
|
@@ -292,8 +292,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
292
292
|
- !ruby/object:Gem::Version
|
|
293
293
|
version: '0'
|
|
294
294
|
requirements: []
|
|
295
|
-
|
|
296
|
-
rubygems_version: 2.6.13
|
|
295
|
+
rubygems_version: 3.0.1
|
|
297
296
|
signing_key:
|
|
298
297
|
specification_version: 4
|
|
299
298
|
summary: Peastash allows you to instrument your code with the ELK stack easily.
|