ocean-rails 1.27.6 → 1.28.0

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: 0cc20450c23333660537eb3b3b4567b3a8299294
4
- data.tar.gz: 7a5d4c34820177f1fe8f50a2928c4f9d3a4a0e08
3
+ metadata.gz: 86f15406680ea96527ed7fce898b536b5fd58639
4
+ data.tar.gz: 28264628ddf1b97d1438559a11d6b456586de6a4
5
5
  SHA512:
6
- metadata.gz: c7981fc22dfc51c1d31e36e43227aa5bb192604adf1f138b95985bdf342d85ded9de718cec420b02216ea1f84d99f4e70cb3bf61c19563ed947972e33c746d58
7
- data.tar.gz: 782f6417881a92a90f49605cd02f65b831b16b8a7bfe349ffbcd3a352ce4ad55d3096c6ff6ff69f3ed21265bfd634bfafe3d10c852269ac285cf39b30888505e
6
+ metadata.gz: 6048ac02ed7e428b8ace6ebf2cd4ab76772e7a97822b7c78afe7892a122acf961b24cada1aab68651149bcb9ef4e76c2e6bcc59a48761763c903f1c9a29b26d5
7
+ data.tar.gz: c18bf6e4ae4d369610f82f186b06d9fdc2d43df0fda46c1c8ed1f3ad168798fe56f6a3d661a177892bc0d2b86c687f33f51eaa241c11a3c5febb721916f4821b
data/lib/ocean/api.rb CHANGED
@@ -182,7 +182,7 @@ class Api
182
182
  # This escapes BAN request paths, which is needed as they are regexes.
183
183
  #
184
184
  def self.escape(path)
185
- URI.escape(path, Regexp.new("[^#{URI::PATTERN::UNRESERVED}]"))
185
+ URI.escape(path, Regexp.new("[^/\\-+_.!~*'()\\[\\]a-zA-Z0-9]"))
186
186
  end
187
187
 
188
188
 
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "1.27.6"
2
+ VERSION = "1.28.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.27.6
4
+ version: 1.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-29 00:00:00.000000000 Z
11
+ date: 2014-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -310,7 +310,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
310
310
  version: '0'
311
311
  requirements: []
312
312
  rubyforge_project:
313
- rubygems_version: 2.0.7
313
+ rubygems_version: 2.1.10
314
314
  signing_key:
315
315
  specification_version: 4
316
316
  summary: This gem implements common Ocean behaviour for Ruby and Ruby on Rails.