frodata 0.9.2b → 0.9.2

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: 3dedcb00937ab1990ed95efd42b3e8642cf5455b
4
- data.tar.gz: 9bb87a5f001789cf7faab8601890b46a61af8145
3
+ metadata.gz: 5c3aea7581c8c2b90aef001c6c349fe25d8197fa
4
+ data.tar.gz: 5553b051a0cb5f75f4a251847f48f9f53e2682d1
5
5
  SHA512:
6
- metadata.gz: ef9e60b6641d846ce4fff2eb0a8f942ed059034f963c78517a6d506aad2116f50bbd7567a0dd4f8e35c2cc87c189399686870fc1a76d386f2697f46947fbb98b
7
- data.tar.gz: d013d2fff11d0134354583fe232cbc10c3bff5b3fe885b25951e48ee1f1415157ad475c6879f122ddd2a5d4b3452615e3334ce982b6c3f5a23eb7cf70fd50379
6
+ metadata.gz: 12148d580182af4d810dd90fd5b513685e974ed181ef4f2c89a63f122dd78a159101a7fe332a08c0cacb60cf028c5cc43895651f997038993e1f5ec74ed51b6b
7
+ data.tar.gz: be33025d12c7f1a3cc4af5bf99e95f1738d3f1a9d0397ee5d6debe1362d7b148c0ffa4e60cb0f3baf1d3ee70c22d0b0789cd51b24cf423f68d786b09ab8a0a0d
@@ -1,10 +1,5 @@
1
1
  # CHANGELOG
2
2
 
3
- ## 0.9.2b
4
-
5
- * Fix broken stack traces in response errors
6
- * Ensure that `Service#service_url` always returns a string
7
-
8
3
  ## 0.9.2
9
4
 
10
5
  * Ignore connection options when connection object is passed in
@@ -8,7 +8,6 @@ module FrOData
8
8
  attr_reader :response
9
9
 
10
10
  def initialize(response, message = nil)
11
- super(message)
12
11
  @message = message
13
12
  @response = response
14
13
  end
@@ -34,7 +34,7 @@ module FrOData
34
34
  @options = default_options.merge(options)
35
35
  if service_url.is_a? Faraday::Connection
36
36
  @connection = service_url
37
- @service_url = connection.url_prefix.to_s
37
+ @service_url = connection.url_prefix
38
38
  else
39
39
  @service_url = service_url
40
40
  @connection = default_connection(&block)
@@ -96,7 +96,7 @@ module FrOData
96
96
  # @return [self]
97
97
  def validate_response!
98
98
  if error = FrOData::Errors::ERROR_MAP[status]
99
- raise error.new(response, error_message)
99
+ raise error, response, error_message
100
100
  end
101
101
  end
102
102
 
@@ -1,3 +1,3 @@
1
1
  module FrOData
2
- VERSION = '0.9.2b'
2
+ VERSION = '0.9.2'
3
3
  end
@@ -27,7 +27,6 @@ describe FrOData::Service, vcr: {cassette_name: 'service_specs'} do
27
27
  connection = Faraday.new(service_url)
28
28
  service = FrOData::Service.new(connection)
29
29
  expect(service.connection).to eq(connection)
30
- expect(service.service_url).to eq(service_url)
31
30
  end
32
31
 
33
32
  it 'allows connection to be customized via options hash' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frodata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2b
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Wagner
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-05-21 00:00:00.000000000 Z
12
+ date: 2018-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -329,9 +329,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
329
329
  version: '0'
330
330
  required_rubygems_version: !ruby/object:Gem::Requirement
331
331
  requirements:
332
- - - ">"
332
+ - - ">="
333
333
  - !ruby/object:Gem::Version
334
- version: 1.3.1
334
+ version: '0'
335
335
  requirements: []
336
336
  rubyforge_project:
337
337
  rubygems_version: 2.6.14