act-fluent-logger-rails 0.3.1 → 0.6.2

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
- SHA1:
3
- metadata.gz: f0834dba9426994161c913acff5c6627043aa523
4
- data.tar.gz: 93b491bffed255d88e9af788f46d5c5fdabd060e
2
+ SHA256:
3
+ metadata.gz: c4a5f8557252e81bf439315720d56e55a7142ef99e94192b8b20ad7c6f70a232
4
+ data.tar.gz: 83d54f7cf71f2438efe0f0f91bb307fdc2230622f039f2b5a2a49e416faa04ff
5
5
  SHA512:
6
- metadata.gz: a64860e00dc6563cda6746461d5bac1feca9a8094dbdd7f12a2eefcf1f9f5349e5b1135972557ef0da9f48533631b6158cacf454a496e6f3bb2fb3236e16d445
7
- data.tar.gz: 38eacf10ee7ae321e956b16412b7a2343b8f3212d6bed8e988f31186f7e315b6e07b6e66dfb19087f4a046cd4c850736a8593c233dcb9047a325b4ebe64397ea
6
+ metadata.gz: 817726d7cc7a8656f3768da96eece0d87f68974e01a35b67e207a27cf28229f25281766163b6cd8ed4fddc59dba305da6c6b2fc50787dcad4dd4736ad3179db3
7
+ data.tar.gz: 141ee6675d47c310c61828e907640390bf0080dd001ea5c9258bded272287988270e17f155a7c9cd640e7d033afa885d9c8e93ebba517f4ec07494363d61d03d
data/.gitignore CHANGED
@@ -6,6 +6,8 @@
6
6
  .yardoc
7
7
  /vendor
8
8
  Gemfile.lock
9
+ gemfiles/*.lock
10
+ gemfiles/vendor
9
11
  InstalledFiles
10
12
  _yardoc
11
13
  coverage
@@ -1,17 +1,25 @@
1
1
  language: ruby
2
+ before_install:
3
+ - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
4
+ - gem install bundler -v '< 2'
2
5
  rvm:
3
- - 2.0.0-p648
4
- - 2.1.10
5
- - 2.2.5
6
- - 2.3.1
6
+ - 2.4.10
7
+ - 2.5.8
8
+ - 2.6.6
9
+ - 2.7.2
10
+ - 3.0.0-preview2
7
11
  gemfile:
8
- - gemfiles/rails_4.0.gemfile
9
- - gemfiles/rails_4.1.gemfile
10
- - gemfiles/rails_4.2.gemfile
11
12
  - gemfiles/rails_5.0.gemfile
13
+ - gemfiles/rails_5.1.gemfile
14
+ - gemfiles/rails_5.2.gemfile
15
+ - gemfiles/rails_6.0.gemfile
16
+ - gemfiles/rails_6.1.gemfile
12
17
  matrix:
13
18
  exclude:
14
- - rvm: 2.0.0-p648
15
- gemfile: gemfiles/rails_5.0.gemfile
16
- - rvm: 2.1.10
17
- gemfile: gemfiles/rails_5.0.gemfile
19
+ - rvm: 2.4.10
20
+ gemfile: gemfiles/rails_6.0.gemfile
21
+ - rvm: 2.4.10
22
+ gemfile: gemfiles/rails_6.1.gemfile
23
+ jobs:
24
+ allow_failures:
25
+ - rvm: 3.0.0-preview2
data/Appraisals CHANGED
@@ -1,19 +1,19 @@
1
- appraise 'rails-4.0' do
2
- gem 'railties', '4.0.13'
3
- gem 'activesupport', '4.0.13'
1
+ appraise 'rails-5.0' do
2
+ gem 'railties', '5.0.2'
3
+ gem 'activesupport', '5.0.2'
4
4
  end
5
5
 
6
- appraise 'rails-4.1' do
7
- gem 'railties', '4.1.15'
8
- gem 'activesupport', '4.1.15'
6
+ appraise 'rails-5.1' do
7
+ gem 'railties', '5.1.0'
8
+ gem 'activesupport', '5.1.0'
9
9
  end
10
10
 
11
- appraise 'rails-4.2' do
12
- gem 'railties', '4.2.6'
13
- gem 'activesupport', '4.2.6'
11
+ appraise 'rails-5.2' do
12
+ gem 'railties', '5.2.0'
13
+ gem 'activesupport', '5.2.0'
14
14
  end
15
15
 
16
- appraise 'rails-5.0' do
17
- gem 'railties', '5.0.0'
18
- gem 'activesupport', '5.0.0'
16
+ appraise 'rails-6.0' do
17
+ gem 'railties', '6.0.0.beta2'
18
+ gem 'activesupport', '6.0.0.beta2'
19
19
  end
@@ -1,3 +1,23 @@
1
+ ## 0.6.2 / Jan 8 2020
2
+ * Rails 6.1
3
+
4
+ ## 0.6.1 / Jan 8 2020
5
+ * Fix warning printed when use Rails 6
6
+
7
+ ## 0.6.0 / Nov 23 2019
8
+
9
+ * Rails 6
10
+ * Make Thread Safe
11
+
12
+ ## 0.5.0 / April 29 2017
13
+
14
+ * Rails 5.2
15
+ * support nanosecond_precision(Support nanosecond precision when sending logs to Fluentd #43)*
16
+
17
+ ## 0.4.0 / April 29 2017
18
+
19
+ * Rails 5.1
20
+
1
21
  ## 0.3.1 / August 18 2016
2
22
 
3
23
  * Replace dependency from rails to railties and activesupport.
@@ -8,7 +28,7 @@
8
28
 
9
29
  ## 0.2.0 / Mar 20 2016
10
30
 
11
- * Add severity_key parameter. Is is The key of severity(DEBUG, INFO, WARN, ERROR).
31
+ * Add severity_key parameter. It is The key of severity(DEBUG, INFO, WARN, ERROR).
12
32
 
13
33
  ## 0.1.10 / Dec 23 2015
14
34
 
data/README.md CHANGED
@@ -4,7 +4,7 @@ Fluent logger.
4
4
 
5
5
  ## Supported versions
6
6
 
7
- * Rails 4 and 5
7
+ * Rails 4, 5, 6
8
8
 
9
9
  ## Installation
10
10
 
@@ -44,14 +44,14 @@ Don't use config.log_tags.
44
44
  tag: 'foo'
45
45
  messages_type: 'string'
46
46
  severity_key: 'level' # default severity
47
-
47
+
48
48
  test:
49
49
  fluent_host: '127.0.0.1'
50
50
  fluent_port: 24224
51
51
  tag: 'foo'
52
52
  messages_type: 'string'
53
53
  severity_key: 'level' # default severity
54
-
54
+
55
55
  production:
56
56
  fluent_host: '127.0.0.1'
57
57
  fluent_port: 24224
@@ -94,6 +94,17 @@ You can add any tags at run time.
94
94
 
95
95
  logger[:foo] = "foo value"
96
96
 
97
+ ### Usage as a standalone logger
98
+
99
+ Typical usage is as a replacement for the default Rails logger, in which case
100
+ messages are collected and flushed automatically as part of the request
101
+ lifecycle. If you wish to use it instead as a separate logger and log to it
102
+ manually then it is necessary to initialize with the `flush_immediately` flag.
103
+
104
+ ```ruby
105
+ ActFluentLoggerRails::Logger.new(flush_immediately: true)
106
+ ```
107
+
97
108
 
98
109
  ## Contributing
99
110
 
@@ -102,3 +113,10 @@ You can add any tags at run time.
102
113
  3. Commit your changes (`git commit -am 'Add some feature'`)
103
114
  4. Push to the branch (`git push origin my-new-feature`)
104
115
  5. Create new Pull Request
116
+
117
+ ## How to run test with appraisal
118
+ ```
119
+ gem install appraisal
120
+ bundle exec appraisal bundle
121
+ bundle exec appraisal rake
122
+ ```
@@ -20,6 +20,6 @@ Gem::Specification.new do |gem|
20
20
 
21
21
  gem.add_development_dependency "rspec", '~> 3.5.0'
22
22
  gem.add_runtime_dependency "fluent-logger"
23
- gem.add_runtime_dependency "railties", ">= 4", "< 5.1"
24
- gem.add_runtime_dependency "activesupport", ">= 4", "< 5.1"
23
+ gem.add_runtime_dependency "railties", ">= 4", "< 6.2"
24
+ gem.add_runtime_dependency "activesupport", ">= 4", "< 6.2"
25
25
  end
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal"
6
- gem "railties", "5.0.0"
7
- gem "activesupport", "5.0.0"
6
+ gem "railties", "5.0.2"
7
+ gem "activesupport", "5.0.2"
8
8
 
9
- gemspec :path => "../"
9
+ gemspec path: "../"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal"
6
- gem "railties", "4.2.6"
7
- gem "activesupport", "4.2.6"
6
+ gem "railties", "5.1.0"
7
+ gem "activesupport", "5.1.0"
8
8
 
9
- gemspec :path => "../"
9
+ gemspec path: "../"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal"
6
- gem "railties", "4.0.13"
7
- gem "activesupport", "4.0.13"
6
+ gem "railties", "5.2.0"
7
+ gem "activesupport", "5.2.0"
8
8
 
9
- gemspec :path => "../"
9
+ gemspec path: "../"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal"
6
- gem "railties", "4.1.15"
7
- gem "activesupport", "4.1.15"
6
+ gem "railties", "6.0.3.4"
7
+ gem "activesupport", "6.0.3.4"
8
8
 
9
- gemspec :path => "../"
9
+ gemspec path: "../"
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal"
6
+ gem "railties", "6.1.0"
7
+ gem "activesupport", "6.1.0"
8
+
9
+ gemspec path: "../"
@@ -2,6 +2,7 @@ require 'fluent-logger'
2
2
  require 'active_support/core_ext'
3
3
  require 'uri'
4
4
  require 'cgi'
5
+ require 'rails/version'
5
6
 
6
7
  module ActFluentLoggerRails
7
8
 
@@ -37,6 +38,7 @@ module ActFluentLoggerRails
37
38
  tag: fluent_config['tag'],
38
39
  host: fluent_config['fluent_host'],
39
40
  port: fluent_config['fluent_port'],
41
+ nanosecond_precision: fluent_config['nanosecond_precision'],
40
42
  messages_type: fluent_config['messages_type'],
41
43
  severity_key: fluent_config['severity_key'],
42
44
  }
@@ -58,13 +60,15 @@ module ActFluentLoggerRails
58
60
  fluent_host: uri.host,
59
61
  fluent_port: uri.port,
60
62
  tag: uri.path[1..-1],
63
+ nanosecond_precision: params['nanosecond_precision'].try(:first),
61
64
  messages_type: params['messages_type'].try(:first),
62
65
  severity_key: params['severity_key'].try(:first),
63
66
  }.stringify_keys
64
67
  end
65
68
 
66
69
  def tagged(*tags)
67
- @tags = tags.flatten
70
+ @tags_thread_key ||= "fluentd_tagged_logging_tags:#{object_id}".freeze
71
+ Thread.current[@tags_thread_key] = tags.flatten
68
72
  yield self
69
73
  ensure
70
74
  flush
@@ -76,16 +80,16 @@ module ActFluentLoggerRails
76
80
  self.level = level
77
81
  port = options[:port]
78
82
  host = options[:host]
83
+ nanosecond_precision = options[:nanosecond_precision]
79
84
  @messages_type = (options[:messages_type] || :array).to_sym
80
85
  @tag = options[:tag]
81
86
  @severity_key = (options[:severity_key] || :severity).to_sym
82
87
  @flush_immediately = options[:flush_immediately]
83
- @fluent_logger = ::Fluent::Logger::FluentLogger.new(nil, host: host, port: port)
88
+ logger_opts = {host: host, port: port, nanosecond_precision: nanosecond_precision}
89
+ @fluent_logger = ::Fluent::Logger::FluentLogger.new(nil, logger_opts)
84
90
  @severity = 0
85
- @messages = []
86
91
  @log_tags = log_tags
87
- @map = {}
88
- after_initialize if respond_to? :after_initialize
92
+ after_initialize if respond_to?(:after_initialize) && Rails::VERSION::MAJOR < 6
89
93
  end
90
94
 
91
95
  def add(severity, message = nil, progname = nil, &block)
@@ -111,41 +115,55 @@ module ActFluentLoggerRails
111
115
  end
112
116
 
113
117
  if message.encoding == Encoding::UTF_8
114
- @messages << message
118
+ logger_messages << message
115
119
  else
116
- @messages << message.dup.force_encoding(Encoding::UTF_8)
120
+ logger_messages << message.dup.force_encoding(Encoding::UTF_8)
117
121
  end
118
122
 
119
123
  flush if @flush_immediately
120
124
  end
121
125
 
122
126
  def [](key)
123
- @map[key]
127
+ map[key]
124
128
  end
125
129
 
126
130
  def []=(key, value)
127
- @map[key] = value
131
+ map[key] = value
128
132
  end
129
133
 
130
134
  def flush
131
- return if @messages.empty?
135
+ return if logger_messages.empty?
132
136
  messages = if @messages_type == :string
133
- @messages.join("\n")
137
+ logger_messages.join("\n")
134
138
  else
135
- @messages
139
+ logger_messages
136
140
  end
137
- @map[:messages] = messages
138
- @map[@severity_key] = format_severity(@severity)
139
- if @tags
140
- @log_tags.keys.zip(@tags).each do |k, v|
141
- @map[k] = v
142
- end
143
- end
144
- @fluent_logger.post(@tag, @map)
141
+ map[:messages] = messages
142
+ map[@severity_key] = format_severity(@severity)
143
+ add_tags
144
+
145
+ @fluent_logger.post(@tag, map)
145
146
  @severity = 0
146
- @messages.clear
147
- @tags = nil
148
- @map.clear
147
+ logger_messages.clear
148
+ Thread.current[@tags_thread_key] = nil if @tags_thread_key
149
+ map.clear
150
+ end
151
+
152
+ def add_tags
153
+ return unless @tags_thread_key && Thread.current.key?(@tags_thread_key)
154
+ @log_tags.keys.zip(Thread.current[@tags_thread_key]).each do |k, v|
155
+ map[k] = v
156
+ end
157
+ end
158
+
159
+ def logger_messages
160
+ @messages_thread_key ||= "fluentd_logger_messages:#{object_id}".freeze
161
+ Thread.current[@messages_thread_key] ||= []
162
+ end
163
+
164
+ def map
165
+ @map_thread_key ||= "fluentd_logger_map:#{object_id}".freeze
166
+ Thread.current[@map_thread_key] ||= {}
149
167
  end
150
168
 
151
169
  def close
@@ -1,3 +1,3 @@
1
1
  module ActFluentLoggerRails
2
- VERSION = "0.3.1"
2
+ VERSION = "0.6.2"
3
3
  end
@@ -52,7 +52,6 @@ EOF
52
52
  }
53
53
 
54
54
  describe 'logging' do
55
-
56
55
  describe 'basic' do
57
56
  it 'info' do
58
57
  # see Rails::Rack::compute_tags
@@ -86,6 +85,39 @@ EOF
86
85
  end
87
86
  end
88
87
 
88
+ it 'is thread safe' do
89
+ threads = ['hello', 'world'].map do |tag_name|
90
+ Thread.new {
91
+ if tag_name == 'hello'
92
+ request = double('request', uuid: tag_name)
93
+ tags = log_tags.values.collect do |tag|
94
+ case tag
95
+ when Proc
96
+ tag.call(request)
97
+ when Symbol
98
+ request.send(tag)
99
+ else
100
+ tag
101
+ end
102
+ end
103
+ else
104
+ tags = []
105
+ end
106
+ logger.info(tag_name)
107
+ logger.tagged(tags) { sleep(1) if tag_name == 'hello'; logger.info(tag_name) }
108
+ }
109
+ end
110
+
111
+ while threads.any?(&:alive?)
112
+ sleep(0.1)
113
+ end
114
+ expect(@my_logger.log).to match_array([
115
+ ['foo', { messages: ['hello', 'hello'], severity: 'INFO', uuid: 'hello', foo: 'foo_value' } ],
116
+ ['foo', { messages: ['world', 'world'], severity: 'INFO', uuid: nil, foo: nil } ]
117
+ ])
118
+ end
119
+
120
+
89
121
  describe 'frozen ascii-8bit string' do
90
122
  before do
91
123
  logger.instance_variable_set(:@messages_type, :string)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: act-fluent-logger-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAHARA Yoshinori
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-18 00:00:00.000000000 Z
11
+ date: 2021-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: '4'
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
- version: '5.1'
50
+ version: '6.2'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: '4'
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
- version: '5.1'
60
+ version: '6.2'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: activesupport
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -67,7 +67,7 @@ dependencies:
67
67
  version: '4'
68
68
  - - "<"
69
69
  - !ruby/object:Gem::Version
70
- version: '5.1'
70
+ version: '6.2'
71
71
  type: :runtime
72
72
  prerelease: false
73
73
  version_requirements: !ruby/object:Gem::Requirement
@@ -77,7 +77,7 @@ dependencies:
77
77
  version: '4'
78
78
  - - "<"
79
79
  - !ruby/object:Gem::Version
80
- version: '5.1'
80
+ version: '6.2'
81
81
  description: Fluent logger
82
82
  email:
83
83
  - read.eval.print@gmail.com
@@ -94,14 +94,11 @@ files:
94
94
  - README.md
95
95
  - Rakefile
96
96
  - act-fluent-logger-rails.gemspec
97
- - gemfiles/rails_4.0.gemfile
98
- - gemfiles/rails_4.0.gemfile.lock
99
- - gemfiles/rails_4.1.gemfile
100
- - gemfiles/rails_4.1.gemfile.lock
101
- - gemfiles/rails_4.2.gemfile
102
- - gemfiles/rails_4.2.gemfile.lock
103
97
  - gemfiles/rails_5.0.gemfile
104
- - gemfiles/rails_5.0.gemfile.lock
98
+ - gemfiles/rails_5.1.gemfile
99
+ - gemfiles/rails_5.2.gemfile
100
+ - gemfiles/rails_6.0.gemfile
101
+ - gemfiles/rails_6.1.gemfile
105
102
  - lib/act-fluent-logger-rails.rb
106
103
  - lib/act-fluent-logger-rails/logger.rb
107
104
  - lib/act-fluent-logger-rails/version.rb
@@ -111,7 +108,7 @@ homepage: https://github.com/actindi/act-fluent-logger-rails
111
108
  licenses:
112
109
  - MIT
113
110
  metadata: {}
114
- post_install_message:
111
+ post_install_message:
115
112
  rdoc_options: []
116
113
  require_paths:
117
114
  - lib
@@ -126,9 +123,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
123
  - !ruby/object:Gem::Version
127
124
  version: '0'
128
125
  requirements: []
129
- rubyforge_project:
130
- rubygems_version: 2.5.1
131
- signing_key:
126
+ rubyforge_project:
127
+ rubygems_version: 2.7.6
128
+ signing_key:
132
129
  specification_version: 4
133
130
  summary: Fluent logger
134
131
  test_files:
@@ -1,74 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- act-fluent-logger-rails (0.3.0)
5
- activesupport (>= 4, < 5.1)
6
- fluent-logger
7
- railties (>= 4, < 5.1)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actionpack (4.0.13)
13
- activesupport (= 4.0.13)
14
- builder (~> 3.1.0)
15
- erubis (~> 2.7.0)
16
- rack (~> 1.5.2)
17
- rack-test (~> 0.6.2)
18
- activesupport (4.0.13)
19
- i18n (~> 0.6, >= 0.6.9)
20
- minitest (~> 4.2)
21
- multi_json (~> 1.3)
22
- thread_safe (~> 0.1)
23
- tzinfo (~> 0.3.37)
24
- appraisal (2.1.0)
25
- bundler
26
- rake
27
- thor (>= 0.14.0)
28
- builder (3.1.4)
29
- diff-lcs (1.2.5)
30
- erubis (2.7.0)
31
- fluent-logger (0.5.1)
32
- msgpack (>= 0.4.4, < 0.6.0, != 0.5.3, != 0.5.2, != 0.5.1, != 0.5.0)
33
- i18n (0.7.0)
34
- minitest (4.7.5)
35
- msgpack (0.5.12)
36
- multi_json (1.12.1)
37
- rack (1.5.5)
38
- rack-test (0.6.3)
39
- rack (>= 1.0)
40
- railties (4.0.13)
41
- actionpack (= 4.0.13)
42
- activesupport (= 4.0.13)
43
- rake (>= 0.8.7)
44
- thor (>= 0.18.1, < 2.0)
45
- rake (11.2.2)
46
- rspec (3.5.0)
47
- rspec-core (~> 3.5.0)
48
- rspec-expectations (~> 3.5.0)
49
- rspec-mocks (~> 3.5.0)
50
- rspec-core (3.5.0)
51
- rspec-support (~> 3.5.0)
52
- rspec-expectations (3.5.0)
53
- diff-lcs (>= 1.2.0, < 2.0)
54
- rspec-support (~> 3.5.0)
55
- rspec-mocks (3.5.0)
56
- diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.5.0)
58
- rspec-support (3.5.0)
59
- thor (0.19.1)
60
- thread_safe (0.3.5)
61
- tzinfo (0.3.50)
62
-
63
- PLATFORMS
64
- ruby
65
-
66
- DEPENDENCIES
67
- act-fluent-logger-rails!
68
- activesupport (= 4.0.13)
69
- appraisal
70
- railties (= 4.0.13)
71
- rspec (~> 3.5.0)
72
-
73
- BUNDLED WITH
74
- 1.12.5
@@ -1,78 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- act-fluent-logger-rails (0.3.0)
5
- activesupport (>= 4, < 5.1)
6
- fluent-logger
7
- railties (>= 4, < 5.1)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actionpack (4.1.15)
13
- actionview (= 4.1.15)
14
- activesupport (= 4.1.15)
15
- rack (~> 1.5.2)
16
- rack-test (~> 0.6.2)
17
- actionview (4.1.15)
18
- activesupport (= 4.1.15)
19
- builder (~> 3.1)
20
- erubis (~> 2.7.0)
21
- activesupport (4.1.15)
22
- i18n (~> 0.6, >= 0.6.9)
23
- json (~> 1.7, >= 1.7.7)
24
- minitest (~> 5.1)
25
- thread_safe (~> 0.1)
26
- tzinfo (~> 1.1)
27
- appraisal (2.1.0)
28
- bundler
29
- rake
30
- thor (>= 0.14.0)
31
- builder (3.2.2)
32
- diff-lcs (1.2.5)
33
- erubis (2.7.0)
34
- fluent-logger (0.5.1)
35
- msgpack (>= 0.4.4, < 0.6.0, != 0.5.3, != 0.5.2, != 0.5.1, != 0.5.0)
36
- i18n (0.7.0)
37
- json (1.8.3)
38
- minitest (5.9.0)
39
- msgpack (0.5.12)
40
- rack (1.5.5)
41
- rack-test (0.6.3)
42
- rack (>= 1.0)
43
- railties (4.1.15)
44
- actionpack (= 4.1.15)
45
- activesupport (= 4.1.15)
46
- rake (>= 0.8.7)
47
- thor (>= 0.18.1, < 2.0)
48
- rake (11.2.2)
49
- rspec (3.5.0)
50
- rspec-core (~> 3.5.0)
51
- rspec-expectations (~> 3.5.0)
52
- rspec-mocks (~> 3.5.0)
53
- rspec-core (3.5.0)
54
- rspec-support (~> 3.5.0)
55
- rspec-expectations (3.5.0)
56
- diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.5.0)
58
- rspec-mocks (3.5.0)
59
- diff-lcs (>= 1.2.0, < 2.0)
60
- rspec-support (~> 3.5.0)
61
- rspec-support (3.5.0)
62
- thor (0.19.1)
63
- thread_safe (0.3.5)
64
- tzinfo (1.2.2)
65
- thread_safe (~> 0.1)
66
-
67
- PLATFORMS
68
- ruby
69
-
70
- DEPENDENCIES
71
- act-fluent-logger-rails!
72
- activesupport (= 4.1.15)
73
- appraisal
74
- railties (= 4.1.15)
75
- rspec (~> 3.5.0)
76
-
77
- BUNDLED WITH
78
- 1.12.5
@@ -1,97 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- act-fluent-logger-rails (0.3.0)
5
- activesupport (>= 4, < 5.1)
6
- fluent-logger
7
- railties (>= 4, < 5.1)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actionpack (4.2.6)
13
- actionview (= 4.2.6)
14
- activesupport (= 4.2.6)
15
- rack (~> 1.6)
16
- rack-test (~> 0.6.2)
17
- rails-dom-testing (~> 1.0, >= 1.0.5)
18
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
19
- actionview (4.2.6)
20
- activesupport (= 4.2.6)
21
- builder (~> 3.1)
22
- erubis (~> 2.7.0)
23
- rails-dom-testing (~> 1.0, >= 1.0.5)
24
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
- activesupport (4.2.6)
26
- i18n (~> 0.7)
27
- json (~> 1.7, >= 1.7.7)
28
- minitest (~> 5.1)
29
- thread_safe (~> 0.3, >= 0.3.4)
30
- tzinfo (~> 1.1)
31
- appraisal (2.1.0)
32
- bundler
33
- rake
34
- thor (>= 0.14.0)
35
- builder (3.2.2)
36
- diff-lcs (1.2.5)
37
- erubis (2.7.0)
38
- fluent-logger (0.5.1)
39
- msgpack (>= 0.4.4, < 0.6.0, != 0.5.3, != 0.5.2, != 0.5.1, != 0.5.0)
40
- i18n (0.7.0)
41
- json (1.8.3)
42
- loofah (2.0.3)
43
- nokogiri (>= 1.5.9)
44
- mini_portile2 (2.1.0)
45
- minitest (5.9.0)
46
- msgpack (0.5.12)
47
- nokogiri (1.6.8)
48
- mini_portile2 (~> 2.1.0)
49
- pkg-config (~> 1.1.7)
50
- pkg-config (1.1.7)
51
- rack (1.6.4)
52
- rack-test (0.6.3)
53
- rack (>= 1.0)
54
- rails-deprecated_sanitizer (1.0.3)
55
- activesupport (>= 4.2.0.alpha)
56
- rails-dom-testing (1.0.7)
57
- activesupport (>= 4.2.0.beta, < 5.0)
58
- nokogiri (~> 1.6.0)
59
- rails-deprecated_sanitizer (>= 1.0.1)
60
- rails-html-sanitizer (1.0.3)
61
- loofah (~> 2.0)
62
- railties (4.2.6)
63
- actionpack (= 4.2.6)
64
- activesupport (= 4.2.6)
65
- rake (>= 0.8.7)
66
- thor (>= 0.18.1, < 2.0)
67
- rake (11.2.2)
68
- rspec (3.5.0)
69
- rspec-core (~> 3.5.0)
70
- rspec-expectations (~> 3.5.0)
71
- rspec-mocks (~> 3.5.0)
72
- rspec-core (3.5.0)
73
- rspec-support (~> 3.5.0)
74
- rspec-expectations (3.5.0)
75
- diff-lcs (>= 1.2.0, < 2.0)
76
- rspec-support (~> 3.5.0)
77
- rspec-mocks (3.5.0)
78
- diff-lcs (>= 1.2.0, < 2.0)
79
- rspec-support (~> 3.5.0)
80
- rspec-support (3.5.0)
81
- thor (0.19.1)
82
- thread_safe (0.3.5)
83
- tzinfo (1.2.2)
84
- thread_safe (~> 0.1)
85
-
86
- PLATFORMS
87
- ruby
88
-
89
- DEPENDENCIES
90
- act-fluent-logger-rails!
91
- activesupport (= 4.2.6)
92
- appraisal
93
- railties (= 4.2.6)
94
- rspec (~> 3.5.0)
95
-
96
- BUNDLED WITH
97
- 1.12.5
@@ -1,95 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- act-fluent-logger-rails (0.3.0)
5
- activesupport (>= 4, < 5.1)
6
- fluent-logger
7
- railties (>= 4, < 5.1)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actionpack (5.0.0)
13
- actionview (= 5.0.0)
14
- activesupport (= 5.0.0)
15
- rack (~> 2.0)
16
- rack-test (~> 0.6.3)
17
- rails-dom-testing (~> 2.0)
18
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
19
- actionview (5.0.0)
20
- activesupport (= 5.0.0)
21
- builder (~> 3.1)
22
- erubis (~> 2.7.0)
23
- rails-dom-testing (~> 2.0)
24
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
- activesupport (5.0.0)
26
- concurrent-ruby (~> 1.0, >= 1.0.2)
27
- i18n (~> 0.7)
28
- minitest (~> 5.1)
29
- tzinfo (~> 1.1)
30
- appraisal (2.1.0)
31
- bundler
32
- rake
33
- thor (>= 0.14.0)
34
- builder (3.2.2)
35
- concurrent-ruby (1.0.2)
36
- diff-lcs (1.2.5)
37
- erubis (2.7.0)
38
- fluent-logger (0.5.1)
39
- msgpack (>= 0.4.4, < 0.6.0, != 0.5.3, != 0.5.2, != 0.5.1, != 0.5.0)
40
- i18n (0.7.0)
41
- loofah (2.0.3)
42
- nokogiri (>= 1.5.9)
43
- method_source (0.8.2)
44
- mini_portile2 (2.1.0)
45
- minitest (5.9.0)
46
- msgpack (0.5.12)
47
- nokogiri (1.6.8)
48
- mini_portile2 (~> 2.1.0)
49
- pkg-config (~> 1.1.7)
50
- pkg-config (1.1.7)
51
- rack (2.0.1)
52
- rack-test (0.6.3)
53
- rack (>= 1.0)
54
- rails-dom-testing (2.0.1)
55
- activesupport (>= 4.2.0, < 6.0)
56
- nokogiri (~> 1.6.0)
57
- rails-html-sanitizer (1.0.3)
58
- loofah (~> 2.0)
59
- railties (5.0.0)
60
- actionpack (= 5.0.0)
61
- activesupport (= 5.0.0)
62
- method_source
63
- rake (>= 0.8.7)
64
- thor (>= 0.18.1, < 2.0)
65
- rake (11.2.2)
66
- rspec (3.5.0)
67
- rspec-core (~> 3.5.0)
68
- rspec-expectations (~> 3.5.0)
69
- rspec-mocks (~> 3.5.0)
70
- rspec-core (3.5.0)
71
- rspec-support (~> 3.5.0)
72
- rspec-expectations (3.5.0)
73
- diff-lcs (>= 1.2.0, < 2.0)
74
- rspec-support (~> 3.5.0)
75
- rspec-mocks (3.5.0)
76
- diff-lcs (>= 1.2.0, < 2.0)
77
- rspec-support (~> 3.5.0)
78
- rspec-support (3.5.0)
79
- thor (0.19.1)
80
- thread_safe (0.3.5)
81
- tzinfo (1.2.2)
82
- thread_safe (~> 0.1)
83
-
84
- PLATFORMS
85
- ruby
86
-
87
- DEPENDENCIES
88
- act-fluent-logger-rails!
89
- activesupport (= 5.0.0)
90
- appraisal
91
- railties (= 5.0.0)
92
- rspec (~> 3.5.0)
93
-
94
- BUNDLED WITH
95
- 1.12.5