luna_api 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm use 1.9.3@gem
@@ -13,11 +13,10 @@ module LunaApi
13
13
  request("put", url, *args)
14
14
  end
15
15
 
16
- def request(method, url, *args)
16
+ def request(method, url, args={})
17
17
  Typhoeus::Request.send(method,
18
18
  url,
19
- *args,
20
- userpwd: "#{ENV["LUNA_API_USERNAME"]}:#{ENV["LUNA_API_PASSWORD"]}"
19
+ args.merge(userpwd: "#{ENV["LUNA_API_USERNAME"]}:#{ENV["LUNA_API_PASSWORD"]}")
21
20
  )
22
21
  end
23
22
  end
@@ -1,3 +1,3 @@
1
1
  module LunaApi
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luna_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-08 00:00:00.000000000 Z
12
+ date: 2013-02-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: typhoeus
@@ -35,6 +35,7 @@ extensions: []
35
35
  extra_rdoc_files: []
36
36
  files:
37
37
  - .gitignore
38
+ - .rvmrc
38
39
  - Gemfile
39
40
  - LICENSE.txt
40
41
  - README.md