analysand 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,39 @@
1
+ require 'uri'
2
+
3
+ module TestParameters
4
+ def admin_username
5
+ 'admin'
6
+ end
7
+
8
+ def admin_password
9
+ 'admin'
10
+ end
11
+
12
+ def admin_credentials
13
+ { :username => admin_username, :password => admin_password }
14
+ end
15
+
16
+ def member1_username
17
+ 'member1'
18
+ end
19
+
20
+ def member1_password
21
+ 'member1'
22
+ end
23
+
24
+ def member1_credentials
25
+ { :username => member1_username, :password => member1_password }
26
+ end
27
+
28
+ def instance_uri
29
+ URI('http://localhost:5984')
30
+ end
31
+
32
+ def database_name
33
+ 'analysand_test'
34
+ end
35
+
36
+ def database_uri
37
+ URI("#{instance_uri}/#{database_name}")
38
+ end
39
+ end
metadata ADDED
@@ -0,0 +1,276 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: analysand
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 1.0.1
6
+ platform: ruby
7
+ authors:
8
+ - David Yip
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-10-01 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ prerelease: false
16
+ name: celluloid
17
+ type: :runtime
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0.12'
23
+ none: false
24
+ requirement: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ! '>='
27
+ - !ruby/object:Gem::Version
28
+ version: '0.12'
29
+ none: false
30
+ - !ruby/object:Gem::Dependency
31
+ prerelease: false
32
+ name: celluloid-io
33
+ type: :runtime
34
+ version_requirements: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ none: false
40
+ requirement: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ! '>='
43
+ - !ruby/object:Gem::Version
44
+ version: '0'
45
+ none: false
46
+ - !ruby/object:Gem::Dependency
47
+ prerelease: false
48
+ name: http_parser.rb
49
+ type: :runtime
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ none: false
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ! '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ none: false
62
+ - !ruby/object:Gem::Dependency
63
+ prerelease: false
64
+ name: json
65
+ type: :runtime
66
+ version_requirements: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ none: false
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ none: false
78
+ - !ruby/object:Gem::Dependency
79
+ prerelease: false
80
+ name: net-http-persistent
81
+ type: :runtime
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ none: false
88
+ requirement: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ! '>='
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ none: false
94
+ - !ruby/object:Gem::Dependency
95
+ prerelease: false
96
+ name: rack
97
+ type: :runtime
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ! '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ none: false
104
+ requirement: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ! '>='
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ none: false
110
+ - !ruby/object:Gem::Dependency
111
+ prerelease: false
112
+ name: yajl-ruby
113
+ type: :runtime
114
+ version_requirements: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ! '>='
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ none: false
120
+ requirement: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ! '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ none: false
126
+ - !ruby/object:Gem::Dependency
127
+ prerelease: false
128
+ name: rake
129
+ type: :development
130
+ version_requirements: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ! '>='
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ none: false
136
+ requirement: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ! '>='
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ none: false
142
+ - !ruby/object:Gem::Dependency
143
+ prerelease: false
144
+ name: rspec
145
+ type: :development
146
+ version_requirements: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ! '>='
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ none: false
152
+ requirement: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - ! '>='
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ none: false
158
+ - !ruby/object:Gem::Dependency
159
+ prerelease: false
160
+ name: vcr
161
+ type: :development
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ! '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ none: false
168
+ requirement: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ! '>='
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ none: false
174
+ - !ruby/object:Gem::Dependency
175
+ prerelease: false
176
+ name: webmock
177
+ type: :development
178
+ version_requirements: !ruby/object:Gem::Requirement
179
+ requirements:
180
+ - - ! '>='
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ none: false
184
+ requirement: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ! '>='
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ none: false
190
+ description: A terrible burden for a couch
191
+ email:
192
+ - yipdw@member.fsf.org
193
+ executables:
194
+ - analysand
195
+ extensions: []
196
+ extra_rdoc_files: []
197
+ files:
198
+ - .gitignore
199
+ - .rspec
200
+ - .travis.yml
201
+ - Gemfile
202
+ - LICENSE
203
+ - README
204
+ - Rakefile
205
+ - analysand.gemspec
206
+ - bin/analysand
207
+ - lib/analysand.rb
208
+ - lib/analysand/bulk_response.rb
209
+ - lib/analysand/change_watcher.rb
210
+ - lib/analysand/connection_testing.rb
211
+ - lib/analysand/database.rb
212
+ - lib/analysand/errors.rb
213
+ - lib/analysand/instance.rb
214
+ - lib/analysand/response.rb
215
+ - lib/analysand/version.rb
216
+ - lib/analysand/view_response.rb
217
+ - script/setup_database.rb
218
+ - spec/analysand/a_session_grantor.rb
219
+ - spec/analysand/change_watcher_spec.rb
220
+ - spec/analysand/database_spec.rb
221
+ - spec/analysand/database_writing_spec.rb
222
+ - spec/analysand/instance_spec.rb
223
+ - spec/analysand/response_spec.rb
224
+ - spec/analysand/view_response_spec.rb
225
+ - spec/fixtures/vcr_cassettes/get_session_does_not_refresh_cookie.yml
226
+ - spec/fixtures/vcr_cassettes/get_session_refreshes_cookie.yml
227
+ - spec/fixtures/vcr_cassettes/head_request_with_etag.yml
228
+ - spec/spec_helper.rb
229
+ - spec/support/database_access.rb
230
+ - spec/support/example_isolation.rb
231
+ - spec/support/test_parameters.rb
232
+ homepage: ''
233
+ licenses: []
234
+ post_install_message:
235
+ rdoc_options: []
236
+ require_paths:
237
+ - lib
238
+ required_ruby_version: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - ! '>='
241
+ - !ruby/object:Gem::Version
242
+ segments:
243
+ - 0
244
+ version: '0'
245
+ hash: 2002549777813010636
246
+ none: false
247
+ required_rubygems_version: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - ! '>='
250
+ - !ruby/object:Gem::Version
251
+ segments:
252
+ - 0
253
+ version: '0'
254
+ hash: 2002549777813010636
255
+ none: false
256
+ requirements: []
257
+ rubyforge_project:
258
+ rubygems_version: 1.8.24
259
+ signing_key:
260
+ specification_version: 3
261
+ summary: A CouchDB client of dubious worth
262
+ test_files:
263
+ - spec/analysand/a_session_grantor.rb
264
+ - spec/analysand/change_watcher_spec.rb
265
+ - spec/analysand/database_spec.rb
266
+ - spec/analysand/database_writing_spec.rb
267
+ - spec/analysand/instance_spec.rb
268
+ - spec/analysand/response_spec.rb
269
+ - spec/analysand/view_response_spec.rb
270
+ - spec/fixtures/vcr_cassettes/get_session_does_not_refresh_cookie.yml
271
+ - spec/fixtures/vcr_cassettes/get_session_refreshes_cookie.yml
272
+ - spec/fixtures/vcr_cassettes/head_request_with_etag.yml
273
+ - spec/spec_helper.rb
274
+ - spec/support/database_access.rb
275
+ - spec/support/example_isolation.rb
276
+ - spec/support/test_parameters.rb