comicvine-mongo 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: ab85ff2116b68736589ec6db71c01ff16e867d83
4
- data.tar.gz: 557585d3690b94193a259804e6d84feec70c8aae
3
+ metadata.gz: 81185cca005d337efa151a66d1b3919e92ea7ace
4
+ data.tar.gz: 0f8d069e45f0d024527c6204bab4bd4737d4285d
5
5
  SHA512:
6
- metadata.gz: d5221b9c1b024495c7fc0c8b34e425f5d82bb5f978b94f91d8ff5e366feb65cb2762df2e27801d6e6f1a65d08de1c3f8c80fd4e2e0f963c499cd5d7744702b9e
7
- data.tar.gz: fa1b1fbc33236470c4c7448e138a592482e9d607a68753fe58371c5e79e3fa4571f1dd44c5c78563a83ba76c76fa1bae1cf8282eb4d01d3498e12f5c62004b68
6
+ metadata.gz: 61a5160886796c2f07fbac4465c5ebedd11d5402e3ea890ccff1e43e03a98f7f0ddcc704d1c8fc4d0d3d4a9e0215a945d18e3efc0a4d80f256d88e01977fa50a
7
+ data.tar.gz: 0ce96d57023556686c1c973e8f7736900cfac7d5c3d0ea7ef59c9c2f425ad21fa5224c56f71b5357d5304cfed634e66f76f7306c404aed2636ede671993413ca
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -0,0 +1 @@
1
+ df2f511c229bf60ed12debb90e627ea15ae3e24412dcd70ae8616231af42336b
@@ -226,7 +226,7 @@ module ComicVine
226
226
  has_and_belongs_to_many :objects, class_name: 'ComicVine::Resource::Object', inverse_of: :volume_credits, validate: false
227
227
  has_and_belongs_to_many :people, class_name: 'ComicVine::Resource::Person', inverse_of: :volume_credits, validate: false
228
228
 
229
- belongs_to :publisher, class_name: 'ComicVine::Resource::Publisher', inverse_of: :volumes, validate: false
229
+ belongs_to :publisher, class_name: 'ComicVine::Resource::Publisher', inverse_of: :volumes, validate: false, optional: true
230
230
 
231
231
  end
232
232
 
@@ -266,7 +266,7 @@ module ComicVine
266
266
  has_and_belongs_to_many :movies, class_name: 'ComicVine::Resource::Movie', inverse_of: :characters, validate: false
267
267
  has_and_belongs_to_many :powers, class_name: 'ComicVine::Resource::Power', inverse_of: :characters, validate: false
268
268
 
269
- belongs_to :publisher, class_name: 'ComicVine::Resource::Publisher', inverse_of: :characters, validate: false
269
+ belongs_to :publisher, class_name: 'ComicVine::Resource::Publisher', inverse_of: :characters, validate: false, optional: true
270
270
  has_and_belongs_to_many :story_arc_credits, class_name: 'ComicVine::Resource::StoryArc', inverse_of: :characters, validate: false
271
271
 
272
272
  has_and_belongs_to_many :team_enemies, class_name: 'ComicVine::Resource::Team', inverse_of: nil, validate: false
@@ -379,7 +379,7 @@ module ComicVine
379
379
  has_and_belongs_to_many :team_credits, class_name: 'ComicVine::Resource::Team', inverse_of: nil, validate: false
380
380
 
381
381
  has_and_belongs_to_many :story_arc_credits, class_name: 'ComicVine::Resource::StoryArc', inverse_of: :episodes, validate: false
382
- belongs_to :series, class_name: 'ComicVine::Resource::Series', inverse_of: :episodes, validate: false
382
+ belongs_to :series, class_name: 'ComicVine::Resource::Series', inverse_of: :episodes, validate: false, optional: true
383
383
  end
384
384
 
385
385
  ##
@@ -667,7 +667,7 @@ module ComicVine
667
667
  has_one :last_episode, class_name: 'ComicVine::Resource::Episode', validate: false
668
668
 
669
669
  has_and_belongs_to_many :location_credits, class_name: 'ComicVine::Resource::Location', inverse_of: nil, validate: false
670
- belongs_to :publisher, class_name: 'ComicVine::Resource::Publisher', inverse_of: :series, validate: false
670
+ belongs_to :publisher, class_name: 'ComicVine::Resource::Publisher', inverse_of: :series, validate: false, optional: true
671
671
  end
672
672
 
673
673
  ##
@@ -699,7 +699,7 @@ module ComicVine
699
699
  end
700
700
 
701
701
 
702
- belongs_to :publisher, class_name: 'ComicVine::Resource::Publisher', inverse_of: :story_arcs, validate: false
702
+ belongs_to :publisher, class_name: 'ComicVine::Resource::Publisher', inverse_of: :story_arcs, validate: false, optional: true
703
703
 
704
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
@@ -772,7 +772,7 @@ module ComicVine
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
 
775
- belongs_to :publisher, class_name: 'ComicVine::Resource::Publisher', inverse_of: :teams, validate: false
775
+ belongs_to :publisher, class_name: 'ComicVine::Resource::Publisher', inverse_of: :teams, validate: false, optional: true
776
776
  has_and_belongs_to_many :movies, class_name: 'ComicVine::Resource::Movie', inverse_of: :teams, validate: false
777
777
  has_and_belongs_to_many :story_arc_credits, class_name: 'ComicVine::Resource::StoryArc', inverse_of: :teams, validate: false
778
778
  has_and_belongs_to_many :volume_credits, class_name: 'ComicVine::Resource::Volume', inverse_of: :teams, validate: false
@@ -1,5 +1,5 @@
1
1
  module ComicVine
2
2
  module Mongo
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Holden Omans
@@ -198,6 +198,7 @@ files:
198
198
  - bin/setup
199
199
  - certs/homans.pem
200
200
  - checksum/comicvine-mongo-0.1.0.gem.sha256
201
+ - checksum/comicvine-mongo-0.1.1.gem.sha256
201
202
  - comicvine-mongo.gemspec
202
203
  - lib/comicvine/mongo.rb
203
204
  - lib/comicvine/mongo/version.rb
metadata.gz.sig CHANGED
Binary file