tunecore_direct 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,34 @@
1
+ desc 'Release the website and new gem version'
2
+ task :deploy => [:check_version, :website, :release] do
3
+ puts "Remember to create SVN tag:"
4
+ puts "svn copy svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/trunk " +
5
+ "svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} "
6
+ puts "Suggested comment:"
7
+ puts "Tagging release #{CHANGES}"
8
+ end
9
+
10
+ desc 'Runs tasks website_generate and install_gem as a local deployment of the gem'
11
+ task :local_deploy => [:website_generate, :install_gem]
12
+
13
+ task :check_version do
14
+ unless ENV['VERSION']
15
+ puts 'Must pass a VERSION=x.y.z release version'
16
+ exit
17
+ end
18
+ unless ENV['VERSION'] == VERS
19
+ puts "Please update your version.rb to match the release version, currently #{VERS}"
20
+ exit
21
+ end
22
+ end
23
+
24
+ desc 'Install the package as a gem, without generating documentation(ri/rdoc)'
25
+ task :install_gem_no_doc => [:clean, :package] do
26
+ sh "#{'sudo ' unless Hoe::WINDOZE }gem install pkg/*.gem --no-rdoc --no-ri"
27
+ end
28
+
29
+ namespace :manifest do
30
+ desc 'Recreate Manifest.txt to include ALL files'
31
+ task :refresh do
32
+ `rake check_manifest | patch -p0 > Manifest.txt`
33
+ end
34
+ end
@@ -0,0 +1,7 @@
1
+ task :ruby_env do
2
+ RUBY_APP = if RUBY_PLATFORM =~ /java/
3
+ "jruby"
4
+ else
5
+ "ruby"
6
+ end unless defined? RUBY_APP
7
+ end
@@ -0,0 +1,17 @@
1
+ desc 'Generate website files'
2
+ task :website_generate => :ruby_env do
3
+ (Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt|
4
+ sh %{ #{RUBY_APP} script/txt2html #{txt} > #{txt.gsub(/txt$/,'html')} }
5
+ end
6
+ end
7
+
8
+ desc 'Upload website files to rubyforge'
9
+ task :website_upload do
10
+ host = "#{rubyforge_username}@rubyforge.org"
11
+ remote_dir = "/var/www/gforge-projects/#{PATH}/"
12
+ local_dir = 'website'
13
+ sh %{rsync -aCv #{local_dir}/ #{host}:#{remote_dir}}
14
+ end
15
+
16
+ desc 'Generate and upload website files'
17
+ task :website => [:website_generate, :website_upload, :publish_docs]
@@ -0,0 +1,2 @@
1
+ require 'test/unit'
2
+ require File.dirname(__FILE__) + '/../lib/tunecore_direct'
@@ -0,0 +1,11 @@
1
+ require File.dirname(__FILE__) + '/test_helper.rb'
2
+
3
+ class TestTunecoreDirect < Test::Unit::TestCase
4
+
5
+ def setup
6
+ end
7
+
8
+ def test_truth
9
+ assert true
10
+ end
11
+ end
metadata ADDED
@@ -0,0 +1,105 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tunecore_direct
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Alex Kane
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDMDCCAhigAwIBAgIBADANBgkqhkiG9w0BAQUFADA+MQ0wCwYDVQQDDARhbGV4
14
+ MRgwFgYKCZImiZPyLGQBGRYIdHVuZWNvcmUxEzARBgoJkiaJk/IsZAEZFgNjb20w
15
+ HhcNMDgwNDA5MjAyMzM1WhcNMDkwNDA5MjAyMzM1WjA+MQ0wCwYDVQQDDARhbGV4
16
+ MRgwFgYKCZImiZPyLGQBGRYIdHVuZWNvcmUxEzARBgoJkiaJk/IsZAEZFgNjb20w
17
+ ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC6yrGSgkBXFtvTE+LbkiP+
18
+ 0t+JehbkX4lsOEaNqBX9yVxajUl0uTFNnVblNCIbi3qAeYfqJ+JPFa4zNxthFnJV
19
+ GM22JRxi34FghY/DBzkSfjtFsX5LirmfzPdr+szwICmj7PJ/nturBQk6Z03deHbx
20
+ 1V3/r18jjB7IUsNdfuh4mzWZUAihqepyg3vKTANz2DnAUoeY6OwXm/ILjeYCBnGB
21
+ RhDCWX6IUL6ESbhkl5zq/wUgKfnwuyPyBgqqqwq/euu6miI6KgMXNw0Ss7sCd0rN
22
+ 4MkujG4kQBFERmyhvZq3242n442EiyIadNM2SmcbIFZ7hMNowf5HJyAZyNmg31yD
23
+ AgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBS6mXyT
24
+ qEnsMt2iCyex1D8H1n1MjzANBgkqhkiG9w0BAQUFAAOCAQEAP+2YIx0TEm2JYy7g
25
+ C66QBiZGAxn8lH1NJCCw9mAopDSTl8a3zrdl3+3EfReYod3Qpvz3v6XuBDDvxba4
26
+ rB76MleWPkQzfCn9OzhKJzZ1ZRhWh2HN2qaNF+oAElDmi3wTSTCnyNWTiH9QkyrV
27
+ WCUlb09tpCXmrNuTi+/X6FQ+7eQsb3ofYG/ihwNgtZ1PXCDzlXstFWAf4YJ9mcXF
28
+ WTu772KMw3f58NJ+iZOl0g5h9PDs54SXBC8kBTLFLiJKJMrW3bpM7HKxUK3mrMLU
29
+ SR4xlbupAWfsx9dR5YWJQ4tOprGcZ4tKGTi6WClr9rP952luO0XOZZdiGI5rHTHm
30
+ f3TSOQ==
31
+ -----END CERTIFICATE-----
32
+
33
+ date: 2008-04-09 00:00:00 -04:00
34
+ default_executable:
35
+ dependencies: []
36
+
37
+ description: Ruby SDK for TuneCore web services
38
+ email:
39
+ - alex@tunecore.com
40
+ executables: []
41
+
42
+ extensions: []
43
+
44
+ extra_rdoc_files:
45
+ - History.txt
46
+ - License.txt
47
+ - Manifest.txt
48
+ - README.txt
49
+ files:
50
+ - History.txt
51
+ - License.txt
52
+ - Manifest.txt
53
+ - README.txt
54
+ - Rakefile
55
+ - config/hoe.rb
56
+ - config/requirements.rb
57
+ - lib/tunecore_direct.rb
58
+ - lib/tunecore_direct/album.rb
59
+ - lib/tunecore_direct/base.rb
60
+ - lib/tunecore_direct/person.rb
61
+ - lib/tunecore_direct/request.rb
62
+ - lib/tunecore_direct/response.rb
63
+ - lib/tunecore_direct/song.rb
64
+ - lib/tunecore_direct/version.rb
65
+ - log/debug.log
66
+ - script/console
67
+ - script/destroy
68
+ - script/generate
69
+ - script/txt2html
70
+ - setup.rb
71
+ - tasks/deployment.rake
72
+ - tasks/environment.rake
73
+ - tasks/website.rake
74
+ - test/test_helper.rb
75
+ - test/test_tunecore_direct.rb
76
+ has_rdoc: true
77
+ homepage: http://tunecoredirect.rubyforge.org
78
+ post_install_message:
79
+ rdoc_options:
80
+ - --main
81
+ - README.txt
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: "0"
89
+ version:
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: "0"
95
+ version:
96
+ requirements: []
97
+
98
+ rubyforge_project: tunecoredirect
99
+ rubygems_version: 1.0.1
100
+ signing_key:
101
+ specification_version: 2
102
+ summary: Ruby SDK for TuneCore web services
103
+ test_files:
104
+ - test/test_helper.rb
105
+ - test/test_tunecore_direct.rb
metadata.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ 0�r4��V�����Ɉ�y*�`��PPLo�Q ��M��'��T��?w����L�z��F& N���_��]��J����E�<InV�$���|Mp��#"!-�ll��������v��2�����.��w��u�K��\>��j2��A7@ْ�V8���e�
2
+ %*��_�!=V��%jr������c&�}S��T��LέM��7fu�b���|�IF��&�Ɛ�S��j��{�wx�Q�軝�_�����p�