paid 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 781448b39ccb4c2aab52ebe494d54de52c88af34
4
- data.tar.gz: aa694292016067f230da929a9c57f00bd27a199f
3
+ metadata.gz: a65354aaa827caf02fc1b825ba0bc3b1f072a611
4
+ data.tar.gz: c357437af8ccd7a09ac93f0781bcb247ea42763c
5
5
  SHA512:
6
- metadata.gz: 68e2ee306fb3a2dc06ece5e48872125b2b0c1229ae7f24f79c5b58ef7b592f05debb588092979171d9eb331a5a3b1bbd58223883574acf09c1dfacf78ae8c333
7
- data.tar.gz: 053cd30046642fbbfe0476b3a986080b7169474fa2f04761a5333f175615f43736afb9974912bb7f638724ec2c591b6769db5e58515f2b4710c40a0e1acd6e40
6
+ metadata.gz: ad46bf19a8036d9bf2a35ed7ddc255938fac154c9eb400b834f1e4e2335cf8481813690e448d3bf99fe82504af8ac291cc248135809d90498e1846a7267fb690
7
+ data.tar.gz: b08898a0c4816a4bf13b9d73d3603ebb0df7c77db726c70808c57ab258f08b780c98fe59815805016dfc94d818590f2d294bf2e1cdef171a395bd520dc538669
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- paid (0.0.5)
4
+ paid (0.0.6)
5
5
  json (~> 1.8.1)
6
6
  mime-types (>= 1.25, < 3.0)
7
7
  rest-client (~> 1.4)
@@ -11,7 +11,6 @@ module Paid
11
11
  if values.length > 0
12
12
  values.delete(:id)
13
13
 
14
- pdb values
15
14
  response, api_key = Paid.request(:put, api_url, @api_key, values)
16
15
  refresh_from(response, api_key)
17
16
  end
data/lib/paid/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Paid
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -2,18 +2,9 @@ require File.expand_path('../../test_helper', __FILE__)
2
2
 
3
3
  module Paid
4
4
  class AliasTest < Test::Unit::TestCase
5
- should "aliases should be listable" do
6
- @mock.expects(:get).once.returns(test_response(test_alias_array))
7
- c = Paid::Alias.all
8
- assert c.data.kind_of? Array
9
- c.each do |paid_alias|
10
- assert paid_alias.kind_of?(Paid::Alias)
11
- end
12
- end
13
-
14
5
  should "aliases should not be deletable" do
15
6
  assert_raises NoMethodError do
16
- @mock.expects(:get).once.returns(test_response(test_alias))
7
+ @mock.expects(:get).once.returns(test_response(test_customer))
17
8
  c = Paid::Alias.retrieve("test_alias")
18
9
  c.delete
19
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Jackson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-16 00:00:00.000000000 Z
11
+ date: 2015-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client