comicvine-mongo 0.1.0 → 0.1.1
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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/Rakefile +1 -1
- data/checksum/comicvine-mongo-0.1.0.gem.sha256 +1 -1
- data/comicvine-mongo.gemspec +1 -1
- data/lib/comicvine/mongo.rb +6 -6
- data/lib/comicvine/mongo/version.rb +1 -1
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ab85ff2116b68736589ec6db71c01ff16e867d83
|
|
4
|
+
data.tar.gz: 557585d3690b94193a259804e6d84feec70c8aae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5221b9c1b024495c7fc0c8b34e425f5d82bb5f978b94f91d8ff5e366feb65cb2762df2e27801d6e6f1a65d08de1c3f8c80fd4e2e0f963c499cd5d7744702b9e
|
|
7
|
+
data.tar.gz: fa1b1fbc33236470c4c7448e138a592482e9d607a68753fe58371c5e79e3fa4571f1dd44c5c78563a83ba76c76fa1bae1cf8282eb4d01d3498e12f5c62004b68
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/Rakefile
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4968c6b2990de6cce6e50eecaf85ee77d1022652213fa15fafa3c7c0cb051a5f
|
data/comicvine-mongo.gemspec
CHANGED
|
@@ -34,6 +34,6 @@ Gem::Specification.new do |spec|
|
|
|
34
34
|
#spec.add_development_dependency 'yard-mongoid', '~> 0.0.4' # pending merge acceptance and update
|
|
35
35
|
|
|
36
36
|
# Dependencies
|
|
37
|
-
spec.add_dependency 'comicvine', '~> 0.1', '>= 0.1.
|
|
37
|
+
spec.add_dependency 'comicvine', '~> 0.1', '>= 0.1.3'
|
|
38
38
|
spec.add_dependency 'mongoid', '~> 6.0', '>= 6.0.2'
|
|
39
39
|
end
|
data/lib/comicvine/mongo.rb
CHANGED
|
@@ -259,7 +259,7 @@ module ComicVine
|
|
|
259
259
|
|
|
260
260
|
has_and_belongs_to_many :creators, class_name: 'ComicVine::Resource::Person', inverse_of: :created_characters, validate: false
|
|
261
261
|
|
|
262
|
-
belongs_to :first_appeared_in_issue, class_name: 'ComicVine::Resource::Issue', inverse_of: :first_appearance_characters, validate: false
|
|
262
|
+
belongs_to :first_appeared_in_issue, class_name: 'ComicVine::Resource::Issue', inverse_of: :first_appearance_characters, validate: false, optional: true
|
|
263
263
|
has_and_belongs_to_many :issue_credits, class_name: 'ComicVine::Resource::Issue', inverse_of: :character_credits, validate: false
|
|
264
264
|
has_and_belongs_to_many :issues_died_in, class_name: 'ComicVine::Resource::Issue', inverse_of: :character_died_in, validate: false
|
|
265
265
|
|
|
@@ -314,7 +314,7 @@ module ComicVine
|
|
|
314
314
|
self[:count_of_issue_appearances]
|
|
315
315
|
end
|
|
316
316
|
|
|
317
|
-
belongs_to :first_appeared_in_issue, class_name: 'ComicVine::Resource::Issue', inverse_of: :first_appearance_concepts, validate: false
|
|
317
|
+
belongs_to :first_appeared_in_issue, class_name: 'ComicVine::Resource::Issue', inverse_of: :first_appearance_concepts, validate: false, optional: true
|
|
318
318
|
has_and_belongs_to_many :issue_credits, class_name: 'ComicVine::Resource::Issue', inverse_of: :concept_credits, validate: false
|
|
319
319
|
has_and_belongs_to_many :movies, class_name: 'ComicVine::Resource::Movie', inverse_of: :concept_credits, validate: false
|
|
320
320
|
has_and_belongs_to_many :volume_credits, class_name: 'ComicVine::Resource::Volume', inverse_of: :concepts, validate: false
|
|
@@ -402,7 +402,7 @@ module ComicVine
|
|
|
402
402
|
field :site_detail_url, type: String
|
|
403
403
|
field :start_year, type: Integer
|
|
404
404
|
|
|
405
|
-
belongs_to :first_appeared_in_issue, class_name: 'ComicVine::Resource::Issue', inverse_of: :first_appearance_locations, validate: false
|
|
405
|
+
belongs_to :first_appeared_in_issue, class_name: 'ComicVine::Resource::Issue', inverse_of: :first_appearance_locations, validate: false, optional: true
|
|
406
406
|
has_and_belongs_to_many :issue_credits, class_name: 'ComicVine::Resource::Issue', inverse_of: :location_credits, validate: false
|
|
407
407
|
|
|
408
408
|
has_and_belongs_to_many :movies, class_name: 'ComicVine::Resource::Movie', inverse_of: :location_credits, validate: false
|
|
@@ -485,7 +485,7 @@ module ComicVine
|
|
|
485
485
|
field :site_detail_url, type: String
|
|
486
486
|
field :start_year, type: Integer
|
|
487
487
|
|
|
488
|
-
belongs_to :first_appeared_in_issue, class_name: 'ComicVine::Resource::Issue', inverse_of: :first_appearance_characters, validate: false
|
|
488
|
+
belongs_to :first_appeared_in_issue, class_name: 'ComicVine::Resource::Issue', inverse_of: :first_appearance_characters, validate: false, optional: true
|
|
489
489
|
has_and_belongs_to_many :issue_credits, class_name: 'ComicVine::Resource::Issue', inverse_of: :object_credits, validate: false
|
|
490
490
|
has_and_belongs_to_many :movies, class_name: 'ComicVine::Resource::Movie', inverse_of: :objects, validate: false
|
|
491
491
|
has_and_belongs_to_many :story_arc_credits, class_name: 'ComicVine::Resource::StoryArc', inverse_of: :objects, validate: false
|
|
@@ -701,7 +701,7 @@ module ComicVine
|
|
|
701
701
|
|
|
702
702
|
belongs_to :publisher, class_name: 'ComicVine::Resource::Publisher', inverse_of: :story_arcs, validate: false
|
|
703
703
|
|
|
704
|
-
belongs_to :first_appeared_in_issue, class_name: 'ComicVine::Resource::Issue', inverse_of: :first_appearance_storyarcs, validate: false
|
|
704
|
+
belongs_to :first_appeared_in_issue, class_name: 'ComicVine::Resource::Issue', inverse_of: :first_appearance_storyarcs, validate: false, optional: true
|
|
705
705
|
has_and_belongs_to_many :issues, class_name: 'ComicVine::Resource::Issue', inverse_of: :story_arc_credits, validate: false
|
|
706
706
|
|
|
707
707
|
has_and_belongs_to_many :movies, class_name: 'ComicVine::Resource::Movie', inverse_of: :story_arc_credits, validate: false
|
|
@@ -768,7 +768,7 @@ module ComicVine
|
|
|
768
768
|
has_and_belongs_to_many :character_friends, class_name: 'ComicVine::Resource::Character', inverse_of: nil, validate: false
|
|
769
769
|
has_and_belongs_to_many :characters, class_name: 'ComicVine::Resource::Character', inverse_of: :teams, validate: false
|
|
770
770
|
|
|
771
|
-
belongs_to :first_appeared_in_issue, class_name: 'ComicVine::Resource::Issue', inverse_of: :first_appearance_teams, validate: false
|
|
771
|
+
belongs_to :first_appeared_in_issue, class_name: 'ComicVine::Resource::Issue', inverse_of: :first_appearance_teams, validate: false, optional: true
|
|
772
772
|
has_and_belongs_to_many :issue_credits, class_name: 'ComicVine::Resource::Issue', inverse_of: :team_credits, validate: false
|
|
773
773
|
has_and_belongs_to_many :issues_disbanded_in, class_name: 'ComicVine::Resource::Issue', inverse_of: :team_disbanded_in, validate: false
|
|
774
774
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: comicvine-mongo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Holden Omans
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
VpDNqh/BlGMQ0mqAEuBFZFSNaroph6JLUz1ykVvQENOQLThxAjolK7SAUrdoBDOc
|
|
31
31
|
fXEVP1s+hpJB6IEU8/LW016TU8WpnA+MHGfJRtkrUm/cEsWU
|
|
32
32
|
-----END CERTIFICATE-----
|
|
33
|
-
date: 2016-11-
|
|
33
|
+
date: 2016-11-22 00:00:00.000000000 Z
|
|
34
34
|
dependencies:
|
|
35
35
|
- !ruby/object:Gem::Dependency
|
|
36
36
|
name: bundler
|
|
@@ -149,7 +149,7 @@ dependencies:
|
|
|
149
149
|
version: '0.1'
|
|
150
150
|
- - ">="
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
|
-
version: 0.1.
|
|
152
|
+
version: 0.1.3
|
|
153
153
|
type: :runtime
|
|
154
154
|
prerelease: false
|
|
155
155
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -159,7 +159,7 @@ dependencies:
|
|
|
159
159
|
version: '0.1'
|
|
160
160
|
- - ">="
|
|
161
161
|
- !ruby/object:Gem::Version
|
|
162
|
-
version: 0.1.
|
|
162
|
+
version: 0.1.3
|
|
163
163
|
- !ruby/object:Gem::Dependency
|
|
164
164
|
name: mongoid
|
|
165
165
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.sig
CHANGED
|
Binary file
|