testimonials 0.7.9 → 0.8.0
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 +4 -4
- data/AGENTS.md +210 -0
- data/CHANGELOG.md +68 -0
- data/README.md +30 -4
- data/app/controllers/concerns/testimonials/request_context.rb +75 -0
- data/app/controllers/testimonials/application_controller.rb +10 -56
- data/app/controllers/testimonials/dashboard_controller.rb +40 -0
- data/app/controllers/testimonials/events_controller.rb +9 -0
- data/app/controllers/testimonials/nps_responses_controller.rb +1 -4
- data/app/controllers/testimonials/submissions_controller.rb +169 -0
- data/app/controllers/testimonials/testimonials_controller.rb +6 -166
- data/app/helpers/testimonials/widget_helper.rb +4 -0
- data/app/models/testimonials/prompt_event.rb +12 -0
- data/app/views/layouts/testimonials/application.html.erb +5 -8
- data/app/views/testimonials/nps_responses/index.html.erb +154 -152
- data/app/views/testimonials/nps_responses/show.html.erb +7 -5
- data/app/views/testimonials/shared/_dashboard.html.erb +18 -0
- data/app/views/testimonials/testimonials/index.html.erb +110 -108
- data/app/views/testimonials/testimonials/show.html.erb +7 -5
- data/config/routes.rb +18 -5
- data/examples/README.md +17 -0
- data/examples/badge.html.erb +13 -0
- data/examples/json_ld.html.erb +28 -0
- data/examples/static_site.md +43 -0
- data/examples/testimonial_card.html.erb +17 -0
- data/examples/wall_of_love.html.erb +43 -0
- data/lib/generators/testimonials/install/install_generator.rb +22 -10
- data/lib/generators/testimonials/install/templates/create_testimonials_tables.rb.tt +7 -5
- data/lib/generators/testimonials/install/templates/initializer.rb.tt +25 -2
- data/lib/generators/testimonials/migration_helpers.rb +35 -0
- data/lib/generators/testimonials/nps/nps_generator.rb +2 -6
- data/lib/generators/testimonials/nps/templates/create_testimonials_nps_responses.rb.tt +1 -1
- data/lib/generators/testimonials/prompt_events/prompt_events_generator.rb +35 -0
- data/lib/generators/testimonials/prompt_events/templates/create_testimonials_prompt_events.rb.tt +17 -0
- data/lib/generators/testimonials/tenant/templates/add_tenant_to_testimonials.rb.tt +11 -8
- data/lib/generators/testimonials/tenant/tenant_generator.rb +2 -6
- data/lib/testimonials/configuration.rb +34 -1
- data/lib/testimonials/dashboard.css +278 -221
- data/lib/testimonials/prompt_helper.rb +4 -0
- data/lib/testimonials/seeds.rb +3 -2
- data/lib/testimonials/version.rb +1 -1
- data/lib/testimonials/widget.js +4 -1
- data/lib/testimonials/widget.rb +3 -0
- data/lib/testimonials.rb +8 -0
- metadata +15 -1
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: testimonials
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yaroslav Shmarov
|
|
@@ -38,19 +38,23 @@ executables: []
|
|
|
38
38
|
extensions: []
|
|
39
39
|
extra_rdoc_files: []
|
|
40
40
|
files:
|
|
41
|
+
- AGENTS.md
|
|
41
42
|
- CHANGELOG.md
|
|
42
43
|
- MIT-LICENSE
|
|
43
44
|
- README.md
|
|
44
45
|
- Rakefile
|
|
46
|
+
- app/controllers/concerns/testimonials/request_context.rb
|
|
45
47
|
- app/controllers/testimonials/api/base_controller.rb
|
|
46
48
|
- app/controllers/testimonials/api/stats_controller.rb
|
|
47
49
|
- app/controllers/testimonials/api/testimonials_controller.rb
|
|
48
50
|
- app/controllers/testimonials/application_controller.rb
|
|
49
51
|
- app/controllers/testimonials/collection_controller.rb
|
|
52
|
+
- app/controllers/testimonials/dashboard_controller.rb
|
|
50
53
|
- app/controllers/testimonials/events_controller.rb
|
|
51
54
|
- app/controllers/testimonials/media_controller.rb
|
|
52
55
|
- app/controllers/testimonials/nps_controller.rb
|
|
53
56
|
- app/controllers/testimonials/nps_responses_controller.rb
|
|
57
|
+
- app/controllers/testimonials/submissions_controller.rb
|
|
54
58
|
- app/controllers/testimonials/testimonials_controller.rb
|
|
55
59
|
- app/controllers/testimonials/widgets_controller.rb
|
|
56
60
|
- app/helpers/testimonials/widget_helper.rb
|
|
@@ -65,6 +69,7 @@ files:
|
|
|
65
69
|
- app/views/testimonials/nps_responses/_response_panel.html.erb
|
|
66
70
|
- app/views/testimonials/nps_responses/index.html.erb
|
|
67
71
|
- app/views/testimonials/nps_responses/show.html.erb
|
|
72
|
+
- app/views/testimonials/shared/_dashboard.html.erb
|
|
68
73
|
- app/views/testimonials/testimonials/_testimonial_panel.html.erb
|
|
69
74
|
- app/views/testimonials/testimonials/index.html.erb
|
|
70
75
|
- app/views/testimonials/testimonials/show.html.erb
|
|
@@ -95,11 +100,20 @@ files:
|
|
|
95
100
|
- config/locales/testimonials.vi.yml
|
|
96
101
|
- config/locales/testimonials.zh-CN.yml
|
|
97
102
|
- config/routes.rb
|
|
103
|
+
- examples/README.md
|
|
104
|
+
- examples/badge.html.erb
|
|
105
|
+
- examples/json_ld.html.erb
|
|
106
|
+
- examples/static_site.md
|
|
107
|
+
- examples/testimonial_card.html.erb
|
|
108
|
+
- examples/wall_of_love.html.erb
|
|
98
109
|
- lib/generators/testimonials/install/install_generator.rb
|
|
99
110
|
- lib/generators/testimonials/install/templates/create_testimonials_tables.rb.tt
|
|
100
111
|
- lib/generators/testimonials/install/templates/initializer.rb.tt
|
|
112
|
+
- lib/generators/testimonials/migration_helpers.rb
|
|
101
113
|
- lib/generators/testimonials/nps/nps_generator.rb
|
|
102
114
|
- lib/generators/testimonials/nps/templates/create_testimonials_nps_responses.rb.tt
|
|
115
|
+
- lib/generators/testimonials/prompt_events/prompt_events_generator.rb
|
|
116
|
+
- lib/generators/testimonials/prompt_events/templates/create_testimonials_prompt_events.rb.tt
|
|
103
117
|
- lib/generators/testimonials/tenant/templates/add_tenant_to_testimonials.rb.tt
|
|
104
118
|
- lib/generators/testimonials/tenant/tenant_generator.rb
|
|
105
119
|
- lib/tasks/testimonials_tasks.rake
|