balanced 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/examples/examples.rb CHANGED
@@ -1,5 +1,10 @@
1
1
  $:.unshift("/Users/mahmoud/code/poundpay/ruby/balanced-ruby/lib")
2
2
  require 'balanced'
3
+ begin
4
+ Balanced::Card
5
+ rescue NameError
6
+ raise "wtf"
7
+ end
3
8
 
4
9
  # create our new api key
5
10
  api_key = Balanced::ApiKey.new.save
data/lib/balanced.rb CHANGED
@@ -1,12 +1,11 @@
1
1
  require 'uri'
2
2
  require 'balanced/version' unless defined? Balanced::VERSION
3
+ require 'balanced/client'
4
+ require 'balanced/utils'
5
+ require 'balanced/base'
6
+ require 'balanced/resources'
3
7
 
4
8
  module Balanced
5
- autoload :Client, 'balanced/client'
6
- autoload :Utils, 'balanced/utils'
7
- autoload :Resource, 'balanced/base'
8
- autoload :ApiKey, 'balanced/resources'
9
- autoload :Marketplace, 'balanced/resources'
10
9
 
11
10
  @client = nil
12
11
  @config = {
@@ -1,3 +1,3 @@
1
1
  module Balanced
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: balanced
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
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: 2012-05-20 00:00:00.000000000 Z
12
+ date: 2012-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday