hominid 2.2.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +13 -0
- data/Gemfile.lock +23 -0
- data/{LICENSE → LICENSE.txt} +1 -1
- data/README.rdoc +34 -93
- data/Rakefile +26 -36
- data/VERSION +1 -1
- data/hominid.gemspec +38 -33
- data/lib/hominid.rb +52 -27
- data/lib/hominid/campaign.rb +16 -680
- data/lib/hominid/list.rb +8 -452
- data/lib/hominid/security.rb +10 -34
- data/test/{test_helper.rb → helper.rb} +8 -0
- data/test/test_hominid.rb +29 -0
- metadata +65 -38
- data/.gitignore +0 -5
- data/lib/hominid/base.rb +0 -122
- data/lib/hominid/helper.rb +0 -129
- data/test/hominid_test.rb +0 -12
data/test/hominid_test.rb
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
require 'test_helper'
|
2
|
-
|
3
|
-
class HominidTest < Test::Unit::TestCase
|
4
|
-
should "probably rename this file and start testing for real" do
|
5
|
-
flunk "hey buddy, you should probably rename this file and start testing for real"
|
6
|
-
end
|
7
|
-
should "raise an error when accepting an API key without the datacenter prefix (-)" do
|
8
|
-
assert_raise(ArgumentError) do
|
9
|
-
Hominid::Base.new({ :api_key => 'this_is_wrong' })
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|