better_rest 0.2.3 → 0.2.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bfaa3bbcd0d6672673e20e65445adf86c73f5a6e
4
- data.tar.gz: 12f00f9fe9fde98badb210259983162dad385666
3
+ metadata.gz: 33046392521418c3fab310c13eff0ce9546fa04a
4
+ data.tar.gz: b81010cf6bd1618af69238732f1c9958bb331f79
5
5
  SHA512:
6
- metadata.gz: 141d47a6c68f753520bbc8f84b21bcc3d2e8e9be62ac10bf9e0c03d80a6c1fd3b28c0e012383b186cfad111b27bccd704e2b859b91a7917b54b9fe453ffdfe68
7
- data.tar.gz: 179de131c5a8df2f23d95dbe4dae2df4f692090a564957a0d0acf31d1122e382a6a3adc4026512606f3f6c041c617f4b59c754eda385fe1afd887d46705c60a5
6
+ metadata.gz: b14fb47a1977f5528193239633285a68fcb127e11fc2b0d7a058940a8464b9ed3a0720b1f6216a226aba2afa9d74dd4bd272472409a16d03a7dd29f6356c65d5
7
+ data.tar.gz: 0cf65d2022c73828d3370060769f5bf5450b181090117b85018662c60a9822862e3612691f2fd965f2c4a9de2b1d4290de6b27e5c12792f7d03cf9584bf33446
data/README.md CHANGED
@@ -25,7 +25,7 @@ Or download the repository here for the latest version and launch via:
25
25
  ```bash
26
26
  $ ./bin/better_rest
27
27
  ```
28
- To try BetteR, without installing the Gem, it's also hosted on [Heroku](http://better-rest.herokuapp.com/). Note that when run on Heroku, the build is likely to be from a much older commit.
28
+ To try BetteR, without installing the Gem, it's also hosted on [Heroku](http://better-rest.herokuapp.com/). Note that when run on Heroku internally hosted APIs can't be tested.
29
29
 
30
30
  ### Dependencies
31
31
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "better_rest"
3
- s.version = "0.2.3"
3
+ s.version = "0.2.4"
4
4
  s.licenses = ['MIT']
5
5
  s.summary = "REST Test Client"
6
6
  s.date = "2015-02-01"
@@ -121,7 +121,7 @@ post '/request' do
121
121
  if File.exists? "cookiejar"
122
122
  cookie = File.read("cookiejar")
123
123
  end
124
- request.options[:headers]['Cookie'] = stringify_cookies(cookie) unless cookie.empty?
124
+ request.options[:headers]['Cookie'] = stringify_cookies(cookie) unless cookie.nil? || cookie.empty?
125
125
  end
126
126
 
127
127
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: better_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Willems