cashstar 0.0.3 → 0.0.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.
@@ -18,7 +18,6 @@ require 'rest_client'
18
18
 
19
19
  module Cashstar
20
20
  # Your code goes here...
21
- RestClient.log = 'restclient.log'
22
21
  end
23
22
 
24
23
 
@@ -13,8 +13,7 @@ module Cashstar
13
13
  def self.all()
14
14
  remote_url = self.remote_url + "/merchant/"
15
15
  result = RestClient.get remote_url , headers
16
- print result
17
- if result.code == "200"
16
+ if result.code == 200
18
17
  json = JSON.parse result
19
18
  merchants = []
20
19
  json["merchants"]["merchant"].each do |merchant|
@@ -1,3 +1,3 @@
1
1
  module Cashstar
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cashstar
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Charlie White
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-11 00:00:00 -04:00
18
+ date: 2011-05-01 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency