rest-client 0.6.1 → 0.6.2

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.

Potentially problematic release.


This version of rest-client might be problematic. Click here for more details.

Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/bin/restclient +1 -1
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -31,7 +31,7 @@ require 'rake/gempackagetask'
31
31
  require 'rake/rdoctask'
32
32
  require 'fileutils'
33
33
 
34
- version = "0.6.1"
34
+ version = "0.6.2"
35
35
  name = "rest-client"
36
36
 
37
37
  spec = Gem::Specification.new do |s|
data/bin/restclient CHANGED
@@ -16,7 +16,7 @@ end
16
16
  config = YAML.load(File.read(ENV['HOME'] + "/.restclient")) rescue {}
17
17
 
18
18
  @url, @username, @password = if c = config[@url]
19
- [c[:url], c[:username], c[:password]]
19
+ [c['url'], c['username'], c['password']]
20
20
  else
21
21
  [@url, *ARGV]
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rest-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Wiggins