couch-client 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1 +1,3 @@
1
+ v0.0.2. fixing gemspec
2
+
1
3
  v0.0.1. first release
data/Rakefile CHANGED
@@ -13,5 +13,5 @@ Echoe.new("couch-client") do |p|
13
13
  p.url = "http://github.com/robertsosinski/couch-client"
14
14
  p.description = "CouchClient is Ruby library that can be used to interact with CouchDB"
15
15
  p.summary = "The goal of CouchClient is to make documents feel as much as possible as what they already represent, a Hash of primitives, Arrays and other Hashes."
16
- p.runtime_dependencies = ["json"]
16
+ p.runtime_dependencies = ["json >=1.4.6", "curb >=0.7.8"]
17
17
  end
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{couch-client}
5
- s.version = "0.0.1"
5
+ s.version = "0.0.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Robert Sosinski"]
9
- s.date = %q{2010-10-29}
9
+ s.date = %q{2010-10-30}
10
10
  s.description = %q{CouchClient is Ruby library that can be used to interact with CouchDB}
11
11
  s.email = %q{email@robertsosinski.com}
12
12
  s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.markdown", "TODO", "lib/couch-client.rb", "lib/couch-client/attachment.rb", "lib/couch-client/attachment_list.rb", "lib/couch-client/collection.rb", "lib/couch-client/connection.rb", "lib/couch-client/connection_handler.rb", "lib/couch-client/consistent_hash.rb", "lib/couch-client/database.rb", "lib/couch-client/design.rb", "lib/couch-client/document.rb", "lib/couch-client/hookup.rb", "lib/couch-client/row.rb"]
@@ -23,11 +23,14 @@ Gem::Specification.new do |s|
23
23
  s.specification_version = 3
24
24
 
25
25
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
- s.add_runtime_dependency(%q<json>, [">= 0"])
26
+ s.add_runtime_dependency(%q<json>, [">= 1.4.6"])
27
+ s.add_runtime_dependency(%q<curb>, [">= 0.7.8"])
27
28
  else
28
- s.add_dependency(%q<json>, [">= 0"])
29
+ s.add_dependency(%q<json>, [">= 1.4.6"])
30
+ s.add_dependency(%q<curb>, [">= 0.7.8"])
29
31
  end
30
32
  else
31
- s.add_dependency(%q<json>, [">= 0"])
33
+ s.add_dependency(%q<json>, [">= 1.4.6"])
34
+ s.add_dependency(%q<curb>, [">= 0.7.8"])
32
35
  end
33
36
  end
@@ -13,10 +13,11 @@ require 'couch-client/attachment'
13
13
  require 'couch-client/design'
14
14
  require 'couch-client/collection'
15
15
  require 'couch-client/row'
16
+ require 'tasks/couch'
16
17
 
17
18
  # The CouchClient module is the overall container of all CouchClient logic.
18
19
  module CouchClient
19
- VERSION = "0.0.1"
20
+ VERSION = "0.0.2"
20
21
 
21
22
  class Error < Exception; end
22
23
 
@@ -24,7 +24,7 @@ module CouchClient
24
24
  @connection.hookup.handler.uri([@id, @name])
25
25
  end
26
26
 
27
- # Returns a string that contains file data
27
+ # Returns a string that contains attachment data
28
28
  def data
29
29
  @connection.hookup.get([@id, @name], nil, self["content_type"]).last
30
30
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 1
9
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Robert Sosinski
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-29 00:00:00 -04:00
17
+ date: 2010-10-30 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -26,10 +26,27 @@ dependencies:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  segments:
29
- - 0
30
- version: "0"
29
+ - 1
30
+ - 4
31
+ - 6
32
+ version: 1.4.6
31
33
  type: :runtime
32
34
  version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: curb
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ segments:
44
+ - 0
45
+ - 7
46
+ - 8
47
+ version: 0.7.8
48
+ type: :runtime
49
+ version_requirements: *id002
33
50
  description: CouchClient is Ruby library that can be used to interact with CouchDB
34
51
  email: email@robertsosinski.com
35
52
  executables: []