oh_my_log 1.0.1 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b6e566db9eef37a2baa46558246d1806cdb6168b5b1e893670570f8455d4fdd
4
- data.tar.gz: 5846cde591c8be91cfc8b45df5d83ff6660ae1a5782bdef8ac962ffd4765888b
3
+ metadata.gz: a3ad89d588fc30b289b18a1dc6c25a83b8d3cc0be5d25a97322107a92c3a940c
4
+ data.tar.gz: d2989764451af11771bc75d854ab9124b4e27205048eb1642fedcd4162f244fe
5
5
  SHA512:
6
- metadata.gz: aed087cbaf738416e0377c8824c995c0de36692aeaf408594fb22b413e294d842fca0479eed429a2a8bf2f7feeaae0e14d1486554911d624eef77ddb0b6ba031
7
- data.tar.gz: 821c53d92e568c3790432fc683274fec3c1614b25ade16c94ecab89787eb27b5c39334bc9d2d679e2f2731a7d87cddc53eb87c3cfcac73ea19adce4a790169a8
6
+ metadata.gz: 80b18c3a433380f7a9624f93c2e1404ca6656a97064f8c39e754bac567aba13eead98a36a151074d4d5229b5a0681c55c91cc248e47cb1186b6e6abd5be14752
7
+ data.tar.gz: d14628e11566426de6fc07bb61474b17ffb5655a12f864701d7557f8952a9451d410729edc37bdae8dae191a8585225a85e3ab5f07ab970c40066f44c76408da
data/.gitignore CHANGED
@@ -6,3 +6,5 @@ spec/dummy/tmp/*
6
6
  .bundle
7
7
  Gemfile.lock
8
8
  vendor/
9
+ *.lock
10
+ doc/
data/README.md CHANGED
@@ -13,13 +13,13 @@ ___
13
13
  * 1- Include this gem in your gemfile:
14
14
 
15
15
  ```sh
16
- gem 'oh_my_log', git: "https://bitbucket.org/thefoolsrl/oh_my_log"
16
+ gem 'oh_my_log'
17
17
  ```
18
18
 
19
- * 2- Generate the initializer with the following rake task:
19
+ * 2- Install the gem following rake task:
20
20
 
21
21
  ```sh
22
- bundle exec rake oh_my_log:generate_initializer
22
+ bundle exec rake oh_my_log:install
23
23
  ```
24
24
 
25
25
  This rake task will generate a simple initializer that you can later change:
@@ -31,12 +31,17 @@ OhMyLog::Log.configure do |config|
31
31
  selector = OhMyLog::Log::Selector.universal_for(actions: {"EXCEPT" =>["index"]})
32
32
  #selector.set_status_codes("ONLY" =>[(0..200)])
33
33
  config.add_selector(selector)
34
+ OhMyLog.start if File.directory?(Rails.root + "app/models/observers/oh_my_log")
34
35
  #put your configs here
35
36
  end
36
37
  end
37
38
  ```
38
39
 
39
- * 3- Generate Observers using the following rake task:
40
+ and a collection of observes based on the first initializer configuration that you can find under app/models/observers/oh_my_log.
41
+
42
+ If you made any changes to the initializer you can REBUILD the observers list using the following task.
43
+
44
+ **This will destroy all the files inside app/models/observers/oh_my_log and recreate them**
40
45
 
41
46
  ```sh
42
47
  bundle exec rake oh_my_log:generate_observers
@@ -11,7 +11,7 @@ module OhMyLog
11
11
  end
12
12
 
13
13
  def to_s
14
- return "#{@receiver.class.to_s}[#{@receiver.id}] => #{@changes}"
14
+ "#{@receiver.class.to_s}[#{@receiver.id}] => #{@changes}"
15
15
  end
16
16
  end
17
17
  end
data/lib/oh_my_log/log.rb CHANGED
@@ -113,6 +113,7 @@ module OhMyLog
113
113
  return permitted_action
114
114
  end
115
115
 
116
+ #TODO: implement filtering by method
116
117
  def self.loggable?(params, status, method)
117
118
  ctrl_name = params["controller"]
118
119
  ctrl_action = params["action"].to_sym
@@ -1,6 +1,6 @@
1
1
  module OhMyLog
2
2
  module Log
3
- #the request is what the user is trying to do
3
+ #the request is what the user is trying to do
4
4
  class Request
5
5
  attr_reader :sender, :date, :params, :method, :status
6
6
 
@@ -1,13 +1,13 @@
1
1
  module OhMyLog
2
2
  module Log
3
- #Selector is a set of rule that Log.loggable? will have to respect
3
+ #Selector is a set of rule that Log.loggable? will have to respect
4
4
  class Selector
5
5
  attr_reader :controllers, :actions, :status_codes, :ips
6
6
  METHODS = ["GET", "HEAD", "POST", "PATCH", "PUT", "DELETE"].freeze
7
7
  ACTIONS = ["ONLY", "EXCEPT", "ALL"].freeze
8
- # add methods in the same style as anythingelse
8
+ # TODO: add methods in the same style as anything else
9
9
  # and it will affect the parameter method in the loggable function in LOG.rb
10
- ##EXCEPT O ONLY
10
+ # EXCEPT O ONLY
11
11
  def initialize(controllers: default_hash_setting, actions: default_hash_setting, ips: default_hash_setting, status_codes: default_hash_setting)
12
12
  @controllers = controllers
13
13
  @actions = actions
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OhMyLog
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
data/lib/oh_my_log.rb CHANGED
@@ -15,8 +15,7 @@ end
15
15
  module OhMyLog
16
16
  #call this after you configured the Log Module
17
17
  def self.start
18
- Railtie.start_oh_my_log
19
-
18
+ activate
20
19
  #the main loop to get callbacks from controllers
21
20
  ActiveSupport::Notifications.subscribe "process_action.action_controller" do |*args|
22
21
  data = args[-1]
@@ -29,6 +28,19 @@ module OhMyLog
29
28
  end
30
29
  end
31
30
 
31
+ def self.activate
32
+ if defined?(Mongoid)
33
+ require 'mongoid-observers'
34
+ require_relative "oh_my_log/mongoid_observer"
35
+ end
36
+ begin
37
+ require Rails.root + "config/initializers/oh_my_log_initializer.rb"
38
+ ::OhMyLog::ObserverFactory.activate_observers
39
+ rescue
40
+ return "could not start the gem, did you run oh_my_log:install ?"
41
+ end
42
+ end
43
+
32
44
  def self.generate_initializer
33
45
  FileUtils.cp_r(File.expand_path(__dir__ + '/../blue_print/oh_my_log_initializer.rb'), Rails.root + "config/initializers")
34
46
  p "Successfully created initializer!"
data/lib/railtie.rb CHANGED
@@ -28,19 +28,6 @@ class Railtie < ::Rails::Railtie
28
28
  end
29
29
  end
30
30
 
31
- def self.start_oh_my_log
32
- if defined?(Mongoid)
33
- require 'mongoid-observers'
34
- require_relative "oh_my_log/mongoid_observer"
35
- end
36
- begin
37
- require Rails.root + "config/initializers/oh_my_log_initializer.rb"
38
- ::OhMyLog::ObserverFactory.activate_observers
39
- rescue
40
- return "could not start the gem, did you run oh_my_log:install ?"
41
- end
42
- end
43
-
44
31
  #time to add some tasks
45
32
  rake_tasks do
46
33
  load 'tasks/oh_my_log.rake'
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+ require 'rake'
2
3
 
3
4
  namespace :oh_my_log do
4
5
  desc 'Generate the observers for each ActiveRecord model'
@@ -16,11 +17,11 @@ namespace :oh_my_log do
16
17
 
17
18
  desc 'Install the gem by building initializer and observers'
18
19
  task install: :environment do
19
- OhMyLog.generate_initializer
20
+ Rake::Task['oh_my_log:generate_initializer'].invoke
20
21
  p "generated initializer"
21
22
  sleep(1)
22
23
  require Rails.root + "config/initializers/oh_my_log_initializer.rb"
23
- OhMyLog::ObserverFactory.generate_collection
24
+ Rake::Task['oh_my_log:generate_observers'].invoke
24
25
  p "generated collections"
25
26
  end
26
27
 
data/oh_my_log.gemspec CHANGED
@@ -19,18 +19,16 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ["lib"]
20
20
 
21
21
  if RUBY_VERSION >= '2.4'
22
- s.add_runtime_dependency 'rails', '>= 4.2.0', '< 7.0'
22
+ s.add_runtime_dependency 'rails', '>= 4.2.0', '< 6.0'
23
23
  else
24
24
  s.add_runtime_dependency 'railties', '>= 4.2.0', '< 6.0'
25
25
  end
26
- s.add_runtime_dependency 'json'
27
26
  s.add_runtime_dependency("rails-observers", "~> 0.1.5")
28
27
  s.add_development_dependency 'coveralls'
29
28
  s.add_development_dependency 'rubocop', '~> 0.59.2'
30
29
  s.add_development_dependency 'bundler'
31
30
  s.add_development_dependency 'appraisal'
32
- s.add_development_dependency 'sqlite3', '1.3.10'
33
- s.add_development_dependency 'rspec-core'
31
+ s.add_development_dependency 'sqlite3', '~> 1.3.10'
34
32
  s.add_development_dependency 'wwtd'
35
33
  s.add_development_dependency 'rspec-rails'
36
34
  end
data/spec/spec_helper.rb CHANGED
@@ -2,6 +2,10 @@ ENV['RAILS_ENV'] ||= 'test'
2
2
  require 'simplecov'
3
3
  SimpleCov.start do
4
4
  add_filter 'gemfiles'
5
+ add_filter 'lib/railtie.rb'
6
+ add_filter 'lib/tasks/oh_my_log.rake'
7
+ add_filter 'spec'
8
+ add_filter 'blue_print'
5
9
  add_group 'Tests', 'test'
6
10
  end
7
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oh_my_log
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabrizio Spadaro
@@ -30,20 +30,6 @@ dependencies:
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '6.0'
33
- - !ruby/object:Gem::Dependency
34
- name: json
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: '0'
40
- type: :runtime
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: '0'
47
33
  - !ruby/object:Gem::Dependency
48
34
  name: rails-observers
49
35
  requirement: !ruby/object:Gem::Requirement
@@ -118,30 +104,16 @@ dependencies:
118
104
  name: sqlite3
119
105
  requirement: !ruby/object:Gem::Requirement
120
106
  requirements:
121
- - - '='
107
+ - - "~>"
122
108
  - !ruby/object:Gem::Version
123
109
  version: 1.3.10
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
116
  version: 1.3.10
131
- - !ruby/object:Gem::Dependency
132
- name: rspec-core
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - ">="
136
- - !ruby/object:Gem::Version
137
- version: '0'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - ">="
143
- - !ruby/object:Gem::Version
144
- version: '0'
145
117
  - !ruby/object:Gem::Dependency
146
118
  name: wwtd
147
119
  requirement: !ruby/object:Gem::Requirement
@@ -190,13 +162,9 @@ files:
190
162
  - Rakefile
191
163
  - blue_print/oh_my_log_initializer.rb
192
164
  - gemfiles/rails_4.2_stable.gemfile
193
- - gemfiles/rails_4.2_stable.gemfile.lock
194
165
  - gemfiles/rails_5.0_stable.gemfile
195
- - gemfiles/rails_5.0_stable.gemfile.lock
196
166
  - gemfiles/rails_5.1_stable.gemfile
197
- - gemfiles/rails_5.1_stable.gemfile.lock
198
167
  - gemfiles/rails_5.2_stable.gemfile
199
- - gemfiles/rails_5.2_stable.gemfile.lock
200
168
  - lib/oh_my_log.rb
201
169
  - lib/oh_my_log/active_record_observer.rb
202
170
  - lib/oh_my_log/configuration.rb
@@ -1,181 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- oh_my_log (1.0.0)
5
- json
6
- rails (>= 4.2.0, < 7.0)
7
- rails-observers (~> 0.1.5)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actionmailer (4.2.11)
13
- actionpack (= 4.2.11)
14
- actionview (= 4.2.11)
15
- activejob (= 4.2.11)
16
- mail (~> 2.5, >= 2.5.4)
17
- rails-dom-testing (~> 1.0, >= 1.0.5)
18
- actionpack (4.2.11)
19
- actionview (= 4.2.11)
20
- activesupport (= 4.2.11)
21
- rack (~> 1.6)
22
- rack-test (~> 0.6.2)
23
- rails-dom-testing (~> 1.0, >= 1.0.5)
24
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
- actionview (4.2.11)
26
- activesupport (= 4.2.11)
27
- builder (~> 3.1)
28
- erubis (~> 2.7.0)
29
- rails-dom-testing (~> 1.0, >= 1.0.5)
30
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
31
- activejob (4.2.11)
32
- activesupport (= 4.2.11)
33
- globalid (>= 0.3.0)
34
- activemodel (4.2.11)
35
- activesupport (= 4.2.11)
36
- builder (~> 3.1)
37
- activerecord (4.2.11)
38
- activemodel (= 4.2.11)
39
- activesupport (= 4.2.11)
40
- arel (~> 6.0)
41
- activesupport (4.2.11)
42
- i18n (~> 0.7)
43
- minitest (~> 5.1)
44
- thread_safe (~> 0.3, >= 0.3.4)
45
- tzinfo (~> 1.1)
46
- appraisal (2.2.0)
47
- bundler
48
- rake
49
- thor (>= 0.14.0)
50
- arel (6.0.4)
51
- ast (2.4.0)
52
- builder (3.2.3)
53
- concurrent-ruby (1.1.4)
54
- coveralls (0.8.22)
55
- json (>= 1.8, < 3)
56
- simplecov (~> 0.16.1)
57
- term-ansicolor (~> 1.3)
58
- thor (~> 0.19.4)
59
- tins (~> 1.6)
60
- crass (1.0.4)
61
- diff-lcs (1.3)
62
- docile (1.3.1)
63
- erubis (2.7.0)
64
- globalid (0.4.2)
65
- activesupport (>= 4.2.0)
66
- i18n (0.9.5)
67
- concurrent-ruby (~> 1.0)
68
- jaro_winkler (1.5.2)
69
- json (2.2.0)
70
- loofah (2.2.3)
71
- crass (~> 1.0.2)
72
- nokogiri (>= 1.5.9)
73
- mail (2.7.1)
74
- mini_mime (>= 0.1.1)
75
- mini_mime (1.0.1)
76
- mini_portile2 (2.4.0)
77
- minitest (5.11.3)
78
- nokogiri (1.10.1)
79
- mini_portile2 (~> 2.4.0)
80
- parallel (1.14.0)
81
- parser (2.6.0.0)
82
- ast (~> 2.4.0)
83
- powerpack (0.1.2)
84
- rack (1.6.11)
85
- rack-test (0.6.3)
86
- rack (>= 1.0)
87
- rails (4.2.11)
88
- actionmailer (= 4.2.11)
89
- actionpack (= 4.2.11)
90
- actionview (= 4.2.11)
91
- activejob (= 4.2.11)
92
- activemodel (= 4.2.11)
93
- activerecord (= 4.2.11)
94
- activesupport (= 4.2.11)
95
- bundler (>= 1.3.0, < 2.0)
96
- railties (= 4.2.11)
97
- sprockets-rails
98
- rails-deprecated_sanitizer (1.0.3)
99
- activesupport (>= 4.2.0.alpha)
100
- rails-dom-testing (1.0.9)
101
- activesupport (>= 4.2.0, < 5.0)
102
- nokogiri (~> 1.6)
103
- rails-deprecated_sanitizer (>= 1.0.1)
104
- rails-html-sanitizer (1.0.4)
105
- loofah (~> 2.2, >= 2.2.2)
106
- rails-observers (0.1.5)
107
- activemodel (>= 4.0)
108
- railties (4.2.11)
109
- actionpack (= 4.2.11)
110
- activesupport (= 4.2.11)
111
- rake (>= 0.8.7)
112
- thor (>= 0.18.1, < 2.0)
113
- rainbow (3.0.0)
114
- rake (12.3.2)
115
- rspec-core (3.8.0)
116
- rspec-support (~> 3.8.0)
117
- rspec-expectations (3.8.2)
118
- diff-lcs (>= 1.2.0, < 2.0)
119
- rspec-support (~> 3.8.0)
120
- rspec-mocks (3.8.0)
121
- diff-lcs (>= 1.2.0, < 2.0)
122
- rspec-support (~> 3.8.0)
123
- rspec-rails (3.8.2)
124
- actionpack (>= 3.0)
125
- activesupport (>= 3.0)
126
- railties (>= 3.0)
127
- rspec-core (~> 3.8.0)
128
- rspec-expectations (~> 3.8.0)
129
- rspec-mocks (~> 3.8.0)
130
- rspec-support (~> 3.8.0)
131
- rspec-support (3.8.0)
132
- rubocop (0.59.2)
133
- jaro_winkler (~> 1.5.1)
134
- parallel (~> 1.10)
135
- parser (>= 2.5, != 2.5.1.1)
136
- powerpack (~> 0.1)
137
- rainbow (>= 2.2.2, < 4.0)
138
- ruby-progressbar (~> 1.7)
139
- unicode-display_width (~> 1.0, >= 1.0.1)
140
- ruby-progressbar (1.10.0)
141
- simplecov (0.16.1)
142
- docile (~> 1.1)
143
- json (>= 1.8, < 3)
144
- simplecov-html (~> 0.10.0)
145
- simplecov-html (0.10.2)
146
- sprockets (3.7.2)
147
- concurrent-ruby (~> 1.0)
148
- rack (> 1, < 3)
149
- sprockets-rails (3.2.1)
150
- actionpack (>= 4.0)
151
- activesupport (>= 4.0)
152
- sprockets (>= 3.0.0)
153
- sqlite3 (1.3.10)
154
- term-ansicolor (1.7.1)
155
- tins (~> 1.0)
156
- thor (0.19.4)
157
- thread_safe (0.3.6)
158
- tins (1.20.2)
159
- tzinfo (1.2.5)
160
- thread_safe (~> 0.1)
161
- unicode-display_width (1.5.0)
162
- wwtd (1.3.0)
163
-
164
- PLATFORMS
165
- ruby
166
-
167
- DEPENDENCIES
168
- appraisal
169
- bundler
170
- coveralls
171
- oh_my_log!
172
- rails (~> 4.2.0)
173
- rails-observers
174
- rspec-core
175
- rspec-rails
176
- rubocop (~> 0.59.2)
177
- sqlite3 (= 1.3.10)
178
- wwtd
179
-
180
- BUNDLED WITH
181
- 1.17.1
@@ -1,188 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- oh_my_log (1.0.0)
5
- json
6
- rails (>= 4.2.0, < 7.0)
7
- rails-observers (~> 0.1.5)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actioncable (5.0.7.1)
13
- actionpack (= 5.0.7.1)
14
- nio4r (>= 1.2, < 3.0)
15
- websocket-driver (~> 0.6.1)
16
- actionmailer (5.0.7.1)
17
- actionpack (= 5.0.7.1)
18
- actionview (= 5.0.7.1)
19
- activejob (= 5.0.7.1)
20
- mail (~> 2.5, >= 2.5.4)
21
- rails-dom-testing (~> 2.0)
22
- actionpack (5.0.7.1)
23
- actionview (= 5.0.7.1)
24
- activesupport (= 5.0.7.1)
25
- rack (~> 2.0)
26
- rack-test (~> 0.6.3)
27
- rails-dom-testing (~> 2.0)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
- actionview (5.0.7.1)
30
- activesupport (= 5.0.7.1)
31
- builder (~> 3.1)
32
- erubis (~> 2.7.0)
33
- rails-dom-testing (~> 2.0)
34
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
35
- activejob (5.0.7.1)
36
- activesupport (= 5.0.7.1)
37
- globalid (>= 0.3.6)
38
- activemodel (5.0.7.1)
39
- activesupport (= 5.0.7.1)
40
- activerecord (5.0.7.1)
41
- activemodel (= 5.0.7.1)
42
- activesupport (= 5.0.7.1)
43
- arel (~> 7.0)
44
- activesupport (5.0.7.1)
45
- concurrent-ruby (~> 1.0, >= 1.0.2)
46
- i18n (>= 0.7, < 2)
47
- minitest (~> 5.1)
48
- tzinfo (~> 1.1)
49
- appraisal (2.2.0)
50
- bundler
51
- rake
52
- thor (>= 0.14.0)
53
- arel (7.1.4)
54
- ast (2.4.0)
55
- builder (3.2.3)
56
- concurrent-ruby (1.1.4)
57
- coveralls (0.8.22)
58
- json (>= 1.8, < 3)
59
- simplecov (~> 0.16.1)
60
- term-ansicolor (~> 1.3)
61
- thor (~> 0.19.4)
62
- tins (~> 1.6)
63
- crass (1.0.4)
64
- diff-lcs (1.3)
65
- docile (1.3.1)
66
- erubis (2.7.0)
67
- globalid (0.4.2)
68
- activesupport (>= 4.2.0)
69
- i18n (1.6.0)
70
- concurrent-ruby (~> 1.0)
71
- jaro_winkler (1.5.2)
72
- json (2.2.0)
73
- loofah (2.2.3)
74
- crass (~> 1.0.2)
75
- nokogiri (>= 1.5.9)
76
- mail (2.7.1)
77
- mini_mime (>= 0.1.1)
78
- method_source (0.9.2)
79
- mini_mime (1.0.1)
80
- mini_portile2 (2.4.0)
81
- minitest (5.11.3)
82
- nio4r (2.3.1)
83
- nokogiri (1.10.1)
84
- mini_portile2 (~> 2.4.0)
85
- parallel (1.14.0)
86
- parser (2.6.0.0)
87
- ast (~> 2.4.0)
88
- powerpack (0.1.2)
89
- rack (2.0.6)
90
- rack-test (0.6.3)
91
- rack (>= 1.0)
92
- rails (5.0.7.1)
93
- actioncable (= 5.0.7.1)
94
- actionmailer (= 5.0.7.1)
95
- actionpack (= 5.0.7.1)
96
- actionview (= 5.0.7.1)
97
- activejob (= 5.0.7.1)
98
- activemodel (= 5.0.7.1)
99
- activerecord (= 5.0.7.1)
100
- activesupport (= 5.0.7.1)
101
- bundler (>= 1.3.0)
102
- railties (= 5.0.7.1)
103
- sprockets-rails (>= 2.0.0)
104
- rails-dom-testing (2.0.3)
105
- activesupport (>= 4.2.0)
106
- nokogiri (>= 1.6)
107
- rails-html-sanitizer (1.0.4)
108
- loofah (~> 2.2, >= 2.2.2)
109
- rails-observers (0.1.5)
110
- activemodel (>= 4.0)
111
- railties (5.0.7.1)
112
- actionpack (= 5.0.7.1)
113
- activesupport (= 5.0.7.1)
114
- method_source
115
- rake (>= 0.8.7)
116
- thor (>= 0.18.1, < 2.0)
117
- rainbow (3.0.0)
118
- rake (12.3.2)
119
- rspec-core (3.8.0)
120
- rspec-support (~> 3.8.0)
121
- rspec-expectations (3.8.2)
122
- diff-lcs (>= 1.2.0, < 2.0)
123
- rspec-support (~> 3.8.0)
124
- rspec-mocks (3.8.0)
125
- diff-lcs (>= 1.2.0, < 2.0)
126
- rspec-support (~> 3.8.0)
127
- rspec-rails (3.8.2)
128
- actionpack (>= 3.0)
129
- activesupport (>= 3.0)
130
- railties (>= 3.0)
131
- rspec-core (~> 3.8.0)
132
- rspec-expectations (~> 3.8.0)
133
- rspec-mocks (~> 3.8.0)
134
- rspec-support (~> 3.8.0)
135
- rspec-support (3.8.0)
136
- rubocop (0.59.2)
137
- jaro_winkler (~> 1.5.1)
138
- parallel (~> 1.10)
139
- parser (>= 2.5, != 2.5.1.1)
140
- powerpack (~> 0.1)
141
- rainbow (>= 2.2.2, < 4.0)
142
- ruby-progressbar (~> 1.7)
143
- unicode-display_width (~> 1.0, >= 1.0.1)
144
- ruby-progressbar (1.10.0)
145
- simplecov (0.16.1)
146
- docile (~> 1.1)
147
- json (>= 1.8, < 3)
148
- simplecov-html (~> 0.10.0)
149
- simplecov-html (0.10.2)
150
- sprockets (3.7.2)
151
- concurrent-ruby (~> 1.0)
152
- rack (> 1, < 3)
153
- sprockets-rails (3.2.1)
154
- actionpack (>= 4.0)
155
- activesupport (>= 4.0)
156
- sprockets (>= 3.0.0)
157
- sqlite3 (1.3.10)
158
- term-ansicolor (1.7.1)
159
- tins (~> 1.0)
160
- thor (0.19.4)
161
- thread_safe (0.3.6)
162
- tins (1.20.2)
163
- tzinfo (1.2.5)
164
- thread_safe (~> 0.1)
165
- unicode-display_width (1.5.0)
166
- websocket-driver (0.6.5)
167
- websocket-extensions (>= 0.1.0)
168
- websocket-extensions (0.1.3)
169
- wwtd (1.3.0)
170
-
171
- PLATFORMS
172
- ruby
173
-
174
- DEPENDENCIES
175
- appraisal
176
- bundler
177
- coveralls
178
- oh_my_log!
179
- rails (~> 5.0.0)
180
- rails-observers
181
- rspec-core
182
- rspec-rails
183
- rubocop (~> 0.59.2)
184
- sqlite3 (= 1.3.10)
185
- wwtd
186
-
187
- BUNDLED WITH
188
- 1.17.1
@@ -1,188 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- oh_my_log (1.0.0)
5
- json
6
- rails (>= 4.2.0, < 7.0)
7
- rails-observers (~> 0.1.5)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actioncable (5.1.6.1)
13
- actionpack (= 5.1.6.1)
14
- nio4r (~> 2.0)
15
- websocket-driver (~> 0.6.1)
16
- actionmailer (5.1.6.1)
17
- actionpack (= 5.1.6.1)
18
- actionview (= 5.1.6.1)
19
- activejob (= 5.1.6.1)
20
- mail (~> 2.5, >= 2.5.4)
21
- rails-dom-testing (~> 2.0)
22
- actionpack (5.1.6.1)
23
- actionview (= 5.1.6.1)
24
- activesupport (= 5.1.6.1)
25
- rack (~> 2.0)
26
- rack-test (>= 0.6.3)
27
- rails-dom-testing (~> 2.0)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
- actionview (5.1.6.1)
30
- activesupport (= 5.1.6.1)
31
- builder (~> 3.1)
32
- erubi (~> 1.4)
33
- rails-dom-testing (~> 2.0)
34
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
35
- activejob (5.1.6.1)
36
- activesupport (= 5.1.6.1)
37
- globalid (>= 0.3.6)
38
- activemodel (5.1.6.1)
39
- activesupport (= 5.1.6.1)
40
- activerecord (5.1.6.1)
41
- activemodel (= 5.1.6.1)
42
- activesupport (= 5.1.6.1)
43
- arel (~> 8.0)
44
- activesupport (5.1.6.1)
45
- concurrent-ruby (~> 1.0, >= 1.0.2)
46
- i18n (>= 0.7, < 2)
47
- minitest (~> 5.1)
48
- tzinfo (~> 1.1)
49
- appraisal (2.2.0)
50
- bundler
51
- rake
52
- thor (>= 0.14.0)
53
- arel (8.0.0)
54
- ast (2.4.0)
55
- builder (3.2.3)
56
- concurrent-ruby (1.1.4)
57
- coveralls (0.8.22)
58
- json (>= 1.8, < 3)
59
- simplecov (~> 0.16.1)
60
- term-ansicolor (~> 1.3)
61
- thor (~> 0.19.4)
62
- tins (~> 1.6)
63
- crass (1.0.4)
64
- diff-lcs (1.3)
65
- docile (1.3.1)
66
- erubi (1.8.0)
67
- globalid (0.4.2)
68
- activesupport (>= 4.2.0)
69
- i18n (1.6.0)
70
- concurrent-ruby (~> 1.0)
71
- jaro_winkler (1.5.2)
72
- json (2.2.0)
73
- loofah (2.2.3)
74
- crass (~> 1.0.2)
75
- nokogiri (>= 1.5.9)
76
- mail (2.7.1)
77
- mini_mime (>= 0.1.1)
78
- method_source (0.9.2)
79
- mini_mime (1.0.1)
80
- mini_portile2 (2.4.0)
81
- minitest (5.11.3)
82
- nio4r (2.3.1)
83
- nokogiri (1.10.1)
84
- mini_portile2 (~> 2.4.0)
85
- parallel (1.14.0)
86
- parser (2.6.0.0)
87
- ast (~> 2.4.0)
88
- powerpack (0.1.2)
89
- rack (2.0.6)
90
- rack-test (1.1.0)
91
- rack (>= 1.0, < 3)
92
- rails (5.1.6.1)
93
- actioncable (= 5.1.6.1)
94
- actionmailer (= 5.1.6.1)
95
- actionpack (= 5.1.6.1)
96
- actionview (= 5.1.6.1)
97
- activejob (= 5.1.6.1)
98
- activemodel (= 5.1.6.1)
99
- activerecord (= 5.1.6.1)
100
- activesupport (= 5.1.6.1)
101
- bundler (>= 1.3.0)
102
- railties (= 5.1.6.1)
103
- sprockets-rails (>= 2.0.0)
104
- rails-dom-testing (2.0.3)
105
- activesupport (>= 4.2.0)
106
- nokogiri (>= 1.6)
107
- rails-html-sanitizer (1.0.4)
108
- loofah (~> 2.2, >= 2.2.2)
109
- rails-observers (0.1.5)
110
- activemodel (>= 4.0)
111
- railties (5.1.6.1)
112
- actionpack (= 5.1.6.1)
113
- activesupport (= 5.1.6.1)
114
- method_source
115
- rake (>= 0.8.7)
116
- thor (>= 0.18.1, < 2.0)
117
- rainbow (3.0.0)
118
- rake (12.3.2)
119
- rspec-core (3.8.0)
120
- rspec-support (~> 3.8.0)
121
- rspec-expectations (3.8.2)
122
- diff-lcs (>= 1.2.0, < 2.0)
123
- rspec-support (~> 3.8.0)
124
- rspec-mocks (3.8.0)
125
- diff-lcs (>= 1.2.0, < 2.0)
126
- rspec-support (~> 3.8.0)
127
- rspec-rails (3.8.2)
128
- actionpack (>= 3.0)
129
- activesupport (>= 3.0)
130
- railties (>= 3.0)
131
- rspec-core (~> 3.8.0)
132
- rspec-expectations (~> 3.8.0)
133
- rspec-mocks (~> 3.8.0)
134
- rspec-support (~> 3.8.0)
135
- rspec-support (3.8.0)
136
- rubocop (0.59.2)
137
- jaro_winkler (~> 1.5.1)
138
- parallel (~> 1.10)
139
- parser (>= 2.5, != 2.5.1.1)
140
- powerpack (~> 0.1)
141
- rainbow (>= 2.2.2, < 4.0)
142
- ruby-progressbar (~> 1.7)
143
- unicode-display_width (~> 1.0, >= 1.0.1)
144
- ruby-progressbar (1.10.0)
145
- simplecov (0.16.1)
146
- docile (~> 1.1)
147
- json (>= 1.8, < 3)
148
- simplecov-html (~> 0.10.0)
149
- simplecov-html (0.10.2)
150
- sprockets (3.7.2)
151
- concurrent-ruby (~> 1.0)
152
- rack (> 1, < 3)
153
- sprockets-rails (3.2.1)
154
- actionpack (>= 4.0)
155
- activesupport (>= 4.0)
156
- sprockets (>= 3.0.0)
157
- sqlite3 (1.3.10)
158
- term-ansicolor (1.7.1)
159
- tins (~> 1.0)
160
- thor (0.19.4)
161
- thread_safe (0.3.6)
162
- tins (1.20.2)
163
- tzinfo (1.2.5)
164
- thread_safe (~> 0.1)
165
- unicode-display_width (1.5.0)
166
- websocket-driver (0.6.5)
167
- websocket-extensions (>= 0.1.0)
168
- websocket-extensions (0.1.3)
169
- wwtd (1.3.0)
170
-
171
- PLATFORMS
172
- ruby
173
-
174
- DEPENDENCIES
175
- appraisal
176
- bundler
177
- coveralls
178
- oh_my_log!
179
- rails (~> 5.1.0)
180
- rails-observers
181
- rspec-core
182
- rspec-rails
183
- rubocop (~> 0.59.2)
184
- sqlite3 (= 1.3.10)
185
- wwtd
186
-
187
- BUNDLED WITH
188
- 1.17.1
@@ -1,196 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- oh_my_log (1.0.0)
5
- json
6
- rails (>= 4.2.0, < 7.0)
7
- rails-observers (~> 0.1.5)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- actioncable (5.2.2)
13
- actionpack (= 5.2.2)
14
- nio4r (~> 2.0)
15
- websocket-driver (>= 0.6.1)
16
- actionmailer (5.2.2)
17
- actionpack (= 5.2.2)
18
- actionview (= 5.2.2)
19
- activejob (= 5.2.2)
20
- mail (~> 2.5, >= 2.5.4)
21
- rails-dom-testing (~> 2.0)
22
- actionpack (5.2.2)
23
- actionview (= 5.2.2)
24
- activesupport (= 5.2.2)
25
- rack (~> 2.0)
26
- rack-test (>= 0.6.3)
27
- rails-dom-testing (~> 2.0)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
- actionview (5.2.2)
30
- activesupport (= 5.2.2)
31
- builder (~> 3.1)
32
- erubi (~> 1.4)
33
- rails-dom-testing (~> 2.0)
34
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
35
- activejob (5.2.2)
36
- activesupport (= 5.2.2)
37
- globalid (>= 0.3.6)
38
- activemodel (5.2.2)
39
- activesupport (= 5.2.2)
40
- activerecord (5.2.2)
41
- activemodel (= 5.2.2)
42
- activesupport (= 5.2.2)
43
- arel (>= 9.0)
44
- activestorage (5.2.2)
45
- actionpack (= 5.2.2)
46
- activerecord (= 5.2.2)
47
- marcel (~> 0.3.1)
48
- activesupport (5.2.2)
49
- concurrent-ruby (~> 1.0, >= 1.0.2)
50
- i18n (>= 0.7, < 2)
51
- minitest (~> 5.1)
52
- tzinfo (~> 1.1)
53
- appraisal (2.2.0)
54
- bundler
55
- rake
56
- thor (>= 0.14.0)
57
- arel (9.0.0)
58
- ast (2.4.0)
59
- builder (3.2.3)
60
- concurrent-ruby (1.1.4)
61
- coveralls (0.8.22)
62
- json (>= 1.8, < 3)
63
- simplecov (~> 0.16.1)
64
- term-ansicolor (~> 1.3)
65
- thor (~> 0.19.4)
66
- tins (~> 1.6)
67
- crass (1.0.4)
68
- diff-lcs (1.3)
69
- docile (1.3.1)
70
- erubi (1.8.0)
71
- globalid (0.4.2)
72
- activesupport (>= 4.2.0)
73
- i18n (1.6.0)
74
- concurrent-ruby (~> 1.0)
75
- jaro_winkler (1.5.2)
76
- json (2.2.0)
77
- loofah (2.2.3)
78
- crass (~> 1.0.2)
79
- nokogiri (>= 1.5.9)
80
- mail (2.7.1)
81
- mini_mime (>= 0.1.1)
82
- marcel (0.3.3)
83
- mimemagic (~> 0.3.2)
84
- method_source (0.9.2)
85
- mimemagic (0.3.3)
86
- mini_mime (1.0.1)
87
- mini_portile2 (2.4.0)
88
- minitest (5.11.3)
89
- nio4r (2.3.1)
90
- nokogiri (1.10.1)
91
- mini_portile2 (~> 2.4.0)
92
- parallel (1.14.0)
93
- parser (2.6.0.0)
94
- ast (~> 2.4.0)
95
- powerpack (0.1.2)
96
- rack (2.0.6)
97
- rack-test (1.1.0)
98
- rack (>= 1.0, < 3)
99
- rails (5.2.2)
100
- actioncable (= 5.2.2)
101
- actionmailer (= 5.2.2)
102
- actionpack (= 5.2.2)
103
- actionview (= 5.2.2)
104
- activejob (= 5.2.2)
105
- activemodel (= 5.2.2)
106
- activerecord (= 5.2.2)
107
- activestorage (= 5.2.2)
108
- activesupport (= 5.2.2)
109
- bundler (>= 1.3.0)
110
- railties (= 5.2.2)
111
- sprockets-rails (>= 2.0.0)
112
- rails-dom-testing (2.0.3)
113
- activesupport (>= 4.2.0)
114
- nokogiri (>= 1.6)
115
- rails-html-sanitizer (1.0.4)
116
- loofah (~> 2.2, >= 2.2.2)
117
- rails-observers (0.1.5)
118
- activemodel (>= 4.0)
119
- railties (5.2.2)
120
- actionpack (= 5.2.2)
121
- activesupport (= 5.2.2)
122
- method_source
123
- rake (>= 0.8.7)
124
- thor (>= 0.19.0, < 2.0)
125
- rainbow (3.0.0)
126
- rake (12.3.2)
127
- rspec-core (3.8.0)
128
- rspec-support (~> 3.8.0)
129
- rspec-expectations (3.8.2)
130
- diff-lcs (>= 1.2.0, < 2.0)
131
- rspec-support (~> 3.8.0)
132
- rspec-mocks (3.8.0)
133
- diff-lcs (>= 1.2.0, < 2.0)
134
- rspec-support (~> 3.8.0)
135
- rspec-rails (3.8.2)
136
- actionpack (>= 3.0)
137
- activesupport (>= 3.0)
138
- railties (>= 3.0)
139
- rspec-core (~> 3.8.0)
140
- rspec-expectations (~> 3.8.0)
141
- rspec-mocks (~> 3.8.0)
142
- rspec-support (~> 3.8.0)
143
- rspec-support (3.8.0)
144
- rubocop (0.59.2)
145
- jaro_winkler (~> 1.5.1)
146
- parallel (~> 1.10)
147
- parser (>= 2.5, != 2.5.1.1)
148
- powerpack (~> 0.1)
149
- rainbow (>= 2.2.2, < 4.0)
150
- ruby-progressbar (~> 1.7)
151
- unicode-display_width (~> 1.0, >= 1.0.1)
152
- ruby-progressbar (1.10.0)
153
- simplecov (0.16.1)
154
- docile (~> 1.1)
155
- json (>= 1.8, < 3)
156
- simplecov-html (~> 0.10.0)
157
- simplecov-html (0.10.2)
158
- sprockets (3.7.2)
159
- concurrent-ruby (~> 1.0)
160
- rack (> 1, < 3)
161
- sprockets-rails (3.2.1)
162
- actionpack (>= 4.0)
163
- activesupport (>= 4.0)
164
- sprockets (>= 3.0.0)
165
- sqlite3 (1.3.10)
166
- term-ansicolor (1.7.1)
167
- tins (~> 1.0)
168
- thor (0.19.4)
169
- thread_safe (0.3.6)
170
- tins (1.20.2)
171
- tzinfo (1.2.5)
172
- thread_safe (~> 0.1)
173
- unicode-display_width (1.5.0)
174
- websocket-driver (0.7.0)
175
- websocket-extensions (>= 0.1.0)
176
- websocket-extensions (0.1.3)
177
- wwtd (1.3.0)
178
-
179
- PLATFORMS
180
- ruby
181
-
182
- DEPENDENCIES
183
- appraisal
184
- bundler
185
- coveralls
186
- oh_my_log!
187
- rails (~> 5.2.0)
188
- rails-observers
189
- rspec-core
190
- rspec-rails
191
- rubocop (~> 0.59.2)
192
- sqlite3 (= 1.3.10)
193
- wwtd
194
-
195
- BUNDLED WITH
196
- 1.17.1