workarea-product_badges 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +16 -0
  3. data/.eslintrc +25 -0
  4. data/.gitignore +19 -0
  5. data/.markdownlint.json +10 -0
  6. data/.rails-rubocop.yml +119 -0
  7. data/.rubocop.yml +8 -0
  8. data/.scss-lint.yml +192 -0
  9. data/CHANGELOG.md +101 -0
  10. data/Gemfile +16 -0
  11. data/README.md +167 -0
  12. data/Rakefile +63 -0
  13. data/app/assets/stylesheets/workarea/product_badges/components/_badges.scss +47 -0
  14. data/app/models/workarea/catalog/product.decorator +11 -0
  15. data/app/view_models/workarea/storefront/product_view_model.decorator +52 -0
  16. data/app/views/workarea/admin/catalog_products/_badge_fields.html.haml +40 -0
  17. data/app/views/workarea/storefront/products/_badges.haml +5 -0
  18. data/bin/rails +20 -0
  19. data/config/initializers/appends.rb +21 -0
  20. data/config/initializers/workarea.rb +9 -0
  21. data/config/locales/en.yml +19 -0
  22. data/lib/workarea/product_badges/engine.rb +8 -0
  23. data/lib/workarea/product_badges/version.rb +5 -0
  24. data/lib/workarea/product_badges.rb +30 -0
  25. data/script/admin_ci +9 -0
  26. data/script/ci +11 -0
  27. data/script/core_ci +9 -0
  28. data/script/plugins_ci +9 -0
  29. data/script/storefront_ci +9 -0
  30. data/test/dummy/Rakefile +6 -0
  31. data/test/dummy/app/assets/config/manifest.js +4 -0
  32. data/test/dummy/app/assets/images/.keep +0 -0
  33. data/test/dummy/app/assets/javascripts/application.js +13 -0
  34. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  35. data/test/dummy/app/controllers/application_controller.rb +3 -0
  36. data/test/dummy/app/controllers/concerns/.keep +0 -0
  37. data/test/dummy/app/helpers/application_helper.rb +2 -0
  38. data/test/dummy/app/jobs/application_job.rb +2 -0
  39. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  40. data/test/dummy/app/models/concerns/.keep +0 -0
  41. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  42. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  43. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  44. data/test/dummy/bin/bundle +3 -0
  45. data/test/dummy/bin/rails +4 -0
  46. data/test/dummy/bin/rake +4 -0
  47. data/test/dummy/bin/setup +38 -0
  48. data/test/dummy/bin/update +29 -0
  49. data/test/dummy/bin/yarn +11 -0
  50. data/test/dummy/config/application.rb +26 -0
  51. data/test/dummy/config/boot.rb +5 -0
  52. data/test/dummy/config/cable.yml +10 -0
  53. data/test/dummy/config/environment.rb +5 -0
  54. data/test/dummy/config/environments/development.rb +54 -0
  55. data/test/dummy/config/environments/production.rb +91 -0
  56. data/test/dummy/config/environments/test.rb +44 -0
  57. data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
  58. data/test/dummy/config/initializers/assets.rb +14 -0
  59. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  60. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  61. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  62. data/test/dummy/config/initializers/inflections.rb +16 -0
  63. data/test/dummy/config/initializers/mime_types.rb +4 -0
  64. data/test/dummy/config/initializers/workarea.rb +5 -0
  65. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  66. data/test/dummy/config/locales/en.yml +33 -0
  67. data/test/dummy/config/puma.rb +56 -0
  68. data/test/dummy/config/routes.rb +5 -0
  69. data/test/dummy/config/secrets.yml +32 -0
  70. data/test/dummy/config/spring.rb +6 -0
  71. data/test/dummy/config.ru +5 -0
  72. data/test/dummy/db/seeds.rb +2 -0
  73. data/test/dummy/lib/assets/.keep +0 -0
  74. data/test/dummy/log/.keep +0 -0
  75. data/test/dummy/package.json +5 -0
  76. data/test/integration/workarea/admin/products_badging_integration_test.rb +15 -0
  77. data/test/system/workarea/admin/product_badges_system_test.rb +29 -0
  78. data/test/system/workarea/storefront/product_badges_system_test.rb +62 -0
  79. data/test/teaspoon_env.rb +6 -0
  80. data/test/test_helper.rb +10 -0
  81. data/test/view_models/workarea/storefront/product_view_model_badging_test.rb +81 -0
  82. data/workarea-product_badges.gemspec +17 -0
  83. metadata +143 -0
@@ -0,0 +1,17 @@
1
+ $:.push File.expand_path("../lib", __FILE__)
2
+
3
+ require "workarea/product_badges/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "workarea-product_badges"
7
+ s.version = Workarea::ProductBadges::VERSION
8
+ s.authors = ["Jake Beresford"]
9
+ s.email = ["jberesford@weblinc.com"]
10
+ s.homepage = "https://stash.tools.weblinc.com/projects/WP/repos/workarea-badges/browse"
11
+ s.summary = "Product badges for the workarea ecommerce platform"
12
+ s.description = "Add product badges to your storefront"
13
+
14
+ s.files = `git ls-files`.split("\n")
15
+
16
+ s.add_dependency "workarea", "~> 3.x", ">= 3.4.x"
17
+ end
metadata ADDED
@@ -0,0 +1,143 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: workarea-product_badges
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.3.2
5
+ platform: ruby
6
+ authors:
7
+ - Jake Beresford
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-08-21 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
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 3.4.x
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: 3.x
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 3.4.x
33
+ description: Add product badges to your storefront
34
+ email:
35
+ - jberesford@weblinc.com
36
+ executables: []
37
+ extensions: []
38
+ extra_rdoc_files: []
39
+ files:
40
+ - ".editorconfig"
41
+ - ".eslintrc"
42
+ - ".gitignore"
43
+ - ".markdownlint.json"
44
+ - ".rails-rubocop.yml"
45
+ - ".rubocop.yml"
46
+ - ".scss-lint.yml"
47
+ - CHANGELOG.md
48
+ - Gemfile
49
+ - README.md
50
+ - Rakefile
51
+ - app/assets/stylesheets/workarea/product_badges/components/_badges.scss
52
+ - app/models/workarea/catalog/product.decorator
53
+ - app/view_models/workarea/storefront/product_view_model.decorator
54
+ - app/views/workarea/admin/catalog_products/_badge_fields.html.haml
55
+ - app/views/workarea/storefront/products/_badges.haml
56
+ - bin/rails
57
+ - config/initializers/appends.rb
58
+ - config/initializers/workarea.rb
59
+ - config/locales/en.yml
60
+ - lib/workarea/product_badges.rb
61
+ - lib/workarea/product_badges/engine.rb
62
+ - lib/workarea/product_badges/version.rb
63
+ - script/admin_ci
64
+ - script/ci
65
+ - script/core_ci
66
+ - script/plugins_ci
67
+ - script/storefront_ci
68
+ - test/dummy/Rakefile
69
+ - test/dummy/app/assets/config/manifest.js
70
+ - test/dummy/app/assets/images/.keep
71
+ - test/dummy/app/assets/javascripts/application.js
72
+ - test/dummy/app/assets/stylesheets/application.css
73
+ - test/dummy/app/controllers/application_controller.rb
74
+ - test/dummy/app/controllers/concerns/.keep
75
+ - test/dummy/app/helpers/application_helper.rb
76
+ - test/dummy/app/jobs/application_job.rb
77
+ - test/dummy/app/mailers/application_mailer.rb
78
+ - test/dummy/app/models/concerns/.keep
79
+ - test/dummy/app/views/layouts/application.html.erb
80
+ - test/dummy/app/views/layouts/mailer.html.erb
81
+ - test/dummy/app/views/layouts/mailer.text.erb
82
+ - test/dummy/bin/bundle
83
+ - test/dummy/bin/rails
84
+ - test/dummy/bin/rake
85
+ - test/dummy/bin/setup
86
+ - test/dummy/bin/update
87
+ - test/dummy/bin/yarn
88
+ - test/dummy/config.ru
89
+ - test/dummy/config/application.rb
90
+ - test/dummy/config/boot.rb
91
+ - test/dummy/config/cable.yml
92
+ - test/dummy/config/environment.rb
93
+ - test/dummy/config/environments/development.rb
94
+ - test/dummy/config/environments/production.rb
95
+ - test/dummy/config/environments/test.rb
96
+ - test/dummy/config/initializers/application_controller_renderer.rb
97
+ - test/dummy/config/initializers/assets.rb
98
+ - test/dummy/config/initializers/backtrace_silencers.rb
99
+ - test/dummy/config/initializers/cookies_serializer.rb
100
+ - test/dummy/config/initializers/filter_parameter_logging.rb
101
+ - test/dummy/config/initializers/inflections.rb
102
+ - test/dummy/config/initializers/mime_types.rb
103
+ - test/dummy/config/initializers/workarea.rb
104
+ - test/dummy/config/initializers/wrap_parameters.rb
105
+ - test/dummy/config/locales/en.yml
106
+ - test/dummy/config/puma.rb
107
+ - test/dummy/config/routes.rb
108
+ - test/dummy/config/secrets.yml
109
+ - test/dummy/config/spring.rb
110
+ - test/dummy/db/seeds.rb
111
+ - test/dummy/lib/assets/.keep
112
+ - test/dummy/log/.keep
113
+ - test/dummy/package.json
114
+ - test/integration/workarea/admin/products_badging_integration_test.rb
115
+ - test/system/workarea/admin/product_badges_system_test.rb
116
+ - test/system/workarea/storefront/product_badges_system_test.rb
117
+ - test/teaspoon_env.rb
118
+ - test/test_helper.rb
119
+ - test/view_models/workarea/storefront/product_view_model_badging_test.rb
120
+ - workarea-product_badges.gemspec
121
+ homepage: https://stash.tools.weblinc.com/projects/WP/repos/workarea-badges/browse
122
+ licenses: []
123
+ metadata: {}
124
+ post_install_message:
125
+ rdoc_options: []
126
+ require_paths:
127
+ - lib
128
+ required_ruby_version: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ required_rubygems_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ requirements: []
139
+ rubygems_version: 3.0.4
140
+ signing_key:
141
+ specification_version: 4
142
+ summary: Product badges for the workarea ecommerce platform
143
+ test_files: []