dgw_gallery 0.2.3 → 0.2.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/README.md +19 -3
- data/lib/dgw_gallery/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7da1d61ff9fa256f1cf31f6957e0342d555f51e25d0660e9d10044b07ecdeb05
|
4
|
+
data.tar.gz: 6c456b6685462b418f784786b92ec1960e05edb21458af91a457b52649ddb1be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86f32e6e25ef2052a88f5da9313548534a915914ad6fd0a76a6a3c4b45662f47ffb7aed2449d873d6dee49bf22387d065d94a1d380719a584b1edab859b36139
|
7
|
+
data.tar.gz: c5508777a3f65744575e47e3211ebec3359bca53b0caf769a24c674adbce1f5779d7aef6b1b845aa7186547c7fed0ab118e62a2f61eed68354ee8bfe4f65ee55
|
data/README.md
CHANGED
@@ -1,8 +1,9 @@
|
|
1
1
|
# DgwGallery
|
2
|
-
|
2
|
+
This is a current work in progress so bear with us.) A simple gallery for ruby on rails sites that includes a layout for either a bootstrap carousel or responsive image page.
|
3
3
|
|
4
4
|
## Usage
|
5
|
-
|
5
|
+
Install the gem and migrations and point your browser to /gallery on your site.
|
6
|
+
|
6
7
|
|
7
8
|
## Installation
|
8
9
|
Add this line to your application's Gemfile:
|
@@ -11,6 +12,12 @@ Add this line to your application's Gemfile:
|
|
11
12
|
gem 'dgw_gallery'
|
12
13
|
```
|
13
14
|
|
15
|
+
And then copy and install migrations from dgw_gallery_engine to application:
|
16
|
+
```bash
|
17
|
+
$ rails app:dgw_gallery_engine:install:migrations
|
18
|
+
$ rails db:migrate
|
19
|
+
```
|
20
|
+
|
14
21
|
And then execute:
|
15
22
|
```bash
|
16
23
|
$ bundle
|
@@ -21,8 +28,17 @@ Or install it yourself as:
|
|
21
28
|
$ gem install dgw_gallery
|
22
29
|
```
|
23
30
|
|
31
|
+
|
32
|
+
If you would like to modify the views or override the controller you can install either or both.
|
33
|
+
Execute:
|
34
|
+
```bash
|
35
|
+
$ rails app:dgw_gallery:install:views # Install Gallery Views
|
36
|
+
$ rails app:dgw_gallery:install:controller # Install Gallery Controller
|
37
|
+
```
|
38
|
+
|
24
39
|
## Contributing
|
25
|
-
|
40
|
+
If you wish to contribute submit a pull request and detail your changes and comment them in the code as well.
|
26
41
|
|
27
42
|
## License
|
28
43
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
44
|
+
|
data/lib/dgw_gallery/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dgw_gallery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dev Ghost Writers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|