cb_nitride 0.1.0 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/STK528573.jpg +0 -0
- data/cb_nitride.gemspec +1 -0
- data/lib/cb_nitride/diamond_item.rb +4 -3
- data/lib/cb_nitride/private_hasher.rb +6 -1
- data/lib/cb_nitride/public_hasher.rb +8 -3
- data/lib/cb_nitride/version.rb +1 -1
- data/lib/cb_nitride.rb +2 -2
- data/test/cassettes/test_that_the_private_diamond_item_contains_the_right_fields_cassette.yml +184 -0
- data/test/cassettes/test_that_the_private_hash_identifies_collection_cassette.yml +257 -109
- data/test/cassettes/test_that_the_private_hash_identifies_issues_cassette.yml +257 -109
- data/test/cassettes/test_that_the_private_hash_identifies_merchandise_cassette.yml +257 -109
- data/test/cassettes/test_that_the_private_hash_identifies_variants_cassette.yml +257 -109
- data/test/cassettes/test_that_the_private_hash_produces_a_diamond_item_cassette.yml +184 -0
- data/test/cassettes/test_that_the_public_diamond_item_contains_the_right_fields_cassette.yml +5190 -0
- data/test/cassettes/test_that_the_public_hash_identifies_collection_cassette.yml +4334 -35
- data/test/cassettes/test_that_the_public_hash_identifies_issues_cassette.yml +5213 -35
- data/test/cassettes/test_that_the_public_hash_identifies_merchandise_cassette.yml +1601 -35
- data/test/cassettes/test_that_the_public_hash_identifies_variants_cassette.yml +5788 -35
- data/test/cassettes/test_that_the_public_hash_produces_a_diamond_item_cassette.yml +5190 -0
- data/test/unit/private_hasher_test.rb +1 -1
- data/test/unit/public_hasher_test.rb +1 -1
- metadata +16 -1
@@ -30,7 +30,7 @@ class PrivateHasherTest < MiniTest::Unit::TestCase
|
|
30
30
|
refute_equal @item.title, "Pug Party Parade"
|
31
31
|
assert_equal @item.stock_number, "STK611169"
|
32
32
|
assert_equal @item.diamond_number, ISSUE_CODE
|
33
|
-
assert_equal @item.
|
33
|
+
assert_equal @item.image.class, MechanizeClip::PageTmpFile
|
34
34
|
assert_equal @item.publisher, "DC COMICS"
|
35
35
|
assert_equal @item.creators, "(W) Jeff Lemire (A/CA) Andrea Sorrentino"
|
36
36
|
assert_equal @item.description, "Ollie returns to the island where he first became Green Arrow and learns some hard truths about his father and the mysterious Outsiders!"
|
@@ -21,7 +21,7 @@ class PublicHasherTest < MiniTest::Unit::TestCase
|
|
21
21
|
refute_equal @item.title, "Pug Party Parade"
|
22
22
|
assert_equal @item.stock_number, "STK611169"
|
23
23
|
assert_equal @item.diamond_number, ISSUE_CODE
|
24
|
-
assert_equal @item.
|
24
|
+
assert_equal @item.image.class, MechanizeClip::PageTmpFile
|
25
25
|
assert_equal @item.publisher, "DC COMICS"
|
26
26
|
assert_equal @item.creators, "(W) Jeff Lemire (A/CA) Andrea Sorrentino"
|
27
27
|
assert_equal @item.description, "Ollie returns to the island where he first became Green Arrow and learns some hard truths about his father and the mysterious Outsiders!"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cb_nitride
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Jarvis
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '2.7'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: mechanize_clip
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.1'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.1'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: nokogiri
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -78,6 +92,7 @@ files:
|
|
78
92
|
- LICENSE.txt
|
79
93
|
- README.md
|
80
94
|
- Rakefile
|
95
|
+
- STK528573.jpg
|
81
96
|
- cb_nitride.gemspec
|
82
97
|
- lib/cb_nitride.rb
|
83
98
|
- lib/cb_nitride/category_sorter.rb
|