deforest 0.0.1 → 1.0.1

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.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/deforest/application.js +1 -1
  3. data/app/assets/javascripts/deforest/bootstrap.js +4356 -0
  4. data/app/assets/javascripts/deforest/bootstrap.js.map +1 -0
  5. data/app/assets/stylesheets/deforest/bootstrap-grid.css +3872 -0
  6. data/app/assets/stylesheets/deforest/bootstrap.css +10332 -0
  7. data/app/assets/stylesheets/deforest/bootstrap.css.map +1 -0
  8. data/app/controllers/deforest/application_controller.rb +1 -1
  9. data/app/controllers/deforest/files_controller.rb +28 -4
  10. data/app/models/deforest/log.rb +9 -6
  11. data/app/views/deforest/files/_percentile_table.html.erb +35 -0
  12. data/app/views/deforest/files/dashboard.html.erb +26 -25
  13. data/config/routes.rb +1 -0
  14. data/lib/deforest/version.rb +1 -1
  15. data/lib/deforest.rb +75 -61
  16. data/lib/tasks/deforest_initializer.rb +2 -0
  17. data/test/deforest_test.rb +11 -6
  18. data/test/dummy/app/models/comment.rb +12 -0
  19. data/test/dummy/app/models/post.rb +19 -0
  20. data/test/dummy/app/models/special/custom/post.rb +2 -0
  21. data/test/dummy/app/models/special/post.rb +2 -0
  22. data/test/dummy/app/models/user.rb +3 -0
  23. data/test/dummy/config/initializers/deforest.rb +7 -0
  24. data/test/dummy/db/development.sqlite3 +0 -0
  25. data/test/dummy/db/migrate/20230211204438_create_users.rb +1 -1
  26. data/test/dummy/db/migrate/20230216154544_create_posts.rb +11 -0
  27. data/test/dummy/db/migrate/20230218121433_create_special_posts.rb +10 -0
  28. data/test/dummy/db/migrate/20230218161957_create_special_custom_posts.rb +10 -0
  29. data/test/dummy/db/migrate/20230219174900_create_comments.rb +11 -0
  30. data/test/dummy/db/schema.rb +28 -4
  31. data/test/dummy/db/test.sqlite3 +0 -0
  32. data/test/dummy/deforest.log +0 -0
  33. data/test/dummy/log/development.log +188 -0
  34. data/test/dummy/log/test.log +15199 -0
  35. data/test/dummy/test/fixtures/comments.yml +11 -0
  36. data/test/dummy/test/fixtures/special/custom/posts.yml +9 -0
  37. data/test/dummy/test/fixtures/special/posts.yml +9 -0
  38. data/test/dummy/test/models/comment_test.rb +7 -0
  39. data/test/dummy/test/models/special/custom/post_test.rb +7 -0
  40. data/test/dummy/test/models/special/post_test.rb +7 -0
  41. data/test/dummy/test/test_helper.rb +20 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-T/-T8OIATNI3evoKq5bZdOBNbU0tZeQYxDHGmMOQnF2MM.cache +1 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +2 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5U/5U1ZhgjUSyIuw2yEYRCbe2n0xGeyHmYwnDlSdtQ2Dnw.cache +1 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v3.0/AX/AXrDvl0RN_5S8jW0MwnE13ukiiihtUTsaSvoKDVlam4.cache +0 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cz/Cz2gWla4RNTXNuZf93le7clQqax63V1EHdQWaHR0s-8.cache +1 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSvREN-eIb--STC5GdXcwmlJjFTw6ZmUVNmW_Sdh1-s.cache +0 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GH/GH5mD035fZ1hsoErrkyMEorz6bwqi30T9a8f3zBIqtE.cache +1 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v3.0/NL/NLspqKUPe4g6Q4WEvWHMjSTqkF8YS4m2vcBhHBuhVqc.cache +2 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +2 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/S3/S36SlXZyuQfqj2KG4e2Dpj_ZdUQbe2VflfsqjgLNSag.cache +1 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Sh/ShNcRHXrLA44HDRhTj2J11rZhqAuc56Kdr5Ea6O31Mk.cache +0 -0
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TL/TLNT1dXfMKTBmLi7RI_AoPSFmUtB9LfMeG6OuTkR1HQ.cache +1 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ba/ba0VOL0KrwkwcfcuKSnYe1tT0ccddXS8z2KVn_cjtnI.cache +1 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eV/eVN4NMxJn9WpXFRvBaX65H7Ni3Ux4agZLg6r04-9Zf0.cache +0 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gK/gKO1oowLJsUvxaYbr5rucOzM9MDl7D4Ppj8l7q3AX0g.cache +1 -0
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/h-/h-Bt2tKoZ131FgeX_De5387nfrje85Zsquko2lu_uL4.cache +0 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hR/hRDjpdlCa6CLHs-KV6u1wHhQ842r9m1R5eEpivfiFBE.cache +1 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +2 -0
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jD/jDJ0_EfCHu9gwyqis3I2-EsrfB7dBs8YZzvyqaWoOjU.cache +1 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ly/ly49UX-4__EP86mWF_vobKTgvtAGLxUXqGOAPOzY53g.cache +1 -0
  62. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +2 -0
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qM/qMiFkN6R1w5uIr6HRgTrSHnbEVddbDAVdz0D1XF7T2I.cache +0 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/th/thNa8SIbNZvQMtDF3-dUnEJNEFYxRsND8XYtqA2t328.cache +0 -0
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ui/uiFXrn_ILoEjcXpHWygBCsbEcWFKSiMvofYK6-saGVY.cache +1 -0
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xw/xwxSZPjNVcvVU7DwpeJBJ1ZX6yyIFiCvf0GKrN6bZgc.cache +0 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yp/ypFoyURV_Y0NHlBKznetHE6cVjR-mmRHcGSGQ_hERVg.cache +2 -0
  68. data/test/fixtures/posts.yml +11 -0
  69. data/test/models/deforest/log_test.rb +2 -1
  70. data/test/models/post_test.rb +35 -0
  71. metadata +125 -15
  72. data/test/dummy/deforest_db_sync.txt +0 -1
  73. /data/app/assets/stylesheets/deforest/{application.css → application.scss} +0 -0
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ body: MyText
5
+ author_id: 1
6
+ post_id:
7
+
8
+ two:
9
+ body: MyText
10
+ author_id: 1
11
+ post_id:
@@ -0,0 +1,9 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ title: MyString
5
+ body: MyText
6
+
7
+ two:
8
+ title: MyString
9
+ body: MyText
@@ -0,0 +1,9 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ title: MyString
5
+ body: MyText
6
+
7
+ two:
8
+ title: MyString
9
+ body: MyText
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class CommentTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class Special::Custom::PostTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class Special::PostTest < ActiveSupport::TestCase
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,20 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../../config/environment.rb", __FILE__)
5
+ ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../db/migrate", __FILE__)]
6
+ require "rails/test_help"
7
+
8
+ # Filter out Minitest backtrace while allowing backtrace from other libraries
9
+ # to be shown.
10
+ Minitest.backtrace_filter = Minitest::BacktraceFilter.new
11
+
12
+ # Load support files
13
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
14
+
15
+ # Load fixtures from the engine
16
+ if ActiveSupport::TestCase.respond_to?(:fixture_path=)
17
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
18
+ ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
19
+ ActiveSupport::TestCase.fixtures :all
20
+ end
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=65c6ca6dc2180beabf62d163d58e6154b95440f88c6c09008a867409704ffa80:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI")file-digest://app/assets/stylesheets;TTF
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=b40d6cb1dd1ce5461d7e1a1dee69db2e1d934229d928e31b1205215d7455e439:ET
@@ -0,0 +1 @@
1
+ "%�W\�yho9S���ƫ˥��)|�~���(���
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=1bde3233fb04051dff30263ade4db528228a1a68b9cc43277e6dd4a666acf9df:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"8file-digest://app/assets/javascripts/application.js;TTI")file-digest://app/assets/javascripts;TTF
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"9file-digest://app/assets/stylesheets/application.css;TTI")file-digest://app/assets/stylesheets;TTF
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=4367f0b77e9be12686a6341e7402f5813c107c9035a03fbcbe566f0ddba08fdc:ET
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=6e5213703e619af9834594fdc38bba85e75e07d81f7051ca1eb6a5f2231d89db:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=86c04cf2bc8b79d5009025511836e2ba2eb3e1a86cd2e5399ed614ba5d97ba36:ET
@@ -0,0 +1 @@
1
+ "%.��JϏ�H���y���Y�d[z�����Tu
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"8file-digest://app/assets/javascripts/application.js;TTI")file-digest://app/assets/javascripts;TTF
@@ -0,0 +1 @@
1
+ "%Ѱč@�����6H�uZoX�Z�gbh0W��V
@@ -0,0 +1 @@
1
+ "%��?YU-o4s.�rqQ,]%A?��SFۉ�q��[
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI")file-digest://app/assets/javascripts;TTF
@@ -0,0 +1 @@
1
+ "%��t�E�\���u�';3 ���R�ͯ�+&C(��<
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash} I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"8file-digest://app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI")file-digest://app/assets/javascripts;TTF
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ title: MyString
5
+ body: MyText
6
+ author_id: 1
7
+
8
+ two:
9
+ title: MyString
10
+ body: MyText
11
+ author_id: 1
@@ -5,6 +5,7 @@ module Deforest
5
5
  setup do
6
6
  Deforest.least_used_percentile_threshold = 20
7
7
  Deforest.most_used_percentile_threshold = 80
8
+ Deforest.track_dirs = ["/app/models"]
8
9
  Setting = nil
9
10
  User = nil
10
11
  end
@@ -15,7 +16,7 @@ module Deforest
15
16
  end
16
17
 
17
18
  test "percentile" do
18
- Log.percentile.each do |l,n|
19
+ Log.percentile("/app/models").each do |l,n|
19
20
  case l.method_name
20
21
  when "refresh_cache"
21
22
  assert_equal n, 0
@@ -0,0 +1,35 @@
1
+ require 'test_helper'
2
+
3
+ class PostTest < ActiveSupport::TestCase
4
+ setup do
5
+ File.open("deforest_db_sync.txt", "w") { |f| f.write(1.hour.ago.to_i.to_s) }
6
+ Deforest.initialize_db_sync_file
7
+ Deforest.class_variable_set('@@write_logs_to_db_every', 1.minute)
8
+ end
9
+
10
+ teardown do
11
+ File.delete("deforest_db_sync.txt") if File.exist?("deforest_db_sync.txt")
12
+ File.delete("deforest.log") if File.exist?("deforest.log")
13
+ end
14
+
15
+ test "calling a model class method should create a log entry" do
16
+ orig_count = Deforest::Log.count
17
+ Post.get_titles
18
+ assert Deforest::Log.count == orig_count + 1
19
+ end
20
+
21
+ test "calling a model instance method should create a log entry" do
22
+ orig_count = Deforest::Log.count
23
+ p = Post.last
24
+ p.get_title_with_italics
25
+ assert Deforest::Log.count == orig_count + 1
26
+ end
27
+
28
+ test "get app models" do
29
+ app_models = [Post, User, Comment, Special::Post, Special::Custom::Post]
30
+ Deforest.get_app_classes("/app/models") do |m|
31
+ assert_includes app_models, m
32
+ app_models.delete(m)
33
+ end
34
+ end
35
+ end
metadata CHANGED
@@ -1,43 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deforest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akshay Takkar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-12 00:00:00.000000000 Z
11
+ date: 2023-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4'
41
+ - !ruby/object:Gem::Dependency
42
+ name: jquery-rails
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: bundler
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -56,28 +70,28 @@ dependencies:
56
70
  name: rake
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
- - - ">="
73
+ - - '='
60
74
  - !ruby/object:Gem::Version
61
- version: '0'
75
+ version: '12.3'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
- - - ">="
80
+ - - '='
67
81
  - !ruby/object:Gem::Version
68
- version: '0'
82
+ version: '12.3'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rails
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - "~>"
87
+ - - ">="
74
88
  - !ruby/object:Gem::Version
75
89
  version: '4'
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - "~>"
94
+ - - ">="
81
95
  - !ruby/object:Gem::Version
82
96
  version: '4'
83
97
  - !ruby/object:Gem::Dependency
@@ -106,14 +120,20 @@ files:
106
120
  - MIT-LICENSE
107
121
  - Rakefile
108
122
  - app/assets/javascripts/deforest/application.js
123
+ - app/assets/javascripts/deforest/bootstrap.js
124
+ - app/assets/javascripts/deforest/bootstrap.js.map
109
125
  - app/assets/javascripts/deforest/logs.js
110
- - app/assets/stylesheets/deforest/application.css
126
+ - app/assets/stylesheets/deforest/application.scss
127
+ - app/assets/stylesheets/deforest/bootstrap-grid.css
128
+ - app/assets/stylesheets/deforest/bootstrap.css
129
+ - app/assets/stylesheets/deforest/bootstrap.css.map
111
130
  - app/assets/stylesheets/deforest/logs.css
112
131
  - app/controllers/deforest/application_controller.rb
113
132
  - app/controllers/deforest/files_controller.rb
114
133
  - app/helpers/deforest/application_helper.rb
115
134
  - app/helpers/deforest/logs_helper.rb
116
135
  - app/models/deforest/log.rb
136
+ - app/views/deforest/files/_percentile_table.html.erb
117
137
  - app/views/deforest/files/dashboard.html.erb
118
138
  - app/views/deforest/files/index.html.erb
119
139
  - app/views/deforest/files/show.html.erb
@@ -133,6 +153,11 @@ files:
133
153
  - test/dummy/app/assets/stylesheets/application.css
134
154
  - test/dummy/app/controllers/application_controller.rb
135
155
  - test/dummy/app/helpers/application_helper.rb
156
+ - test/dummy/app/models/comment.rb
157
+ - test/dummy/app/models/post.rb
158
+ - test/dummy/app/models/special/custom/post.rb
159
+ - test/dummy/app/models/special/post.rb
160
+ - test/dummy/app/models/user.rb
136
161
  - test/dummy/app/views/layouts/application.html.erb
137
162
  - test/dummy/bin/bundle
138
163
  - test/dummy/bin/rails
@@ -149,6 +174,7 @@ files:
149
174
  - test/dummy/config/initializers/assets.rb
150
175
  - test/dummy/config/initializers/backtrace_silencers.rb
151
176
  - test/dummy/config/initializers/cookies_serializer.rb
177
+ - test/dummy/config/initializers/deforest.rb
152
178
  - test/dummy/config/initializers/filter_parameter_logging.rb
153
179
  - test/dummy/config/initializers/inflections.rb
154
180
  - test/dummy/config/initializers/mime_types.rb
@@ -160,18 +186,57 @@ files:
160
186
  - test/dummy/config/secrets.yml
161
187
  - test/dummy/db/development.sqlite3
162
188
  - test/dummy/db/migrate/20230211204438_create_users.rb
189
+ - test/dummy/db/migrate/20230216154544_create_posts.rb
190
+ - test/dummy/db/migrate/20230218121433_create_special_posts.rb
191
+ - test/dummy/db/migrate/20230218161957_create_special_custom_posts.rb
192
+ - test/dummy/db/migrate/20230219174900_create_comments.rb
163
193
  - test/dummy/db/schema.rb
164
194
  - test/dummy/db/test.sqlite3
165
- - test/dummy/deforest_db_sync.txt
195
+ - test/dummy/deforest.log
166
196
  - test/dummy/log/development.log
167
197
  - test/dummy/log/test.log
168
198
  - test/dummy/public/404.html
169
199
  - test/dummy/public/422.html
170
200
  - test/dummy/public/500.html
171
201
  - test/dummy/public/favicon.ico
202
+ - test/dummy/test/fixtures/comments.yml
203
+ - test/dummy/test/fixtures/special/custom/posts.yml
204
+ - test/dummy/test/fixtures/special/posts.yml
205
+ - test/dummy/test/models/comment_test.rb
206
+ - test/dummy/test/models/special/custom/post_test.rb
207
+ - test/dummy/test/models/special/post_test.rb
208
+ - test/dummy/test/test_helper.rb
209
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/-T/-T8OIATNI3evoKq5bZdOBNbU0tZeQYxDHGmMOQnF2MM.cache
210
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
211
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/5U/5U1ZhgjUSyIuw2yEYRCbe2n0xGeyHmYwnDlSdtQ2Dnw.cache
212
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/AX/AXrDvl0RN_5S8jW0MwnE13ukiiihtUTsaSvoKDVlam4.cache
213
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Cz/Cz2gWla4RNTXNuZf93le7clQqax63V1EHdQWaHR0s-8.cache
214
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSvREN-eIb--STC5GdXcwmlJjFTw6ZmUVNmW_Sdh1-s.cache
215
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/GH/GH5mD035fZ1hsoErrkyMEorz6bwqi30T9a8f3zBIqtE.cache
216
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/NL/NLspqKUPe4g6Q4WEvWHMjSTqkF8YS4m2vcBhHBuhVqc.cache
217
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
218
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/S3/S36SlXZyuQfqj2KG4e2Dpj_ZdUQbe2VflfsqjgLNSag.cache
219
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Sh/ShNcRHXrLA44HDRhTj2J11rZhqAuc56Kdr5Ea6O31Mk.cache
220
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/TL/TLNT1dXfMKTBmLi7RI_AoPSFmUtB9LfMeG6OuTkR1HQ.cache
221
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ba/ba0VOL0KrwkwcfcuKSnYe1tT0ccddXS8z2KVn_cjtnI.cache
222
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/eV/eVN4NMxJn9WpXFRvBaX65H7Ni3Ux4agZLg6r04-9Zf0.cache
223
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/gK/gKO1oowLJsUvxaYbr5rucOzM9MDl7D4Ppj8l7q3AX0g.cache
224
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/h-/h-Bt2tKoZ131FgeX_De5387nfrje85Zsquko2lu_uL4.cache
225
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/hR/hRDjpdlCa6CLHs-KV6u1wHhQ842r9m1R5eEpivfiFBE.cache
226
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
227
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/jD/jDJ0_EfCHu9gwyqis3I2-EsrfB7dBs8YZzvyqaWoOjU.cache
228
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ly/ly49UX-4__EP86mWF_vobKTgvtAGLxUXqGOAPOzY53g.cache
229
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
230
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/qM/qMiFkN6R1w5uIr6HRgTrSHnbEVddbDAVdz0D1XF7T2I.cache
231
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/th/thNa8SIbNZvQMtDF3-dUnEJNEFYxRsND8XYtqA2t328.cache
232
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ui/uiFXrn_ILoEjcXpHWygBCsbEcWFKSiMvofYK6-saGVY.cache
233
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/xw/xwxSZPjNVcvVU7DwpeJBJ1ZX6yyIFiCvf0GKrN6bZgc.cache
234
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/yp/ypFoyURV_Y0NHlBKznetHE6cVjR-mmRHcGSGQ_hERVg.cache
172
235
  - test/fixtures/deforest/logs.yml
236
+ - test/fixtures/posts.yml
173
237
  - test/integration/navigation_test.rb
174
238
  - test/models/deforest/log_test.rb
239
+ - test/models/post_test.rb
175
240
  - test/test_helper.rb
176
241
  homepage: https://github.com/blackblood/deforest
177
242
  licenses:
@@ -197,12 +262,23 @@ signing_key:
197
262
  specification_version: 4
198
263
  summary: Deforest helps you analyze your method call stats
199
264
  test_files:
200
- - test/dummy/deforest_db_sync.txt
265
+ - test/dummy/app/models/special/custom/post.rb
266
+ - test/dummy/app/models/special/post.rb
267
+ - test/dummy/app/models/comment.rb
268
+ - test/dummy/app/models/post.rb
269
+ - test/dummy/app/models/user.rb
201
270
  - test/dummy/app/controllers/application_controller.rb
202
271
  - test/dummy/app/views/layouts/application.html.erb
203
272
  - test/dummy/app/assets/javascripts/application.js
204
273
  - test/dummy/app/assets/stylesheets/application.css
205
274
  - test/dummy/app/helpers/application_helper.rb
275
+ - test/dummy/test/models/special/post_test.rb
276
+ - test/dummy/test/models/special/custom/post_test.rb
277
+ - test/dummy/test/models/comment_test.rb
278
+ - test/dummy/test/fixtures/special/posts.yml
279
+ - test/dummy/test/fixtures/special/custom/posts.yml
280
+ - test/dummy/test/fixtures/comments.yml
281
+ - test/dummy/test/test_helper.rb
206
282
  - test/dummy/bin/rake
207
283
  - test/dummy/bin/setup
208
284
  - test/dummy/bin/bundle
@@ -224,10 +300,12 @@ test_files:
224
300
  - test/dummy/config/initializers/wrap_parameters.rb
225
301
  - test/dummy/config/initializers/assets.rb
226
302
  - test/dummy/config/initializers/cookies_serializer.rb
303
+ - test/dummy/config/initializers/deforest.rb
227
304
  - test/dummy/config/initializers/to_time_preserves_timezone.rb
228
305
  - test/dummy/config/initializers/inflections.rb
229
306
  - test/dummy/config.ru
230
307
  - test/dummy/Rakefile
308
+ - test/dummy/deforest.log
231
309
  - test/dummy/public/favicon.ico
232
310
  - test/dummy/public/422.html
233
311
  - test/dummy/public/500.html
@@ -235,13 +313,45 @@ test_files:
235
313
  - test/dummy/db/schema.rb
236
314
  - test/dummy/db/test.sqlite3
237
315
  - test/dummy/db/migrate/20230211204438_create_users.rb
316
+ - test/dummy/db/migrate/20230216154544_create_posts.rb
317
+ - test/dummy/db/migrate/20230219174900_create_comments.rb
318
+ - test/dummy/db/migrate/20230218161957_create_special_custom_posts.rb
319
+ - test/dummy/db/migrate/20230218121433_create_special_posts.rb
238
320
  - test/dummy/db/development.sqlite3
239
321
  - test/dummy/log/test.log
240
322
  - test/dummy/log/development.log
323
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/5U/5U1ZhgjUSyIuw2yEYRCbe2n0xGeyHmYwnDlSdtQ2Dnw.cache
324
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/yp/ypFoyURV_Y0NHlBKznetHE6cVjR-mmRHcGSGQ_hERVg.cache
325
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ui/uiFXrn_ILoEjcXpHWygBCsbEcWFKSiMvofYK6-saGVY.cache
326
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache
327
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/S3/S36SlXZyuQfqj2KG4e2Dpj_ZdUQbe2VflfsqjgLNSag.cache
328
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/AX/AXrDvl0RN_5S8jW0MwnE13ukiiihtUTsaSvoKDVlam4.cache
329
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/-T/-T8OIATNI3evoKq5bZdOBNbU0tZeQYxDHGmMOQnF2MM.cache
330
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/GH/GH5mD035fZ1hsoErrkyMEorz6bwqi30T9a8f3zBIqtE.cache
331
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSvREN-eIb--STC5GdXcwmlJjFTw6ZmUVNmW_Sdh1-s.cache
332
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/eV/eVN4NMxJn9WpXFRvBaX65H7Ni3Ux4agZLg6r04-9Zf0.cache
333
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ly/ly49UX-4__EP86mWF_vobKTgvtAGLxUXqGOAPOzY53g.cache
334
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Cz/Cz2gWla4RNTXNuZf93le7clQqax63V1EHdQWaHR0s-8.cache
335
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/TL/TLNT1dXfMKTBmLi7RI_AoPSFmUtB9LfMeG6OuTkR1HQ.cache
336
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Sh/ShNcRHXrLA44HDRhTj2J11rZhqAuc56Kdr5Ea6O31Mk.cache
337
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache
338
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache
339
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ba/ba0VOL0KrwkwcfcuKSnYe1tT0ccddXS8z2KVn_cjtnI.cache
340
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/h-/h-Bt2tKoZ131FgeX_De5387nfrje85Zsquko2lu_uL4.cache
341
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/gK/gKO1oowLJsUvxaYbr5rucOzM9MDl7D4Ppj8l7q3AX0g.cache
342
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/hR/hRDjpdlCa6CLHs-KV6u1wHhQ842r9m1R5eEpivfiFBE.cache
343
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/NL/NLspqKUPe4g6Q4WEvWHMjSTqkF8YS4m2vcBhHBuhVqc.cache
344
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/jD/jDJ0_EfCHu9gwyqis3I2-EsrfB7dBs8YZzvyqaWoOjU.cache
345
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache
346
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/th/thNa8SIbNZvQMtDF3-dUnEJNEFYxRsND8XYtqA2t328.cache
347
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/qM/qMiFkN6R1w5uIr6HRgTrSHnbEVddbDAVdz0D1XF7T2I.cache
348
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/xw/xwxSZPjNVcvVU7DwpeJBJ1ZX6yyIFiCvf0GKrN6bZgc.cache
241
349
  - test/dummy/README.rdoc
242
350
  - test/deforest_test.rb
243
351
  - test/integration/navigation_test.rb
352
+ - test/models/post_test.rb
244
353
  - test/models/deforest/log_test.rb
354
+ - test/fixtures/posts.yml
245
355
  - test/fixtures/deforest/logs.yml
246
356
  - test/test_helper.rb
247
357
  - test/controllers/deforest/logs_controller_test.rb
@@ -1 +0,0 @@
1
- 1676148715