phcscriptcdnpro 8.0.3 → 8.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/phcscriptcdnpro/script/author.rb +6 -1
- data/lib/phcscriptcdnpro/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5378eea0a7d27780e594b36a78c04b2a6b1b2af9
|
4
|
+
data.tar.gz: 83886906f648b166e4dd7d097bd47f37c3d75393
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4bcc97d322f33104b66462a4a5ba7819afc16ce096b9e6f30edf2a88a1324ffefb348cf60fb1d8853023be25b2ea1f64ec1bb0c17776371fbc4929272849257
|
7
|
+
data.tar.gz: 3b74f79d7f50f789a7e82340057e9d9504ee669e9c062758f145c869751c9fc9c9456ab0da1af657fca150e91980c5b77b1d7c7af28861648a70bb754017e393
|
@@ -8,7 +8,12 @@ module Phcscriptcdnpro
|
|
8
8
|
has_many :listings, class_name: 'Phcscriptcdnpro::Script::Listing'
|
9
9
|
|
10
10
|
# Clean URL Define
|
11
|
-
friendly_id :
|
11
|
+
friendly_id :authorfullname, use: :slugged
|
12
|
+
|
13
|
+
# Define for Multiple Records
|
14
|
+
def authorfullname
|
15
|
+
"#{:authorfirstname} #{:authorlastname}"
|
16
|
+
end
|
12
17
|
|
13
18
|
end
|
14
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcscriptcdnpro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.0.
|
4
|
+
version: 8.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|