couchrest 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Rakefile +2 -2
  2. data/couchrest.gemspec +15 -15
  3. data/history.txt +7 -1
  4. data/lib/couchrest.rb +3 -3
  5. metadata +15 -20
data/Rakefile CHANGED
@@ -26,9 +26,9 @@ begin
26
26
  gemspec.extra_rdoc_files = %w( README.md LICENSE THANKS.md )
27
27
  gemspec.files = %w( LICENSE README.md Rakefile THANKS.md history.txt couchrest.gemspec) + Dir["{examples,lib,spec,utils}/**/*"] - Dir["spec/tmp"]
28
28
  gemspec.has_rdoc = true
29
- gemspec.add_dependency("rest-client", ">= 0.5")
29
+ gemspec.add_dependency("rest-client", ">= 1.5.1")
30
30
  gemspec.add_dependency("mime-types", ">= 1.15")
31
- gemspec.add_dependency("json", "1.2.4")
31
+ gemspec.add_dependency("json", ">= 1.4.6")
32
32
  gemspec.version = CouchRest::VERSION
33
33
  gemspec.date = Time.now.strftime("%Y-%m-%d")
34
34
  gemspec.require_path = "lib"
data/couchrest.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{couchrest}
8
- s.version = "1.0.0"
8
+ s.version = "1.0.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["J. Chris Anderson", "Matt Aimonetti", "Marcos Tapajos", "Will Leinweber", "Sam Lown"]
12
- s.date = %q{2010-08-01}
12
+ s.date = %q{2010-08-18}
13
13
  s.description = %q{CouchRest provides a simple interface on top of CouchDB's RESTful HTTP API, as well as including some utility scripts for managing views and attachments.}
14
14
  s.email = %q{jchris@apache.org}
15
15
  s.extra_rdoc_files = [
@@ -76,17 +76,17 @@ Gem::Specification.new do |s|
76
76
  s.rubygems_version = %q{1.3.7}
77
77
  s.summary = %q{Lean and RESTful interface to CouchDB.}
78
78
  s.test_files = [
79
- "spec/couchrest/couchrest_spec.rb",
80
- "spec/couchrest/database_spec.rb",
81
- "spec/couchrest/design_spec.rb",
79
+ "spec/spec_helper.rb",
80
+ "spec/couchrest/couchrest_spec.rb",
81
+ "spec/couchrest/server_spec.rb",
82
82
  "spec/couchrest/document_spec.rb",
83
+ "spec/couchrest/design_spec.rb",
84
+ "spec/couchrest/database_spec.rb",
83
85
  "spec/couchrest/helpers/pager_spec.rb",
84
86
  "spec/couchrest/helpers/streamer_spec.rb",
85
- "spec/couchrest/server_spec.rb",
86
- "spec/spec_helper.rb",
87
- "examples/word_count/word_count.rb",
87
+ "examples/word_count/word_count_views.rb",
88
88
  "examples/word_count/word_count_query.rb",
89
- "examples/word_count/word_count_views.rb"
89
+ "examples/word_count/word_count.rb"
90
90
  ]
91
91
 
92
92
  if s.respond_to? :specification_version then
@@ -94,18 +94,18 @@ Gem::Specification.new do |s|
94
94
  s.specification_version = 3
95
95
 
96
96
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
97
- s.add_runtime_dependency(%q<rest-client>, [">= 0.5"])
97
+ s.add_runtime_dependency(%q<rest-client>, [">= 1.5.1"])
98
98
  s.add_runtime_dependency(%q<mime-types>, [">= 1.15"])
99
- s.add_runtime_dependency(%q<json>, ["= 1.2.4"])
99
+ s.add_runtime_dependency(%q<json>, [">= 1.4.6"])
100
100
  else
101
- s.add_dependency(%q<rest-client>, [">= 0.5"])
101
+ s.add_dependency(%q<rest-client>, [">= 1.5.1"])
102
102
  s.add_dependency(%q<mime-types>, [">= 1.15"])
103
- s.add_dependency(%q<json>, ["= 1.2.4"])
103
+ s.add_dependency(%q<json>, [">= 1.4.6"])
104
104
  end
105
105
  else
106
- s.add_dependency(%q<rest-client>, [">= 0.5"])
106
+ s.add_dependency(%q<rest-client>, [">= 1.5.1"])
107
107
  s.add_dependency(%q<mime-types>, [">= 1.15"])
108
- s.add_dependency(%q<json>, ["= 1.2.4"])
108
+ s.add_dependency(%q<json>, [">= 1.4.6"])
109
109
  end
110
110
  end
111
111
 
data/history.txt CHANGED
@@ -4,7 +4,13 @@
4
4
 
5
5
  * Minor enhancements
6
6
 
7
- == 1.0.0.beta
7
+ == 1.0.1
8
+
9
+ * Minor enhancements
10
+ * rest-client version mismatch between couchrest.rb & gemspec
11
+ * json 1.4.X series re-enabled as tests now pass with v.1.4.6
12
+
13
+ == 1.0.0
8
14
 
9
15
  * Major enhancements
10
16
  * Moved ExtendedDocument and friends into own library, couchrest_extended_document. (Sam Lown)
data/lib/couchrest.rb CHANGED
@@ -15,7 +15,7 @@
15
15
  require 'rubygems'
16
16
  gem 'rest-client', ">= 1.5.1"
17
17
  unless Kernel.const_defined?("JSON")
18
- gem 'json', '1.2.4'
18
+ gem 'json', '>= 1.4.6'
19
19
  require 'json'
20
20
  end
21
21
  require 'rest_client'
@@ -31,7 +31,7 @@ require 'couchrest/support/inheritable_attributes'
31
31
 
32
32
  # = CouchDB, close to the metal
33
33
  module CouchRest
34
- VERSION = '1.0.0'
34
+ VERSION = '1.0.1'
35
35
 
36
36
  autoload :Server, 'couchrest/server'
37
37
  autoload :Database, 'couchrest/database'
@@ -136,4 +136,4 @@ class CouchRest::ExtendedDocument < CouchRest::Document
136
136
  raise "ExtendedDocument is no longer included in CouchRest base driver, see couchrest_extended_document gem"
137
137
  end
138
138
 
139
- end
139
+ end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: couchrest
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
4
  prerelease: false
6
5
  segments:
7
6
  - 1
8
7
  - 0
9
- - 0
10
- version: 1.0.0
8
+ - 1
9
+ version: 1.0.1
11
10
  platform: ruby
12
11
  authors:
13
12
  - J. Chris Anderson
@@ -19,7 +18,7 @@ autorequire:
19
18
  bindir: bin
20
19
  cert_chain: []
21
20
 
22
- date: 2010-08-01 00:00:00 -03:00
21
+ date: 2010-08-18 00:00:00 +02:00
23
22
  default_executable:
24
23
  dependencies:
25
24
  - !ruby/object:Gem::Dependency
@@ -30,11 +29,11 @@ dependencies:
30
29
  requirements:
31
30
  - - ">="
32
31
  - !ruby/object:Gem::Version
33
- hash: 1
34
32
  segments:
35
- - 0
33
+ - 1
36
34
  - 5
37
- version: "0.5"
35
+ - 1
36
+ version: 1.5.1
38
37
  type: :runtime
39
38
  version_requirements: *id001
40
39
  - !ruby/object:Gem::Dependency
@@ -45,7 +44,6 @@ dependencies:
45
44
  requirements:
46
45
  - - ">="
47
46
  - !ruby/object:Gem::Version
48
- hash: 17
49
47
  segments:
50
48
  - 1
51
49
  - 15
@@ -58,14 +56,13 @@ dependencies:
58
56
  requirement: &id003 !ruby/object:Gem::Requirement
59
57
  none: false
60
58
  requirements:
61
- - - "="
59
+ - - ">="
62
60
  - !ruby/object:Gem::Version
63
- hash: 23
64
61
  segments:
65
62
  - 1
66
- - 2
67
63
  - 4
68
- version: 1.2.4
64
+ - 6
65
+ version: 1.4.6
69
66
  type: :runtime
70
67
  version_requirements: *id003
71
68
  description: CouchRest provides a simple interface on top of CouchDB's RESTful HTTP API, as well as including some utility scripts for managing views and attachments.
@@ -144,7 +141,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
144
141
  requirements:
145
142
  - - ">="
146
143
  - !ruby/object:Gem::Version
147
- hash: 3
148
144
  segments:
149
145
  - 0
150
146
  version: "0"
@@ -153,7 +149,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
149
  requirements:
154
150
  - - ">="
155
151
  - !ruby/object:Gem::Version
156
- hash: 3
157
152
  segments:
158
153
  - 0
159
154
  version: "0"
@@ -165,14 +160,14 @@ signing_key:
165
160
  specification_version: 3
166
161
  summary: Lean and RESTful interface to CouchDB.
167
162
  test_files:
163
+ - spec/spec_helper.rb
168
164
  - spec/couchrest/couchrest_spec.rb
169
- - spec/couchrest/database_spec.rb
170
- - spec/couchrest/design_spec.rb
165
+ - spec/couchrest/server_spec.rb
171
166
  - spec/couchrest/document_spec.rb
167
+ - spec/couchrest/design_spec.rb
168
+ - spec/couchrest/database_spec.rb
172
169
  - spec/couchrest/helpers/pager_spec.rb
173
170
  - spec/couchrest/helpers/streamer_spec.rb
174
- - spec/couchrest/server_spec.rb
175
- - spec/spec_helper.rb
176
- - examples/word_count/word_count.rb
177
- - examples/word_count/word_count_query.rb
178
171
  - examples/word_count/word_count_views.rb
172
+ - examples/word_count/word_count_query.rb
173
+ - examples/word_count/word_count.rb