workarea-google_customer_review 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +7 -0
  3. data/Gemfile +15 -0
  4. data/MIT-LICENSE +20 -0
  5. data/README.md +28 -0
  6. data/Rakefile +29 -0
  7. data/app/assets/config/workarea_google_customer_review_manifest.js +0 -0
  8. data/app/assets/images/workarea/google_customer_review/.keep +0 -0
  9. data/app/assets/javascripts/workarea/google_customer_review/.keep +0 -0
  10. data/app/assets/stylesheets/workarea/google_customer_review/.keep +0 -0
  11. data/app/controllers/.keep +0 -0
  12. data/app/helpers/.keep +0 -0
  13. data/app/mailers/.keep +0 -0
  14. data/app/models/.keep +0 -0
  15. data/app/views/.keep +0 -0
  16. data/app/views/workarea/storefront/checkouts/_google_customer_review.html.haml +4 -0
  17. data/bin/rails +25 -0
  18. data/config/initializers/appends.rb +6 -0
  19. data/config/routes.rb +2 -0
  20. data/lib/tasks/workarea/google_customer_review_tasks.rake +4 -0
  21. data/lib/workarea/google_customer_review.rb +7 -0
  22. data/lib/workarea/google_customer_review/engine.rb +6 -0
  23. data/lib/workarea/google_customer_review/version.rb +5 -0
  24. data/test/dummy/.ruby-version +1 -0
  25. data/test/dummy/Rakefile +6 -0
  26. data/test/dummy/app/assets/config/manifest.js +3 -0
  27. data/test/dummy/app/assets/images/.keep +0 -0
  28. data/test/dummy/app/assets/javascripts/application.js +14 -0
  29. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  30. data/test/dummy/app/controllers/application_controller.rb +2 -0
  31. data/test/dummy/app/controllers/concerns/.keep +0 -0
  32. data/test/dummy/app/helpers/application_helper.rb +2 -0
  33. data/test/dummy/app/jobs/application_job.rb +2 -0
  34. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  35. data/test/dummy/app/models/concerns/.keep +0 -0
  36. data/test/dummy/app/views/layouts/application.html.erb +15 -0
  37. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  38. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  39. data/test/dummy/bin/bundle +3 -0
  40. data/test/dummy/bin/rails +4 -0
  41. data/test/dummy/bin/rake +4 -0
  42. data/test/dummy/bin/setup +28 -0
  43. data/test/dummy/bin/update +28 -0
  44. data/test/dummy/bin/yarn +11 -0
  45. data/test/dummy/config.ru +5 -0
  46. data/test/dummy/config/application.rb +30 -0
  47. data/test/dummy/config/boot.rb +5 -0
  48. data/test/dummy/config/environment.rb +5 -0
  49. data/test/dummy/config/environments/development.rb +52 -0
  50. data/test/dummy/config/environments/production.rb +83 -0
  51. data/test/dummy/config/environments/test.rb +43 -0
  52. data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
  53. data/test/dummy/config/initializers/assets.rb +14 -0
  54. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  55. data/test/dummy/config/initializers/content_security_policy.rb +25 -0
  56. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  57. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  58. data/test/dummy/config/initializers/inflections.rb +16 -0
  59. data/test/dummy/config/initializers/mime_types.rb +4 -0
  60. data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
  61. data/test/dummy/config/locales/en.yml +33 -0
  62. data/test/dummy/config/puma.rb +37 -0
  63. data/test/dummy/config/routes.rb +3 -0
  64. data/test/dummy/config/spring.rb +6 -0
  65. data/test/dummy/lib/assets/.keep +0 -0
  66. data/test/dummy/log/.keep +0 -0
  67. data/test/dummy/package.json +5 -0
  68. data/test/dummy/public/404.html +67 -0
  69. data/test/dummy/public/422.html +67 -0
  70. data/test/dummy/public/500.html +66 -0
  71. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  72. data/test/dummy/public/apple-touch-icon.png +0 -0
  73. data/test/dummy/public/favicon.ico +0 -0
  74. data/test/integration/navigation_test.rb +7 -0
  75. data/test/test_helper.rb +11 -0
  76. data/test/workarea/google_customer_review_test.rb +7 -0
  77. data/workarea-google_customer_review.gemspec +19 -0
  78. metadata +133 -0
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
File without changes
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ # test "the truth" do
5
+ # assert true
6
+ # end
7
+ end
@@ -0,0 +1,11 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require_relative "../test/dummy/config/environment"
5
+ require "rails/test_help"
6
+
7
+ # Filter out Minitest backtrace while allowing backtrace from other libraries
8
+ # to be shown.
9
+ Minitest.backtrace_filter = Minitest::BacktraceFilter.new
10
+
11
+
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class Workarea::GoogleCustomerReview::Test < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, Workarea::GoogleCustomerReview
6
+ end
7
+ end
@@ -0,0 +1,19 @@
1
+ $:.push File.expand_path("lib", __dir__)
2
+
3
+ # Maintain your gem's version:
4
+ require "workarea/google_customer_review/version"
5
+
6
+ # Describe your gem and declare its dependencies:
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "workarea-google_customer_review"
9
+ spec.version = Workarea::GoogleCustomerReview::VERSION
10
+ spec.authors = ["Satya.Tejadvs"]
11
+ spec.email = ["sathyteja.dvs@trikatechnologies.com"]
12
+ spec.summary = "Adding Code snippet google customer reviews"
13
+ spec.description = "Trigger the code snippet on order confirmation"
14
+ spec.license = "Business Software License"
15
+
16
+ spec.files = `git ls-files`.split("\n")
17
+
18
+ spec.add_dependency 'workarea', '~> 3.x'
19
+ end
metadata ADDED
@@ -0,0 +1,133 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: workarea-google_customer_review
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Satya.Tejadvs
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-12-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: workarea
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 3.x
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 3.x
27
+ description: Trigger the code snippet on order confirmation
28
+ email:
29
+ - sathyteja.dvs@trikatechnologies.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".gitignore"
35
+ - Gemfile
36
+ - MIT-LICENSE
37
+ - README.md
38
+ - Rakefile
39
+ - app/assets/config/workarea_google_customer_review_manifest.js
40
+ - app/assets/images/workarea/google_customer_review/.keep
41
+ - app/assets/javascripts/workarea/google_customer_review/.keep
42
+ - app/assets/stylesheets/workarea/google_customer_review/.keep
43
+ - app/controllers/.keep
44
+ - app/helpers/.keep
45
+ - app/mailers/.keep
46
+ - app/models/.keep
47
+ - app/views/.keep
48
+ - app/views/workarea/storefront/checkouts/_google_customer_review.html.haml
49
+ - bin/rails
50
+ - config/initializers/appends.rb
51
+ - config/routes.rb
52
+ - lib/tasks/workarea/google_customer_review_tasks.rake
53
+ - lib/workarea/google_customer_review.rb
54
+ - lib/workarea/google_customer_review/engine.rb
55
+ - lib/workarea/google_customer_review/version.rb
56
+ - test/dummy/.ruby-version
57
+ - test/dummy/Rakefile
58
+ - test/dummy/app/assets/config/manifest.js
59
+ - test/dummy/app/assets/images/.keep
60
+ - test/dummy/app/assets/javascripts/application.js
61
+ - test/dummy/app/assets/stylesheets/application.css
62
+ - test/dummy/app/controllers/application_controller.rb
63
+ - test/dummy/app/controllers/concerns/.keep
64
+ - test/dummy/app/helpers/application_helper.rb
65
+ - test/dummy/app/jobs/application_job.rb
66
+ - test/dummy/app/mailers/application_mailer.rb
67
+ - test/dummy/app/models/concerns/.keep
68
+ - test/dummy/app/views/layouts/application.html.erb
69
+ - test/dummy/app/views/layouts/mailer.html.erb
70
+ - test/dummy/app/views/layouts/mailer.text.erb
71
+ - test/dummy/bin/bundle
72
+ - test/dummy/bin/rails
73
+ - test/dummy/bin/rake
74
+ - test/dummy/bin/setup
75
+ - test/dummy/bin/update
76
+ - test/dummy/bin/yarn
77
+ - test/dummy/config.ru
78
+ - test/dummy/config/application.rb
79
+ - test/dummy/config/boot.rb
80
+ - test/dummy/config/environment.rb
81
+ - test/dummy/config/environments/development.rb
82
+ - test/dummy/config/environments/production.rb
83
+ - test/dummy/config/environments/test.rb
84
+ - test/dummy/config/initializers/application_controller_renderer.rb
85
+ - test/dummy/config/initializers/assets.rb
86
+ - test/dummy/config/initializers/backtrace_silencers.rb
87
+ - test/dummy/config/initializers/content_security_policy.rb
88
+ - test/dummy/config/initializers/cookies_serializer.rb
89
+ - test/dummy/config/initializers/filter_parameter_logging.rb
90
+ - test/dummy/config/initializers/inflections.rb
91
+ - test/dummy/config/initializers/mime_types.rb
92
+ - test/dummy/config/initializers/wrap_parameters.rb
93
+ - test/dummy/config/locales/en.yml
94
+ - test/dummy/config/puma.rb
95
+ - test/dummy/config/routes.rb
96
+ - test/dummy/config/spring.rb
97
+ - test/dummy/lib/assets/.keep
98
+ - test/dummy/log/.keep
99
+ - test/dummy/package.json
100
+ - test/dummy/public/404.html
101
+ - test/dummy/public/422.html
102
+ - test/dummy/public/500.html
103
+ - test/dummy/public/apple-touch-icon-precomposed.png
104
+ - test/dummy/public/apple-touch-icon.png
105
+ - test/dummy/public/favicon.ico
106
+ - test/integration/navigation_test.rb
107
+ - test/test_helper.rb
108
+ - test/workarea/google_customer_review_test.rb
109
+ - workarea-google_customer_review.gemspec
110
+ homepage:
111
+ licenses:
112
+ - Business Software License
113
+ metadata: {}
114
+ post_install_message:
115
+ rdoc_options: []
116
+ require_paths:
117
+ - lib
118
+ required_ruby_version: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
128
+ requirements: []
129
+ rubygems_version: 3.0.3
130
+ signing_key:
131
+ specification_version: 4
132
+ summary: Adding Code snippet google customer reviews
133
+ test_files: []