works_cited 0.1.9 → 0.1.10
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/VERSION +1 -1
- data/app/models/works_cited/citation.rb +9 -0
- data/app/models/works_cited/contributor.rb +8 -0
- data/bin/rails +0 -0
- data/works_cited.gemspec +2 -2
- 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: d22e9e813f2ed85a5c0ecabcc06e1411e2b6e97116248350ba06c9218a18ea07
|
|
4
|
+
data.tar.gz: 24ca2f85317106c2b50b9ec55fa0c8dbda2672a2c08706a0734c167bd8c819a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abb7bceac63dd7459cff1a57f95af8ce8ee422df04a0142388c80cbc3ee53178a2f0b71d69ea61b8967cea8b46a096310594e44cbc6c713b7b5502c19c931a45
|
|
7
|
+
data.tar.gz: 73c1d8a2dd0c497113e4c0cfa6a01d21c8595f8b04875ecdd3f0ddc5314d1b8d2c4b6141a3a6e33e397b5ef28ccf6c80f760671f4747e888994f9faded4f14e9
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.10
|
|
@@ -68,7 +68,16 @@ module WorksCited
|
|
|
68
68
|
rails_admin do
|
|
69
69
|
visible false
|
|
70
70
|
edit do
|
|
71
|
+
field :citation_type, :enum do
|
|
72
|
+
enum do
|
|
73
|
+
WorksCited.configuration.valid_citation_types
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
field :works_cited_contributors do
|
|
77
|
+
label 'Contributors'
|
|
78
|
+
end
|
|
71
79
|
include_all_fields
|
|
80
|
+
field :media
|
|
72
81
|
field :record do # Can't remove this using :inverse_of because it's polymorphic
|
|
73
82
|
visible false
|
|
74
83
|
end
|
|
@@ -94,6 +94,14 @@ module WorksCited
|
|
|
94
94
|
if defined?(RailsAdmin)
|
|
95
95
|
rails_admin do
|
|
96
96
|
visible false
|
|
97
|
+
edit do
|
|
98
|
+
field :contributor_role, :enum do
|
|
99
|
+
enum do
|
|
100
|
+
WorksCited.configuration.valid_contributor_roles
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
include_all_fields
|
|
104
|
+
end
|
|
97
105
|
end
|
|
98
106
|
end
|
|
99
107
|
end
|
data/bin/rails
CHANGED
|
File without changes
|
data/works_cited.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: works_cited 0.1.
|
|
5
|
+
# stub: works_cited 0.1.10 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "works_cited".freeze
|
|
9
|
-
s.version = "0.1.
|
|
9
|
+
s.version = "0.1.10"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.metadata = { "source_code_uri" => "http://github.com/gemvein/works_cited" } if s.respond_to? :metadata=
|