stylemooncat 0.0.11 → 0.0.12

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stylemooncat/scraper.rb +3 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f5cfb085ac84735961b167a059fe04482f180b8d
4
- data.tar.gz: ad30174c3781867cf7405451fb3fa5c9651d35ee
3
+ metadata.gz: dee1ffe0ec74b7633ec68bcf718a0ea3bc2a6a59
4
+ data.tar.gz: 91e5b2876c0faff356d7ba56f74f8b82a28baf6b
5
5
  SHA512:
6
- metadata.gz: 8caf2f92614c4dd5ad4ecbe933abbb174f45903b31ae59870d8ccb07840a34a7e4977f421c6b7decdb7cd2ab3ff43d4c22e84f02f76ab5eca635598c9158416f
7
- data.tar.gz: 25d506a372bce080542617797244f4fcad86c1fe4844c0453962d6ff4fee4ecaaa422ccfcbcf600933a2cd9b82c463b49fe87d835ccf2b84357c58580317f235
6
+ metadata.gz: 0983c600b039fb67575d6f0d6f5844569eb0feea4ce7fba5683ce024aba1d67f61c72990f86829e0a8e5db8f73627ece2912d6168159b75de71ecb289d501740
7
+ data.tar.gz: 5defdbe9062be5f4f39b7ee9d814ff745f530b9a4020320cab2d5b351c228bae6414440bd79c580f4a0573c59fa6060e2db253c83274bf2a4df3652083705204
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'oga'
3
- require 'iconv'
3
+ #require 'iconv'
4
4
  require 'open-uri'
5
5
 
6
6
  # scrape data
@@ -133,9 +133,9 @@ module StyleMoonCat
133
133
 
134
134
  # Iconv is neccessary here otherwise text is unreadable
135
135
  def extract_title(item)
136
- ic = Iconv.new('UTF-8','big5')
136
+ # ic = Iconv.new('UTF-8','big5')
137
137
  raw_title = item.xpath(TITLE_SELECTOR).text
138
- ic.iconv(raw_title)
138
+ # ic.iconv(raw_title)
139
139
  end
140
140
 
141
141
  # get rid of the NT and convert to integer
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stylemooncat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Even Chang