couchrest 1.0.0.beta3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -22,15 +22,15 @@ begin
22
22
  gemspec.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."
23
23
  gemspec.email = "jchris@apache.org"
24
24
  gemspec.homepage = "http://github.com/couchrest/couchrest"
25
- gemspec.authors = ["J. Chris Anderson", "Matt Aimonetti", "Marcos Tapajos", "Will Leinweber"]
25
+ gemspec.authors = ["J. Chris Anderson", "Matt Aimonetti", "Marcos Tapajos", "Will Leinweber", "Sam Lown"]
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", ">= 1.5.1")
30
- gemspec.add_dependency("json", "= 1.2.4") # json 1.4.3 has stack overflow issues!
31
- # gemspec.add_dependency("couchrest_extended_document", ">= 1.0.0")
29
+ gemspec.add_dependency("rest-client", ">= 0.5")
30
+ gemspec.add_dependency("mime-types", ">= 1.15")
31
+ gemspec.add_dependency("json", "1.2.4")
32
32
  gemspec.version = CouchRest::VERSION
33
- gemspec.date = "2010-07-01"
33
+ gemspec.date = Time.now.strftime("%Y-%m-%d")
34
34
  gemspec.require_path = "lib"
35
35
  end
36
36
  rescue LoadError
data/THANKS.md CHANGED
@@ -13,7 +13,9 @@ changes. A list of these people is included below.
13
13
  * [Matt Lyon](http://mattly.tumblr.com/)
14
14
  * Simon Rozet (simon /at/ rozet /dot/ name)
15
15
  * [Marcos Tapajós](http://tapajos.me)
16
+ * [Sam Lown](http://github.com/samlown)
17
+ * [Will Leinweber](http://github.com/will)
16
18
 
17
19
  Patches are welcome. The primary source for this software project is [on Github](http://github.com/couchrest/couchrest)
18
20
 
19
- A lot of people have active forks - thank you all - even the patches I don't end up using are helpful.
21
+ A lot of people have active forks - thank you all - even the patches I don't end up using are helpful.
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.beta3"
8
+ s.version = "1.0.0"
9
9
 
10
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["J. Chris Anderson", "Matt Aimonetti", "Marcos Tapajos", "Will Leinweber"]
12
- s.date = %q{2010-07-25}
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["J. Chris Anderson", "Matt Aimonetti", "Marcos Tapajos", "Will Leinweber", "Sam Lown"]
12
+ s.date = %q{2010-08-01}
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 = [
@@ -94,14 +94,17 @@ 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>, [">= 1.5.1"])
97
+ s.add_runtime_dependency(%q<rest-client>, [">= 0.5"])
98
+ s.add_runtime_dependency(%q<mime-types>, [">= 1.15"])
98
99
  s.add_runtime_dependency(%q<json>, ["= 1.2.4"])
99
100
  else
100
- s.add_dependency(%q<rest-client>, [">= 1.5.1"])
101
+ s.add_dependency(%q<rest-client>, [">= 0.5"])
102
+ s.add_dependency(%q<mime-types>, [">= 1.15"])
101
103
  s.add_dependency(%q<json>, ["= 1.2.4"])
102
104
  end
103
105
  else
104
- s.add_dependency(%q<rest-client>, [">= 1.5.1"])
106
+ s.add_dependency(%q<rest-client>, [">= 0.5"])
107
+ s.add_dependency(%q<mime-types>, [">= 1.15"])
105
108
  s.add_dependency(%q<json>, ["= 1.2.4"])
106
109
  end
107
110
  end
data/history.txt CHANGED
@@ -1,13 +1,8 @@
1
1
  == Next Version
2
2
 
3
3
  * Major enhancements
4
- * Add create_target option to Database#replicate_to and #replicate_from. http://github.com/couchrest/couchrest/issues/#issue/26 (Alexander Uvarov)
5
- * Removing unused core extensions and moving extlib_inhertiable_* methods to use couchrest_inheritable_*
6
- to avoid conflicts with Rails. (Geoff Buesing)
7
4
 
8
5
  * Minor enhancements
9
- * Added Document#id= support (issue detected by Rory Franklin with RSpec model stubs)
10
- * Fixing issues with CouchDB 1.0 and RestClient
11
6
 
12
7
  == 1.0.0.beta
13
8
 
@@ -16,6 +11,17 @@
16
11
  * Removed HttpAbstraction component for direct interface with RestClient. (Sam Lown)
17
12
  * Changed version to more conventional format starting from 1.0.0 to avoid ambiguity issues with order. (Sam Lown)
18
13
 
14
+ == 0.38
15
+
16
+ * Major enhancements
17
+ * Add create_target option to Database#replicate_to and #replicate_from. http://github.com/couchrest/couchrest/issues/#issue/26 (Alexander Uvarov)
18
+ * Removing unused core extensions and moving extlib_inhertiable_* methods to use couchrest_inheritable_*
19
+ to avoid conflicts with Rails. (Geoff Buesing)
20
+
21
+ * Minor enhancements
22
+ * Support for CouchDB 1.0
23
+ * Added Document#id= support (issue detected by Rory Franklin with RSpec model stubs)
24
+ * Fixing issues with CouchDB 1.0 and RestClient
19
25
 
20
26
  == 0.37
21
27
 
data/lib/couchrest.rb CHANGED
@@ -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.beta3'
34
+ VERSION = '1.0.0'
35
35
 
36
36
  autoload :Server, 'couchrest/server'
37
37
  autoload :Database, 'couchrest/database'
@@ -125,7 +125,6 @@ module CouchRest
125
125
  end
126
126
  end # class << self
127
127
  end
128
-
129
128
  # For the sake of backwards compatability, generate a dummy ExtendedDocument class
130
129
  # which should be replaced by real library: couchrest_extended_document.
131
130
  #
@@ -137,4 +136,4 @@ class CouchRest::ExtendedDocument < CouchRest::Document
137
136
  raise "ExtendedDocument is no longer included in CouchRest base driver, see couchrest_extended_document gem"
138
137
  end
139
138
 
140
- end
139
+ end
@@ -188,7 +188,6 @@ describe CouchRest do
188
188
  end
189
189
  end
190
190
 
191
-
192
191
  describe "Including old ExtendedDocument library" do
193
192
 
194
193
  it "should raise an exception" do
@@ -200,5 +199,4 @@ describe CouchRest do
200
199
  end
201
200
 
202
201
  end
203
-
204
202
  end
metadata CHANGED
@@ -1,25 +1,25 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: couchrest
3
3
  version: !ruby/object:Gem::Version
4
- hash: -1848230053
5
- prerelease: true
4
+ hash: 23
5
+ prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 0
10
- - beta3
11
- version: 1.0.0.beta3
10
+ version: 1.0.0
12
11
  platform: ruby
13
12
  authors:
14
13
  - J. Chris Anderson
15
14
  - Matt Aimonetti
16
15
  - Marcos Tapajos
17
16
  - Will Leinweber
17
+ - Sam Lown
18
18
  autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2010-07-25 00:00:00 -03:00
22
+ date: 2010-08-01 00:00:00 -03:00
23
23
  default_executable:
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
@@ -32,16 +32,30 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  hash: 1
34
34
  segments:
35
- - 1
35
+ - 0
36
36
  - 5
37
- - 1
38
- version: 1.5.1
37
+ version: "0.5"
39
38
  type: :runtime
40
39
  version_requirements: *id001
41
40
  - !ruby/object:Gem::Dependency
42
- name: json
41
+ name: mime-types
43
42
  prerelease: false
44
43
  requirement: &id002 !ruby/object:Gem::Requirement
44
+ none: false
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ hash: 17
49
+ segments:
50
+ - 1
51
+ - 15
52
+ version: "1.15"
53
+ type: :runtime
54
+ version_requirements: *id002
55
+ - !ruby/object:Gem::Dependency
56
+ name: json
57
+ prerelease: false
58
+ requirement: &id003 !ruby/object:Gem::Requirement
45
59
  none: false
46
60
  requirements:
47
61
  - - "="
@@ -53,7 +67,7 @@ dependencies:
53
67
  - 4
54
68
  version: 1.2.4
55
69
  type: :runtime
56
- version_requirements: *id002
70
+ version_requirements: *id003
57
71
  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.
58
72
  email: jchris@apache.org
59
73
  executables: []
@@ -137,14 +151,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
137
151
  required_rubygems_version: !ruby/object:Gem::Requirement
138
152
  none: false
139
153
  requirements:
140
- - - ">"
154
+ - - ">="
141
155
  - !ruby/object:Gem::Version
142
- hash: 25
156
+ hash: 3
143
157
  segments:
144
- - 1
145
- - 3
146
- - 1
147
- version: 1.3.1
158
+ - 0
159
+ version: "0"
148
160
  requirements: []
149
161
 
150
162
  rubyforge_project: