peastash 0.2.6 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +47 -0
  3. data/.gitignore +1 -0
  4. data/README.md +1 -1
  5. data/gemfiles/Gemfile.rails-4.2.x +0 -1
  6. data/gemfiles/{Gemfile.rails-3.2.x → Gemfile.rails-5.2.x} +1 -1
  7. data/gemfiles/{Gemfile.rails-4.0.x → Gemfile.rails-6.0.x} +1 -2
  8. data/gemfiles/{Gemfile.rails-4.1.x → Gemfile.rails-6.1.x} +1 -2
  9. data/gemfiles/Gemfile.rails-7.0.x +5 -0
  10. data/gemfiles/Gemfile.rails-head +1 -2
  11. data/lib/peastash/outputs/io.rb +2 -1
  12. data/lib/peastash/rails_ext/railtie.rb +1 -1
  13. data/lib/peastash/version.rb +1 -1
  14. data/peastash.gemspec +2 -1
  15. data/spec/dummy/config/application.rb +0 -2
  16. data/spec/dummy/config/environments/test.rb +0 -5
  17. data/spec/dummy/config/environments/test_with_specific_position.rb +0 -5
  18. data/spec/dummy/config/environments/test_without_peastash.rb +0 -5
  19. data/spec/peastash/outputs/io_spec.rb +9 -0
  20. data/spec/peastash/rails_ext/railtie_spec.rb +4 -12
  21. metadata +29 -146
  22. data/.travis.yml +0 -27
  23. data/spec/dummy/README.rdoc +0 -28
  24. data/spec/dummy/Rakefile +0 -6
  25. data/spec/dummy/app/assets/images/.keep +0 -0
  26. data/spec/dummy/app/assets/javascripts/application.js +0 -13
  27. data/spec/dummy/app/assets/stylesheets/application.css +0 -15
  28. data/spec/dummy/app/controllers/concerns/.keep +0 -0
  29. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  30. data/spec/dummy/app/mailers/.keep +0 -0
  31. data/spec/dummy/app/models/.keep +0 -0
  32. data/spec/dummy/app/models/concerns/.keep +0 -0
  33. data/spec/dummy/bin/bundle +0 -3
  34. data/spec/dummy/bin/rails +0 -4
  35. data/spec/dummy/bin/rake +0 -4
  36. data/spec/dummy/config/environments/development.rb +0 -34
  37. data/spec/dummy/config/environments/production.rb +0 -80
  38. data/spec/dummy/lib/assets/.keep +0 -0
  39. data/spec/dummy-3.2/.gitignore +0 -15
  40. data/spec/dummy-3.2/Gemfile +0 -38
  41. data/spec/dummy-3.2/README.rdoc +0 -261
  42. data/spec/dummy-3.2/Rakefile +0 -7
  43. data/spec/dummy-3.2/app/assets/images/rails.png +0 -0
  44. data/spec/dummy-3.2/app/assets/javascripts/application.js +0 -15
  45. data/spec/dummy-3.2/app/assets/stylesheets/application.css +0 -13
  46. data/spec/dummy-3.2/app/controllers/application_controller.rb +0 -3
  47. data/spec/dummy-3.2/app/helpers/application_helper.rb +0 -2
  48. data/spec/dummy-3.2/app/mailers/.gitkeep +0 -0
  49. data/spec/dummy-3.2/app/models/.gitkeep +0 -0
  50. data/spec/dummy-3.2/app/views/layouts/application.html.erb +0 -14
  51. data/spec/dummy-3.2/config/application.rb +0 -62
  52. data/spec/dummy-3.2/config/boot.rb +0 -6
  53. data/spec/dummy-3.2/config/database.yml +0 -25
  54. data/spec/dummy-3.2/config/environment.rb +0 -5
  55. data/spec/dummy-3.2/config/environments/development.rb +0 -37
  56. data/spec/dummy-3.2/config/environments/production.rb +0 -67
  57. data/spec/dummy-3.2/config/environments/test.rb +0 -38
  58. data/spec/dummy-3.2/config/environments/test_with_specific_position.rb +0 -39
  59. data/spec/dummy-3.2/config/environments/test_without_peastash.rb +0 -38
  60. data/spec/dummy-3.2/config/initializers/backtrace_silencers.rb +0 -7
  61. data/spec/dummy-3.2/config/initializers/inflections.rb +0 -15
  62. data/spec/dummy-3.2/config/initializers/mime_types.rb +0 -5
  63. data/spec/dummy-3.2/config/initializers/secret_token.rb +0 -7
  64. data/spec/dummy-3.2/config/initializers/session_store.rb +0 -8
  65. data/spec/dummy-3.2/config/initializers/wrap_parameters.rb +0 -14
  66. data/spec/dummy-3.2/config/locales/en.yml +0 -5
  67. data/spec/dummy-3.2/config/routes.rb +0 -58
  68. data/spec/dummy-3.2/config.ru +0 -4
  69. data/spec/dummy-3.2/db/seeds.rb +0 -7
  70. data/spec/dummy-3.2/doc/README_FOR_APP +0 -2
  71. data/spec/dummy-3.2/lib/assets/.gitkeep +0 -0
  72. data/spec/dummy-3.2/lib/tasks/.gitkeep +0 -0
  73. data/spec/dummy-3.2/log/.gitkeep +0 -0
  74. data/spec/dummy-3.2/public/404.html +0 -26
  75. data/spec/dummy-3.2/public/422.html +0 -26
  76. data/spec/dummy-3.2/public/500.html +0 -25
  77. data/spec/dummy-3.2/public/favicon.ico +0 -0
  78. data/spec/dummy-3.2/public/index.html +0 -241
  79. data/spec/dummy-3.2/public/robots.txt +0 -5
  80. data/spec/dummy-3.2/script/rails +0 -6
  81. data/spec/dummy-3.2/test/fixtures/.gitkeep +0 -0
  82. data/spec/dummy-3.2/test/functional/.gitkeep +0 -0
  83. data/spec/dummy-3.2/test/integration/.gitkeep +0 -0
  84. data/spec/dummy-3.2/test/performance/browsing_test.rb +0 -12
  85. data/spec/dummy-3.2/test/test_helper.rb +0 -13
  86. data/spec/dummy-3.2/test/unit/.gitkeep +0 -0
  87. data/spec/dummy-3.2/vendor/assets/javascripts/.gitkeep +0 -0
  88. data/spec/dummy-3.2/vendor/assets/stylesheets/.gitkeep +0 -0
  89. data/spec/dummy-3.2/vendor/plugins/.gitkeep +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7bf5afe018f224b34756bf038a5c4c09c0b798b63d492798e8a62221d873a08
4
- data.tar.gz: 744cb15f8c32f8488daaed99f5134d8495986a999eb6bfd71cb6e978869e4019
3
+ metadata.gz: 222c315a6bc97cad7177487d98b007cdc30bffce20b4d61f22898fb9f7661b8a
4
+ data.tar.gz: 02307e5c0e53308b86e4270d980d581c513bc265f50866ec533bbfedaf1a5ab8
5
5
  SHA512:
6
- metadata.gz: cf1bec64ffc74f0acd056530b90d68e74c7e514d5b77541445bdc573bf6a8113be12ef13e447f1803d76d756a7c1a72774391a972e638b3143f0f6085a7e4f34
7
- data.tar.gz: 99b5fe4a860fa4171db5f695454e77c5eeffbbff8e3b44e309663e85fee24a7afccce478a12dd6e82062bf528c692657bd1c75bf2f405ed2d0dfbc568daad47d
6
+ metadata.gz: 37cb5d5dd0393f1d69031db60645a51e2b2847a3106dac6c0f9ddf34f333e4ee8a560181450452ec9d7e49869e7a6daab93d76cc6e2bca9801877e544752be57
7
+ data.tar.gz: d99d1630a53c51cf6e81b3b686528572df61027e8a8d457abaa4ed2e75cefe1d9fb1bdfa2b53238afadde955c4222d913bf5f60937f5736f7037f8c3d1517bd0
@@ -0,0 +1,47 @@
1
+ version: 2.1
2
+ orbs:
3
+ ruby: circleci/ruby@1.1.2
4
+
5
+ jobs:
6
+ test:
7
+ parameters:
8
+ ruby:
9
+ type: string
10
+ rails:
11
+ type: string
12
+ docker:
13
+ - image: circleci/ruby:<< parameters.ruby >>-node-browsers-legacy
14
+ executor: ruby/default
15
+ environment:
16
+ BUNDLE_GEMFILE: gemfiles/Gemfile.rails-<< parameters.rails >>
17
+ steps:
18
+ - checkout
19
+ - run:
20
+ name: Which bundler?
21
+ command: bundle -v
22
+ - run: bundle install
23
+ - run: bundle exec rspec
24
+
25
+ workflows:
26
+ all-tests:
27
+ jobs:
28
+ - test:
29
+ name: "rails 4.2 / ruby 2.5"
30
+ ruby: "2.5"
31
+ rails: "4.2.x"
32
+ - test:
33
+ name: "rails 5.2 / ruby 2.6"
34
+ ruby: "2.6"
35
+ rails: "5.2.x"
36
+ - test:
37
+ name: "rails 6.0 / ruby 2.7"
38
+ ruby: "2.7"
39
+ rails: "6.0.x"
40
+ - test:
41
+ name: "rails 6.1 / ruby 3.0"
42
+ ruby: "3.0"
43
+ rails: "6.1.x"
44
+ - test:
45
+ name: "rails 7.0 / ruby 3.0"
46
+ ruby: "3.0"
47
+ rails: "7.0.x"
data/.gitignore CHANGED
@@ -6,3 +6,4 @@ pkg
6
6
  Gemfile.lock
7
7
  gemfiles/*.lock
8
8
  spec/dummy*/tmp
9
+ tmp/
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Peastash [![build status](https://travis-ci.org/elhu/peastash.png?branch=master)](https://travis-ci.org/elhu/peastash) [![Code Climate](https://codeclimate.com/github/elhu/peastash.png)](https://codeclimate.com/github/elhu/peastash)
1
+ # Peastash [![build status](https://circleci.com/gh/elhu/peastash.svg?style=svg)](https://circleci.com/gh/elhu/peastash) [![Code Climate](https://codeclimate.com/github/elhu/peastash.png)](https://codeclimate.com/github/elhu/peastash)
2
2
 
3
3
  ## Description
4
4
 
@@ -3,4 +3,3 @@ source 'https://rubygems.org'
3
3
  gemspec :path => '..'
4
4
 
5
5
  gem 'rails', '~> 4.2'
6
- gem 'mime-types', '~> 2.99.1'
@@ -2,4 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec :path => '..'
4
4
 
5
- gem 'rails', '~> 3.2'
5
+ gem 'rails', '~> 5.2'
@@ -2,5 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec :path => '..'
4
4
 
5
- gem 'rails', '~> 4.0'
6
- gem 'mime-types', '~> 2.99.1'
5
+ gem 'rails', '~> 6.0.3'
@@ -2,5 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec :path => '..'
4
4
 
5
- gem 'rails', '~> 4.0'
6
- gem 'mime-types', '~> 2.99.1'
5
+ gem 'rails', '~> 6.1.2'
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec :path => '..'
4
+
5
+ gem 'rails', '~> 7.0.2'
@@ -2,5 +2,4 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec :path => '..'
4
4
 
5
- gem 'rails', github: 'rails/rails'
6
- gem 'mime-types', '~> 2.99.1'
5
+ gem 'rails', github: 'rails/rails', branch: 'main'
@@ -1,4 +1,5 @@
1
1
  require 'peastash/log_device'
2
+ require 'ruby2_keywords'
2
3
 
3
4
  class Peastash
4
5
  module Outputs
@@ -9,7 +10,7 @@ class Peastash
9
10
  @@default_io
10
11
  end
11
12
 
12
- def initialize(file, *args)
13
+ ruby2_keywords def initialize(file, *args)
13
14
  if file.is_a?(String)
14
15
  # Rewrite symlink path to realpath for instance
15
16
  # /home/app/releases/20190528155050/log/logstash.log -> /home/app/shared/log/logstash.log
@@ -10,7 +10,7 @@ class Peastash
10
10
  Peastash.with_instance.configure!(app.config.peastash)
11
11
  ActiveSupport::Notifications.subscribe('process_action.action_controller') do |name, started, finished, unique_id, data|
12
12
  # Handle parameters and sanitize if need be
13
- to_reject = [:db_runtime, :view_runtime, :exception, :headers]
13
+ to_reject = [:db_runtime, :view_runtime, :exception, :headers, :request, :response]
14
14
  payload = data.reject { |key, _| to_reject.include?(key) }
15
15
  payload.merge!(db: data[:db_runtime], view: data[:view_runtime])
16
16
  payload.merge!(exception: { class: data[:exception].first, message: data[:exception].last[0..200] }) if data.has_key?(:exception)
@@ -1,3 +1,3 @@
1
1
  class Peastash
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.9"
3
3
  end
data/peastash.gemspec CHANGED
@@ -20,6 +20,7 @@ Gem::Specification.new do |gem|
20
20
 
21
21
  gem.add_runtime_dependency "logstash-event"
22
22
  gem.add_runtime_dependency "thread_safe"
23
+ gem.add_runtime_dependency "ruby2_keywords"
23
24
 
24
25
  gem.add_development_dependency "rake"
25
26
  gem.add_development_dependency "rspec", '~> 2.14'
@@ -28,5 +29,5 @@ Gem::Specification.new do |gem|
28
29
  gem.add_development_dependency "simplecov", '~> 0.7.1'
29
30
  gem.add_development_dependency "timecop"
30
31
  gem.add_development_dependency "pry"
31
- gem.add_development_dependency "rails", '~> 4.2'
32
+ gem.add_development_dependency "rails", '~> 7.0.2.3'
32
33
  end
@@ -3,9 +3,7 @@ require File.expand_path('../boot', __FILE__)
3
3
  # Pick the frameworks you want:
4
4
  # require "active_record/railtie"
5
5
  require "action_controller/railtie"
6
- require "action_mailer/railtie"
7
6
  require "action_view/railtie"
8
- require "sprockets/railtie"
9
7
  # require "rails/test_unit/railtie"
10
8
 
11
9
  Bundler.require(*Rails.groups)
@@ -26,11 +26,6 @@ Rails.application.configure do
26
26
  # Disable request forgery protection in test environment.
27
27
  config.action_controller.allow_forgery_protection = false
28
28
 
29
- # Tell Action Mailer not to deliver emails to the real world.
30
- # The :test delivery method accumulates sent emails in the
31
- # ActionMailer::Base.deliveries array.
32
- config.action_mailer.delivery_method = :test
33
-
34
29
  # Print deprecation notices to the stderr.
35
30
  config.active_support.deprecation = :stderr
36
31
 
@@ -26,11 +26,6 @@ Rails.application.configure do
26
26
  # Disable request forgery protection in test environment.
27
27
  config.action_controller.allow_forgery_protection = false
28
28
 
29
- # Tell Action Mailer not to deliver emails to the real world.
30
- # The :test delivery method accumulates sent emails in the
31
- # ActionMailer::Base.deliveries array.
32
- config.action_mailer.delivery_method = :test
33
-
34
29
  # Print deprecation notices to the stderr.
35
30
  config.active_support.deprecation = :stderr
36
31
 
@@ -26,11 +26,6 @@ Rails.application.configure do
26
26
  # Disable request forgery protection in test environment.
27
27
  config.action_controller.allow_forgery_protection = false
28
28
 
29
- # Tell Action Mailer not to deliver emails to the real world.
30
- # The :test delivery method accumulates sent emails in the
31
- # ActionMailer::Base.deliveries array.
32
- config.action_mailer.delivery_method = :test
33
-
34
29
  # Print deprecation notices to the stderr.
35
30
  config.active_support.deprecation = :stderr
36
31
 
@@ -0,0 +1,9 @@
1
+ require 'spec_helper'
2
+ require 'peastash/outputs/io'
3
+
4
+ describe Peastash::Outputs::IO do
5
+ it 'creates a logdevice' do
6
+ io = Peastash::Outputs::IO.new('/dev/null', shift_size: 10)
7
+ expect(io.instance_variable_get("@device").instance_variable_get("@shift_size")).to eq(10)
8
+ end
9
+ end
@@ -34,7 +34,7 @@ describe Peastash::Railtie do
34
34
  context 'with regular conf' do
35
35
  before :all do
36
36
  ENV['RAILS_ENV'] = 'test'
37
- require testing_rails_32? ? 'dummy-3.2/config/environment' : 'dummy/config/environment'
37
+ require 'dummy/config/environment'
38
38
  end
39
39
 
40
40
  before(:each) { Peastash.with_instance.store.clear }
@@ -82,7 +82,7 @@ end
82
82
  def perform_request(path)
83
83
  (Rails.application.call env_for(path)).tap do |res|
84
84
  # Rack-Lock doesn't release the mutex if body is not closed
85
- res[2].close unless testing_rails_32?
85
+ res[2].close
86
86
  end
87
87
  end
88
88
 
@@ -92,15 +92,7 @@ def run_with_env(env = 'test')
92
92
  fork do
93
93
  SimpleCov.running = false
94
94
  ENV['RAILS_ENV'] = env
95
- if testing_rails_32?
96
- require 'dummy-3.2/config/environment'
97
- else
98
- require 'dummy/config/environment'
99
- end
95
+ require 'dummy/config/environment'
100
96
  yield
101
97
  end
102
- end
103
-
104
- def testing_rails_32?
105
- Rails.version.start_with?('3.')
106
- end
98
+ end
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.6
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vincent Boisard
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-03 00:00:00.000000000 Z
11
+ date: 2022-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-event
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: ruby2_keywords
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +156,14 @@ dependencies:
142
156
  requirements:
143
157
  - - "~>"
144
158
  - !ruby/object:Gem::Version
145
- version: '4.2'
159
+ version: 7.0.2.3
146
160
  type: :development
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
164
  - - "~>"
151
165
  - !ruby/object:Gem::Version
152
- version: '4.2'
166
+ version: 7.0.2.3
153
167
  description: Peastash allows you to instrument your code with the ELK stack easily.
154
168
  email:
155
169
  - boisard.v@gmail.com
@@ -157,15 +171,16 @@ executables: []
157
171
  extensions: []
158
172
  extra_rdoc_files: []
159
173
  files:
174
+ - ".circleci/config.yml"
160
175
  - ".gitignore"
161
- - ".travis.yml"
162
176
  - Gemfile
163
177
  - README.md
164
178
  - Rakefile
165
- - gemfiles/Gemfile.rails-3.2.x
166
- - gemfiles/Gemfile.rails-4.0.x
167
- - gemfiles/Gemfile.rails-4.1.x
168
179
  - gemfiles/Gemfile.rails-4.2.x
180
+ - gemfiles/Gemfile.rails-5.2.x
181
+ - gemfiles/Gemfile.rails-6.0.x
182
+ - gemfiles/Gemfile.rails-6.1.x
183
+ - gemfiles/Gemfile.rails-7.0.x
169
184
  - gemfiles/Gemfile.rails-head
170
185
  - lib/peastash.rb
171
186
  - lib/peastash/log_device.rb
@@ -176,79 +191,13 @@ files:
176
191
  - lib/peastash/rails_ext/watch.rb
177
192
  - lib/peastash/version.rb
178
193
  - peastash.gemspec
179
- - spec/dummy-3.2/.gitignore
180
- - spec/dummy-3.2/Gemfile
181
- - spec/dummy-3.2/README.rdoc
182
- - spec/dummy-3.2/Rakefile
183
- - spec/dummy-3.2/app/assets/images/rails.png
184
- - spec/dummy-3.2/app/assets/javascripts/application.js
185
- - spec/dummy-3.2/app/assets/stylesheets/application.css
186
- - spec/dummy-3.2/app/controllers/application_controller.rb
187
- - spec/dummy-3.2/app/helpers/application_helper.rb
188
- - spec/dummy-3.2/app/mailers/.gitkeep
189
- - spec/dummy-3.2/app/models/.gitkeep
190
- - spec/dummy-3.2/app/views/layouts/application.html.erb
191
- - spec/dummy-3.2/config.ru
192
- - spec/dummy-3.2/config/application.rb
193
- - spec/dummy-3.2/config/boot.rb
194
- - spec/dummy-3.2/config/database.yml
195
- - spec/dummy-3.2/config/environment.rb
196
- - spec/dummy-3.2/config/environments/development.rb
197
- - spec/dummy-3.2/config/environments/production.rb
198
- - spec/dummy-3.2/config/environments/test.rb
199
- - spec/dummy-3.2/config/environments/test_with_specific_position.rb
200
- - spec/dummy-3.2/config/environments/test_without_peastash.rb
201
- - spec/dummy-3.2/config/initializers/backtrace_silencers.rb
202
- - spec/dummy-3.2/config/initializers/inflections.rb
203
- - spec/dummy-3.2/config/initializers/mime_types.rb
204
- - spec/dummy-3.2/config/initializers/secret_token.rb
205
- - spec/dummy-3.2/config/initializers/session_store.rb
206
- - spec/dummy-3.2/config/initializers/wrap_parameters.rb
207
- - spec/dummy-3.2/config/locales/en.yml
208
- - spec/dummy-3.2/config/routes.rb
209
- - spec/dummy-3.2/db/seeds.rb
210
- - spec/dummy-3.2/doc/README_FOR_APP
211
- - spec/dummy-3.2/lib/assets/.gitkeep
212
- - spec/dummy-3.2/lib/tasks/.gitkeep
213
- - spec/dummy-3.2/log/.gitkeep
214
- - spec/dummy-3.2/public/404.html
215
- - spec/dummy-3.2/public/422.html
216
- - spec/dummy-3.2/public/500.html
217
- - spec/dummy-3.2/public/favicon.ico
218
- - spec/dummy-3.2/public/index.html
219
- - spec/dummy-3.2/public/robots.txt
220
- - spec/dummy-3.2/script/rails
221
- - spec/dummy-3.2/test/fixtures/.gitkeep
222
- - spec/dummy-3.2/test/functional/.gitkeep
223
- - spec/dummy-3.2/test/integration/.gitkeep
224
- - spec/dummy-3.2/test/performance/browsing_test.rb
225
- - spec/dummy-3.2/test/test_helper.rb
226
- - spec/dummy-3.2/test/unit/.gitkeep
227
- - spec/dummy-3.2/vendor/assets/javascripts/.gitkeep
228
- - spec/dummy-3.2/vendor/assets/stylesheets/.gitkeep
229
- - spec/dummy-3.2/vendor/plugins/.gitkeep
230
- - spec/dummy/README.rdoc
231
- - spec/dummy/Rakefile
232
- - spec/dummy/app/assets/images/.keep
233
- - spec/dummy/app/assets/javascripts/application.js
234
- - spec/dummy/app/assets/stylesheets/application.css
235
194
  - spec/dummy/app/controllers/application_controller.rb
236
- - spec/dummy/app/controllers/concerns/.keep
237
195
  - spec/dummy/app/controllers/welcome_controller.rb
238
- - spec/dummy/app/helpers/application_helper.rb
239
- - spec/dummy/app/mailers/.keep
240
- - spec/dummy/app/models/.keep
241
- - spec/dummy/app/models/concerns/.keep
242
196
  - spec/dummy/app/views/layouts/application.html.erb
243
- - spec/dummy/bin/bundle
244
- - spec/dummy/bin/rails
245
- - spec/dummy/bin/rake
246
197
  - spec/dummy/config.ru
247
198
  - spec/dummy/config/application.rb
248
199
  - spec/dummy/config/boot.rb
249
200
  - spec/dummy/config/environment.rb
250
- - spec/dummy/config/environments/development.rb
251
- - spec/dummy/config/environments/production.rb
252
201
  - spec/dummy/config/environments/test.rb
253
202
  - spec/dummy/config/environments/test_with_specific_position.rb
254
203
  - spec/dummy/config/environments/test_without_peastash.rb
@@ -262,13 +211,13 @@ files:
262
211
  - spec/dummy/config/locales/en.yml
263
212
  - spec/dummy/config/routes.rb
264
213
  - spec/dummy/config/secrets.yml
265
- - spec/dummy/lib/assets/.keep
266
214
  - spec/dummy/log/.keep
267
215
  - spec/dummy/public/404.html
268
216
  - spec/dummy/public/422.html
269
217
  - spec/dummy/public/500.html
270
218
  - spec/dummy/public/favicon.ico
271
219
  - spec/peastash/middleware_spec.rb
220
+ - spec/peastash/outputs/io_spec.rb
272
221
  - spec/peastash/rails_ext/railtie_spec.rb
273
222
  - spec/peastash/rails_ext/watch_spec.rb
274
223
  - spec/peastash_spec.rb
@@ -277,7 +226,7 @@ homepage: http://github.com/elhu/peastash
277
226
  licenses:
278
227
  - MIT
279
228
  metadata: {}
280
- post_install_message:
229
+ post_install_message:
281
230
  rdoc_options: []
282
231
  require_paths:
283
232
  - lib
@@ -292,84 +241,18 @@ required_rubygems_version: !ruby/object:Gem::Requirement
292
241
  - !ruby/object:Gem::Version
293
242
  version: '0'
294
243
  requirements: []
295
- rubygems_version: 3.0.3
296
- signing_key:
244
+ rubygems_version: 3.2.3
245
+ signing_key:
297
246
  specification_version: 4
298
247
  summary: Peastash allows you to instrument your code with the ELK stack easily.
299
248
  test_files:
300
- - spec/dummy-3.2/.gitignore
301
- - spec/dummy-3.2/Gemfile
302
- - spec/dummy-3.2/README.rdoc
303
- - spec/dummy-3.2/Rakefile
304
- - spec/dummy-3.2/app/assets/images/rails.png
305
- - spec/dummy-3.2/app/assets/javascripts/application.js
306
- - spec/dummy-3.2/app/assets/stylesheets/application.css
307
- - spec/dummy-3.2/app/controllers/application_controller.rb
308
- - spec/dummy-3.2/app/helpers/application_helper.rb
309
- - spec/dummy-3.2/app/mailers/.gitkeep
310
- - spec/dummy-3.2/app/models/.gitkeep
311
- - spec/dummy-3.2/app/views/layouts/application.html.erb
312
- - spec/dummy-3.2/config.ru
313
- - spec/dummy-3.2/config/application.rb
314
- - spec/dummy-3.2/config/boot.rb
315
- - spec/dummy-3.2/config/database.yml
316
- - spec/dummy-3.2/config/environment.rb
317
- - spec/dummy-3.2/config/environments/development.rb
318
- - spec/dummy-3.2/config/environments/production.rb
319
- - spec/dummy-3.2/config/environments/test.rb
320
- - spec/dummy-3.2/config/environments/test_with_specific_position.rb
321
- - spec/dummy-3.2/config/environments/test_without_peastash.rb
322
- - spec/dummy-3.2/config/initializers/backtrace_silencers.rb
323
- - spec/dummy-3.2/config/initializers/inflections.rb
324
- - spec/dummy-3.2/config/initializers/mime_types.rb
325
- - spec/dummy-3.2/config/initializers/secret_token.rb
326
- - spec/dummy-3.2/config/initializers/session_store.rb
327
- - spec/dummy-3.2/config/initializers/wrap_parameters.rb
328
- - spec/dummy-3.2/config/locales/en.yml
329
- - spec/dummy-3.2/config/routes.rb
330
- - spec/dummy-3.2/db/seeds.rb
331
- - spec/dummy-3.2/doc/README_FOR_APP
332
- - spec/dummy-3.2/lib/assets/.gitkeep
333
- - spec/dummy-3.2/lib/tasks/.gitkeep
334
- - spec/dummy-3.2/log/.gitkeep
335
- - spec/dummy-3.2/public/404.html
336
- - spec/dummy-3.2/public/422.html
337
- - spec/dummy-3.2/public/500.html
338
- - spec/dummy-3.2/public/favicon.ico
339
- - spec/dummy-3.2/public/index.html
340
- - spec/dummy-3.2/public/robots.txt
341
- - spec/dummy-3.2/script/rails
342
- - spec/dummy-3.2/test/fixtures/.gitkeep
343
- - spec/dummy-3.2/test/functional/.gitkeep
344
- - spec/dummy-3.2/test/integration/.gitkeep
345
- - spec/dummy-3.2/test/performance/browsing_test.rb
346
- - spec/dummy-3.2/test/test_helper.rb
347
- - spec/dummy-3.2/test/unit/.gitkeep
348
- - spec/dummy-3.2/vendor/assets/javascripts/.gitkeep
349
- - spec/dummy-3.2/vendor/assets/stylesheets/.gitkeep
350
- - spec/dummy-3.2/vendor/plugins/.gitkeep
351
- - spec/dummy/README.rdoc
352
- - spec/dummy/Rakefile
353
- - spec/dummy/app/assets/images/.keep
354
- - spec/dummy/app/assets/javascripts/application.js
355
- - spec/dummy/app/assets/stylesheets/application.css
356
249
  - spec/dummy/app/controllers/application_controller.rb
357
- - spec/dummy/app/controllers/concerns/.keep
358
250
  - spec/dummy/app/controllers/welcome_controller.rb
359
- - spec/dummy/app/helpers/application_helper.rb
360
- - spec/dummy/app/mailers/.keep
361
- - spec/dummy/app/models/.keep
362
- - spec/dummy/app/models/concerns/.keep
363
251
  - spec/dummy/app/views/layouts/application.html.erb
364
- - spec/dummy/bin/bundle
365
- - spec/dummy/bin/rails
366
- - spec/dummy/bin/rake
367
252
  - spec/dummy/config.ru
368
253
  - spec/dummy/config/application.rb
369
254
  - spec/dummy/config/boot.rb
370
255
  - spec/dummy/config/environment.rb
371
- - spec/dummy/config/environments/development.rb
372
- - spec/dummy/config/environments/production.rb
373
256
  - spec/dummy/config/environments/test.rb
374
257
  - spec/dummy/config/environments/test_with_specific_position.rb
375
258
  - spec/dummy/config/environments/test_without_peastash.rb
@@ -383,13 +266,13 @@ test_files:
383
266
  - spec/dummy/config/locales/en.yml
384
267
  - spec/dummy/config/routes.rb
385
268
  - spec/dummy/config/secrets.yml
386
- - spec/dummy/lib/assets/.keep
387
269
  - spec/dummy/log/.keep
388
270
  - spec/dummy/public/404.html
389
271
  - spec/dummy/public/422.html
390
272
  - spec/dummy/public/500.html
391
273
  - spec/dummy/public/favicon.ico
392
274
  - spec/peastash/middleware_spec.rb
275
+ - spec/peastash/outputs/io_spec.rb
393
276
  - spec/peastash/rails_ext/railtie_spec.rb
394
277
  - spec/peastash/rails_ext/watch_spec.rb
395
278
  - spec/peastash_spec.rb
data/.travis.yml DELETED
@@ -1,27 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.1.10
4
- - 2.2.10
5
- - 2.3.7
6
- - 2.4.4
7
- - 2.5.1
8
- - jruby-1.7.26
9
- - jruby-9.1.9.0
10
- - jruby-head
11
- gemfile:
12
- - gemfiles/Gemfile.rails-3.2.x
13
- - gemfiles/Gemfile.rails-4.0.x
14
- - gemfiles/Gemfile.rails-4.1.x
15
- - gemfiles/Gemfile.rails-4.2.x
16
- - gemfiles/Gemfile.rails-head
17
- script:
18
- - bundle exec rspec
19
- before_install:
20
- - rvm use @global
21
- - gem uninstall bundler -x || gem uninstall bundler -a || true
22
- - gem install bundler -v 1.17
23
- matrix:
24
- allow_failures:
25
- - gemfile: gemfiles/Gemfile.rails-head
26
- - rvm: ruby-head
27
- - rvm: jruby-head
@@ -1,28 +0,0 @@
1
- == README
2
-
3
- This README would normally document whatever steps are necessary to get the
4
- application up and running.
5
-
6
- Things you may want to cover:
7
-
8
- * Ruby version
9
-
10
- * System dependencies
11
-
12
- * Configuration
13
-
14
- * Database creation
15
-
16
- * Database initialization
17
-
18
- * How to run the test suite
19
-
20
- * Services (job queues, cache servers, search engines, etc.)
21
-
22
- * Deployment instructions
23
-
24
- * ...
25
-
26
-
27
- Please feel free to use a different markup language if you do not plan to run
28
- <tt>rake doc:app</tt>.
data/spec/dummy/Rakefile DELETED
@@ -1,6 +0,0 @@
1
- # Add your own tasks in files placed in lib/tasks ending in .rake,
2
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
-
4
- require File.expand_path('../config/application', __FILE__)
5
-
6
- Rails.application.load_tasks
File without changes
@@ -1,13 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file.
9
- //
10
- // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require_tree .
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any styles
10
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
- * file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
File without changes
@@ -1,2 +0,0 @@
1
- module ApplicationHelper
2
- end
File without changes
File without changes
File without changes
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
- load Gem.bin_path('bundler', 'bundle')