impressionist-cody 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/main.yml +25 -0
- data/.gitignore +17 -0
- data/.rspec +1 -0
- data/.rubocop.yml +27 -0
- data/.rubocop_todo.yml +660 -0
- data/CHANGELOG.rdoc +96 -0
- data/Gemfile +22 -0
- data/LICENSE.txt +20 -0
- data/README.md +265 -0
- data/Rakefile +20 -0
- data/UPGRADE_GUIDE.md +13 -0
- data/app/assets/config/manifest.js +3 -0
- data/app/controllers/impressionist_controller.rb +166 -0
- data/app/models/impression.rb +2 -0
- data/app/models/impressionist/bots.rb +1468 -0
- data/app/models/impressionist/impressionable.rb +62 -0
- data/impressionist.gemspec +30 -0
- data/lib/generators/active_record/impressionist_generator.rb +22 -0
- data/lib/generators/active_record/templates/create_impressions_table.rb.erb +32 -0
- data/lib/generators/impressionist_generator.rb +13 -0
- data/lib/generators/mongo_mapper/impressionist_generator.rb +8 -0
- data/lib/generators/mongoid/impressionist_generator.rb +8 -0
- data/lib/generators/templates/impression.rb.erb +8 -0
- data/lib/impressionist/bots.rb +21 -0
- data/lib/impressionist/controllers/mongoid/impressionist_controller.rb +10 -0
- data/lib/impressionist/counter_cache.rb +76 -0
- data/lib/impressionist/engine.rb +45 -0
- data/lib/impressionist/is_impressionable.rb +23 -0
- data/lib/impressionist/load.rb +11 -0
- data/lib/impressionist/models/active_record/impression.rb +14 -0
- data/lib/impressionist/models/active_record/impressionist/impressionable.rb +12 -0
- data/lib/impressionist/models/mongo_mapper/impression.rb +18 -0
- data/lib/impressionist/models/mongo_mapper/impressionist/impressionable.rb +21 -0
- data/lib/impressionist/models/mongoid/impression.rb +26 -0
- data/lib/impressionist/models/mongoid/impressionist/impressionable.rb +28 -0
- data/lib/impressionist/rails_toggle.rb +26 -0
- data/lib/impressionist/setup_association.rb +53 -0
- data/lib/impressionist/update_counters.rb +77 -0
- data/lib/impressionist/version.rb +3 -0
- data/lib/impressionist.rb +12 -0
- data/logo.png +0 -0
- data/spec/controllers/articles_controller_spec.rb +113 -0
- data/spec/controllers/dummy_controller_spec.rb +13 -0
- data/spec/controllers/impressionist_uniqueness_spec.rb +463 -0
- data/spec/controllers/posts_controller_spec.rb +36 -0
- data/spec/controllers/widgets_controller_spec.rb +103 -0
- data/spec/counter_caching_spec.rb +49 -0
- data/spec/dummy/.ruby-version +1 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +1 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +2 -0
- data/spec/dummy/app/controllers/articles_controller.rb +22 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/controllers/dummy_controller.rb +6 -0
- data/spec/dummy/app/controllers/posts_controller.rb +23 -0
- data/spec/dummy/app/controllers/profiles_controller.rb +14 -0
- data/spec/dummy/app/controllers/widgets_controller.rb +12 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/javascript/packs/application.js +15 -0
- data/spec/dummy/app/jobs/application_job.rb +7 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/models/article.rb +3 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/models/dummy.rb +7 -0
- data/spec/dummy/app/models/post.rb +3 -0
- data/spec/dummy/app/models/profile.rb +6 -0
- data/spec/dummy/app/models/user.rb +3 -0
- data/spec/dummy/app/models/widget.rb +3 -0
- data/spec/dummy/app/views/articles/index.html.erb +1 -0
- data/spec/dummy/app/views/articles/show.html.erb +1 -0
- data/spec/dummy/app/views/dummy/index.html.erb +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/app/views/posts/edit.html.erb +0 -0
- data/spec/dummy/app/views/posts/index.html.erb +0 -0
- data/spec/dummy/app/views/posts/show.html.erb +0 -0
- data/spec/dummy/app/views/profiles/show.html.erb +3 -0
- data/spec/dummy/app/views/widgets/index.html.erb +0 -0
- data/spec/dummy/app/views/widgets/new.html.erb +0 -0
- data/spec/dummy/app/views/widgets/show.html.erb +0 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +33 -0
- data/spec/dummy/config/application.rb +20 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +62 -0
- data/spec/dummy/config/environments/production.rb +112 -0
- data/spec/dummy/config/environments/test.rb +49 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/assets.rb +12 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/impression.rb +8 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/puma.rb +38 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/config.ru2 +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20110201153144_create_articles.rb +13 -0
- data/spec/dummy/db/migrate/20110210205028_create_posts.rb +13 -0
- data/spec/dummy/db/migrate/20111127184039_create_widgets.rb +15 -0
- data/spec/dummy/db/migrate/20150207135825_create_profiles.rb +10 -0
- data/spec/dummy/db/migrate/20150207140310_create_friendly_id_slugs.rb +18 -0
- data/spec/dummy/db/migrate/20200720143817_create_impressions_table.rb +32 -0
- data/spec/dummy/db/schema.rb +77 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/log/development.log +129 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/storage/.keep +0 -0
- data/spec/fixtures/articles.yml +3 -0
- data/spec/fixtures/impressions.yml +43 -0
- data/spec/fixtures/posts.yml +3 -0
- data/spec/fixtures/profiles.yml +4 -0
- data/spec/fixtures/widgets.yml +4 -0
- data/spec/initializers_spec.rb +21 -0
- data/spec/models/bots_spec.rb +25 -0
- data/spec/models/impression_spec.rb +66 -0
- data/spec/rails_generators/rails_generators_spec.rb +23 -0
- data/spec/rails_helper.rb +11 -0
- data/spec/rails_toggle_spec.rb +31 -0
- data/spec/setup_association_spec.rb +48 -0
- data/spec/spec_helper.rb +43 -0
- data/upgrade_migrations/version_0_3_0.rb +27 -0
- data/upgrade_migrations/version_0_4_0.rb +9 -0
- data/upgrade_migrations/version_1_5_2.rb +12 -0
- metadata +302 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler/setup'
|
3
|
+
|
4
|
+
# Coverage
|
5
|
+
require 'simplecov'
|
6
|
+
SimpleCov.start do
|
7
|
+
add_filter '/spec/'
|
8
|
+
end
|
9
|
+
|
10
|
+
ENV['RAILS_ENV'] ||= 'test'
|
11
|
+
|
12
|
+
require_relative "dummy/config/environment"
|
13
|
+
|
14
|
+
require 'rails/all'
|
15
|
+
require 'rspec/rails'
|
16
|
+
# require 'capybara/rails'
|
17
|
+
|
18
|
+
require 'friendly_id'
|
19
|
+
|
20
|
+
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../spec/dummy/db/migrate", __dir__)]
|
21
|
+
|
22
|
+
require "rails/test_help"
|
23
|
+
|
24
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
25
|
+
RSpec.configure do |config|
|
26
|
+
config.fixture_path = "spec/fixtures"
|
27
|
+
config.infer_spec_type_from_file_location!
|
28
|
+
|
29
|
+
config.mock_with :rspec
|
30
|
+
config.use_transactional_fixtures = true
|
31
|
+
|
32
|
+
# excludes migration tag while running app base tests
|
33
|
+
config.filter_run_excluding :migration => true
|
34
|
+
|
35
|
+
# self explanatory
|
36
|
+
# runs everything
|
37
|
+
config.run_all_when_everything_filtered = true
|
38
|
+
|
39
|
+
# make the rails logger usable in the tests as logger.xxx "..."
|
40
|
+
def logger
|
41
|
+
Rails.logger
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
class CreateImpressionsTable < ActiveRecord::Migration[4.2]
|
2
|
+
def self.up
|
3
|
+
add_column :impressions, :session_hash, :string
|
4
|
+
remove_index :impressions, :name => :poly_index
|
5
|
+
remove_index :impressions, :name => :controlleraction_index
|
6
|
+
add_index :impressions, [:impressionable_type, :impressionable_id, :request_hash], :name => "poly_request_index", :unique => false
|
7
|
+
add_index :impressions, [:impressionable_type, :impressionable_id, :ip_address], :name => "poly_ip_index", :unique => false
|
8
|
+
add_index :impressions, [:impressionable_type, :impressionable_id, :session_hash], :name => "poly_session_index", :unique => false
|
9
|
+
add_index :impressions, [:controller_name,:action_name,:request_hash], :name => "controlleraction_request_index", :unique => false
|
10
|
+
add_index :impressions, [:controller_name,:action_name,:ip_address], :name => "controlleraction_ip_index", :unique => false
|
11
|
+
add_index :impressions, [:controller_name,:action_name,:session_hash], :name => "controlleraction_session_index", :unique => false
|
12
|
+
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.down
|
16
|
+
remove_column :impressions, :session_hash
|
17
|
+
remove_index :impressions, :name => :poly_request_index
|
18
|
+
remove_index :impressions, :name => :poly_ip_index
|
19
|
+
remove_index :impressions, :name => :poly_session_index
|
20
|
+
remove_index :impressions, :name => :controlleraction_request_index
|
21
|
+
remove_index :impressions, :name => :controlleraction_ip_index
|
22
|
+
remove_index :impressions, :name => :controlleraction_session_index
|
23
|
+
remove_index :impressions, :user_id
|
24
|
+
add_index :impressions, [:impressionable_type, :impressionable_id, :request_hash, :ip_address], :name => "poly_index", :unique => false
|
25
|
+
add_index :impressions, [:controller_name,:action_name,:request_hash,:ip_address], :name => "controlleraction_index", :unique => false
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
class Version152UpdateImpressionsTable < ActiveRecord::Migration[4.2]
|
2
|
+
def self.up
|
3
|
+
add_column :impressions, :params, :text
|
4
|
+
|
5
|
+
add_index :impressions, [:impressionable_type, :impressionable_id, :params], :name => "poly_params_request_index", :unique => false
|
6
|
+
end
|
7
|
+
|
8
|
+
def self.down
|
9
|
+
remove_index :impressions, [:impressionable_type, :impressionable_id, :params], :name => "poly_params_request_index"
|
10
|
+
remove_column :impressions, :params
|
11
|
+
end
|
12
|
+
end
|
metadata
ADDED
@@ -0,0 +1,302 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: impressionist-cody
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- johnmcaliley
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-06-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: friendly_id
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: nokogiri
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.2.15
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.2.15
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: zeitwerk
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '2.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: capybara
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec-rails
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: sqlite3
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.4'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.4'
|
125
|
+
description: Log impressions from controller actions or from a model
|
126
|
+
email: john.mcaliley@gmail.com
|
127
|
+
executables: []
|
128
|
+
extensions: []
|
129
|
+
extra_rdoc_files: []
|
130
|
+
files:
|
131
|
+
- ".github/workflows/main.yml"
|
132
|
+
- ".gitignore"
|
133
|
+
- ".rspec"
|
134
|
+
- ".rubocop.yml"
|
135
|
+
- ".rubocop_todo.yml"
|
136
|
+
- CHANGELOG.rdoc
|
137
|
+
- Gemfile
|
138
|
+
- LICENSE.txt
|
139
|
+
- README.md
|
140
|
+
- Rakefile
|
141
|
+
- UPGRADE_GUIDE.md
|
142
|
+
- app/assets/config/manifest.js
|
143
|
+
- app/controllers/impressionist_controller.rb
|
144
|
+
- app/models/impression.rb
|
145
|
+
- app/models/impressionist/bots.rb
|
146
|
+
- app/models/impressionist/impressionable.rb
|
147
|
+
- impressionist.gemspec
|
148
|
+
- lib/generators/active_record/impressionist_generator.rb
|
149
|
+
- lib/generators/active_record/templates/create_impressions_table.rb.erb
|
150
|
+
- lib/generators/impressionist_generator.rb
|
151
|
+
- lib/generators/mongo_mapper/impressionist_generator.rb
|
152
|
+
- lib/generators/mongoid/impressionist_generator.rb
|
153
|
+
- lib/generators/templates/impression.rb.erb
|
154
|
+
- lib/impressionist.rb
|
155
|
+
- lib/impressionist/bots.rb
|
156
|
+
- lib/impressionist/controllers/mongoid/impressionist_controller.rb
|
157
|
+
- lib/impressionist/counter_cache.rb
|
158
|
+
- lib/impressionist/engine.rb
|
159
|
+
- lib/impressionist/is_impressionable.rb
|
160
|
+
- lib/impressionist/load.rb
|
161
|
+
- lib/impressionist/models/active_record/impression.rb
|
162
|
+
- lib/impressionist/models/active_record/impressionist/impressionable.rb
|
163
|
+
- lib/impressionist/models/mongo_mapper/impression.rb
|
164
|
+
- lib/impressionist/models/mongo_mapper/impressionist/impressionable.rb
|
165
|
+
- lib/impressionist/models/mongoid/impression.rb
|
166
|
+
- lib/impressionist/models/mongoid/impressionist/impressionable.rb
|
167
|
+
- lib/impressionist/rails_toggle.rb
|
168
|
+
- lib/impressionist/setup_association.rb
|
169
|
+
- lib/impressionist/update_counters.rb
|
170
|
+
- lib/impressionist/version.rb
|
171
|
+
- logo.png
|
172
|
+
- spec/controllers/articles_controller_spec.rb
|
173
|
+
- spec/controllers/dummy_controller_spec.rb
|
174
|
+
- spec/controllers/impressionist_uniqueness_spec.rb
|
175
|
+
- spec/controllers/posts_controller_spec.rb
|
176
|
+
- spec/controllers/widgets_controller_spec.rb
|
177
|
+
- spec/counter_caching_spec.rb
|
178
|
+
- spec/dummy/.ruby-version
|
179
|
+
- spec/dummy/Rakefile
|
180
|
+
- spec/dummy/app/assets/config/manifest.js
|
181
|
+
- spec/dummy/app/assets/images/.keep
|
182
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
183
|
+
- spec/dummy/app/channels/application_cable/channel.rb
|
184
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
185
|
+
- spec/dummy/app/controllers/application_controller.rb
|
186
|
+
- spec/dummy/app/controllers/articles_controller.rb
|
187
|
+
- spec/dummy/app/controllers/concerns/.keep
|
188
|
+
- spec/dummy/app/controllers/dummy_controller.rb
|
189
|
+
- spec/dummy/app/controllers/posts_controller.rb
|
190
|
+
- spec/dummy/app/controllers/profiles_controller.rb
|
191
|
+
- spec/dummy/app/controllers/widgets_controller.rb
|
192
|
+
- spec/dummy/app/helpers/application_helper.rb
|
193
|
+
- spec/dummy/app/javascript/packs/application.js
|
194
|
+
- spec/dummy/app/jobs/application_job.rb
|
195
|
+
- spec/dummy/app/mailers/application_mailer.rb
|
196
|
+
- spec/dummy/app/models/application_record.rb
|
197
|
+
- spec/dummy/app/models/article.rb
|
198
|
+
- spec/dummy/app/models/concerns/.keep
|
199
|
+
- spec/dummy/app/models/dummy.rb
|
200
|
+
- spec/dummy/app/models/post.rb
|
201
|
+
- spec/dummy/app/models/profile.rb
|
202
|
+
- spec/dummy/app/models/user.rb
|
203
|
+
- spec/dummy/app/models/widget.rb
|
204
|
+
- spec/dummy/app/views/articles/index.html.erb
|
205
|
+
- spec/dummy/app/views/articles/show.html.erb
|
206
|
+
- spec/dummy/app/views/dummy/index.html.erb
|
207
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
208
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
209
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
210
|
+
- spec/dummy/app/views/posts/edit.html.erb
|
211
|
+
- spec/dummy/app/views/posts/index.html.erb
|
212
|
+
- spec/dummy/app/views/posts/show.html.erb
|
213
|
+
- spec/dummy/app/views/profiles/show.html.erb
|
214
|
+
- spec/dummy/app/views/widgets/index.html.erb
|
215
|
+
- spec/dummy/app/views/widgets/new.html.erb
|
216
|
+
- spec/dummy/app/views/widgets/show.html.erb
|
217
|
+
- spec/dummy/bin/rails
|
218
|
+
- spec/dummy/bin/rake
|
219
|
+
- spec/dummy/bin/setup
|
220
|
+
- spec/dummy/config.ru
|
221
|
+
- spec/dummy/config.ru2
|
222
|
+
- spec/dummy/config/application.rb
|
223
|
+
- spec/dummy/config/boot.rb
|
224
|
+
- spec/dummy/config/cable.yml
|
225
|
+
- spec/dummy/config/database.yml
|
226
|
+
- spec/dummy/config/environment.rb
|
227
|
+
- spec/dummy/config/environments/development.rb
|
228
|
+
- spec/dummy/config/environments/production.rb
|
229
|
+
- spec/dummy/config/environments/test.rb
|
230
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
231
|
+
- spec/dummy/config/initializers/assets.rb
|
232
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
233
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
234
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
235
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
236
|
+
- spec/dummy/config/initializers/impression.rb
|
237
|
+
- spec/dummy/config/initializers/inflections.rb
|
238
|
+
- spec/dummy/config/initializers/mime_types.rb
|
239
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
240
|
+
- spec/dummy/config/locales/en.yml
|
241
|
+
- spec/dummy/config/puma.rb
|
242
|
+
- spec/dummy/config/routes.rb
|
243
|
+
- spec/dummy/config/spring.rb
|
244
|
+
- spec/dummy/config/storage.yml
|
245
|
+
- spec/dummy/db/development.sqlite3
|
246
|
+
- spec/dummy/db/migrate/20110201153144_create_articles.rb
|
247
|
+
- spec/dummy/db/migrate/20110210205028_create_posts.rb
|
248
|
+
- spec/dummy/db/migrate/20111127184039_create_widgets.rb
|
249
|
+
- spec/dummy/db/migrate/20150207135825_create_profiles.rb
|
250
|
+
- spec/dummy/db/migrate/20150207140310_create_friendly_id_slugs.rb
|
251
|
+
- spec/dummy/db/migrate/20200720143817_create_impressions_table.rb
|
252
|
+
- spec/dummy/db/schema.rb
|
253
|
+
- spec/dummy/lib/assets/.keep
|
254
|
+
- spec/dummy/log/.keep
|
255
|
+
- spec/dummy/log/development.log
|
256
|
+
- spec/dummy/public/404.html
|
257
|
+
- spec/dummy/public/422.html
|
258
|
+
- spec/dummy/public/500.html
|
259
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
260
|
+
- spec/dummy/public/apple-touch-icon.png
|
261
|
+
- spec/dummy/public/favicon.ico
|
262
|
+
- spec/dummy/storage/.keep
|
263
|
+
- spec/fixtures/articles.yml
|
264
|
+
- spec/fixtures/impressions.yml
|
265
|
+
- spec/fixtures/posts.yml
|
266
|
+
- spec/fixtures/profiles.yml
|
267
|
+
- spec/fixtures/widgets.yml
|
268
|
+
- spec/initializers_spec.rb
|
269
|
+
- spec/models/bots_spec.rb
|
270
|
+
- spec/models/impression_spec.rb
|
271
|
+
- spec/rails_generators/rails_generators_spec.rb
|
272
|
+
- spec/rails_helper.rb
|
273
|
+
- spec/rails_toggle_spec.rb
|
274
|
+
- spec/setup_association_spec.rb
|
275
|
+
- spec/spec_helper.rb
|
276
|
+
- upgrade_migrations/version_0_3_0.rb
|
277
|
+
- upgrade_migrations/version_0_4_0.rb
|
278
|
+
- upgrade_migrations/version_1_5_2.rb
|
279
|
+
homepage: http://github.com/charlotte-ruby/impressionist
|
280
|
+
licenses:
|
281
|
+
- MIT
|
282
|
+
metadata: {}
|
283
|
+
post_install_message:
|
284
|
+
rdoc_options: []
|
285
|
+
require_paths:
|
286
|
+
- lib
|
287
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
288
|
+
requirements:
|
289
|
+
- - ">="
|
290
|
+
- !ruby/object:Gem::Version
|
291
|
+
version: '0'
|
292
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
293
|
+
requirements:
|
294
|
+
- - ">="
|
295
|
+
- !ruby/object:Gem::Version
|
296
|
+
version: '0'
|
297
|
+
requirements: []
|
298
|
+
rubygems_version: 3.3.12
|
299
|
+
signing_key:
|
300
|
+
specification_version: 4
|
301
|
+
summary: Easy way to log impressions
|
302
|
+
test_files: []
|