workarea-image_decoration 1.0.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +21 -0
- data/Gemfile +17 -0
- data/LICENSE +52 -0
- data/README.md +42 -0
- data/Rakefile +56 -0
- data/app/assets/javascripts/workarea/admin/image_decoration/.keep +0 -0
- data/app/assets/javascripts/workarea/storefront/image_decoration/.keep +0 -0
- data/app/assets/javascripts/workarea/storefront/image_decoration/modules/custom_sizing.js +37 -0
- data/app/assets/javascripts/workarea/storefront/image_decoration/modules/optional_feature.js +33 -0
- data/app/assets/javascripts/workarea/storefront/image_decoration/modules/pattern_repeat.js +45 -0
- data/app/assets/javascripts/workarea/storefront/products/modules/create_your_own.js +25 -0
- data/app/assets/stylesheets/workarea/admin/image_decoration/.keep +0 -0
- data/app/assets/stylesheets/workarea/storefront/image_decoration/.keep +0 -0
- data/app/assets/stylesheets/workarea/storefront/image_decoration/components/custom_sizing.scss +62 -0
- data/app/assets/stylesheets/workarea/storefront/image_decoration/components/optional_feature.scss +15 -0
- data/app/assets/stylesheets/workarea/storefront/image_decoration/components/pattern_repeat.scss +273 -0
- data/app/assets/stylesheets/workarea/storefront/products/components/create_your_own.scss +38 -0
- data/app/controllers/.keep +0 -0
- data/app/controllers/workarea/storefront/products_controller.decorator +33 -0
- data/app/helpers/.keep +0 -0
- data/app/mailers/.keep +0 -0
- data/app/models/.keep +0 -0
- data/app/models/workarea/catalog/product_image.decorator +15 -0
- data/app/view_models/workarea/storefront/product_templates/image_decoration_view_model.rb +16 -0
- data/app/views/.keep +0 -0
- data/app/views/workarea/storefront/products/create_your_own.html.haml +97 -0
- data/app/views/workarea/storefront/products/shared/_custom_sizing.html.haml +56 -0
- data/app/views/workarea/storefront/products/shared/_material.html.haml +37 -0
- data/app/views/workarea/storefront/products/shared/_optional_feature.html.haml +37 -0
- data/app/views/workarea/storefront/products/shared/_pattern_repeat.html.haml +44 -0
- data/app/views/workarea/storefront/products/templates/_image_decoration.html.haml +112 -0
- data/bin/rails +25 -0
- data/config/initializers/append_points.rb +64 -0
- data/config/initializers/dragonfly.rb +31 -0
- data/config/initializers/workarea.rb +4 -0
- data/config/routes.rb +6 -0
- data/lib/workarea/image_decoration.rb +8 -0
- data/lib/workarea/image_decoration/engine.rb +10 -0
- data/lib/workarea/image_decoration/version.rb +5 -0
- data/test/dummy/.ruby-version +1 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/config/manifest.js +3 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +14 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +2 -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 +15 -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 +25 -0
- data/test/dummy/bin/update +25 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/config/application.rb +33 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +52 -0
- data/test/dummy/config/environments/production.rb +83 -0
- data/test/dummy/config/environments/test.rb +45 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/test/dummy/config/initializers/assets.rb +12 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/content_security_policy.rb +25 -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/workarea.rb +5 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +9 -0
- data/test/dummy/config/locales/en.yml +33 -0
- data/test/dummy/config/puma.rb +37 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/db/seeds.rb +2 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/log/.keep +0 -0
- data/test/integration/workarea/storefront/products_integration_test.rb +19 -0
- data/test/models/workarea/catalog/product_image_test.rb +46 -0
- data/test/system/workarea/storefront/create_your_own_system_test.rb +18 -0
- data/test/system/workarea/storefront/optional_feature_system_test.rb +43 -0
- data/test/teaspoon_env.rb +6 -0
- data/test/test_helper.rb +10 -0
- data/workarea-image_decoration.gemspec +20 -0
- metadata +149 -0
data/test/test_helper.rb
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV['RAILS_ENV'] = 'test'
|
3
|
+
|
4
|
+
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
5
|
+
require 'rails/test_help'
|
6
|
+
require 'workarea/test_help'
|
7
|
+
|
8
|
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
9
|
+
# to be shown.
|
10
|
+
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
@@ -0,0 +1,20 @@
|
|
1
|
+
$:.push File.expand_path("lib", __dir__)
|
2
|
+
|
3
|
+
# Maintain your gem's version:
|
4
|
+
require "workarea/image_decoration/version"
|
5
|
+
|
6
|
+
# Describe your gem and declare its dependencies:
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "workarea-image_decoration"
|
9
|
+
spec.version = Workarea::ImageDecoration::VERSION
|
10
|
+
spec.authors = ["Sathyatejadvs"]
|
11
|
+
spec.email = ["sushmitha.h@trikatechnologies.com"]
|
12
|
+
spec.homepage = "https://rubygems.org"
|
13
|
+
spec.summary = "User can select the wallpaper with different patterns and able customize the size of wallpapers."
|
14
|
+
spec.description = "Adding a feature for user to select the product with different sizes(includes custom size) and able to flip, applying black&white and personalize the wallpapers.."
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files`.split("\n")
|
18
|
+
|
19
|
+
spec.add_dependency 'workarea', '~> 3.x'
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,149 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: workarea-image_decoration
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.pre
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sathyatejadvs
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-01-31 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: Adding a feature for user to select the product with different sizes(includes
|
28
|
+
custom size) and able to flip, applying black&white and personalize the wallpapers..
|
29
|
+
email:
|
30
|
+
- sushmitha.h@trikatechnologies.com
|
31
|
+
executables: []
|
32
|
+
extensions: []
|
33
|
+
extra_rdoc_files: []
|
34
|
+
files:
|
35
|
+
- ".gitignore"
|
36
|
+
- Gemfile
|
37
|
+
- LICENSE
|
38
|
+
- README.md
|
39
|
+
- Rakefile
|
40
|
+
- app/assets/javascripts/workarea/admin/image_decoration/.keep
|
41
|
+
- app/assets/javascripts/workarea/storefront/image_decoration/.keep
|
42
|
+
- app/assets/javascripts/workarea/storefront/image_decoration/modules/custom_sizing.js
|
43
|
+
- app/assets/javascripts/workarea/storefront/image_decoration/modules/optional_feature.js
|
44
|
+
- app/assets/javascripts/workarea/storefront/image_decoration/modules/pattern_repeat.js
|
45
|
+
- app/assets/javascripts/workarea/storefront/products/modules/create_your_own.js
|
46
|
+
- app/assets/stylesheets/workarea/admin/image_decoration/.keep
|
47
|
+
- app/assets/stylesheets/workarea/storefront/image_decoration/.keep
|
48
|
+
- app/assets/stylesheets/workarea/storefront/image_decoration/components/custom_sizing.scss
|
49
|
+
- app/assets/stylesheets/workarea/storefront/image_decoration/components/optional_feature.scss
|
50
|
+
- app/assets/stylesheets/workarea/storefront/image_decoration/components/pattern_repeat.scss
|
51
|
+
- app/assets/stylesheets/workarea/storefront/products/components/create_your_own.scss
|
52
|
+
- app/controllers/.keep
|
53
|
+
- app/controllers/workarea/storefront/products_controller.decorator
|
54
|
+
- app/helpers/.keep
|
55
|
+
- app/mailers/.keep
|
56
|
+
- app/models/.keep
|
57
|
+
- app/models/workarea/catalog/product_image.decorator
|
58
|
+
- app/view_models/workarea/storefront/product_templates/image_decoration_view_model.rb
|
59
|
+
- app/views/.keep
|
60
|
+
- app/views/workarea/storefront/products/create_your_own.html.haml
|
61
|
+
- app/views/workarea/storefront/products/shared/_custom_sizing.html.haml
|
62
|
+
- app/views/workarea/storefront/products/shared/_material.html.haml
|
63
|
+
- app/views/workarea/storefront/products/shared/_optional_feature.html.haml
|
64
|
+
- app/views/workarea/storefront/products/shared/_pattern_repeat.html.haml
|
65
|
+
- app/views/workarea/storefront/products/templates/_image_decoration.html.haml
|
66
|
+
- bin/rails
|
67
|
+
- config/initializers/append_points.rb
|
68
|
+
- config/initializers/dragonfly.rb
|
69
|
+
- config/initializers/workarea.rb
|
70
|
+
- config/routes.rb
|
71
|
+
- lib/workarea/image_decoration.rb
|
72
|
+
- lib/workarea/image_decoration/engine.rb
|
73
|
+
- lib/workarea/image_decoration/version.rb
|
74
|
+
- test/dummy/.ruby-version
|
75
|
+
- test/dummy/Rakefile
|
76
|
+
- test/dummy/app/assets/config/manifest.js
|
77
|
+
- test/dummy/app/assets/images/.keep
|
78
|
+
- test/dummy/app/assets/javascripts/application.js
|
79
|
+
- test/dummy/app/assets/stylesheets/application.css
|
80
|
+
- test/dummy/app/controllers/application_controller.rb
|
81
|
+
- test/dummy/app/controllers/concerns/.keep
|
82
|
+
- test/dummy/app/helpers/application_helper.rb
|
83
|
+
- test/dummy/app/jobs/application_job.rb
|
84
|
+
- test/dummy/app/mailers/application_mailer.rb
|
85
|
+
- test/dummy/app/models/concerns/.keep
|
86
|
+
- test/dummy/app/views/layouts/application.html.erb
|
87
|
+
- test/dummy/app/views/layouts/mailer.html.erb
|
88
|
+
- test/dummy/app/views/layouts/mailer.text.erb
|
89
|
+
- test/dummy/bin/bundle
|
90
|
+
- test/dummy/bin/rails
|
91
|
+
- test/dummy/bin/rake
|
92
|
+
- test/dummy/bin/setup
|
93
|
+
- test/dummy/bin/update
|
94
|
+
- test/dummy/config.ru
|
95
|
+
- test/dummy/config/application.rb
|
96
|
+
- test/dummy/config/boot.rb
|
97
|
+
- test/dummy/config/environment.rb
|
98
|
+
- test/dummy/config/environments/development.rb
|
99
|
+
- test/dummy/config/environments/production.rb
|
100
|
+
- test/dummy/config/environments/test.rb
|
101
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
102
|
+
- test/dummy/config/initializers/assets.rb
|
103
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
104
|
+
- test/dummy/config/initializers/content_security_policy.rb
|
105
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
106
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
107
|
+
- test/dummy/config/initializers/inflections.rb
|
108
|
+
- test/dummy/config/initializers/mime_types.rb
|
109
|
+
- test/dummy/config/initializers/workarea.rb
|
110
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
111
|
+
- test/dummy/config/locales/en.yml
|
112
|
+
- test/dummy/config/puma.rb
|
113
|
+
- test/dummy/config/routes.rb
|
114
|
+
- test/dummy/config/spring.rb
|
115
|
+
- test/dummy/db/seeds.rb
|
116
|
+
- test/dummy/lib/assets/.keep
|
117
|
+
- test/dummy/log/.keep
|
118
|
+
- test/integration/workarea/storefront/products_integration_test.rb
|
119
|
+
- test/models/workarea/catalog/product_image_test.rb
|
120
|
+
- test/system/workarea/storefront/create_your_own_system_test.rb
|
121
|
+
- test/system/workarea/storefront/optional_feature_system_test.rb
|
122
|
+
- test/teaspoon_env.rb
|
123
|
+
- test/test_helper.rb
|
124
|
+
- workarea-image_decoration.gemspec
|
125
|
+
homepage: https://rubygems.org
|
126
|
+
licenses:
|
127
|
+
- MIT
|
128
|
+
metadata: {}
|
129
|
+
post_install_message:
|
130
|
+
rdoc_options: []
|
131
|
+
require_paths:
|
132
|
+
- lib
|
133
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - ">="
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '0'
|
138
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - ">"
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: 1.3.1
|
143
|
+
requirements: []
|
144
|
+
rubygems_version: 3.0.6
|
145
|
+
signing_key:
|
146
|
+
specification_version: 4
|
147
|
+
summary: User can select the wallpaper with different patterns and able customize
|
148
|
+
the size of wallpapers.
|
149
|
+
test_files: []
|