tangzero-ryboss 0.8.5 → 0.9

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.
data/README.textile CHANGED
@@ -10,7 +10,7 @@ h2. LICENSE:
10
10
 
11
11
  (The MIT License)
12
12
 
13
- Copyright (c) 2008 TangZero
13
+ Copyright (c) 2009 TangZero
14
14
 
15
15
  Permission is hereby granted, free of charge, to any person obtaining
16
16
  a copy of this software and associated documentation files (the
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake/gempackagetask'
5
5
  require 'spec/rake/spectask'
6
6
 
7
7
  GEM = "ryboss"
8
- GEM_VERSION = "0.8.5"
8
+ GEM_VERSION = "0.9"
9
9
  SUMMARY = "Ruby Yahoo BOSS Mashup Framework"
10
10
  AUTHOR = "TangZero"
11
11
  EMAIL = "t4ngz3r0@gmail.com"
@@ -19,7 +19,7 @@ spec = Gem::Specification.new do |s|
19
19
  s.require_paths = ['lib']
20
20
  s.files = FileList['lib/**/*.rb', '[A-Z]*'].to_a
21
21
 
22
- s.add_dependency(%q<json>, [">= 1.1.3"])
22
+ s.add_dependency(%q<json>, [">= 1.1.1"])
23
23
  s.has_rdoc = false
24
24
 
25
25
  s.author = AUTHOR
data/lib/ryboss/search.rb CHANGED
@@ -27,10 +27,11 @@ module RyBOSS
27
27
  end
28
28
 
29
29
  def self.validate(options)
30
- raise RyBOSSException, 'appid is not specified' unless RyBOSS.app_id
30
+ raise RyBOSSException, 'appid is not specified' unless RyBOSS.app_id
31
31
  raise RyBOSSException, 'start is invalid' if options[:start] and options[:start] < 0
32
- raise RyBOSSException, 'count is invalid' if options[:count] and options[:count] < 1
33
- options[:appid] = RyBOSS.app_id
32
+ raise RyBOSSException, 'count is invalid' if options[:count] and options[:count] < 1
33
+ options[:appid] = RyBOSS.app_id
34
+ options[:format] = 'json'
34
35
  options
35
36
  end
36
37
 
data/ryboss.gemspec ADDED
@@ -0,0 +1,29 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{ryboss}
5
+ s.version = "0.9"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["TangZero"]
9
+ s.date = %q{2009-03-03}
10
+ s.email = %q{t4ngz3r0@gmail.com}
11
+ s.files = ["lib/ryboss/base_result.rb", "lib/ryboss/exception.rb", "lib/ryboss/request.rb", "lib/ryboss/result.rb", "lib/ryboss/resultset.rb", "lib/ryboss/search.rb", "lib/ryboss.rb", "lib", "Rakefile", "README.textile", "ryboss.gemspec", "spec"]
12
+ s.homepage = %q{http://github.com/tangzero/ryboss}
13
+ s.require_paths = ["lib"]
14
+ s.rubygems_version = %q{1.3.1}
15
+ s.summary = %q{Ruby Yahoo BOSS Mashup Framework}
16
+
17
+ if s.respond_to? :specification_version then
18
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
19
+ s.specification_version = 2
20
+
21
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
22
+ s.add_runtime_dependency(%q<json>, [">= 1.1.1"])
23
+ else
24
+ s.add_dependency(%q<json>, [">= 1.1.1"])
25
+ end
26
+ else
27
+ s.add_dependency(%q<json>, [">= 1.1.1"])
28
+ end
29
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tangzero-ryboss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: "0.9"
5
5
  platform: ruby
6
6
  authors:
7
7
  - TangZero
@@ -9,17 +9,18 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-07 00:00:00 -08:00
12
+ date: 2009-03-03 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: json
17
+ type: :runtime
17
18
  version_requirement:
18
19
  version_requirements: !ruby/object:Gem::Requirement
19
20
  requirements:
20
21
  - - ">="
21
22
  - !ruby/object:Gem::Version
22
- version: 1.1.3
23
+ version: 1.1.1
23
24
  version:
24
25
  description:
25
26
  email: t4ngz3r0@gmail.com
@@ -37,8 +38,11 @@ files:
37
38
  - lib/ryboss/resultset.rb
38
39
  - lib/ryboss/search.rb
39
40
  - lib/ryboss.rb
41
+ - lib
40
42
  - Rakefile
41
43
  - README.textile
44
+ - ryboss.gemspec
45
+ - spec
42
46
  has_rdoc: false
43
47
  homepage: http://github.com/tangzero/ryboss
44
48
  post_install_message: