dgw_gallery 0.2.5 → 0.2.6
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/README.md +3 -2
- data/lib/dgw_gallery/version.rb +1 -1
- data/lib/tasks/dgw_gallery_tasks.rake +11 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d688daa5b376cf3feea8c2596dbf2a3e812ada41d8751a0c2f28c103fe6a92ca
|
4
|
+
data.tar.gz: fbae17acdc077743da55dc1c86260f08b4f3a1f8e0fc68e0131297d8c0a9c0f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a19c36c5e55942df498cd4383c9c78fed04a78ca4712ef6a313a8a8e02e29e9ac4c8566ae73103eda5591076fb671ecc457378d83317fbdae44c66199fca65ee
|
7
|
+
data.tar.gz: 33bb846a9e3815c18cd51732ba17999e04b36464116d09b5cd361187f13eb0aef3d70d19bf01af218ec163e87016b86e64850befa46a10cf91fba1746fc6b8f0
|
data/README.md
CHANGED
@@ -32,8 +32,9 @@ $ gem install dgw_gallery
|
|
32
32
|
If you would like to modify the views or override the controller you can install either or both.
|
33
33
|
Execute:
|
34
34
|
```bash
|
35
|
-
$ rails
|
36
|
-
$ rails
|
35
|
+
$ rails dgw_gallery:install:views # Install Gallery Views
|
36
|
+
$ rails dgw_gallery:install:controller # Install Gallery Controller
|
37
|
+
$ rails dgw_gallery:install:css # Install Gallery CSS
|
37
38
|
```
|
38
39
|
|
39
40
|
## Usage
|
data/lib/dgw_gallery/version.rb
CHANGED
@@ -23,4 +23,14 @@ namespace :dgw_gallery do
|
|
23
23
|
target = File.join(Rails.root, "app", "controllers", "gallery_controller.rb")
|
24
24
|
FileUtils.cp_r source, target
|
25
25
|
end
|
26
|
-
end
|
26
|
+
end
|
27
|
+
|
28
|
+
namespace :dgw_gallery do
|
29
|
+
desc "Install Gallery CSS"
|
30
|
+
|
31
|
+
task 'install:css' do
|
32
|
+
source = File.join(DgwGallery::Engine.root, "app", "assets", "stylesheets", "dgw_gallery")
|
33
|
+
target = File.join(Rails.root, "app", "assets", "stylesheets", "dgw_gallery")
|
34
|
+
FileUtils.copy_entry source, target
|
35
|
+
end
|
36
|
+
end
|