flexirest 1.6.9 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +6 -0
- data/lib/flexirest/base_without_validation.rb +1 -1
- data/lib/flexirest/version.rb +1 -1
- data/spec/lib/ruby_core_spec.rb +12 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f6e4ecaa1f891e1bb1a98368b8dbdf39024d31f
|
4
|
+
data.tar.gz: deb3c6a4cbf8af73c9cb2c513866162f7e440071
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: beff9dd048c839bcdadda6c49aadd44e2bcc833ff436edfdb917dc6c9efff64afbc249502909aee8bc200ca06aac9587be41b33f595b316c2dbbab2e675b5b55
|
7
|
+
data.tar.gz: 90054f73fb70d72ba4cef6d87a6dc87683c55e731f47d38839a70b2ad5c98c6fae6486be4ff56c19829bd1234f82094d5eb4d9ebac2ecbe5a1ac282132b0457b
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -13,7 +13,7 @@ module Flexirest
|
|
13
13
|
attr_accessor :_headers
|
14
14
|
|
15
15
|
instance_methods.each do |m|
|
16
|
-
next unless %w{display presence load require
|
16
|
+
next unless %w{display presence load require untrust trust freeze method enable_warnings with_warnings suppress capture silence quietly debugger breakpoint}.map(&:to_sym).include? m
|
17
17
|
undef_method m
|
18
18
|
end
|
19
19
|
|
data/lib/flexirest/version.rb
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
class EmptyExample < Flexirest::BaseWithoutValidation
|
4
|
+
whiny_missing true
|
5
|
+
end
|
6
|
+
|
7
|
+
describe Flexirest::BaseWithoutValidation do
|
8
|
+
it 'should support hash resolving' do
|
9
|
+
h = {}
|
10
|
+
expect{ h[EmptyExample.new] = 'not important' }.to_not raise_error
|
11
|
+
end
|
12
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flexirest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -323,6 +323,7 @@ files:
|
|
323
323
|
- spec/lib/recording_spec.rb
|
324
324
|
- spec/lib/request_spec.rb
|
325
325
|
- spec/lib/result_iterator_spec.rb
|
326
|
+
- spec/lib/ruby_core_spec.rb
|
326
327
|
- spec/lib/validation_spec.rb
|
327
328
|
- spec/lib/xml_spec.rb
|
328
329
|
- spec/spec_helper.rb
|
@@ -377,6 +378,7 @@ test_files:
|
|
377
378
|
- spec/lib/recording_spec.rb
|
378
379
|
- spec/lib/request_spec.rb
|
379
380
|
- spec/lib/result_iterator_spec.rb
|
381
|
+
- spec/lib/ruby_core_spec.rb
|
380
382
|
- spec/lib/validation_spec.rb
|
381
383
|
- spec/lib/xml_spec.rb
|
382
384
|
- spec/spec_helper.rb
|