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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 34cf61f387ea7c4cb89bebc48c9f8fb9df50f9f0
4
- data.tar.gz: 6f7e118f2a83c1e7754ebda4544833a687952504
3
+ metadata.gz: ab85ff2116b68736589ec6db71c01ff16e867d83
4
+ data.tar.gz: 557585d3690b94193a259804e6d84feec70c8aae
5
5
  SHA512:
6
- metadata.gz: e9ce4b53dcf99f7a91637c5b94600b8b047274d53b9591bde959839ef6f7b58878956d7ce2a1f8f5cb7a0d3b5824ce3a92b4486965009787f46a196e11e8cbb0
7
- data.tar.gz: d43fd87b9b1dd65ae8032d459e3e94d60755a4e1e3b463cff1538d044fba1b1bf6f8d92b1eb67cc89e62175bb668b590ea17223f6bd79dbfadb331cf6c987cd7
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
@@ -28,7 +28,7 @@ task :default => :test
28
28
  task :console do
29
29
  require 'irb'
30
30
  require 'irb/completion'
31
- require 'comicvine/scraper' # You know what to do.
31
+ require 'comicvine/mongo' # You know what to do.
32
32
  ARGV.clear
33
33
  IRB.start
34
34
  end
@@ -1 +1 @@
1
- c41a9e3d7ea4f6345b6f8aed801de86dd2e15c1544f35e69b335839eb5d61a6e
1
+ 4968c6b2990de6cce6e50eecaf85ee77d1022652213fa15fafa3c7c0cb051a5f
@@ -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.2'
37
+ spec.add_dependency 'comicvine', '~> 0.1', '>= 0.1.3'
38
38
  spec.add_dependency 'mongoid', '~> 6.0', '>= 6.0.2'
39
39
  end
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module ComicVine
2
2
  module Mongo
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
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.0
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-16 00:00:00.000000000 Z
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.2
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.2
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