yanapi 0.1.0 → 0.1.1

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. data/lib/yanapi/version.rb +1 -1
  2. metadata +15 -16
  3. data/yanapi.gemspec +0 -22
@@ -1,3 +1,3 @@
1
1
  module YANAPI
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: yanapi
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.0
5
+ version: 0.1.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Andrei Beliankou
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-05 00:00:00 +02:00
13
+ date: 2011-04-06 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -35,7 +35,7 @@ dependencies:
35
35
  version: "0"
36
36
  type: :development
37
37
  version_requirements: *id002
38
- description: YANAPI is a programmatic API for Yahoo! Answers web services.It enables you to search for questions using key words, user IDs, category names and IDs and a pricise ID of a question. The output is provided in the xml format as well as json, php and rss.
38
+ description: YANAPI is a programmatic API for Yahoo! Answers web services. It enables you to search for questions using key words, user IDs, category names and IDs and a pricise ID of a question. The output is provided in the xml format as well as json, php and rss.
39
39
  email: a.belenkow@uni-trier.de
40
40
  executables: []
41
41
 
@@ -45,8 +45,19 @@ extra_rdoc_files:
45
45
  - README.rdoc
46
46
  - LICENSE
47
47
  files:
48
+ - lib/yanapi/error.rb
49
+ - lib/yanapi/user_query.rb
50
+ - lib/yanapi/question_query.rb
51
+ - lib/yanapi/term_query.rb
52
+ - lib/yanapi/common.rb
53
+ - lib/yanapi/category_query.rb
54
+ - lib/yanapi/version.rb
55
+ - lib/yanapi/query.rb
56
+ - lib/yanapi.rb
48
57
  - README.rdoc
49
- - yanapi.gemspec
58
+ - LICENSE
59
+ - Rakefile
60
+ - README
50
61
  - test/test_yanapi.rb
51
62
  - test/test_user_query.rb
52
63
  - test/test_query.rb
@@ -59,18 +70,6 @@ files:
59
70
  - test/data/error_code.txt
60
71
  - test/data/response_with_error.txt
61
72
  - test/data/successfull_response.txt
62
- - LICENSE
63
- - Rakefile
64
- - README
65
- - lib/yanapi/error.rb
66
- - lib/yanapi/user_query.rb
67
- - lib/yanapi/question_query.rb
68
- - lib/yanapi/term_query.rb
69
- - lib/yanapi/common.rb
70
- - lib/yanapi/category_query.rb
71
- - lib/yanapi/version.rb
72
- - lib/yanapi/query.rb
73
- - lib/yanapi.rb
74
73
  has_rdoc: true
75
74
  homepage: http://www.uni-trier.de/index.php?id=34451
76
75
  licenses: []
@@ -1,22 +0,0 @@
1
- lib_path = File.expand_path('../lib', __FILE__) # strange??
2
- $LOAD_PATH.unshift(lib_path) unless $LOAD_PATH.include?(lib_path)
3
- require 'yanapi/version'
4
-
5
- Gem::Specification.new do |s|
6
- s.name = "yanapi"
7
- s.summary = 'YANAPI is an API for Yahoo! Answers web services.' # it is the description for 'gem list -d'
8
- s.description = 'YANAPI is a programmatic API for Yahoo! Answers web services.It enables you to search for questions using key words, user IDs, category names and IDs and a pricise ID of a question. The output is provided in the xml format as well as json, php and rss.' # it appears on the RubyGems page
9
- s.rubyforge_project = "yanapi"
10
- s.version = YANAPI::VERSION
11
- s.author = "Andrei Beliankou"
12
- s.email = "a.belenkow@uni-trier.de"
13
- s.homepage = "http://www.uni-trier.de/index.php?id=34451" # move on qa.uni
14
- s.add_runtime_dependency('nokogiri')
15
- s.add_development_dependency('fakeweb')
16
- s.rdoc_options = ["-m", "README.rdoc"]
17
- s.extra_rdoc_files = ["README.rdoc", "LICENSE"]
18
- s.platform = Gem::Platform::RUBY # how to run it on JRuby?
19
- s.required_ruby_version = '>=1.8' # is it a correct notation?
20
- s.files = Dir['**/*']
21
- s.test_files = `ls test/test_*.rb`.split("\n")
22
- end