workarea-super_hero 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.editorconfig +15 -0
- data/.eslintrc +26 -0
- data/.gitignore +11 -0
- data/.jshintrc +37 -0
- data/.rails-rubocop.yml +119 -0
- data/.rubocop.yml +12 -0
- data/.scss-lint.yml +188 -0
- data/CHANGELOG.md +334 -0
- data/Gemfile +5 -0
- data/README.md +120 -0
- data/Rakefile +60 -0
- data/app/assets/images/workarea/admin/content_block_types/super_hero.svg +1 -0
- data/app/assets/images/workarea/svg/position_grid.svg +38 -0
- data/app/assets/javascripts/workarea/admin/super_hero/modules/media_modes.js +54 -0
- data/app/assets/javascripts/workarea/admin/super_hero/modules/position_input.js +59 -0
- data/app/assets/javascripts/workarea/storefront/super_hero/modules/vimeo_api.js +85 -0
- data/app/assets/javascripts/workarea/storefront/super_hero/modules/youtube_api.js +122 -0
- data/app/assets/stylesheets/workarea/admin/super_hero/components/_position_grid.scss +27 -0
- data/app/assets/stylesheets/workarea/storefront/super_hero/components/_content_position.scss +46 -0
- data/app/assets/stylesheets/workarea/storefront/super_hero/components/_super_hero_content_block.scss +69 -0
- data/app/models/workarea/content/fields/media_mode.rb +8 -0
- data/app/models/workarea/content/fields/video_advanced.rb +8 -0
- data/app/services/workarea/storefront/color_tools.rb +24 -0
- data/app/services/workarea/storefront/video_embedder/vimeo.rb +50 -0
- data/app/services/workarea/storefront/video_embedder/youtube.rb +56 -0
- data/app/services/workarea/storefront/video_embedder.rb +59 -0
- data/app/view_models/workarea/storefront/content_blocks/super_hero_view_model.rb +79 -0
- data/app/views/workarea/admin/content_blocks/_media_mode.html.haml +3 -0
- data/app/views/workarea/admin/content_blocks/_video_advanced.html.haml +12 -0
- data/app/views/workarea/admin/content_blocks/types/_super_hero.html.haml +106 -0
- data/app/views/workarea/storefront/content_blocks/_super_hero.html.haml +27 -0
- data/bin/rails +18 -0
- data/config/initializers/appends.rb +42 -0
- data/config/initializers/content_block_types.rb +49 -0
- data/config/locales/en.yml +23 -0
- data/config/routes.rb +2 -0
- data/lib/workarea/super_hero/engine.rb +8 -0
- data/lib/workarea/super_hero/version.rb +5 -0
- data/lib/workarea/super_hero.rb +11 -0
- data/script/admin_ci +9 -0
- data/script/ci +11 -0
- data/script/core_ci +9 -0
- data/script/plugins_ci +9 -0
- data/script/storefront_ci +9 -0
- data/super_hero_logo.svg +15 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/config/manifest.js +4 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/jobs/application_job.rb +2 -0
- data/test/dummy/app/mailers/application_mailer.rb +4 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +34 -0
- data/test/dummy/bin/update +29 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/cable.yml +9 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +54 -0
- data/test/dummy/config/environments/production.rb +86 -0
- data/test/dummy/config/environments/test.rb +43 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/new_framework_defaults.rb +18 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/workarea.rb +5 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/puma.rb +47 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/log/.keep +0 -0
- data/test/services/workarea/storefront/color_tools_test.rb +32 -0
- data/test/services/workarea/storefront/video_embedder_test.rb +52 -0
- data/test/test_helper.rb +10 -0
- data/test/view_models/workarea/storefront/super_hero_view_model_test.rb +38 -0
- data/workarea-super_hero.gemspec +18 -0
- metadata +158 -0
metadata
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: workarea-super_hero
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.2.1
|
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.0
|
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.0
|
33
|
+
description: Advanced hero content block with content positioning, image cropping,
|
34
|
+
mobile sweetness, and video embedding!
|
35
|
+
email:
|
36
|
+
- jberesford@workarea.com
|
37
|
+
executables: []
|
38
|
+
extensions: []
|
39
|
+
extra_rdoc_files: []
|
40
|
+
files:
|
41
|
+
- ".editorconfig"
|
42
|
+
- ".eslintrc"
|
43
|
+
- ".gitignore"
|
44
|
+
- ".jshintrc"
|
45
|
+
- ".rails-rubocop.yml"
|
46
|
+
- ".rubocop.yml"
|
47
|
+
- ".scss-lint.yml"
|
48
|
+
- CHANGELOG.md
|
49
|
+
- Gemfile
|
50
|
+
- README.md
|
51
|
+
- Rakefile
|
52
|
+
- app/assets/images/workarea/admin/content_block_types/super_hero.svg
|
53
|
+
- app/assets/images/workarea/svg/position_grid.svg
|
54
|
+
- app/assets/javascripts/workarea/admin/super_hero/modules/media_modes.js
|
55
|
+
- app/assets/javascripts/workarea/admin/super_hero/modules/position_input.js
|
56
|
+
- app/assets/javascripts/workarea/storefront/super_hero/modules/vimeo_api.js
|
57
|
+
- app/assets/javascripts/workarea/storefront/super_hero/modules/youtube_api.js
|
58
|
+
- app/assets/stylesheets/workarea/admin/super_hero/components/_position_grid.scss
|
59
|
+
- app/assets/stylesheets/workarea/storefront/super_hero/components/_content_position.scss
|
60
|
+
- app/assets/stylesheets/workarea/storefront/super_hero/components/_super_hero_content_block.scss
|
61
|
+
- app/models/workarea/content/fields/media_mode.rb
|
62
|
+
- app/models/workarea/content/fields/video_advanced.rb
|
63
|
+
- app/services/workarea/storefront/color_tools.rb
|
64
|
+
- app/services/workarea/storefront/video_embedder.rb
|
65
|
+
- app/services/workarea/storefront/video_embedder/vimeo.rb
|
66
|
+
- app/services/workarea/storefront/video_embedder/youtube.rb
|
67
|
+
- app/view_models/workarea/storefront/content_blocks/super_hero_view_model.rb
|
68
|
+
- app/views/workarea/admin/content_blocks/_media_mode.html.haml
|
69
|
+
- app/views/workarea/admin/content_blocks/_video_advanced.html.haml
|
70
|
+
- app/views/workarea/admin/content_blocks/types/_super_hero.html.haml
|
71
|
+
- app/views/workarea/storefront/content_blocks/_super_hero.html.haml
|
72
|
+
- bin/rails
|
73
|
+
- config/initializers/appends.rb
|
74
|
+
- config/initializers/content_block_types.rb
|
75
|
+
- config/locales/en.yml
|
76
|
+
- config/routes.rb
|
77
|
+
- lib/workarea/super_hero.rb
|
78
|
+
- lib/workarea/super_hero/engine.rb
|
79
|
+
- lib/workarea/super_hero/version.rb
|
80
|
+
- script/admin_ci
|
81
|
+
- script/ci
|
82
|
+
- script/core_ci
|
83
|
+
- script/plugins_ci
|
84
|
+
- script/storefront_ci
|
85
|
+
- super_hero_logo.svg
|
86
|
+
- test/dummy/Rakefile
|
87
|
+
- test/dummy/app/assets/config/manifest.js
|
88
|
+
- test/dummy/app/assets/images/.keep
|
89
|
+
- test/dummy/app/assets/javascripts/application.js
|
90
|
+
- test/dummy/app/assets/stylesheets/application.css
|
91
|
+
- test/dummy/app/controllers/application_controller.rb
|
92
|
+
- test/dummy/app/controllers/concerns/.keep
|
93
|
+
- test/dummy/app/helpers/application_helper.rb
|
94
|
+
- test/dummy/app/jobs/application_job.rb
|
95
|
+
- test/dummy/app/mailers/application_mailer.rb
|
96
|
+
- test/dummy/app/models/concerns/.keep
|
97
|
+
- test/dummy/app/views/layouts/application.html.erb
|
98
|
+
- test/dummy/app/views/layouts/mailer.html.erb
|
99
|
+
- test/dummy/app/views/layouts/mailer.text.erb
|
100
|
+
- test/dummy/bin/bundle
|
101
|
+
- test/dummy/bin/rails
|
102
|
+
- test/dummy/bin/rake
|
103
|
+
- test/dummy/bin/setup
|
104
|
+
- test/dummy/bin/update
|
105
|
+
- test/dummy/config.ru
|
106
|
+
- test/dummy/config/application.rb
|
107
|
+
- test/dummy/config/boot.rb
|
108
|
+
- test/dummy/config/cable.yml
|
109
|
+
- test/dummy/config/environment.rb
|
110
|
+
- test/dummy/config/environments/development.rb
|
111
|
+
- test/dummy/config/environments/production.rb
|
112
|
+
- test/dummy/config/environments/test.rb
|
113
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
114
|
+
- test/dummy/config/initializers/assets.rb
|
115
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
116
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
117
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
118
|
+
- test/dummy/config/initializers/inflections.rb
|
119
|
+
- test/dummy/config/initializers/mime_types.rb
|
120
|
+
- test/dummy/config/initializers/new_framework_defaults.rb
|
121
|
+
- test/dummy/config/initializers/session_store.rb
|
122
|
+
- test/dummy/config/initializers/workarea.rb
|
123
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
124
|
+
- test/dummy/config/locales/en.yml
|
125
|
+
- test/dummy/config/puma.rb
|
126
|
+
- test/dummy/config/routes.rb
|
127
|
+
- test/dummy/config/secrets.yml
|
128
|
+
- test/dummy/config/spring.rb
|
129
|
+
- test/dummy/lib/assets/.keep
|
130
|
+
- test/dummy/log/.keep
|
131
|
+
- test/services/workarea/storefront/color_tools_test.rb
|
132
|
+
- test/services/workarea/storefront/video_embedder_test.rb
|
133
|
+
- test/test_helper.rb
|
134
|
+
- test/view_models/workarea/storefront/super_hero_view_model_test.rb
|
135
|
+
- workarea-super_hero.gemspec
|
136
|
+
homepage: https://stash.tools.workarea.com/projects/WP/repos/workarea-super-hero
|
137
|
+
licenses: []
|
138
|
+
metadata: {}
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: 2.0.0
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
requirements: []
|
154
|
+
rubygems_version: 3.0.4
|
155
|
+
signing_key:
|
156
|
+
specification_version: 4
|
157
|
+
summary: Is it a bird? Is it a plane? No it's a sweet hero content block!
|
158
|
+
test_files: []
|