solidus_product_attachments 0.0.2 → 0.0.4
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/lib/generators/solidus_product_attachments/install/install_generator.rb +0 -2
- data/lib/solidus_product_attachments/version.rb +1 -1
- metadata +1 -3
- data/app/assets/javascripts/spree/frontend/solidus_product_attachments.js +0 -2
- data/app/assets/stylesheets/spree/frontend/solidus_product_attachments.css +0 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 81568f1eb44e9f922a8e4cf8efb1eb937312f5b3
|
|
4
|
+
data.tar.gz: 016454e4c6177400aa57c74e29857df7efe2e6df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60156a9faa53d99e2f6d0a2e3ad0fd9d106fb295deb7865a8a55cf09c848b961721dfd9747318f0a2f34f17a7badd0faed39a97fbf8440a045b651893812c89d
|
|
7
|
+
data.tar.gz: d7da787ea96e2e931766815ad7048f271b1515fd60e8f52927e561b1de653dd7bcd2fe9ef701a2ddae95313e0148fbc070d0b08439421ca8fec5e7af1983699a
|
|
@@ -4,12 +4,10 @@ module SolidusProductAttachments
|
|
|
4
4
|
class_option :auto_run_migrations, type: :boolean, default: false
|
|
5
5
|
|
|
6
6
|
def add_javascripts
|
|
7
|
-
append_file 'vendor/assets/javascripts/spree/frontend/all.js', "//= require spree/frontend/solidus_product_attachments\n"
|
|
8
7
|
append_file 'vendor/assets/javascripts/spree/backend/all.js', "//= require spree/backend/solidus_product_attachments\n"
|
|
9
8
|
end
|
|
10
9
|
|
|
11
10
|
def add_stylesheets
|
|
12
|
-
inject_into_file 'vendor/assets/stylesheets/spree/frontend/all.css', " *= require spree/frontend/solidus_product_attachments\n", before: /\*\//, verbose: true
|
|
13
11
|
inject_into_file 'vendor/assets/stylesheets/spree/backend/all.css', " *= require spree/backend/solidus_product_attachments\n", before: /\*\//, verbose: true
|
|
14
12
|
end
|
|
15
13
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: solidus_product_attachments
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Renuo AG
|
|
@@ -222,10 +222,8 @@ files:
|
|
|
222
222
|
- app/assets/javascripts/spree/backend/attachments/upload_zone.js.coffee
|
|
223
223
|
- app/assets/javascripts/spree/backend/solidus_product_attachments.js
|
|
224
224
|
- app/assets/javascripts/spree/backend/templates/products/upload_progress.hbs
|
|
225
|
-
- app/assets/javascripts/spree/frontend/solidus_product_attachments.js
|
|
226
225
|
- app/assets/stylesheets/spree/backend/attachments/attachments.scss
|
|
227
226
|
- app/assets/stylesheets/spree/backend/solidus_product_attachments.css
|
|
228
|
-
- app/assets/stylesheets/spree/frontend/solidus_product_attachments.css
|
|
229
227
|
- app/controllers/spree/admin/attachments_controller.rb
|
|
230
228
|
- app/controllers/spree/api/attachments_controller.rb
|
|
231
229
|
- app/helpers/spree/admin/attachments_helper.rb
|