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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/paid/api_operations/update.rb +0 -1
- data/lib/paid/version.rb +1 -1
- data/test/paid/alias_test.rb +1 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a65354aaa827caf02fc1b825ba0bc3b1f072a611
|
4
|
+
data.tar.gz: c357437af8ccd7a09ac93f0781bcb247ea42763c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad46bf19a8036d9bf2a35ed7ddc255938fac154c9eb400b834f1e4e2335cf8481813690e448d3bf99fe82504af8ac291cc248135809d90498e1846a7267fb690
|
7
|
+
data.tar.gz: b08898a0c4816a4bf13b9d73d3603ebb0df7c77db726c70808c57ab258f08b780c98fe59815805016dfc94d818590f2d294bf2e1cdef171a395bd520dc538669
|
data/Gemfile.lock
CHANGED
data/lib/paid/version.rb
CHANGED
data/test/paid/alias_test.rb
CHANGED
@@ -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(
|
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.
|
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-
|
11
|
+
date: 2015-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|