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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 535bdf862efea2355ce15b4fa8e0582e391cef4778312d2258932618ab804ca0
4
- data.tar.gz: f93e073d41d30f8045a7ef346b2e79689c1461c1d66a8dae4d70b31086e207d0
3
+ metadata.gz: d688daa5b376cf3feea8c2596dbf2a3e812ada41d8751a0c2f28c103fe6a92ca
4
+ data.tar.gz: fbae17acdc077743da55dc1c86260f08b4f3a1f8e0fc68e0131297d8c0a9c0f1
5
5
  SHA512:
6
- metadata.gz: ca32a15e8485a366139dbd8c7cce16663fcb3b5779fc69d6b431f3c0a37522d8696dc3ddc7b8b1dfad291693dd5536e4727c828db4e3362018af3ca7043edb90
7
- data.tar.gz: ce1a4e40184586fdb98d6a81cdf960e9ec84b4997e0f541d09094b8ed5ebce39d46860c97dd5a284d919ff87ca4388cdb9e8ef22c54d4fbcd1a9b7e781f5e26d
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 app:dgw_gallery:install:views # Install Gallery Views
36
- $ rails app:dgw_gallery:install:controller # Install Gallery Controller
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
@@ -1,3 +1,3 @@
1
1
  module DgwGallery
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dgw_gallery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dev Ghost Writers