kindai 2.2.1 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.2.1
1
+ 2.3.0
data/kindai.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "kindai"
8
- s.version = "2.2.1"
8
+ s.version = "2.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["hitode909"]
12
- s.date = "2013-03-13"
12
+ s.date = "2013-03-22"
13
13
  s.description = "kindai.rb is kindai digital library downloader."
14
14
  s.email = "hitode909@gmail.com"
15
15
  s.executables = ["kindai.rb"]
@@ -43,7 +43,7 @@ module Kindai
43
43
 
44
44
  def uri_for keyword, page = 0
45
45
  count = 100
46
- params = { :any => keyword, :dpid => 'kindai', :idx => page * count + 1, :cnt => count}
46
+ params = { :any => keyword, :dpid => 'ndl-dl', :idx => page * count + 1, :cnt => count}
47
47
  root = URI.parse("http://iss.ndl.go.jp/api/opensearch")
48
48
  path = '?' + Kindai::Util.expand_params(params)
49
49
  root + path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kindai
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-13 00:00:00.000000000 Z
12
+ date: 2013-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
@@ -194,7 +194,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
194
194
  version: '0'
195
195
  segments:
196
196
  - 0
197
- hash: 2554249426151221583
197
+ hash: -4440122870670398827
198
198
  required_rubygems_version: !ruby/object:Gem::Requirement
199
199
  none: false
200
200
  requirements: