imagechan 0.2.0 → 0.2.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: 876f49f4b41c7a5723530327050e625c34607f3b
4
- data.tar.gz: bea28e45907ab6df60da25e3b525760019c231e0
3
+ metadata.gz: 5408ce82328c425dcbe399032e75731f191cc64f
4
+ data.tar.gz: 6dfa0f1df5720befbfe71b2200f49e82a6ea3bdc
5
5
  SHA512:
6
- metadata.gz: a82db3460930d2e6573cef97166d16ebcb9b7f54ceec97243e05131dd5bf8169bfd8a8504bc5e6bf4aae304a21b5505a690ca21b2b146e5fd00b90ce97673aeb
7
- data.tar.gz: c23e642fd454486b0a89a4c8c783fefd3a62971c2812b75cf3c839fd6198fa5fbaaa865b74589950a5cf527729f03a258e878d6236183d81b3123c7845b475d6
6
+ metadata.gz: 1c5d40b17c55ad7f2834b7550a3ad53891d7f325ac0d20343c187e65d78a5dc7b359ad325312ccd6e9204ef1e3e8dad969fdc6a89dc1c761450d5d9b3a14514f
7
+ data.tar.gz: d5290658784a00feeaab8c180eb9855cc4815337153e7431f9e80cdf521be6c0f4e42593569977719a3b1b53d57dab170d00b838f047c3d6db1cc317dbf09ae7
@@ -5,10 +5,9 @@ require "fileutils"
5
5
  require "open-uri"
6
6
  require 'imagechan'
7
7
  require "imagechan/version"
8
- require "imagechan/catalog"
9
8
 
10
9
  # Currently available commands
11
- commands = %w{catalog version clearlock where}
10
+ commands = %w{version clearlock where}
12
11
 
13
12
  # Preparation
14
13
  if not File.exists? Imagechan.dir
@@ -28,8 +27,6 @@ else
28
27
  command = ARGV.first
29
28
 
30
29
  case command
31
- when "catalog"
32
- Imagechan::FourChan.catalog(ARGV[1])
33
30
  when "version"
34
31
  puts "Version #{Imagechan.version}"
35
32
  when "clearlock"
@@ -1,11 +1,11 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- # require 'imagechan/version'
4
+ require 'imagechan/version'
5
5
 
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = "imagechan"
8
- gem.version = "0.2.0" #Imagechan::VERSION
8
+ gem.version = Imagechan::VERSION
9
9
  gem.authors = ["virtualpain"]
10
10
  gem.email = ["uehara.kikumi@gmail.com"]
11
11
  gem.description = %q{Simple 4chan image downloader command}
@@ -1,5 +1,5 @@
1
1
  module Imagechan
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.2"
3
3
  def self.version
4
4
  return VERSION
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagechan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - virtualpain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-10 00:00:00.000000000 Z
11
+ date: 2013-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri