airborne 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/airborne.gemspec +2 -2
- data/lib/airborne/base.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f321e27151ecffef06e9faa916d6f4fdae6819be
|
4
|
+
data.tar.gz: 9e082aa7e51fcc2bfefd85e7eea05f7e9c8c9b1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c51351a2c990fe2d5afb9ea7b5b199e5a08bda503d4c8af82c529348a7ef74d9360ade5ad0e2da1d892ecaea5bb8c4b7d48f5627399f9d5d02066228242306db
|
7
|
+
data.tar.gz: 4cbb58e4c071e2054b005b67afac6757fe81d7c26092a771d73040bcf63b084632b3fadc92e834aa533bf6cd22459f1a85919d74ff1123d0ee5b8f6d0a6f5f02
|
data/airborne.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'airborne'
|
3
|
-
s.version = '0.1.
|
3
|
+
s.version = '0.1.8'
|
4
4
|
s.date = '2014-12-10'
|
5
5
|
s.summary = "RSpec driven API testing framework"
|
6
6
|
s.authors = ["Alex Friedman", "Seth Pollack"]
|
@@ -11,6 +11,6 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.add_runtime_dependency 'rspec', '~> 3.1', '>= 3.1.0'
|
12
12
|
s.add_runtime_dependency 'rest-client', '~> 1.7', '>= 1.7.2'
|
13
13
|
s.add_runtime_dependency 'rack-test', '~> 0.6', '>= 0.6.2'
|
14
|
-
s.add_runtime_dependency 'activesupport', '>=
|
14
|
+
s.add_runtime_dependency 'activesupport', '>= 3.0.0', '>= 3.0.0'
|
15
15
|
s.add_development_dependency 'webmock', '~> 0'
|
16
16
|
end
|
data/lib/airborne/base.rb
CHANGED
@@ -78,7 +78,7 @@ module Airborne
|
|
78
78
|
def set_response(res)
|
79
79
|
@response = res
|
80
80
|
@body = res.body
|
81
|
-
@headers = HashWithIndifferentAccess.new(res.headers
|
81
|
+
@headers = HashWithIndifferentAccess.new(res.headers) unless res.headers.nil?
|
82
82
|
@json_body = JSON.parse(res.body, symbolize_names: true) unless res.body.empty?
|
83
83
|
end
|
84
84
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airborne
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Friedman
|
@@ -77,14 +77,14 @@ dependencies:
|
|
77
77
|
requirements:
|
78
78
|
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
80
|
+
version: 3.0.0
|
81
81
|
type: :runtime
|
82
82
|
prerelease: false
|
83
83
|
version_requirements: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
85
|
- - ">="
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
87
|
+
version: 3.0.0
|
88
88
|
- !ruby/object:Gem::Dependency
|
89
89
|
name: webmock
|
90
90
|
requirement: !ruby/object:Gem::Requirement
|
@@ -181,7 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
version: '0'
|
182
182
|
requirements: []
|
183
183
|
rubyforge_project:
|
184
|
-
rubygems_version: 2.2.
|
184
|
+
rubygems_version: 2.2.0
|
185
185
|
signing_key:
|
186
186
|
specification_version: 4
|
187
187
|
summary: RSpec driven API testing framework
|