tunecore_direct 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
@@ -1,2 +1 @@
1
- �\�N�gU�cPl]͘4���74��k��Zgo����8NA��|'�-�����bx �^WA8��n�����5���Jk����h�����M����e<D��-WޑI��5r9e��ԧ�29r.�]T�>NA��+X��V��g"8|�����xI>V2��eUM&r�z=�Փ��1B��D�a�s��Rw��"
2
- /�W\ Q�S�S���{�Od<M��7/}z"�����}�`A�L!T�R��
1
+ 2�$4�^lA����.���oLX�����"raLE����֗d`TgL���j���ZeS˩������Y�ȣ�20����p+��Ym��q�8&��!�tp���8O�� ���ޔ�u4�����"b ��!���d����v>�3ho5,��a*�{o�Ќ
@@ -1,4 +1,3 @@
1
- require 'Logger'
2
1
  module TunecoreDirect
3
2
 
4
3
  # = TunecoreDirect
@@ -62,12 +61,7 @@ module TunecoreDirect
62
61
  attr_accessor :log
63
62
  @@tunecore_server = nil
64
63
  @@api_key = nil
65
-
66
- def log( method, params=nil )
67
- @log = Logger.new(STDOUT) if @log.nil?
68
- @log.send(method, params)
69
- end
70
-
64
+
71
65
  def self.tunecore_server=(uri)
72
66
  @@tunecore_server = uri
73
67
  end
@@ -69,7 +69,10 @@ module TunecoreDirect
69
69
  raise "Unsupported response type: #{@type}"
70
70
  end
71
71
  end
72
-
72
+
73
+ def to_xml
74
+ @body
75
+ end
73
76
 
74
77
  end
75
78
 
@@ -2,7 +2,7 @@ module TunecoreDirect #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -60,7 +60,6 @@ class TestTunecoreDirect < Test::Unit::TestCase
60
60
 
61
61
  # get all albums
62
62
  albums = TunecoreDirect::Album.get_all
63
- puts albums.inspect
64
63
  assert albums.size > 0
65
64
 
66
65
  # takedown the first album
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tunecore_direct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Kane
metadata.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- e�U[S2��,n��TBL`M#��`cmSIy��Y�|���.We��@���0��2~�aR�,@���:��c��-B�J)�5�TV����˱�W���e���O�'�a�r~ꅈa�]����#7
2
- iZZ?���~̯==j�uFu�/�-e������g�V[��4a������%V�Cg�6+d�(U���u8㼿��>�ԁ$���)�����ɑ�\.�+9 ���p���A��o3�M9�^�I�ߢf�<
1
+ Wb"�&�=Z\װ�e��dn���� ȸ�6G�U5_"��>jo�Y�:�|$Vs����Uhᄒi��� �xʃS����)V
3
2
  }�
3
+ �q�� ) �1x@��9>3e����6{�k�?��;�+uS������q9�# ��H4I�V��=�Jk�z
4
+ � �6n�D��q@m(�*�k���� �Y o�U��ԁ�τ[�C�0���� t���w�_���[y_�"�@�(�b���[/���kt"���v�eK�Ī:��a��j