slipcover 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b5989e2a5c000e27e07d6e7b07584f88b546a247
4
- data.tar.gz: e3cc5a0b7108c961012a13cc927318d4cd4c3afb
3
+ metadata.gz: 62c8687dc361501af742a57eb81aee64a879c4e3
4
+ data.tar.gz: bb470d5527496c83fe9d54c6afc7c499d0f03a27
5
5
  SHA512:
6
- metadata.gz: 293f8b08941c9577a7862dd9f81a159d85a18ae078fc329b0666713653076f28ad3560b989221dde1d0b6f1e7cea6e81d578731f9ece4f13f4fdb9a1db73f5bb
7
- data.tar.gz: 164f8001334296e926caf6527c1993a052f3f64e582a7ab70b831a17062e81fdb262468c9a873a5490ad02477ed0dc6734cd546eca4c3142bc0c5ad648ef1487
6
+ metadata.gz: 41a981a3864531f694db6f371d388f30c031cb37bd9aca8954d9a2aa6bfec1c0c14e0b3a80855d0983d0f9e590b21463d4890b9a8bffe0baef5de1c58da035e2
7
+ data.tar.gz: c5122f6654963d17f93df088691ccfc486292791e24857279b5054ec78727997d30f7da2b5526aef91e147ff06c2371a794475fdbe2f3ee444cfe0b5c0129ed0
@@ -42,7 +42,7 @@ module Slipcover
42
42
 
43
43
  def url
44
44
  raise ArgumentError.new('no document id') unless id
45
- "#{database.url}/#{id}"
45
+ "#{database.url}/#{CGI::escape(id)}"
46
46
  end
47
47
 
48
48
  def database
@@ -1,3 +1,3 @@
1
1
  module Slipcover
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
@@ -20,7 +20,7 @@ describe Slipcover::DesignDocument do
20
20
  end
21
21
 
22
22
  it "has the right url" do
23
- document.url.should == "#{database.url}/_design/designation"
23
+ document.url.should == "#{database.url}/#{CGI::escape("_design/designation")}"
24
24
  end
25
25
 
26
26
  describe 'views' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slipcover
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kane Baccigalupi
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-07-21 00:00:00.000000000 Z
14
+ date: 2014-09-22 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rest-client
@@ -93,7 +93,6 @@ extra_rdoc_files: []
93
93
  files:
94
94
  - .gitignore
95
95
  - .rspec
96
- - .rvmrc
97
96
  - Gemfile
98
97
  - LICENSE.txt
99
98
  - README.md
@@ -143,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
142
  version: '0'
144
143
  requirements: []
145
144
  rubyforge_project:
146
- rubygems_version: 2.2.2
145
+ rubygems_version: 2.0.14
147
146
  signing_key:
148
147
  specification_version: 4
149
148
  summary: Lite wrapper for CouchDB
data/.rvmrc DELETED
@@ -1 +0,0 @@
1
- rvm use ruby-2.0.0@slipcover --create