cb_nitride 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97f65264c83c2c1519b65390e319a4231a1d77f0
4
- data.tar.gz: 1f832681f3e65a637b6f8a538849c22f3fc8a3cb
3
+ metadata.gz: 78c6b3ef23d653f935a6d80e813d4862ffa61816
4
+ data.tar.gz: 452cccd52f96667325ae92e48fe2ac6fccce28e7
5
5
  SHA512:
6
- metadata.gz: a104e8f0c09ef9d591e06414ec0982cb5a405ab80137ebda7ef6721612fa7158483bcd6952c7f37ece9cfd25dae8fb74bd843e672c22da86f116261f540b591d
7
- data.tar.gz: db8354ba5079a11914bfe6d8afcb5e6bbd69bb66ef11d4582942a10530ff26e017a3da8a9f6ef29803e10cdf39f8b0f70448d6f8b2a0147331dbc8751dbbfb69
6
+ metadata.gz: c218edfc54388d4e6da5fd00a3fd65a8f122393db524a17dd60310a484817ee49037602dd3d85009a0117eb4d95021639a481a017c1dd9f4d2911e18eefd4e84
7
+ data.tar.gz: 7763aced680b8a8791d150074e44370b962ad53d94b5bac7ad14c759851b7c3e40bf3f92a235b1ce9ddd8b005bc7de77e8b017b57bc691bc01a51567c0171d06
@@ -68,7 +68,7 @@ module CbNitride
68
68
  end
69
69
 
70
70
  def get_image
71
- MechanizeClip.get get_image_url(BASE_URL, IMAGE_CLASS), agent
71
+ MechanizeClip.get(get_image_url(BASE_URL, IMAGE_CLASS), agent)
72
72
  end
73
73
 
74
74
  def item_page
@@ -21,7 +21,7 @@ module CbNitride
21
21
  RELEASE_CLASS = ".StockCodeInShopsDate"
22
22
  PRICE_CLASS = ".StockCodeSrp"
23
23
 
24
- def self.item(diamond_number, agent)
24
+ def self.item(diamond_number)
25
25
  item = new(diamond_number)
26
26
  if item.valid_diamond_number?
27
27
  item.spawn_item
@@ -41,7 +41,7 @@ module CbNitride
41
41
  end
42
42
 
43
43
  def clean_title
44
- @_clean_title ||= raw_title.gsub(/[(][C].*[)]/, '').gsub('(MR)', '').gsub('(NET)', '').strip
44
+ @_clean_title ||= raw_title.gsub(/[(][C].*[)]?/, '').gsub('(MR)', '').gsub('(NET)', '').strip
45
45
  end
46
46
 
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module CbNitride
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
data/lib/cb_nitride.rb CHANGED
@@ -17,7 +17,7 @@ module CbNitride
17
17
  if qualified?
18
18
  PrivateHasher.item(diamond_number, options[:agent])
19
19
  else
20
- PublicHasher.item(diamond_number, options[:agent])
20
+ PublicHasher.item(diamond_number)
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cb_nitride
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Jarvis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-31 00:00:00.000000000 Z
11
+ date: 2013-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler